[−][src]Crate bm_le
SimpleSerialize (ssz) compliant binary merkle tree supporting both merkleization and de-merkleization.
Re-exports
pub use bm_le_derive::FromTree; |
pub use bm_le_derive::IntoTree; |
Modules
| utils | Utilities |
Structs
| Compact | Indicate that the current value should be serialized and deserialized in Compact format. Value form. |
| CompactRef | Indicate that the current value should be serialized and deserialized in Compact format. Reference form. |
| ElementalFixedVec | Elemental |
| ElementalFixedVecRef | Elemental |
| ElementalVariableVec | Variable |
| ElementalVariableVecRef | Variable |
| InMemoryBackend | In-memory merkle database. |
| InheritedDigestConstruct | Inherited Digest construct. |
| InheritedEmpty | Inherited empty. |
| List | Binary merkle vector. |
| MaxVec | Vec value with maximum length. |
| NoopBackend | Noop merkle database. |
| UnitDigestConstruct | Unit Digest construct. |
| Value | End value for 256-bit ssz binary merkle tree. |
| Vector | Binary merkle tuple. |
Enums
| Error | Set error. |
Traits
| Backend | Traits for a merkle database. |
| CompatibleConstruct | Special type for le-compatible construct. |
| Construct | Construct for a merkle tree. |
| FromCompactListTree | Traits for list converting from a tree structure. |
| FromCompactVectorTree | Traits for vector converting from a compact tree structure. |
| FromCompositeListTree | Traits for list converting from a tree structure. |
| FromCompositeVectorTree | Traits for vector converting from a composite tree structure. |
| FromTree | Traits for type converting from a tree structure. |
| IntoCompactListTree | Traits for list converting into a tree structure. |
| IntoCompactVectorTree | Traits for vector converting into a compact tree structure. |
| IntoCompositeListTree | Traits for list converting into a tree structure. |
| IntoCompositeVectorTree | Traits for vector converting into a composite tree structure. |
| IntoTree | Traits for type converting into a tree structure. |
| Leak | Leakable value, whose default behavior of drop is to leak. |
| ReadBackend | Read backend. |
| WriteBackend | Write backend. |
Functions
| tree_root | Calculate a ssz merkle tree root, dismissing the tree. |
Type Definitions
| DanglingVector |
|
| DigestConstruct | Digest construct for bm-le. |
| Intermediate | Intermediate type for 256-bit ssz binary merkle tree. |