Documentation ¶
Index ¶
- func RetrieveCommitByHeight(height uint64, commit *flow.StateCommitment) func(*badger.Txn) error
- func RetrieveEvents(height uint64, types []flow.EventType, events *[]flow.Event) func(*badger.Txn) error
- func RetrieveHeader(height uint64, header *flow.Header) func(*badger.Txn) error
- func RetrieveHeightByBlock(blockID flow.Identifier, height *uint64) func(*badger.Txn) error
- func RetrieveHeightByCommit(commit flow.StateCommitment, height *uint64) func(*badger.Txn) error
- func RetrieveLastCommit(commit *flow.StateCommitment) func(*badger.Txn) error
- func RetrievePayload(height uint64, path ledger.Path, payload *ledger.Payload) func(*badger.Txn) error
- func SaveCommitForHeight(commit flow.StateCommitment, height uint64) func(*badger.Txn) error
- func SaveEvents(height uint64, typ flow.EventType, events []flow.Event) func(*badger.Txn) error
- func SaveHeaderForHeight(height uint64, header *flow.Header) func(*badger.Txn) error
- func SaveHeightForBlock(blockID flow.Identifier, height uint64) func(*badger.Txn) error
- func SaveHeightForCommit(height uint64, commit flow.StateCommitment) func(*badger.Txn) error
- func SaveLastCommit(commit flow.StateCommitment) func(*badger.Txn) error
- func SavePayload(height uint64, path ledger.Path, payload *ledger.Payload) func(*badger.Txn) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetrieveCommitByHeight ¶
func RetrieveCommitByHeight(height uint64, commit *flow.StateCommitment) func(*badger.Txn) error
func RetrieveEvents ¶
func RetrieveHeader ¶
func RetrieveHeightByBlock ¶
func RetrieveHeightByBlock(blockID flow.Identifier, height *uint64) func(*badger.Txn) error
func RetrieveHeightByCommit ¶
func RetrieveHeightByCommit(commit flow.StateCommitment, height *uint64) func(*badger.Txn) error
func RetrieveLastCommit ¶
func RetrieveLastCommit(commit *flow.StateCommitment) func(*badger.Txn) error
func RetrievePayload ¶
func SaveCommitForHeight ¶
func SaveCommitForHeight(commit flow.StateCommitment, height uint64) func(*badger.Txn) error
func SaveEvents ¶
func SaveHeaderForHeight ¶
func SaveHeightForBlock ¶
func SaveHeightForBlock(blockID flow.Identifier, height uint64) func(*badger.Txn) error
func SaveHeightForCommit ¶
func SaveHeightForCommit(height uint64, commit flow.StateCommitment) func(*badger.Txn) error
func SaveLastCommit ¶
func SaveLastCommit(commit flow.StateCommitment) func(*badger.Txn) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.