Documentation ¶
Index ¶
Constants ¶
View Source
const BookkeeperPayloadVersion byte = 0x00
View Source
const (
MaxVoteKeys = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookKeeping ¶
type BookKeeping struct {
Nonce uint64
}
func (*BookKeeping) Deserialize ¶
func (a *BookKeeping) Deserialize(r io.Reader) error
type Bookkeeper ¶
type Bookkeeper struct { PubKey keypair.PublicKey Action BookkeeperAction Cert []byte Issuer keypair.PublicKey }
func (*Bookkeeper) Deserialize ¶
func (self *Bookkeeper) Deserialize(r io.Reader) error
type BookkeeperAction ¶
type BookkeeperAction byte
const ( BookkeeperAction_ADD BookkeeperAction = 0 BookkeeperAction_SUB BookkeeperAction = 1 )
type DeployCode ¶
type DeployCode struct { Code *vmtypes.VmCode NeedStorage bool Name string Version string Author string Email string Description string }
func (*DeployCode) Deserialize ¶
func (dc *DeployCode) Deserialize(r io.Reader) error
func (*DeployCode) ToArray ¶
func (dc *DeployCode) ToArray() []byte
type InvokeCode ¶
func (*InvokeCode) Deserialize ¶
func (self *InvokeCode) Deserialize(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.