Documentation
¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
pb.proto
It has these top-level messages:
RemoteAccountData
Index ¶
- Constants
- func BigInt0() *big.Int
- type CivilTx
- type FromBytesFunc
- type ICivilTx
- type ParamUData
- type QueryType
- type RemoteAccountData
- func (*RemoteAccountData) Descriptor() ([]byte, []int)
- func (m *RemoteAccountData) GetBlcbys() []byte
- func (m *RemoteAccountData) GetID() string
- func (m *RemoteAccountData) GetNonce() uint64
- func (m *RemoteAccountData) GetStorageRoot() []byte
- func (*RemoteAccountData) ProtoMessage()
- func (m *RemoteAccountData) Reset()
- func (m *RemoteAccountData) String() string
- type StateDataItfc
- type StateItfc
Constants ¶
View Source
const ( CODE_VAR_ENT = "ent_params" CODE_VAR_RET = "ret_params" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CivilTx ¶
type CivilTx struct {
PubKey []byte `json:"pubkey"`
Signature []byte `json:"signature"`
// contains filtered or unexported fields
}
func (*CivilTx) PopSignature ¶
func (*CivilTx) SetSignature ¶
type FromBytesFunc ¶
type FromBytesFunc func(string, []byte) (StateDataItfc, error)
type ParamUData ¶
type ParamUData = map[string]interface{}
type RemoteAccountData ¶
type RemoteAccountData struct {
Nonce uint64 `protobuf:"varint,1,opt,name=Nonce" json:"Nonce,omitempty"`
Blcbys []byte `protobuf:"bytes,2,opt,name=Blcbys,proto3" json:"Blcbys,omitempty"`
ID string `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"`
StorageRoot []byte `protobuf:"bytes,4,opt,name=StorageRoot,proto3" json:"StorageRoot,omitempty"`
}
func (*RemoteAccountData) Descriptor ¶
func (*RemoteAccountData) Descriptor() ([]byte, []int)
func (*RemoteAccountData) GetBlcbys ¶
func (m *RemoteAccountData) GetBlcbys() []byte
func (*RemoteAccountData) GetID ¶
func (m *RemoteAccountData) GetID() string
func (*RemoteAccountData) GetNonce ¶
func (m *RemoteAccountData) GetNonce() uint64
func (*RemoteAccountData) GetStorageRoot ¶
func (m *RemoteAccountData) GetStorageRoot() []byte
func (*RemoteAccountData) ProtoMessage ¶
func (*RemoteAccountData) ProtoMessage()
func (*RemoteAccountData) Reset ¶
func (m *RemoteAccountData) Reset()
func (*RemoteAccountData) String ¶
func (m *RemoteAccountData) String() string
type StateDataItfc ¶
type StateDataItfc interface {
Key() string
Bytes() ([]byte, error)
Copy() StateDataItfc
OnCommit() error
}
Click to show internal directories.
Click to hide internal directories.