Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRawStorageItem ¶ added in v1.5.1
func GetValueFromRawStorageItem ¶ added in v1.5.1
Types ¶
type BookkeeperState ¶
type BookkeeperState struct { StateBase CurrBookkeeper []keypair.PublicKey NextBookkeeper []keypair.PublicKey }
func (*BookkeeperState) Deserialization ¶ added in v1.8.1
func (this *BookkeeperState) Deserialization(source *common.ZeroCopySource) error
func (*BookkeeperState) Serialization ¶ added in v1.8.1
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 ¶ added in v1.8.1
func (this *StateBase) Deserialization(source *common.ZeroCopySource) error
func (*StateBase) Serialization ¶ added in v1.8.1
func (this *StateBase) Serialization(sink *common.ZeroCopySink)
type StateValue ¶
type StorageItem ¶
func (*StorageItem) Deserialization ¶ added in v1.8.1
func (this *StorageItem) Deserialization(source *common.ZeroCopySource) error
func (*StorageItem) Serialization ¶ added in v1.8.1
func (this *StorageItem) Serialization(sink *common.ZeroCopySink)
func (*StorageItem) ToArray ¶
func (storageItem *StorageItem) ToArray() []byte
type StorageKey ¶
func (*StorageKey) Deserialization ¶ added in v1.8.1
func (this *StorageKey) Deserialization(source *common.ZeroCopySource) error
func (*StorageKey) Serialization ¶ added in v1.8.1
func (this *StorageKey) Serialization(sink *common.ZeroCopySink)
func (*StorageKey) ToArray ¶
func (this *StorageKey) ToArray() []byte
type ValidatorState ¶
func (*ValidatorState) Deserialization ¶ added in v1.8.1
func (this *ValidatorState) Deserialization(source *common.ZeroCopySource) error
func (*ValidatorState) Serialization ¶ added in v1.8.1
func (this *ValidatorState) Serialization(sink *common.ZeroCopySink)
type VoteState ¶
func (*VoteState) Deserialization ¶ added in v1.8.1
func (this *VoteState) Deserialization(source *common.ZeroCopySource) error
func (*VoteState) Serialization ¶ added in v1.8.1
func (this *VoteState) Serialization(sink *common.ZeroCopySink)
Click to show internal directories.
Click to hide internal directories.