Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistencyProof ¶
type ConsistencyProof struct { NewSize uint64 `ascii:"new_size"` OldSize uint64 `ascii:"old_size"` }
func (*ConsistencyProof) FromASCII ¶
func (req *ConsistencyProof) FromASCII(r io.Reader) error
func (*ConsistencyProof) ToASCII ¶
func (req *ConsistencyProof) ToASCII(w io.Writer) error
type Cosignature ¶
type Cosignature struct { Cosignature types.Signature `ascii:"cosignature"` KeyHash types.Hash `ascii:"key_hash"` }
func (*Cosignature) FromASCII ¶
func (req *Cosignature) FromASCII(r io.Reader) error
func (*Cosignature) ToASCII ¶
func (req *Cosignature) ToASCII(w io.Writer) error
type InclusionProof ¶
type InclusionProof struct { LeafHash types.Hash `ascii:"leaf_hash"` TreeSize uint64 `ascii:"tree_size"` }
func (*InclusionProof) FromASCII ¶
func (req *InclusionProof) FromASCII(r io.Reader) error
func (*InclusionProof) ToASCII ¶
func (req *InclusionProof) ToASCII(w io.Writer) error
Click to show internal directories.
Click to hide internal directories.