Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRawStorageItem ¶
Types ¶
type BookkeeperState ¶
type BookkeeperState struct { StateBase CurrBookkeeper []keypair.PublicKey NextBookkeeper []keypair.PublicKey }
func (*BookkeeperState) Deserialization ¶
func (this *BookkeeperState) Deserialization(source *common.ZeroCopySource) error
func (*BookkeeperState) Serialization ¶
func (this *BookkeeperState) Serialization(sink *common.ZeroCopySink)
func (*BookkeeperState) ToArray ¶
func (v *BookkeeperState) ToArray() []byte
type StateBase ¶
type StateBase struct {
StateVersion byte
}
func (*StateBase) Deserialization ¶
func (this *StateBase) Deserialization(source *common.ZeroCopySource) error
func (*StateBase) Serialization ¶
func (this *StateBase) Serialization(sink *common.ZeroCopySink)
type StorageItem ¶
func (*StorageItem) Deserialization ¶
func (this *StorageItem) Deserialization(source *common.ZeroCopySource) error
func (*StorageItem) Serialization ¶
func (this *StorageItem) Serialization(sink *common.ZeroCopySink)
func (*StorageItem) ToArray ¶
func (storageItem *StorageItem) ToArray() []byte
type StorageKey ¶
func (*StorageKey) Deserialization ¶
func (this *StorageKey) Deserialization(source *common.ZeroCopySource) error
func (*StorageKey) Serialization ¶
func (this *StorageKey) Serialization(sink *common.ZeroCopySink)
func (*StorageKey) ToArray ¶
func (this *StorageKey) ToArray() []byte
type ValidatorState ¶
func (*ValidatorState) Deserialization ¶
func (this *ValidatorState) Deserialization(source *common.ZeroCopySource) error
func (*ValidatorState) Serialization ¶
func (this *ValidatorState) Serialization(sink *common.ZeroCopySink)
type VoteState ¶
func (*VoteState) Deserialization ¶
func (this *VoteState) Deserialization(source *common.ZeroCopySource) error
func (*VoteState) Serialization ¶
func (this *VoteState) Serialization(sink *common.ZeroCopySink)
Click to show internal directories.
Click to hide internal directories.