Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2024 Changes in this version + const Difficulty + type Block struct + func NewBlock(ctx context.Context, data validation.Result, opts ...BlockOption) (Block, error) + type BlockOption func(*blockTemplate) + func WithDifficulty(diff uint) BlockOption + func WithIndex(index uint64) BlockOption + func WithNonce(nonce uint64) BlockOption + func WithRoot(root []byte) BlockOption + type Proof struct + func NewProof(blocks []Block, path hashtree.Path) (Proof, error) + func (p Proof) GetKey() []byte + func (p Proof) GetValue() []byte + type Service struct + func NewService(pool pool.Pool, val validation.Service, trie hashtree.Tree) *Service + func (s *Service) GetProof(key []byte) (ordering.Proof, error) + func (s *Service) Listen() error + func (s *Service) Stop() error + func (s *Service) Watch(ctx context.Context) <-chan ordering.Event v0.0.1-alpha Mar 30, 2024