-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ratranqu edited this page Apr 7, 2021
·
4 revisions
- InMemoryNodeStorage
- InMemoryNode
- InMemoryNode.NodeType.CodingKeys
- IAVLErrors
- LazyBox
- ProofLeafNode
- Side
- ProofInnerNode
- AbsenceOp
- ValueOp
- PathWithLeaf
- PathToLeaf1: PathToLeaf represents an inner path to a leaf node. Note that the nodes are ordered such that the last one is closest to the root of the tree.
- RangeProof
-
ImmutableTree:
The
ImmutableTree
implementation aims to mimic the equivalent GoImmutableTree
. However, the design we implement ere is such that we have encapsulated the storage and access to the nodes into theNodeStorageProtocol
. Therefore, any loading, saving, deleting, managing of cache, memory and such is expected to be handled and delegated to the storage implementation itself. We are providing this struct because as part of the design process, it was implemented before eventually being carved out in favour of theNodeStorageProtocol
and theNodeProtocol
. As it may be useful as part of the coming development of future CosmosSwift milestones, we keep it as suc for now, albeit as part of the Legacy module. This tree is not thread safe. -
MutableTree:
The
MutableTree
implementation aims to mimic the equivalent GoMutableTree
. However, the design we implement ere is such that we have encapsulated the storage and access to the nodes into theNodeStorageProtocol
. Therefore, any loading, saving, deleting, managing of cache, memory and such is expected to be handled and delegated to the storage implementation itself. We are providing this struct because as part of the design process, it was implemented before eventually being carved out in favour of theNodeStorageProtocol
and theNodeProtocol
. As it may be useful as part of the coming development of future CosmosSwift milestones, we keep it as suc for now, albeit as part of the Legacy module. - NodeKey
- CoderProtocol: The protocol Coder describes the primitives required to serialize structures. A Coder accumulates bytes into a buffer which can then be pushed to storage. The reference implementation uses Amino.
- HasherProtocol
- InitialisableProtocol
- NodeProtocol
- NodeStorageProtocol
- ProofInnerNodeProtocol
- Tree
- PathToLeaf: PathToLeaf represents an inner path to a leaf node. Note that the nodes are ordered such that the last one is closest to the root of the tree.
Generated at 2021-04-20T11:34:45+0000 using swift-doc 1.0.0-beta.5.