Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2024 Changes in this version + const DefaultFailedRoundTimeout + const DefaultRoundTimeout + const DefaultTransactionTimeout + const RoundMaxWait + const RoundWait + func NewServiceStart(s *Service) + func RegisterRosterContract(exec *native.Service, rFac authority.Factory, srvc access.Service) + type Proof struct + func (p Proof) GetKey() []byte + func (p Proof) GetValue() []byte + func (p Proof) Verify(genesis types.Genesis, fac crypto.VerifierFactory) error + type Service struct + func NewService(param ServiceParam, opts ...ServiceOption) (*Service, error) + func NewServiceStruct(param ServiceParam, opts ...ServiceOption) (*Service, error) + func (h Service) Invoke(from mino.Address, msg serde.Message) ([]byte, error) + func (h Service) Process(req mino.Request) (serde.Message, error) + func (s *Service) Close() error + func (s *Service) GetProof(key []byte) (ordering.Proof, error) + func (s *Service) GetRoster() (authority.Authority, error) + func (s *Service) GetStore() store.Readable + func (s *Service) SetTimeouts(round, roundAfterFailure, transaction time.Duration) + func (s *Service) Setup(ctx context.Context, ca crypto.CollectiveAuthority) error + func (s *Service) Watch(ctx context.Context) <-chan ordering.Event + type ServiceOption func(*serviceTemplate) + func WithBlockStore(store blockstore.BlockStore) ServiceOption + func WithGenesisStore(store blockstore.GenesisStore) ServiceOption + func WithHashFactory(fac crypto.HashFactory) ServiceOption + type ServiceParam struct + Access access.Service + Cosi cosi.CollectiveSigning + DB kv.DB + Mino mino.Mino + Pool pool.Pool + Tree hashtree.Tree + Validation validation.Service v0.0.1-alpha Mar 30, 2024