Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IKVReadOnlyDb ¶
IKVReadOnlyDb to store data
type ProofDb ¶
type ProofDb struct {
// contains filtered or unexported fields
}
ProofDb a db to use for verify
func NewProofDb ¶
NewProofDb new instance of ProofDb from a string list
type StateRoot ¶
type StateRoot struct { Version byte `json:"version"` Index uint32 `json:"index"` PreHash string `json:"prehash"` StateRoot string `json:"stateroot"` Witness struct { InvocationScript string `json:"invocation"` VerificationScript string `json:"verification"` } `json:"witness"` }
StateRoot truct of StateRoot message
func (*StateRoot) Deserialize ¶
func (sr *StateRoot) Deserialize(br *io.BinaryReader)
func (*StateRoot) DeserializeUnsigned ¶
func (sr *StateRoot) DeserializeUnsigned(br *io.BinaryReader)
func (*StateRoot) Serialize ¶
func (sr *StateRoot) Serialize(bw *io.BinaryWriter)
func (*StateRoot) SerializeUnsigned ¶
func (sr *StateRoot) SerializeUnsigned(bw *io.BinaryWriter)
Click to show internal directories.
Click to hide internal directories.