Skip to content

Commit

Permalink
Update sync_merkleroots.go
Browse files Browse the repository at this point in the history
Co-authored-by: Nazarii-4chain <[email protected]>
  • Loading branch information
dzolt-4chain and Nazarii-4chain authored Oct 16, 2024
1 parent d244b44 commit 8f3bdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync_merkleroots.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// MerkleRootsRepository is an interface responsible for storing synchronized MerkleRoots and retrieving the last evaluation key from the database.
type MerkleRootsRepository interface {
// GetLastMerkleRoot should return the merkle root with the heighest height from your storage or undefined if empty
// GetLastMerkleRoot should return the Merkle root with the highest height from your memory, or undefined if empty.
GetLastMerkleRoot() string
// SaveMerkleRoots should store newly synced merkle roots into your storage;
// NOTE: items are ordered with ascending order by block height
Expand Down

0 comments on commit 8f3bdd7

Please sign in to comment.