[−][src]Trait grin_core::ser::PMMRable
Trait for types that can be added to a PMMR.
Associated Types
type E: FixedLength + Readable + Writeable + Debug
The type of element actually stored in the MMR data file. This allows us to store Hash elements in the header MMR for variable size BlockHeaders.
Required methods
fn as_elmt(&self) -> Self::E
Convert the pmmrable into the element to be stored in the MMR data file.
Implementations on Foreign Types
impl PMMRable for RangeProof
[src]
Loading content...
Implementors
impl PMMRable for BlockHeader
[src]
type E = HeaderEntry
fn as_elmt(&self) -> Self::E
[src]
impl PMMRable for Output
[src]
We can build an Output MMR but store instances of OutputIdentifier in the MMR data file.
type E = OutputIdentifier
fn as_elmt(&self) -> OutputIdentifier
[src]
impl PMMRable for TxKernel
[src]
We store TxKernelEntry in the kernel MMR.