types

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

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

View Source
const (
	CODE_VAR_ENT = "ent_params"
	CODE_VAR_RET = "ret_params"
)

Variables

This section is empty.

Functions

func BigInt0

func BigInt0() *big.Int

Types

type CivilTx

type CivilTx struct {
	PubKey    []byte `json:"pubkey"`
	Signature []byte `json:"signature"`
	// contains filtered or unexported fields
}

func (*CivilTx) GetPubKey

func (t *CivilTx) GetPubKey() []byte

func (*CivilTx) PopSignature

func (t *CivilTx) PopSignature() []byte

func (*CivilTx) Sender

func (t *CivilTx) Sender() []byte

func (*CivilTx) SetPubKey

func (t *CivilTx) SetPubKey(pk []byte)

func (*CivilTx) SetSignature

func (t *CivilTx) SetSignature(s []byte)

type FromBytesFunc

type FromBytesFunc func(string, []byte) (StateDataItfc, error)

type ICivilTx

type ICivilTx interface {
	GetPubKey() []byte
	SetPubKey([]byte)
	PopSignature() []byte
	SetSignature([]byte)
	Sender() []byte
}

type ParamUData

type ParamUData = map[string]interface{}

type QueryType

type QueryType = byte
const (
	QueryType_Contract  QueryType = 0
	QueryType_Nonce     QueryType = 1
	QueryType_Balance   QueryType = 2
	QueryType_Receipt   QueryType = 3
	QueryType_Existence QueryType = 4
)

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
}

type StateItfc

type StateItfc interface {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL