Documentation ¶
Overview ¶
Package types 实现了chain33基础结构体、接口、常量等的定义
Index ¶
- Constants
- Variables
- func AssertConfig(check interface{})
- func BuildQueryType(prefix string, methods map[string]reflect.Method) (map[string]reflect.Method, map[string]reflect.Type)
- func Bytes2Str(b []byte) string
- func CalcAddrTxsCountKey(addr string) []byte
- func CalcConsensusParaTxsKey(key []byte) []byte
- func CalcLocalPrefix(execer []byte) []byte
- func CalcRollbackKey(execer []byte, hash []byte) []byte
- func CalcStatePrefix(execer []byte) []byte
- func CalcTxAddrDirHashKey(addr string, flag int32, heightindex string) []byte
- func CalcTxAddrHashKey(addr string, heightindex string) []byte
- func CalcTxShortHash(hash []byte) string
- func CalcTxShortKey(hash []byte) []byte
- func CallCreateTx(c *Chain33Config, execName, action string, param Message) ([]byte, error)
- func CallCreateTxJSON(c *Chain33Config, execName, action string, param json.RawMessage) ([]byte, error)
- func CallExecNewTx(c *Chain33Config, execName, action string, param interface{}) ([]byte, error)
- func CheckAmount(amount int64) bool
- func CheckConsensusParaTxsKey(key []byte) bool
- func CheckSign(data []byte, execer string, sign *Signature) bool
- func Clone(data proto.Message) proto.Message
- func ConfigKey(key string) string
- func Decode(data []byte, msg proto.Message) error
- func DecodeLog(execer []byte, ty int64, data []byte) (interface{}, error)
- func Encode(data proto.Message) []byte
- func FindExecer(key []byte) (execer []byte, err error)
- func FlatConfig(conf map[string]interface{}) map[string]interface{}
- func FormatTxEncode(c *Chain33Config, execName string, tx *Transaction) ([]byte, error)
- func GetActionValue(action interface{}, funclist map[string]reflect.Method) (vname string, vty int32, v reflect.Value, err error)
- func GetDefaultCfgstring() string
- func GetEventName(event int) string
- func GetExecKey(key []byte) (string, bool)
- func GetLocalDBKeyList() [][]byte
- func GetLogName(execer []byte, ty int64) string
- func GetParaExecName(execer []byte) []byte
- func GetParaExecTitleName(exec string) (string, bool)
- func GetRealExecName(execer []byte) []byte
- func GetSignName(execer string, signType int) string
- func GetSignType(execer string, name string) int
- func GetTxHeight(cfg *Chain33Config, valid int64, height int64) int64
- func GetTxTimeInterval() time.Duration
- func InitCfg(path string) (*Config, *ConfigSubModule)
- func InitCfgString(cfgstring string) (*Config, *ConfigSubModule)
- func IsAllowExecName(name []byte, execer []byte) bool
- func IsAssetsTransfer(payload interface{}) bool
- func IsNil(a interface{}) (ok bool)
- func IsNilP(a interface{}) bool
- func IsOK(list []reflect.Value, n int) bool
- func IsParaExecName(exec string) bool
- func IsSpecificParaExecName(title, exec string) bool
- func JSONToPB(data []byte, msg proto.Message) error
- func JSONToPBUTF8(data []byte, msg proto.Message) error
- func ListActionMethod(action interface{}, funclist []interface{}) map[string]reflect.Method
- func ListMethod(action interface{}) map[string]reflect.Method
- func ListMethodByType(typ reflect.Type) map[string]reflect.Method
- func ListType(tys []interface{}) map[string]reflect.Type
- func ManageKey(key string) string
- func MergeCfg(cfgstring, cfgdefault string) string
- func MergeConfig(conf map[string]interface{}, def map[string]interface{}) string
- func ModifySubConfig(sub []byte, key string, value interface{}) ([]byte, error)
- func MustDecode(data []byte, v interface{})
- func MustPBToJSON(req Message) []byte
- func Now() time.Time
- func PBToJSON(r Message) ([]byte, error)
- func PBToJSONUTF8(r Message) ([]byte, error)
- func ParseExpire(expire string) (int64, error)
- func ReadFile(path string) string
- func RegExec(name string, create Create)
- func RegExecInit(cfg *Chain33Config)
- func RegFork(name string, create Create)
- func RegForkInit(cfg *Chain33Config)
- func RegisterChain33Server(s *grpc.Server, srv Chain33Server)
- func RegisterP2PgserviceServer(s *grpc.Server, srv P2PgserviceServer)
- func RegistorExecutor(exec string, util ExecutorType)
- func SetCliSysParam(title string, cfg *Chain33Config)
- func SetTimeDelta(dt int64)
- func Since(t time.Time) time.Duration
- func Size(data proto.Message) int
- func StatisticFlag() []byte
- func Str2Bytes(s string) []byte
- func TotalFeeKey(hash []byte) []byte
- func TxCacheSet(tx *Transaction, txc *TransactionCache)
- func VerifySignature(cfg *Chain33Config, block *Block, txs []*Transaction) bool
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAddr() string
- func (m *Account) GetBalance() int64
- func (m *Account) GetCurrency() int32
- func (m *Account) GetFrozen() int64
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type Accounts
- func (*Accounts) Descriptor() ([]byte, []int)
- func (m *Accounts) GetAcc() []*Account
- func (*Accounts) ProtoMessage()
- func (m *Accounts) Reset()
- func (m *Accounts) String() string
- func (m *Accounts) XXX_DiscardUnknown()
- func (m *Accounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Accounts) XXX_Merge(src proto.Message)
- func (m *Accounts) XXX_Size() int
- func (m *Accounts) XXX_Unmarshal(b []byte) error
- type AddrOverview
- func (*AddrOverview) Descriptor() ([]byte, []int)
- func (m *AddrOverview) GetBalance() int64
- func (m *AddrOverview) GetReciver() int64
- func (m *AddrOverview) GetTxCount() int64
- func (*AddrOverview) ProtoMessage()
- func (m *AddrOverview) Reset()
- func (m *AddrOverview) String() string
- func (m *AddrOverview) XXX_DiscardUnknown()
- func (m *AddrOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddrOverview) XXX_Merge(src proto.Message)
- func (m *AddrOverview) XXX_Size() int
- func (m *AddrOverview) XXX_Unmarshal(b []byte) error
- type AllExecBalance
- func (*AllExecBalance) Descriptor() ([]byte, []int)
- func (m *AllExecBalance) GetAddr() string
- func (m *AllExecBalance) GetExecAccount() []*ExecAccount
- func (*AllExecBalance) ProtoMessage()
- func (m *AllExecBalance) Reset()
- func (m *AllExecBalance) String() string
- func (m *AllExecBalance) XXX_DiscardUnknown()
- func (m *AllExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllExecBalance) XXX_Merge(src proto.Message)
- func (m *AllExecBalance) XXX_Size() int
- func (m *AllExecBalance) XXX_Unmarshal(b []byte) error
- type Amounter
- type ArrayConfig
- func (*ArrayConfig) Descriptor() ([]byte, []int)
- func (m *ArrayConfig) GetValue() []string
- func (*ArrayConfig) ProtoMessage()
- func (m *ArrayConfig) Reset()
- func (m *ArrayConfig) String() string
- func (m *ArrayConfig) XXX_DiscardUnknown()
- func (m *ArrayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArrayConfig) XXX_Merge(src proto.Message)
- func (m *ArrayConfig) XXX_Size() int
- func (m *ArrayConfig) XXX_Unmarshal(b []byte) error
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)
- func (m *Asset) GetAmount() int64
- func (m *Asset) GetExec() string
- func (m *Asset) GetSymbol() string
- func (*Asset) ProtoMessage()
- func (m *Asset) Reset()
- func (m *Asset) String() string
- func (m *Asset) XXX_DiscardUnknown()
- func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Asset) XXX_Merge(src proto.Message)
- func (m *Asset) XXX_Size() int
- func (m *Asset) XXX_Unmarshal(b []byte) error
- type AssetsGenesis
- func (*AssetsGenesis) Descriptor() ([]byte, []int)
- func (m *AssetsGenesis) GetAmount() int64
- func (m *AssetsGenesis) GetReturnAddress() string
- func (*AssetsGenesis) ProtoMessage()
- func (m *AssetsGenesis) Reset()
- func (m *AssetsGenesis) String() string
- func (m *AssetsGenesis) XXX_DiscardUnknown()
- func (m *AssetsGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetsGenesis) XXX_Merge(src proto.Message)
- func (m *AssetsGenesis) XXX_Size() int
- func (m *AssetsGenesis) XXX_Unmarshal(b []byte) error
- type AssetsTransfer
- func (*AssetsTransfer) Descriptor() ([]byte, []int)
- func (m *AssetsTransfer) GetAmount() int64
- func (m *AssetsTransfer) GetCointoken() string
- func (m *AssetsTransfer) GetNote() []byte
- func (m *AssetsTransfer) GetTo() string
- func (*AssetsTransfer) ProtoMessage()
- func (m *AssetsTransfer) Reset()
- func (m *AssetsTransfer) String() string
- func (m *AssetsTransfer) XXX_DiscardUnknown()
- func (m *AssetsTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetsTransfer) XXX_Merge(src proto.Message)
- func (m *AssetsTransfer) XXX_Size() int
- func (m *AssetsTransfer) XXX_Unmarshal(b []byte) error
- type AssetsTransferToExec
- func (*AssetsTransferToExec) Descriptor() ([]byte, []int)
- func (m *AssetsTransferToExec) GetAmount() int64
- func (m *AssetsTransferToExec) GetCointoken() string
- func (m *AssetsTransferToExec) GetExecName() string
- func (m *AssetsTransferToExec) GetNote() []byte
- func (m *AssetsTransferToExec) GetTo() string
- func (*AssetsTransferToExec) ProtoMessage()
- func (m *AssetsTransferToExec) Reset()
- func (m *AssetsTransferToExec) String() string
- func (m *AssetsTransferToExec) XXX_DiscardUnknown()
- func (m *AssetsTransferToExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetsTransferToExec) XXX_Merge(src proto.Message)
- func (m *AssetsTransferToExec) XXX_Size() int
- func (m *AssetsTransferToExec) XXX_Unmarshal(b []byte) error
- type AssetsWithdraw
- func (*AssetsWithdraw) Descriptor() ([]byte, []int)
- func (m *AssetsWithdraw) GetAmount() int64
- func (m *AssetsWithdraw) GetCointoken() string
- func (m *AssetsWithdraw) GetExecName() string
- func (m *AssetsWithdraw) GetNote() []byte
- func (m *AssetsWithdraw) GetTo() string
- func (*AssetsWithdraw) ProtoMessage()
- func (m *AssetsWithdraw) Reset()
- func (m *AssetsWithdraw) String() string
- func (m *AssetsWithdraw) XXX_DiscardUnknown()
- func (m *AssetsWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetsWithdraw) XXX_Merge(src proto.Message)
- func (m *AssetsWithdraw) XXX_Size() int
- func (m *AssetsWithdraw) XXX_Unmarshal(b []byte) error
- type AuthorityCfg
- func (*AuthorityCfg) Descriptor() ([]byte, []int)
- func (m *AuthorityCfg) GetCryptoPath() string
- func (m *AuthorityCfg) GetEnable() bool
- func (m *AuthorityCfg) GetSignType() string
- func (*AuthorityCfg) ProtoMessage()
- func (m *AuthorityCfg) Reset()
- func (m *AuthorityCfg) String() string
- func (m *AuthorityCfg) XXX_DiscardUnknown()
- func (m *AuthorityCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorityCfg) XXX_Merge(src proto.Message)
- func (m *AuthorityCfg) XXX_Size() int
- func (m *AuthorityCfg) XXX_Unmarshal(b []byte) error
- type Block
- func (block *Block) CheckSign(cfg *Chain33Config) bool
- func (b *Block) Clone() *Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBlockTime() int64
- func (m *Block) GetDifficulty() uint32
- func (block *Block) GetHeader(cfg *Chain33Config) *Header
- func (m *Block) GetHeight() int64
- func (m *Block) GetMainHash() []byte
- func (m *Block) GetMainHeight() int64
- func (m *Block) GetParentHash() []byte
- func (m *Block) GetSignature() *Signature
- func (m *Block) GetStateHash() []byte
- func (m *Block) GetTxHash() []byte
- func (m *Block) GetTxs() []*Transaction
- func (m *Block) GetVersion() int64
- func (block *Block) Hash(cfg *Chain33Config) []byte
- func (block *Block) HashByForkHeight(forkheight int64) []byte
- func (block *Block) HashNew() []byte
- func (block *Block) HashOld() []byte
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (block *Block) Size() int
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockBody
- func (b *BlockBody) Clone() *BlockBody
- func (*BlockBody) Descriptor() ([]byte, []int)
- func (m *BlockBody) GetHash() []byte
- func (m *BlockBody) GetHeight() int64
- func (m *BlockBody) GetMainHash() []byte
- func (m *BlockBody) GetMainHeight() int64
- func (m *BlockBody) GetReceipts() []*ReceiptData
- func (m *BlockBody) GetTxs() []*Transaction
- func (*BlockBody) ProtoMessage()
- func (m *BlockBody) Reset()
- func (m *BlockBody) String() string
- func (m *BlockBody) XXX_DiscardUnknown()
- func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockBody) XXX_Merge(src proto.Message)
- func (m *BlockBody) XXX_Size() int
- func (m *BlockBody) XXX_Unmarshal(b []byte) error
- type BlockBodys
- func (*BlockBodys) Descriptor() ([]byte, []int)
- func (m *BlockBodys) GetItems() []*BlockBody
- func (*BlockBodys) ProtoMessage()
- func (m *BlockBodys) Reset()
- func (m *BlockBodys) String() string
- func (m *BlockBodys) XXX_DiscardUnknown()
- func (m *BlockBodys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockBodys) XXX_Merge(src proto.Message)
- func (m *BlockBodys) XXX_Size() int
- func (m *BlockBodys) XXX_Unmarshal(b []byte) error
- type BlockChain
- type BlockDetail
- func (b *BlockDetail) Clone() *BlockDetail
- func (*BlockDetail) Descriptor() ([]byte, []int)
- func (blockDetail *BlockDetail) FilterParaTxsByTitle(cfg *Chain33Config, title string) *ParaTxDetail
- func (m *BlockDetail) GetBlock() *Block
- func (m *BlockDetail) GetKV() []*KeyValue
- func (m *BlockDetail) GetPrevStatusHash() []byte
- func (m *BlockDetail) GetReceipts() []*ReceiptData
- func (*BlockDetail) ProtoMessage()
- func (m *BlockDetail) Reset()
- func (blockDetail *BlockDetail) Size() int
- func (m *BlockDetail) String() string
- func (m *BlockDetail) XXX_DiscardUnknown()
- func (m *BlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockDetail) XXX_Merge(src proto.Message)
- func (m *BlockDetail) XXX_Size() int
- func (m *BlockDetail) XXX_Unmarshal(b []byte) error
- type BlockDetails
- func (*BlockDetails) Descriptor() ([]byte, []int)
- func (m *BlockDetails) GetItems() []*BlockDetail
- func (*BlockDetails) ProtoMessage()
- func (m *BlockDetails) Reset()
- func (m *BlockDetails) String() string
- func (m *BlockDetails) XXX_DiscardUnknown()
- func (m *BlockDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockDetails) XXX_Merge(src proto.Message)
- func (m *BlockDetails) XXX_Size() int
- func (m *BlockDetails) XXX_Unmarshal(b []byte) error
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) GetHash() []byte
- func (m *BlockInfo) GetHeight() int64
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) String() string
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type BlockOverview
- func (*BlockOverview) Descriptor() ([]byte, []int)
- func (m *BlockOverview) GetHead() *Header
- func (m *BlockOverview) GetTxCount() int64
- func (m *BlockOverview) GetTxHashes() [][]byte
- func (*BlockOverview) ProtoMessage()
- func (m *BlockOverview) Reset()
- func (m *BlockOverview) String() string
- func (m *BlockOverview) XXX_DiscardUnknown()
- func (m *BlockOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockOverview) XXX_Merge(src proto.Message)
- func (m *BlockOverview) XXX_Size() int
- func (m *BlockOverview) XXX_Unmarshal(b []byte) error
- type BlockPid
- func (*BlockPid) Descriptor() ([]byte, []int)
- func (m *BlockPid) GetBlock() *Block
- func (m *BlockPid) GetPid() string
- func (*BlockPid) ProtoMessage()
- func (m *BlockPid) Reset()
- func (m *BlockPid) String() string
- func (m *BlockPid) XXX_DiscardUnknown()
- func (m *BlockPid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockPid) XXX_Merge(src proto.Message)
- func (m *BlockPid) XXX_Size() int
- func (m *BlockPid) XXX_Unmarshal(b []byte) error
- type BlockReceipt
- func (*BlockReceipt) Descriptor() ([]byte, []int)
- func (m *BlockReceipt) GetHash() []byte
- func (m *BlockReceipt) GetHeight() int64
- func (m *BlockReceipt) GetReceipts() []*ReceiptData
- func (*BlockReceipt) ProtoMessage()
- func (m *BlockReceipt) Reset()
- func (m *BlockReceipt) String() string
- func (m *BlockReceipt) XXX_DiscardUnknown()
- func (m *BlockReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockReceipt) XXX_Merge(src proto.Message)
- func (m *BlockReceipt) XXX_Size() int
- func (m *BlockReceipt) XXX_Unmarshal(b []byte) error
- type BlockSeq
- func (*BlockSeq) Descriptor() ([]byte, []int)
- func (m *BlockSeq) GetDetail() *BlockDetail
- func (m *BlockSeq) GetNum() int64
- func (m *BlockSeq) GetSeq() *BlockSequence
- func (*BlockSeq) ProtoMessage()
- func (m *BlockSeq) Reset()
- func (m *BlockSeq) String() string
- func (m *BlockSeq) XXX_DiscardUnknown()
- func (m *BlockSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockSeq) XXX_Merge(src proto.Message)
- func (m *BlockSeq) XXX_Size() int
- func (m *BlockSeq) XXX_Unmarshal(b []byte) error
- type BlockSeqs
- func (*BlockSeqs) Descriptor() ([]byte, []int)
- func (m *BlockSeqs) GetSeqs() []*BlockSeq
- func (*BlockSeqs) ProtoMessage()
- func (m *BlockSeqs) Reset()
- func (m *BlockSeqs) String() string
- func (m *BlockSeqs) XXX_DiscardUnknown()
- func (m *BlockSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockSeqs) XXX_Merge(src proto.Message)
- func (m *BlockSeqs) XXX_Size() int
- func (m *BlockSeqs) XXX_Unmarshal(b []byte) error
- type BlockSequence
- func (*BlockSequence) Descriptor() ([]byte, []int)
- func (m *BlockSequence) GetHash() []byte
- func (m *BlockSequence) GetType() int64
- func (*BlockSequence) ProtoMessage()
- func (m *BlockSequence) Reset()
- func (m *BlockSequence) String() string
- func (m *BlockSequence) XXX_DiscardUnknown()
- func (m *BlockSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockSequence) XXX_Merge(src proto.Message)
- func (m *BlockSequence) XXX_Size() int
- func (m *BlockSequence) XXX_Unmarshal(b []byte) error
- type BlockSequences
- func (*BlockSequences) Descriptor() ([]byte, []int)
- func (m *BlockSequences) GetItems() []*BlockSequence
- func (*BlockSequences) ProtoMessage()
- func (m *BlockSequences) Reset()
- func (m *BlockSequences) String() string
- func (m *BlockSequences) XXX_DiscardUnknown()
- func (m *BlockSequences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockSequences) XXX_Merge(src proto.Message)
- func (m *BlockSequences) XXX_Size() int
- func (m *BlockSequences) XXX_Unmarshal(b []byte) error
- type Blocks
- func (*Blocks) Descriptor() ([]byte, []int)
- func (m *Blocks) GetItems() []*Block
- func (*Blocks) ProtoMessage()
- func (m *Blocks) Reset()
- func (m *Blocks) String() string
- func (m *Blocks) XXX_DiscardUnknown()
- func (m *Blocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Blocks) XXX_Merge(src proto.Message)
- func (m *Blocks) XXX_Size() int
- func (m *Blocks) XXX_Unmarshal(b []byte) error
- type BroadCastData
- func (*BroadCastData) Descriptor() ([]byte, []int)
- func (m *BroadCastData) GetBlock() *P2PBlock
- func (m *BroadCastData) GetBlockRep() *P2PBlockTxReply
- func (m *BroadCastData) GetLtBlock() *LightBlock
- func (m *BroadCastData) GetLtTx() *LightTx
- func (m *BroadCastData) GetPing() *P2PPing
- func (m *BroadCastData) GetQuery() *P2PQueryData
- func (m *BroadCastData) GetTx() *P2PTx
- func (m *BroadCastData) GetValue() isBroadCastData_Value
- func (m *BroadCastData) GetVersion() *Versions
- func (*BroadCastData) ProtoMessage()
- func (m *BroadCastData) Reset()
- func (m *BroadCastData) String() string
- func (m *BroadCastData) XXX_DiscardUnknown()
- func (m *BroadCastData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadCastData) XXX_Merge(src proto.Message)
- func (*BroadCastData) XXX_OneofWrappers() []interface{}
- func (m *BroadCastData) XXX_Size() int
- func (m *BroadCastData) XXX_Unmarshal(b []byte) error
- type BroadCastData_Block
- type BroadCastData_BlockRep
- type BroadCastData_LtBlock
- type BroadCastData_LtTx
- type BroadCastData_Ping
- type BroadCastData_Query
- type BroadCastData_Tx
- type BroadCastData_Version
- type Chain33Client
- type Chain33Config
- func (c *Chain33Config) CalcTxKey(hash []byte) []byte
- func (c *Chain33Config) CalcTxKeyValue(txr *TxResult) []byte
- func (c *Chain33Config) EnableCheckFork(enable bool)
- func (c *Chain33Config) ExecName(name string) string
- func (c *Chain33Config) G(key string) (value interface{}, err error)
- func (c *Chain33Config) GInt(name string) int64
- func (c *Chain33Config) GStr(name string) string
- func (c *Chain33Config) GetChainID() int32
- func (c *Chain33Config) GetCoinSymbol() string
- func (c *Chain33Config) GetDappFork(dapp, fork string) int64
- func (c *Chain33Config) GetFork(fork string) int64
- func (c *Chain33Config) GetForks() (map[string]int64, error)
- func (c *Chain33Config) GetFundAddr() string
- func (c *Chain33Config) GetMaxTxFee() int64
- func (c *Chain33Config) GetMaxTxFeeRate() int64
- func (c *Chain33Config) GetMinTxFeeRate() int64
- func (c *Chain33Config) GetMinerExecs() []string
- func (c *Chain33Config) GetModuleConfig() *Config
- func (c *Chain33Config) GetP(height int64) *ChainParam
- func (c *Chain33Config) GetParaExec(execer []byte) []byte
- func (c *Chain33Config) GetParaName() string
- func (c *Chain33Config) GetSubConfig() *ConfigSubModule
- func (c *Chain33Config) GetTitle() string
- func (c *Chain33Config) HasConf(key string) bool
- func (c *Chain33Config) HasFork(fork string) bool
- func (c *Chain33Config) IsDappFork(height int64, dapp, fork string) bool
- func (c *Chain33Config) IsEnable(name string) bool
- func (c *Chain33Config) IsEnableFork(height int64, fork string, enable bool) bool
- func (c *Chain33Config) IsFork(height int64, fork string) bool
- func (c *Chain33Config) IsLocal() bool
- func (c *Chain33Config) IsMyParaExecName(exec string) bool
- func (c *Chain33Config) IsPara() bool
- func (c *Chain33Config) IsTestNet() bool
- func (c *Chain33Config) MG(key string, height int64) (value interface{}, err error)
- func (c *Chain33Config) MGInt(name string, height int64) int64
- func (c *Chain33Config) MGStr(name string, height int64) string
- func (c *Chain33Config) MIsEnable(name string, height int64) bool
- func (c *Chain33Config) ManaeKeyWithHeigh(key string, height int64) string
- func (c *Chain33Config) RegisterDappFork(dapp, fork string, height int64)
- func (c *Chain33Config) S(key string, value interface{})
- func (c *Chain33Config) SetDappFork(dapp, fork string, height int64)
- func (c *Chain33Config) SetMinFee(fee int64)
- func (c *Chain33Config) SetTitleOnlyForTest(ti string)
- func (c *Chain33Config) SetTxFeeConfig(minTxFeeRate, maxTxFeeRate, maxTxFee int64)
- type Chain33Server
- type ChainExecutor
- func (*ChainExecutor) Descriptor() ([]byte, []int)
- func (m *ChainExecutor) GetDriver() string
- func (m *ChainExecutor) GetExtra() []byte
- func (m *ChainExecutor) GetFuncName() string
- func (m *ChainExecutor) GetParam() []byte
- func (m *ChainExecutor) GetStateHash() []byte
- func (*ChainExecutor) ProtoMessage()
- func (m *ChainExecutor) Reset()
- func (m *ChainExecutor) String() string
- func (m *ChainExecutor) XXX_DiscardUnknown()
- func (m *ChainExecutor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainExecutor) XXX_Merge(src proto.Message)
- func (m *ChainExecutor) XXX_Size() int
- func (m *ChainExecutor) XXX_Unmarshal(b []byte) error
- type ChainParam
- type ChainStatus
- func (*ChainStatus) Descriptor() ([]byte, []int)
- func (m *ChainStatus) GetCurrentHeight() int64
- func (m *ChainStatus) GetMempoolSize() int64
- func (m *ChainStatus) GetMsgQueueSize() int64
- func (*ChainStatus) ProtoMessage()
- func (m *ChainStatus) Reset()
- func (m *ChainStatus) String() string
- func (m *ChainStatus) XXX_DiscardUnknown()
- func (m *ChainStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainStatus) XXX_Merge(src proto.Message)
- func (m *ChainStatus) XXX_Size() int
- func (m *ChainStatus) XXX_Unmarshal(b []byte) error
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetDigest() []byte
- func (m *Checkpoint) GetSequence() uint32
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) String() string
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type ChildChain
- func (*ChildChain) Descriptor() ([]byte, []int)
- func (m *ChildChain) GetChildHash() []byte
- func (m *ChildChain) GetStartIndex() int32
- func (m *ChildChain) GetTitle() string
- func (m *ChildChain) GetTxCount() int32
- func (*ChildChain) ProtoMessage()
- func (m *ChildChain) Reset()
- func (m *ChildChain) String() string
- func (m *ChildChain) XXX_DiscardUnknown()
- func (m *ChildChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChildChain) XXX_Merge(src proto.Message)
- func (m *ChildChain) XXX_Size() int
- func (m *ChildChain) XXX_Unmarshal(b []byte) error
- type ChunkInfo
- func (*ChunkInfo) Descriptor() ([]byte, []int)
- func (m *ChunkInfo) GetChunkHash() []byte
- func (m *ChunkInfo) GetChunkNum() int64
- func (m *ChunkInfo) GetEnd() int64
- func (m *ChunkInfo) GetStart() int64
- func (*ChunkInfo) ProtoMessage()
- func (m *ChunkInfo) Reset()
- func (m *ChunkInfo) String() string
- func (m *ChunkInfo) XXX_DiscardUnknown()
- func (m *ChunkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkInfo) XXX_Merge(src proto.Message)
- func (m *ChunkInfo) XXX_Size() int
- func (m *ChunkInfo) XXX_Unmarshal(b []byte) error
- type ChunkInfoList
- func (*ChunkInfoList) Descriptor() ([]byte, []int)
- func (m *ChunkInfoList) GetItems() []*ChunkInfoMsg
- func (*ChunkInfoList) ProtoMessage()
- func (m *ChunkInfoList) Reset()
- func (m *ChunkInfoList) String() string
- func (m *ChunkInfoList) XXX_DiscardUnknown()
- func (m *ChunkInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkInfoList) XXX_Merge(src proto.Message)
- func (m *ChunkInfoList) XXX_Size() int
- func (m *ChunkInfoList) XXX_Unmarshal(b []byte) error
- type ChunkInfoMsg
- func (*ChunkInfoMsg) Descriptor() ([]byte, []int)
- func (m *ChunkInfoMsg) GetChunkHash() []byte
- func (m *ChunkInfoMsg) GetEnd() int64
- func (m *ChunkInfoMsg) GetStart() int64
- func (*ChunkInfoMsg) ProtoMessage()
- func (m *ChunkInfoMsg) Reset()
- func (m *ChunkInfoMsg) String() string
- func (m *ChunkInfoMsg) XXX_DiscardUnknown()
- func (m *ChunkInfoMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkInfoMsg) XXX_Merge(src proto.Message)
- func (m *ChunkInfoMsg) XXX_Size() int
- func (m *ChunkInfoMsg) XXX_Unmarshal(b []byte) error
- type ChunkRecords
- func (*ChunkRecords) Descriptor() ([]byte, []int)
- func (m *ChunkRecords) GetInfos() []*ChunkInfo
- func (*ChunkRecords) ProtoMessage()
- func (m *ChunkRecords) Reset()
- func (m *ChunkRecords) String() string
- func (m *ChunkRecords) XXX_DiscardUnknown()
- func (m *ChunkRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkRecords) XXX_Merge(src proto.Message)
- func (m *ChunkRecords) XXX_Size() int
- func (m *ChunkRecords) XXX_Unmarshal(b []byte) error
- type ClientReply
- func (*ClientReply) Descriptor() ([]byte, []int)
- func (m *ClientReply) GetClient() string
- func (m *ClientReply) GetReplica() uint32
- func (m *ClientReply) GetResult() *Result
- func (m *ClientReply) GetTimestamp() string
- func (m *ClientReply) GetView() uint32
- func (*ClientReply) ProtoMessage()
- func (m *ClientReply) Reset()
- func (m *ClientReply) String() string
- func (m *ClientReply) XXX_DiscardUnknown()
- func (m *ClientReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientReply) XXX_Merge(src proto.Message)
- func (m *ClientReply) XXX_Size() int
- func (m *ClientReply) XXX_Unmarshal(b []byte) error
- type CmpBlock
- func (*CmpBlock) Descriptor() ([]byte, []int)
- func (m *CmpBlock) GetBlock() *Block
- func (m *CmpBlock) GetCmpHash() []byte
- func (*CmpBlock) ProtoMessage()
- func (m *CmpBlock) Reset()
- func (m *CmpBlock) String() string
- func (m *CmpBlock) XXX_DiscardUnknown()
- func (m *CmpBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CmpBlock) XXX_Merge(src proto.Message)
- func (m *CmpBlock) XXX_Size() int
- func (m *CmpBlock) XXX_Unmarshal(b []byte) error
- type ConfQuery
- func (query *ConfQuery) G(key string) (interface{}, error)
- func (query *ConfQuery) GInt(key string) int64
- func (query *ConfQuery) GStr(key string) string
- func (query *ConfQuery) GStrList(key string) []string
- func (query *ConfQuery) IsEnable(key string) bool
- func (query *ConfQuery) MG(key string, height int64) (interface{}, error)
- func (query *ConfQuery) MGInt(key string, height int64) int64
- func (query *ConfQuery) MGStr(key string, height int64) string
- func (query *ConfQuery) MGStrList(key string, height int64) []string
- func (query *ConfQuery) MIsEnable(key string, height int64) bool
- type Config
- type ConfigItem
- func (*ConfigItem) Descriptor() ([]byte, []int)
- func (m *ConfigItem) GetAddr() string
- func (m *ConfigItem) GetArr() *ArrayConfig
- func (m *ConfigItem) GetInt() *Int32Config
- func (m *ConfigItem) GetKey() string
- func (m *ConfigItem) GetStr() *StringConfig
- func (m *ConfigItem) GetTy() int32
- func (m *ConfigItem) GetValue() isConfigItem_Value
- func (*ConfigItem) ProtoMessage()
- func (m *ConfigItem) Reset()
- func (m *ConfigItem) String() string
- func (m *ConfigItem) XXX_DiscardUnknown()
- func (m *ConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigItem) XXX_Merge(src proto.Message)
- func (*ConfigItem) XXX_OneofWrappers() []interface{}
- func (m *ConfigItem) XXX_Size() int
- func (m *ConfigItem) XXX_Unmarshal(b []byte) error
- type ConfigItem_Arr
- type ConfigItem_Int
- type ConfigItem_Str
- type ConfigSubModule
- type Consensus
- type Create
- type CreateTransactionGroup
- func (*CreateTransactionGroup) Descriptor() ([]byte, []int)
- func (m *CreateTransactionGroup) GetTxs() []string
- func (*CreateTransactionGroup) ProtoMessage()
- func (m *CreateTransactionGroup) Reset()
- func (m *CreateTransactionGroup) String() string
- func (m *CreateTransactionGroup) XXX_DiscardUnknown()
- func (m *CreateTransactionGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTransactionGroup) XXX_Merge(src proto.Message)
- func (m *CreateTransactionGroup) XXX_Size() int
- func (m *CreateTransactionGroup) XXX_Unmarshal(b []byte) error
- type CreateTx
- func (*CreateTx) Descriptor() ([]byte, []int)
- func (m *CreateTx) GetAmount() int64
- func (m *CreateTx) GetExecName() string
- func (m *CreateTx) GetExecer() string
- func (m *CreateTx) GetFee() int64
- func (m *CreateTx) GetIsToken() bool
- func (m *CreateTx) GetIsWithdraw() bool
- func (m *CreateTx) GetNote() []byte
- func (m *CreateTx) GetTo() string
- func (m *CreateTx) GetTokenSymbol() string
- func (*CreateTx) ProtoMessage()
- func (m *CreateTx) Reset()
- func (m *CreateTx) String() string
- func (m *CreateTx) XXX_DiscardUnknown()
- func (m *CreateTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTx) XXX_Merge(src proto.Message)
- func (m *CreateTx) XXX_Size() int
- func (m *CreateTx) XXX_Unmarshal(b []byte) error
- type CreateTxIn
- func (*CreateTxIn) Descriptor() ([]byte, []int)
- func (m *CreateTxIn) GetActionName() string
- func (m *CreateTxIn) GetExecer() []byte
- func (m *CreateTxIn) GetPayload() []byte
- func (*CreateTxIn) ProtoMessage()
- func (m *CreateTxIn) Reset()
- func (m *CreateTxIn) String() string
- func (m *CreateTxIn) XXX_DiscardUnknown()
- func (m *CreateTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTxIn) XXX_Merge(src proto.Message)
- func (m *CreateTxIn) XXX_Size() int
- func (m *CreateTxIn) XXX_Unmarshal(b []byte) error
- type EndBlock
- func (*EndBlock) Descriptor() ([]byte, []int)
- func (m *EndBlock) GetHash() []byte
- func (m *EndBlock) GetHeight() int64
- func (*EndBlock) ProtoMessage()
- func (m *EndBlock) Reset()
- func (m *EndBlock) String() string
- func (m *EndBlock) XXX_DiscardUnknown()
- func (m *EndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndBlock) XXX_Merge(src proto.Message)
- func (m *EndBlock) XXX_Size() int
- func (m *EndBlock) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetDigest() []byte
- func (m *Entry) GetSequence() uint32
- func (m *Entry) GetView() uint32
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type Exec
- type ExecAccount
- func (*ExecAccount) Descriptor() ([]byte, []int)
- func (m *ExecAccount) GetAccount() *Account
- func (m *ExecAccount) GetExecer() string
- func (*ExecAccount) ProtoMessage()
- func (m *ExecAccount) Reset()
- func (m *ExecAccount) String() string
- func (m *ExecAccount) XXX_DiscardUnknown()
- func (m *ExecAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecAccount) XXX_Merge(src proto.Message)
- func (m *ExecAccount) XXX_Size() int
- func (m *ExecAccount) XXX_Unmarshal(b []byte) error
- type ExecBalanceItem
- func (*ExecBalanceItem) Descriptor() ([]byte, []int)
- func (m *ExecBalanceItem) GetActive() int64
- func (m *ExecBalanceItem) GetExecAddr() []byte
- func (m *ExecBalanceItem) GetFrozen() int64
- func (*ExecBalanceItem) ProtoMessage()
- func (m *ExecBalanceItem) Reset()
- func (m *ExecBalanceItem) String() string
- func (m *ExecBalanceItem) XXX_DiscardUnknown()
- func (m *ExecBalanceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecBalanceItem) XXX_Merge(src proto.Message)
- func (m *ExecBalanceItem) XXX_Size() int
- func (m *ExecBalanceItem) XXX_Unmarshal(b []byte) error
- type ExecTxList
- func (*ExecTxList) Descriptor() ([]byte, []int)
- func (m *ExecTxList) GetBlockTime() int64
- func (m *ExecTxList) GetDifficulty() uint64
- func (m *ExecTxList) GetHeight() int64
- func (m *ExecTxList) GetIsMempool() bool
- func (m *ExecTxList) GetMainHash() []byte
- func (m *ExecTxList) GetMainHeight() int64
- func (m *ExecTxList) GetParentHash() []byte
- func (m *ExecTxList) GetStateHash() []byte
- func (m *ExecTxList) GetTxs() []*Transaction
- func (*ExecTxList) ProtoMessage()
- func (m *ExecTxList) Reset()
- func (m *ExecTxList) String() string
- func (m *ExecTxList) XXX_DiscardUnknown()
- func (m *ExecTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecTxList) XXX_Merge(src proto.Message)
- func (m *ExecTxList) XXX_Size() int
- func (m *ExecTxList) XXX_Unmarshal(b []byte) error
- type ExecTypeBase
- func (base *ExecTypeBase) ActionName(tx *Transaction) string
- func (base *ExecTypeBase) Amount(tx *Transaction) (int64, error)
- func (base *ExecTypeBase) AssertCreate(c *CreateTx) (*Transaction, error)
- func (base *ExecTypeBase) Create(action string, msg Message) (*Transaction, error)
- func (base *ExecTypeBase) CreateQuery(funcname string, message json.RawMessage) (Message, error)
- func (base *ExecTypeBase) CreateTransaction(action string, data Message) (tx *Transaction, err error)
- func (base *ExecTypeBase) CreateTx(action string, msg json.RawMessage) (*Transaction, error)
- func (base *ExecTypeBase) DecodePayload(tx *Transaction) (Message, error)
- func (base *ExecTypeBase) DecodePayloadValue(tx *Transaction) (string, reflect.Value, error)
- func (base *ExecTypeBase) GetAction(action string) (Message, error)
- func (base *ExecTypeBase) GetAssets(tx *Transaction) ([]*Asset, error)
- func (base *ExecTypeBase) GetChild() ExecutorType
- func (base *ExecTypeBase) GetConfig() *Chain33Config
- func (base *ExecTypeBase) GetCryptoDriver(ty int) (string, error)
- func (base *ExecTypeBase) GetCryptoType(name string) (int, error)
- func (base *ExecTypeBase) GetExecFuncMap() map[string]reflect.Method
- func (base *ExecTypeBase) GetForks() *Forks
- func (base *ExecTypeBase) GetFuncMap() map[string]reflect.Method
- func (base *ExecTypeBase) GetName() string
- func (base *ExecTypeBase) GetRPCFuncMap() map[string]reflect.Method
- func (base *ExecTypeBase) GetRealToAddr(tx *Transaction) string
- func (base *ExecTypeBase) GetValueTypeMap() map[string]reflect.Type
- func (base *ExecTypeBase) GetViewFromToAddr(tx *Transaction) (string, string)
- func (base *ExecTypeBase) InitFuncList(list map[string]reflect.Method)
- func (base *ExecTypeBase) IsFork(height int64, key string) bool
- func (base *ExecTypeBase) QueryToJSON(funcname string, message Message) ([]byte, error)
- func (base *ExecTypeBase) SetChild(child ExecutorType)
- func (base *ExecTypeBase) SetConfig(cfg *Chain33Config)
- type ExecutorType
- type FetchTopicList
- func (*FetchTopicList) Descriptor() ([]byte, []int)
- func (m *FetchTopicList) GetModule() string
- func (*FetchTopicList) ProtoMessage()
- func (m *FetchTopicList) Reset()
- func (m *FetchTopicList) String() string
- func (m *FetchTopicList) XXX_DiscardUnknown()
- func (m *FetchTopicList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FetchTopicList) XXX_Merge(src proto.Message)
- func (m *FetchTopicList) XXX_Size() int
- func (m *FetchTopicList) XXX_Unmarshal(b []byte) error
- type FileHeader
- func (*FileHeader) Descriptor() ([]byte, []int)
- func (m *FileHeader) GetDriver() string
- func (m *FileHeader) GetStartHeight() int64
- func (m *FileHeader) GetTestNet() bool
- func (m *FileHeader) GetTitle() string
- func (*FileHeader) ProtoMessage()
- func (m *FileHeader) Reset()
- func (m *FileHeader) String() string
- func (m *FileHeader) XXX_DiscardUnknown()
- func (m *FileHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileHeader) XXX_Merge(src proto.Message)
- func (m *FileHeader) XXX_Size() int
- func (m *FileHeader) XXX_Unmarshal(b []byte) error
- type ForkList
- type Forks
- func (f *Forks) GetAll() map[string]int64
- func (f *Forks) GetDappFork(app string, key string) int64
- func (f *Forks) GetFork(key string) int64
- func (f *Forks) HasFork(key string) bool
- func (f *Forks) IsDappFork(height int64, dapp, fork string) bool
- func (f *Forks) IsFork(height int64, fork string) bool
- func (f *Forks) ReplaceDappFork(dapp, key string, height int64)
- func (f *Forks) ReplaceFork(key string, height int64)
- func (f *Forks) SetAllFork(height int64)
- func (f *Forks) SetDappFork(dapp, key string, height int64)
- func (f *Forks) SetFork(key string, height int64)
- func (f *Forks) SetTestNetFork()
- type GenSeedLang
- func (*GenSeedLang) Descriptor() ([]byte, []int)
- func (m *GenSeedLang) GetLang() int32
- func (*GenSeedLang) ProtoMessage()
- func (m *GenSeedLang) Reset()
- func (m *GenSeedLang) String() string
- func (m *GenSeedLang) XXX_DiscardUnknown()
- func (m *GenSeedLang) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenSeedLang) XXX_Merge(src proto.Message)
- func (m *GenSeedLang) XXX_Size() int
- func (m *GenSeedLang) XXX_Unmarshal(b []byte) error
- type Genesis
- func (*Genesis) Descriptor() ([]byte, []int)
- func (m *Genesis) GetIsrun() bool
- func (*Genesis) ProtoMessage()
- func (m *Genesis) Reset()
- func (m *Genesis) String() string
- func (m *Genesis) XXX_DiscardUnknown()
- func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Genesis) XXX_Merge(src proto.Message)
- func (m *Genesis) XXX_Size() int
- func (m *Genesis) XXX_Unmarshal(b []byte) error
- type GetSeedByPw
- func (*GetSeedByPw) Descriptor() ([]byte, []int)
- func (m *GetSeedByPw) GetPasswd() string
- func (*GetSeedByPw) ProtoMessage()
- func (m *GetSeedByPw) Reset()
- func (m *GetSeedByPw) String() string
- func (m *GetSeedByPw) XXX_DiscardUnknown()
- func (m *GetSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSeedByPw) XXX_Merge(src proto.Message)
- func (m *GetSeedByPw) XXX_Size() int
- func (m *GetSeedByPw) XXX_Unmarshal(b []byte) error
- type HashList
- func (*HashList) Descriptor() ([]byte, []int)
- func (m *HashList) GetHashes() [][]byte
- func (*HashList) ProtoMessage()
- func (m *HashList) Reset()
- func (m *HashList) String() string
- func (m *HashList) XXX_DiscardUnknown()
- func (m *HashList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashList) XXX_Merge(src proto.Message)
- func (m *HashList) XXX_Size() int
- func (m *HashList) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetBlockTime() int64
- func (m *Header) GetDifficulty() uint32
- func (m *Header) GetHash() []byte
- func (m *Header) GetHeight() int64
- func (m *Header) GetParentHash() []byte
- func (m *Header) GetSignature() *Signature
- func (m *Header) GetStateHash() []byte
- func (m *Header) GetTxCount() int64
- func (m *Header) GetTxHash() []byte
- func (m *Header) GetVersion() int64
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (header *Header) Size() int
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type HeaderSeq
- func (*HeaderSeq) Descriptor() ([]byte, []int)
- func (m *HeaderSeq) GetHeader() *Header
- func (m *HeaderSeq) GetNum() int64
- func (m *HeaderSeq) GetSeq() *BlockSequence
- func (*HeaderSeq) ProtoMessage()
- func (m *HeaderSeq) Reset()
- func (m *HeaderSeq) String() string
- func (m *HeaderSeq) XXX_DiscardUnknown()
- func (m *HeaderSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderSeq) XXX_Merge(src proto.Message)
- func (m *HeaderSeq) XXX_Size() int
- func (m *HeaderSeq) XXX_Unmarshal(b []byte) error
- type HeaderSeqs
- func (*HeaderSeqs) Descriptor() ([]byte, []int)
- func (m *HeaderSeqs) GetSeqs() []*HeaderSeq
- func (*HeaderSeqs) ProtoMessage()
- func (m *HeaderSeqs) Reset()
- func (m *HeaderSeqs) String() string
- func (m *HeaderSeqs) XXX_DiscardUnknown()
- func (m *HeaderSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderSeqs) XXX_Merge(src proto.Message)
- func (m *HeaderSeqs) XXX_Size() int
- func (m *HeaderSeqs) XXX_Unmarshal(b []byte) error
- type Headers
- func (*Headers) Descriptor() ([]byte, []int)
- func (m *Headers) GetItems() []*Header
- func (*Headers) ProtoMessage()
- func (m *Headers) Reset()
- func (m *Headers) String() string
- func (m *Headers) XXX_DiscardUnknown()
- func (m *Headers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Headers) XXX_Merge(src proto.Message)
- func (m *Headers) XXX_Size() int
- func (m *Headers) XXX_Unmarshal(b []byte) error
- type HeadersPid
- func (*HeadersPid) Descriptor() ([]byte, []int)
- func (m *HeadersPid) GetHeaders() *Headers
- func (m *HeadersPid) GetPid() string
- func (*HeadersPid) ProtoMessage()
- func (m *HeadersPid) Reset()
- func (m *HeadersPid) String() string
- func (m *HeadersPid) XXX_DiscardUnknown()
- func (m *HeadersPid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeadersPid) XXX_Merge(src proto.Message)
- func (m *HeadersPid) XXX_Size() int
- func (m *HeadersPid) XXX_Unmarshal(b []byte) error
- type HealthCheck
- type HeightPara
- func (*HeightPara) Descriptor() ([]byte, []int)
- func (m *HeightPara) GetChildHash() []byte
- func (m *HeightPara) GetChildHashIndex() uint32
- func (m *HeightPara) GetHash() []byte
- func (m *HeightPara) GetHeight() int64
- func (m *HeightPara) GetStartIndex() int32
- func (m *HeightPara) GetTitle() string
- func (m *HeightPara) GetTxCount() int32
- func (*HeightPara) ProtoMessage()
- func (m *HeightPara) Reset()
- func (m *HeightPara) String() string
- func (m *HeightPara) XXX_DiscardUnknown()
- func (m *HeightPara) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeightPara) XXX_Merge(src proto.Message)
- func (m *HeightPara) XXX_Size() int
- func (m *HeightPara) XXX_Unmarshal(b []byte) error
- type HeightParas
- func (*HeightParas) Descriptor() ([]byte, []int)
- func (m *HeightParas) GetItems() []*HeightPara
- func (*HeightParas) ProtoMessage()
- func (m *HeightParas) Reset()
- func (m *HeightParas) String() string
- func (m *HeightParas) XXX_DiscardUnknown()
- func (m *HeightParas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeightParas) XXX_Merge(src proto.Message)
- func (m *HeightParas) XXX_Size() int
- func (m *HeightParas) XXX_Unmarshal(b []byte) error
- type HexTx
- func (*HexTx) Descriptor() ([]byte, []int)
- func (m *HexTx) GetTx() string
- func (*HexTx) ProtoMessage()
- func (m *HexTx) Reset()
- func (m *HexTx) String() string
- func (m *HexTx) XXX_DiscardUnknown()
- func (m *HexTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HexTx) XXX_Merge(src proto.Message)
- func (m *HexTx) XXX_Size() int
- func (m *HexTx) XXX_Unmarshal(b []byte) error
- type HistoryCertStore
- func (*HistoryCertStore) Descriptor() ([]byte, []int)
- func (m *HistoryCertStore) GetCurHeigth() int64
- func (m *HistoryCertStore) GetIntermediateCerts() [][]byte
- func (m *HistoryCertStore) GetNxtHeight() int64
- func (m *HistoryCertStore) GetRevocationList() [][]byte
- func (m *HistoryCertStore) GetRootcerts() [][]byte
- func (*HistoryCertStore) ProtoMessage()
- func (m *HistoryCertStore) Reset()
- func (m *HistoryCertStore) String() string
- func (m *HistoryCertStore) XXX_DiscardUnknown()
- func (m *HistoryCertStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryCertStore) XXX_Merge(src proto.Message)
- func (m *HistoryCertStore) XXX_Size() int
- func (m *HistoryCertStore) XXX_Unmarshal(b []byte) error
- type InnerNode
- func (*InnerNode) Descriptor() ([]byte, []int)
- func (m *InnerNode) GetHeight() int32
- func (m *InnerNode) GetLeftHash() []byte
- func (m *InnerNode) GetRightHash() []byte
- func (m *InnerNode) GetSize() int32
- func (innernode *InnerNode) Hash() []byte
- func (*InnerNode) ProtoMessage()
- func (m *InnerNode) Reset()
- func (m *InnerNode) String() string
- func (m *InnerNode) XXX_DiscardUnknown()
- func (m *InnerNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InnerNode) XXX_Merge(src proto.Message)
- func (m *InnerNode) XXX_Size() int
- func (m *InnerNode) XXX_Unmarshal(b []byte) error
- type Int32
- func (*Int32) Descriptor() ([]byte, []int)
- func (m *Int32) GetData() int32
- func (*Int32) ProtoMessage()
- func (m *Int32) Reset()
- func (m *Int32) String() string
- func (m *Int32) XXX_DiscardUnknown()
- func (m *Int32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int32) XXX_Merge(src proto.Message)
- func (m *Int32) XXX_Size() int
- func (m *Int32) XXX_Unmarshal(b []byte) error
- type Int32Config
- func (*Int32Config) Descriptor() ([]byte, []int)
- func (m *Int32Config) GetValue() int32
- func (*Int32Config) ProtoMessage()
- func (m *Int32Config) Reset()
- func (m *Int32Config) String() string
- func (m *Int32Config) XXX_DiscardUnknown()
- func (m *Int32Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int32Config) XXX_Merge(src proto.Message)
- func (m *Int32Config) XXX_Size() int
- func (m *Int32Config) XXX_Unmarshal(b []byte) error
- type Int64
- func (*Int64) Descriptor() ([]byte, []int)
- func (m *Int64) GetData() int64
- func (*Int64) ProtoMessage()
- func (m *Int64) Reset()
- func (m *Int64) String() string
- func (m *Int64) XXX_DiscardUnknown()
- func (m *Int64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64) XXX_Merge(src proto.Message)
- func (m *Int64) XXX_Size() int
- func (m *Int64) XXX_Unmarshal(b []byte) error
- type InvData
- func (*InvData) Descriptor() ([]byte, []int)
- func (m *InvData) GetBlock() *Block
- func (m *InvData) GetTx() *Transaction
- func (m *InvData) GetTy() int32
- func (m *InvData) GetValue() isInvData_Value
- func (*InvData) ProtoMessage()
- func (m *InvData) Reset()
- func (m *InvData) String() string
- func (m *InvData) XXX_DiscardUnknown()
- func (m *InvData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvData) XXX_Merge(src proto.Message)
- func (*InvData) XXX_OneofWrappers() []interface{}
- func (m *InvData) XXX_Size() int
- func (m *InvData) XXX_Unmarshal(b []byte) error
- type InvData_Block
- type InvData_Tx
- type InvDatas
- func (*InvDatas) Descriptor() ([]byte, []int)
- func (m *InvDatas) GetItems() []*InvData
- func (*InvDatas) ProtoMessage()
- func (m *InvDatas) Reset()
- func (m *InvDatas) String() string
- func (m *InvDatas) XXX_DiscardUnknown()
- func (m *InvDatas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvDatas) XXX_Merge(src proto.Message)
- func (m *InvDatas) XXX_Size() int
- func (m *InvDatas) XXX_Unmarshal(b []byte) error
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)
- func (m *Inventory) GetHash() []byte
- func (m *Inventory) GetHeight() int64
- func (m *Inventory) GetTy() int32
- func (*Inventory) ProtoMessage()
- func (m *Inventory) Reset()
- func (m *Inventory) String() string
- func (m *Inventory) XXX_DiscardUnknown()
- func (m *Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inventory) XXX_Merge(src proto.Message)
- func (m *Inventory) XXX_Size() int
- func (m *Inventory) XXX_Unmarshal(b []byte) error
- type IsCaughtUp
- func (*IsCaughtUp) Descriptor() ([]byte, []int)
- func (m *IsCaughtUp) GetIscaughtup() bool
- func (*IsCaughtUp) ProtoMessage()
- func (m *IsCaughtUp) Reset()
- func (m *IsCaughtUp) String() string
- func (m *IsCaughtUp) XXX_DiscardUnknown()
- func (m *IsCaughtUp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsCaughtUp) XXX_Merge(src proto.Message)
- func (m *IsCaughtUp) XXX_Size() int
- func (m *IsCaughtUp) XXX_Unmarshal(b []byte) error
- type IsNtpClockSync
- func (*IsNtpClockSync) Descriptor() ([]byte, []int)
- func (m *IsNtpClockSync) GetIsntpclocksync() bool
- func (*IsNtpClockSync) ProtoMessage()
- func (m *IsNtpClockSync) Reset()
- func (m *IsNtpClockSync) String() string
- func (m *IsNtpClockSync) XXX_DiscardUnknown()
- func (m *IsNtpClockSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsNtpClockSync) XXX_Merge(src proto.Message)
- func (m *IsNtpClockSync) XXX_Size() int
- func (m *IsNtpClockSync) XXX_Unmarshal(b []byte) error
- type IterateRangeByStateHash
- func (*IterateRangeByStateHash) Descriptor() ([]byte, []int)
- func (m *IterateRangeByStateHash) GetCount() int64
- func (m *IterateRangeByStateHash) GetEnd() []byte
- func (m *IterateRangeByStateHash) GetStart() []byte
- func (m *IterateRangeByStateHash) GetStateHash() []byte
- func (*IterateRangeByStateHash) ProtoMessage()
- func (m *IterateRangeByStateHash) Reset()
- func (m *IterateRangeByStateHash) String() string
- func (m *IterateRangeByStateHash) XXX_DiscardUnknown()
- func (m *IterateRangeByStateHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IterateRangeByStateHash) XXX_Merge(src proto.Message)
- func (m *IterateRangeByStateHash) XXX_Size() int
- func (m *IterateRangeByStateHash) XXX_Unmarshal(b []byte) error
- type KeyValue
- func (kv *KeyValue) Clone() *KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)
- func (m *KeyValue) GetKey() []byte
- func (m *KeyValue) GetValue() []byte
- func (*KeyValue) ProtoMessage()
- func (m *KeyValue) Reset()
- func (m *KeyValue) String() string
- func (m *KeyValue) XXX_DiscardUnknown()
- func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyValue) XXX_Merge(src proto.Message)
- func (m *KeyValue) XXX_Size() int
- func (m *KeyValue) XXX_Unmarshal(b []byte) error
- type LeafNode
- func (*LeafNode) Descriptor() ([]byte, []int)
- func (m *LeafNode) GetHeight() int32
- func (m *LeafNode) GetKey() []byte
- func (m *LeafNode) GetSize() int32
- func (m *LeafNode) GetValue() []byte
- func (leafnode *LeafNode) Hash() []byte
- func (*LeafNode) ProtoMessage()
- func (m *LeafNode) Reset()
- func (m *LeafNode) String() string
- func (m *LeafNode) XXX_DiscardUnknown()
- func (m *LeafNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeafNode) XXX_Merge(src proto.Message)
- func (m *LeafNode) XXX_Size() int
- func (m *LeafNode) XXX_Unmarshal(b []byte) error
- type LightBlock
- func (*LightBlock) Descriptor() ([]byte, []int)
- func (m *LightBlock) GetHeader() *Header
- func (m *LightBlock) GetMinerTx() *Transaction
- func (m *LightBlock) GetSTxHashes() []string
- func (m *LightBlock) GetSize() int64
- func (*LightBlock) ProtoMessage()
- func (m *LightBlock) Reset()
- func (m *LightBlock) String() string
- func (m *LightBlock) XXX_DiscardUnknown()
- func (m *LightBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightBlock) XXX_Merge(src proto.Message)
- func (m *LightBlock) XXX_Size() int
- func (m *LightBlock) XXX_Unmarshal(b []byte) error
- type LightTx
- func (*LightTx) Descriptor() ([]byte, []int)
- func (m *LightTx) GetRoute() *P2PRoute
- func (m *LightTx) GetTxHash() []byte
- func (*LightTx) ProtoMessage()
- func (m *LightTx) Reset()
- func (m *LightTx) String() string
- func (m *LightTx) XXX_DiscardUnknown()
- func (m *LightTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightTx) XXX_Merge(src proto.Message)
- func (m *LightTx) XXX_Size() int
- func (m *LightTx) XXX_Unmarshal(b []byte) error
- type LocalDBGet
- func (*LocalDBGet) Descriptor() ([]byte, []int)
- func (m *LocalDBGet) GetKeys() [][]byte
- func (m *LocalDBGet) GetTxid() int64
- func (*LocalDBGet) ProtoMessage()
- func (m *LocalDBGet) Reset()
- func (m *LocalDBGet) String() string
- func (m *LocalDBGet) XXX_DiscardUnknown()
- func (m *LocalDBGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalDBGet) XXX_Merge(src proto.Message)
- func (m *LocalDBGet) XXX_Size() int
- func (m *LocalDBGet) XXX_Unmarshal(b []byte) error
- type LocalDBList
- func (*LocalDBList) Descriptor() ([]byte, []int)
- func (m *LocalDBList) GetCount() int32
- func (m *LocalDBList) GetDirection() int32
- func (m *LocalDBList) GetKey() []byte
- func (m *LocalDBList) GetPrefix() []byte
- func (m *LocalDBList) GetTxid() int64
- func (*LocalDBList) ProtoMessage()
- func (m *LocalDBList) Reset()
- func (m *LocalDBList) String() string
- func (m *LocalDBList) XXX_DiscardUnknown()
- func (m *LocalDBList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalDBList) XXX_Merge(src proto.Message)
- func (m *LocalDBList) XXX_Size() int
- func (m *LocalDBList) XXX_Unmarshal(b []byte) error
- type LocalDBSet
- func (*LocalDBSet) Descriptor() ([]byte, []int)
- func (m *LocalDBSet) GetKV() []*KeyValue
- func (m *LocalDBSet) GetTxid() int64
- func (*LocalDBSet) ProtoMessage()
- func (m *LocalDBSet) Reset()
- func (m *LocalDBSet) String() string
- func (m *LocalDBSet) XXX_DiscardUnknown()
- func (m *LocalDBSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalDBSet) XXX_Merge(src proto.Message)
- func (m *LocalDBSet) XXX_Size() int
- func (m *LocalDBSet) XXX_Unmarshal(b []byte) error
- type LocalReplyValue
- func (*LocalReplyValue) Descriptor() ([]byte, []int)
- func (m *LocalReplyValue) GetValues() [][]byte
- func (*LocalReplyValue) ProtoMessage()
- func (m *LocalReplyValue) Reset()
- func (m *LocalReplyValue) String() string
- func (m *LocalReplyValue) XXX_DiscardUnknown()
- func (m *LocalReplyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalReplyValue) XXX_Merge(src proto.Message)
- func (m *LocalReplyValue) XXX_Size() int
- func (m *LocalReplyValue) XXX_Unmarshal(b []byte) error
- type Log
- type LogErr
- type LogInfo
- type LogReserved
- type LogType
- type MAVLProof
- func (*MAVLProof) Descriptor() ([]byte, []int)
- func (m *MAVLProof) GetInnerNodes() []*InnerNode
- func (m *MAVLProof) GetLeafHash() []byte
- func (m *MAVLProof) GetRootHash() []byte
- func (*MAVLProof) ProtoMessage()
- func (m *MAVLProof) Reset()
- func (m *MAVLProof) String() string
- func (m *MAVLProof) XXX_DiscardUnknown()
- func (m *MAVLProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MAVLProof) XXX_Merge(src proto.Message)
- func (m *MAVLProof) XXX_Size() int
- func (m *MAVLProof) XXX_Unmarshal(b []byte) error
- type Mempool
- type MempoolSize
- func (*MempoolSize) Descriptor() ([]byte, []int)
- func (m *MempoolSize) GetSize() int64
- func (*MempoolSize) ProtoMessage()
- func (m *MempoolSize) Reset()
- func (m *MempoolSize) String() string
- func (m *MempoolSize) XXX_DiscardUnknown()
- func (m *MempoolSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MempoolSize) XXX_Merge(src proto.Message)
- func (m *MempoolSize) XXX_Size() int
- func (m *MempoolSize) XXX_Unmarshal(b []byte) error
- type Message
- type MessageAddrList
- func (*MessageAddrList) Descriptor() ([]byte, []int)
- func (m *MessageAddrList) GetMessage() *P2PAddrList
- func (m *MessageAddrList) GetMessageData() *MessageComm
- func (*MessageAddrList) ProtoMessage()
- func (m *MessageAddrList) Reset()
- func (m *MessageAddrList) String() string
- func (m *MessageAddrList) XXX_DiscardUnknown()
- func (m *MessageAddrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageAddrList) XXX_Merge(src proto.Message)
- func (m *MessageAddrList) XXX_Size() int
- func (m *MessageAddrList) XXX_Unmarshal(b []byte) error
- type MessageAddrReq
- func (*MessageAddrReq) Descriptor() ([]byte, []int)
- func (m *MessageAddrReq) GetMessage() *P2PGetAddr
- func (m *MessageAddrReq) GetMessageData() *MessageComm
- func (*MessageAddrReq) ProtoMessage()
- func (m *MessageAddrReq) Reset()
- func (m *MessageAddrReq) String() string
- func (m *MessageAddrReq) XXX_DiscardUnknown()
- func (m *MessageAddrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageAddrReq) XXX_Merge(src proto.Message)
- func (m *MessageAddrReq) XXX_Size() int
- func (m *MessageAddrReq) XXX_Unmarshal(b []byte) error
- type MessageAddrResp
- func (*MessageAddrResp) Descriptor() ([]byte, []int)
- func (m *MessageAddrResp) GetMessage() *P2PAddr
- func (m *MessageAddrResp) GetMessageData() *MessageComm
- func (*MessageAddrResp) ProtoMessage()
- func (m *MessageAddrResp) Reset()
- func (m *MessageAddrResp) String() string
- func (m *MessageAddrResp) XXX_DiscardUnknown()
- func (m *MessageAddrResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageAddrResp) XXX_Merge(src proto.Message)
- func (m *MessageAddrResp) XXX_Size() int
- func (m *MessageAddrResp) XXX_Unmarshal(b []byte) error
- type MessageBroadCast
- func (*MessageBroadCast) Descriptor() ([]byte, []int)
- func (m *MessageBroadCast) GetCommon() *MessageComm
- func (m *MessageBroadCast) GetMessage() *BroadCastData
- func (*MessageBroadCast) ProtoMessage()
- func (m *MessageBroadCast) Reset()
- func (m *MessageBroadCast) String() string
- func (m *MessageBroadCast) XXX_DiscardUnknown()
- func (m *MessageBroadCast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageBroadCast) XXX_Merge(src proto.Message)
- func (m *MessageBroadCast) XXX_Size() int
- func (m *MessageBroadCast) XXX_Unmarshal(b []byte) error
- type MessageComm
- func (*MessageComm) Descriptor() ([]byte, []int)
- func (m *MessageComm) GetGossip() bool
- func (m *MessageComm) GetId() string
- func (m *MessageComm) GetNodeId() string
- func (m *MessageComm) GetNodePubKey() []byte
- func (m *MessageComm) GetSign() []byte
- func (m *MessageComm) GetTimestamp() int64
- func (m *MessageComm) GetVersion() string
- func (*MessageComm) ProtoMessage()
- func (m *MessageComm) Reset()
- func (m *MessageComm) String() string
- func (m *MessageComm) XXX_DiscardUnknown()
- func (m *MessageComm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageComm) XXX_Merge(src proto.Message)
- func (m *MessageComm) XXX_Size() int
- func (m *MessageComm) XXX_Unmarshal(b []byte) error
- type MessageExternalNetReq
- func (*MessageExternalNetReq) Descriptor() ([]byte, []int)
- func (m *MessageExternalNetReq) GetMessageData() *MessageComm
- func (*MessageExternalNetReq) ProtoMessage()
- func (m *MessageExternalNetReq) Reset()
- func (m *MessageExternalNetReq) String() string
- func (m *MessageExternalNetReq) XXX_DiscardUnknown()
- func (m *MessageExternalNetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageExternalNetReq) XXX_Merge(src proto.Message)
- func (m *MessageExternalNetReq) XXX_Size() int
- func (m *MessageExternalNetReq) XXX_Unmarshal(b []byte) error
- type MessageExternalNetResp
- func (*MessageExternalNetResp) Descriptor() ([]byte, []int)
- func (m *MessageExternalNetResp) GetMessage() *P2PExternalInfo
- func (m *MessageExternalNetResp) GetMessageData() *MessageComm
- func (*MessageExternalNetResp) ProtoMessage()
- func (m *MessageExternalNetResp) Reset()
- func (m *MessageExternalNetResp) String() string
- func (m *MessageExternalNetResp) XXX_DiscardUnknown()
- func (m *MessageExternalNetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageExternalNetResp) XXX_Merge(src proto.Message)
- func (m *MessageExternalNetResp) XXX_Size() int
- func (m *MessageExternalNetResp) XXX_Unmarshal(b []byte) error
- type MessageGetBlocksReq
- func (*MessageGetBlocksReq) Descriptor() ([]byte, []int)
- func (m *MessageGetBlocksReq) GetMessage() *P2PGetBlocks
- func (m *MessageGetBlocksReq) GetMessageData() *MessageComm
- func (*MessageGetBlocksReq) ProtoMessage()
- func (m *MessageGetBlocksReq) Reset()
- func (m *MessageGetBlocksReq) String() string
- func (m *MessageGetBlocksReq) XXX_DiscardUnknown()
- func (m *MessageGetBlocksReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageGetBlocksReq) XXX_Merge(src proto.Message)
- func (m *MessageGetBlocksReq) XXX_Size() int
- func (m *MessageGetBlocksReq) XXX_Unmarshal(b []byte) error
- type MessageGetBlocksResp
- func (*MessageGetBlocksResp) Descriptor() ([]byte, []int)
- func (m *MessageGetBlocksResp) GetMessage() *InvDatas
- func (m *MessageGetBlocksResp) GetMessageData() *MessageComm
- func (*MessageGetBlocksResp) ProtoMessage()
- func (m *MessageGetBlocksResp) Reset()
- func (m *MessageGetBlocksResp) String() string
- func (m *MessageGetBlocksResp) XXX_DiscardUnknown()
- func (m *MessageGetBlocksResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageGetBlocksResp) XXX_Merge(src proto.Message)
- func (m *MessageGetBlocksResp) XXX_Size() int
- func (m *MessageGetBlocksResp) XXX_Unmarshal(b []byte) error
- type MessageGetMempoolReq
- func (*MessageGetMempoolReq) Descriptor() ([]byte, []int)
- func (m *MessageGetMempoolReq) GetMessage() *P2PGetMempool
- func (m *MessageGetMempoolReq) GetMessageData() *MessageComm
- func (*MessageGetMempoolReq) ProtoMessage()
- func (m *MessageGetMempoolReq) Reset()
- func (m *MessageGetMempoolReq) String() string
- func (m *MessageGetMempoolReq) XXX_DiscardUnknown()
- func (m *MessageGetMempoolReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageGetMempoolReq) XXX_Merge(src proto.Message)
- func (m *MessageGetMempoolReq) XXX_Size() int
- func (m *MessageGetMempoolReq) XXX_Unmarshal(b []byte) error
- type MessageHeaderReq
- func (*MessageHeaderReq) Descriptor() ([]byte, []int)
- func (m *MessageHeaderReq) GetMessage() *P2PGetHeaders
- func (m *MessageHeaderReq) GetMessageData() *MessageComm
- func (*MessageHeaderReq) ProtoMessage()
- func (m *MessageHeaderReq) Reset()
- func (m *MessageHeaderReq) String() string
- func (m *MessageHeaderReq) XXX_DiscardUnknown()
- func (m *MessageHeaderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageHeaderReq) XXX_Merge(src proto.Message)
- func (m *MessageHeaderReq) XXX_Size() int
- func (m *MessageHeaderReq) XXX_Unmarshal(b []byte) error
- type MessageHeaderResp
- func (*MessageHeaderResp) Descriptor() ([]byte, []int)
- func (m *MessageHeaderResp) GetMessage() *P2PHeaders
- func (m *MessageHeaderResp) GetMessageData() *MessageComm
- func (*MessageHeaderResp) ProtoMessage()
- func (m *MessageHeaderResp) Reset()
- func (m *MessageHeaderResp) String() string
- func (m *MessageHeaderResp) XXX_DiscardUnknown()
- func (m *MessageHeaderResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageHeaderResp) XXX_Merge(src proto.Message)
- func (m *MessageHeaderResp) XXX_Size() int
- func (m *MessageHeaderResp) XXX_Unmarshal(b []byte) error
- type MessageInvDataReq
- func (*MessageInvDataReq) Descriptor() ([]byte, []int)
- func (m *MessageInvDataReq) GetMessage() *InvData
- func (m *MessageInvDataReq) GetMessageData() *MessageComm
- func (*MessageInvDataReq) ProtoMessage()
- func (m *MessageInvDataReq) Reset()
- func (m *MessageInvDataReq) String() string
- func (m *MessageInvDataReq) XXX_DiscardUnknown()
- func (m *MessageInvDataReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageInvDataReq) XXX_Merge(src proto.Message)
- func (m *MessageInvDataReq) XXX_Size() int
- func (m *MessageInvDataReq) XXX_Unmarshal(b []byte) error
- type MessageNetInfo
- func (*MessageNetInfo) Descriptor() ([]byte, []int)
- func (m *MessageNetInfo) GetMessage() *NodeNetInfo
- func (m *MessageNetInfo) GetMessageData() *MessageComm
- func (*MessageNetInfo) ProtoMessage()
- func (m *MessageNetInfo) Reset()
- func (m *MessageNetInfo) String() string
- func (m *MessageNetInfo) XXX_DiscardUnknown()
- func (m *MessageNetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageNetInfo) XXX_Merge(src proto.Message)
- func (m *MessageNetInfo) XXX_Size() int
- func (m *MessageNetInfo) XXX_Unmarshal(b []byte) error
- type MessageP2PVersionReq
- func (*MessageP2PVersionReq) Descriptor() ([]byte, []int)
- func (m *MessageP2PVersionReq) GetMessage() *P2PVersion
- func (m *MessageP2PVersionReq) GetMessageData() *MessageComm
- func (*MessageP2PVersionReq) ProtoMessage()
- func (m *MessageP2PVersionReq) Reset()
- func (m *MessageP2PVersionReq) String() string
- func (m *MessageP2PVersionReq) XXX_DiscardUnknown()
- func (m *MessageP2PVersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageP2PVersionReq) XXX_Merge(src proto.Message)
- func (m *MessageP2PVersionReq) XXX_Size() int
- func (m *MessageP2PVersionReq) XXX_Unmarshal(b []byte) error
- type MessageP2PVersionResp
- func (*MessageP2PVersionResp) Descriptor() ([]byte, []int)
- func (m *MessageP2PVersionResp) GetMessage() *P2PVersion
- func (m *MessageP2PVersionResp) GetMessageData() *MessageComm
- func (*MessageP2PVersionResp) ProtoMessage()
- func (m *MessageP2PVersionResp) Reset()
- func (m *MessageP2PVersionResp) String() string
- func (m *MessageP2PVersionResp) XXX_DiscardUnknown()
- func (m *MessageP2PVersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageP2PVersionResp) XXX_Merge(src proto.Message)
- func (m *MessageP2PVersionResp) XXX_Size() int
- func (m *MessageP2PVersionResp) XXX_Unmarshal(b []byte) error
- type MessagePeerInfoReq
- func (*MessagePeerInfoReq) Descriptor() ([]byte, []int)
- func (m *MessagePeerInfoReq) GetMessageData() *MessageComm
- func (*MessagePeerInfoReq) ProtoMessage()
- func (m *MessagePeerInfoReq) Reset()
- func (m *MessagePeerInfoReq) String() string
- func (m *MessagePeerInfoReq) XXX_DiscardUnknown()
- func (m *MessagePeerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePeerInfoReq) XXX_Merge(src proto.Message)
- func (m *MessagePeerInfoReq) XXX_Size() int
- func (m *MessagePeerInfoReq) XXX_Unmarshal(b []byte) error
- type MessagePeerInfoResp
- func (*MessagePeerInfoResp) Descriptor() ([]byte, []int)
- func (m *MessagePeerInfoResp) GetMessage() *P2PPeerInfo
- func (m *MessagePeerInfoResp) GetMessageData() *MessageComm
- func (*MessagePeerInfoResp) ProtoMessage()
- func (m *MessagePeerInfoResp) Reset()
- func (m *MessagePeerInfoResp) String() string
- func (m *MessagePeerInfoResp) XXX_DiscardUnknown()
- func (m *MessagePeerInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePeerInfoResp) XXX_Merge(src proto.Message)
- func (m *MessagePeerInfoResp) XXX_Size() int
- func (m *MessagePeerInfoResp) XXX_Unmarshal(b []byte) error
- type MessagePeerList
- func (*MessagePeerList) Descriptor() ([]byte, []int)
- func (m *MessagePeerList) GetMessage() *PeerList
- func (m *MessagePeerList) GetMessageData() *MessageComm
- func (*MessagePeerList) ProtoMessage()
- func (m *MessagePeerList) Reset()
- func (m *MessagePeerList) String() string
- func (m *MessagePeerList) XXX_DiscardUnknown()
- func (m *MessagePeerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePeerList) XXX_Merge(src proto.Message)
- func (m *MessagePeerList) XXX_Size() int
- func (m *MessagePeerList) XXX_Unmarshal(b []byte) error
- type MessagePeersReply
- func (*MessagePeersReply) Descriptor() ([]byte, []int)
- func (m *MessagePeersReply) GetCommon() *MessageComm
- func (m *MessagePeersReply) GetPeersReply() *PeersReply
- func (*MessagePeersReply) ProtoMessage()
- func (m *MessagePeersReply) Reset()
- func (m *MessagePeersReply) String() string
- func (m *MessagePeersReply) XXX_DiscardUnknown()
- func (m *MessagePeersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePeersReply) XXX_Merge(src proto.Message)
- func (m *MessagePeersReply) XXX_Size() int
- func (m *MessagePeersReply) XXX_Unmarshal(b []byte) error
- type MessagePingReq
- func (*MessagePingReq) Descriptor() ([]byte, []int)
- func (m *MessagePingReq) GetMessage() *P2PPing
- func (m *MessagePingReq) GetMessageData() *MessageComm
- func (*MessagePingReq) ProtoMessage()
- func (m *MessagePingReq) Reset()
- func (m *MessagePingReq) String() string
- func (m *MessagePingReq) XXX_DiscardUnknown()
- func (m *MessagePingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePingReq) XXX_Merge(src proto.Message)
- func (m *MessagePingReq) XXX_Size() int
- func (m *MessagePingReq) XXX_Unmarshal(b []byte) error
- type MessagePingResp
- func (*MessagePingResp) Descriptor() ([]byte, []int)
- func (m *MessagePingResp) GetMessage() *P2PPong
- func (m *MessagePingResp) GetMessageData() *MessageComm
- func (*MessagePingResp) ProtoMessage()
- func (m *MessagePingResp) Reset()
- func (m *MessagePingResp) String() string
- func (m *MessagePingResp) XXX_DiscardUnknown()
- func (m *MessagePingResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessagePingResp) XXX_Merge(src proto.Message)
- func (m *MessagePingResp) XXX_Size() int
- func (m *MessagePingResp) XXX_Unmarshal(b []byte) error
- type MessageUtil
- func (*MessageUtil) Descriptor() ([]byte, []int)
- func (m *MessageUtil) GetCommon() *MessageComm
- func (m *MessageUtil) GetExternal() *P2PExternalInfo
- func (m *MessageUtil) GetGetblocks() *P2PGetBlocks
- func (m *MessageUtil) GetInvdatas() *InvDatas
- func (m *MessageUtil) GetPeerInfo() *P2PPeerInfo
- func (m *MessageUtil) GetValue() isMessageUtil_Value
- func (m *MessageUtil) GetVersion() *P2PVersion
- func (m *MessageUtil) GetVersionAck() *P2PVerAck
- func (*MessageUtil) ProtoMessage()
- func (m *MessageUtil) Reset()
- func (m *MessageUtil) String() string
- func (m *MessageUtil) XXX_DiscardUnknown()
- func (m *MessageUtil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageUtil) XXX_Merge(src proto.Message)
- func (*MessageUtil) XXX_OneofWrappers() []interface{}
- func (m *MessageUtil) XXX_Size() int
- func (m *MessageUtil) XXX_Unmarshal(b []byte) error
- type MessageUtil_External
- type MessageUtil_Getblocks
- type MessageUtil_Invdatas
- type MessageUtil_PeerInfo
- type MessageUtil_Version
- type MessageUtil_VersionAck
- type MessageVersion
- func (*MessageVersion) Descriptor() ([]byte, []int)
- func (m *MessageVersion) GetMessage() *Versions
- func (m *MessageVersion) GetMessageData() *MessageComm
- func (*MessageVersion) ProtoMessage()
- func (m *MessageVersion) Reset()
- func (m *MessageVersion) String() string
- func (m *MessageVersion) XXX_DiscardUnknown()
- func (m *MessageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageVersion) XXX_Merge(src proto.Message)
- func (m *MessageVersion) XXX_Size() int
- func (m *MessageVersion) XXX_Unmarshal(b []byte) error
- type Metrics
- type ModifyConfig
- func (*ModifyConfig) Descriptor() ([]byte, []int)
- func (m *ModifyConfig) GetAddr() string
- func (m *ModifyConfig) GetKey() string
- func (m *ModifyConfig) GetOp() string
- func (m *ModifyConfig) GetValue() string
- func (*ModifyConfig) ProtoMessage()
- func (m *ModifyConfig) Reset()
- func (m *ModifyConfig) String() string
- func (m *ModifyConfig) XXX_DiscardUnknown()
- func (m *ModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyConfig) XXX_Merge(src proto.Message)
- func (m *ModifyConfig) XXX_Size() int
- func (m *ModifyConfig) XXX_Unmarshal(b []byte) error
- type NetProtocolInfos
- func (*NetProtocolInfos) Descriptor() ([]byte, []int)
- func (m *NetProtocolInfos) GetProtoinfo() []*ProtocolInfo
- func (*NetProtocolInfos) ProtoMessage()
- func (m *NetProtocolInfos) Reset()
- func (m *NetProtocolInfos) String() string
- func (m *NetProtocolInfos) XXX_DiscardUnknown()
- func (m *NetProtocolInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetProtocolInfos) XXX_Merge(src proto.Message)
- func (m *NetProtocolInfos) XXX_Size() int
- func (m *NetProtocolInfos) XXX_Unmarshal(b []byte) error
- type NoBalanceTx
- func (*NoBalanceTx) Descriptor() ([]byte, []int)
- func (m *NoBalanceTx) GetExpire() string
- func (m *NoBalanceTx) GetPayAddr() string
- func (m *NoBalanceTx) GetPrivkey() string
- func (m *NoBalanceTx) GetTxHex() string
- func (*NoBalanceTx) ProtoMessage()
- func (m *NoBalanceTx) Reset()
- func (m *NoBalanceTx) String() string
- func (m *NoBalanceTx) XXX_DiscardUnknown()
- func (m *NoBalanceTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoBalanceTx) XXX_Merge(src proto.Message)
- func (m *NoBalanceTx) XXX_Size() int
- func (m *NoBalanceTx) XXX_Unmarshal(b []byte) error
- type NoBalanceTxs
- func (*NoBalanceTxs) Descriptor() ([]byte, []int)
- func (m *NoBalanceTxs) GetExpire() string
- func (m *NoBalanceTxs) GetPayAddr() string
- func (m *NoBalanceTxs) GetPrivkey() string
- func (m *NoBalanceTxs) GetTxHexs() []string
- func (*NoBalanceTxs) ProtoMessage()
- func (m *NoBalanceTxs) Reset()
- func (m *NoBalanceTxs) String() string
- func (m *NoBalanceTxs) XXX_DiscardUnknown()
- func (m *NoBalanceTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoBalanceTxs) XXX_Merge(src proto.Message)
- func (m *NoBalanceTxs) XXX_Size() int
- func (m *NoBalanceTxs) XXX_Unmarshal(b []byte) error
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)
- func (m *NodeInfo) GetAnswer() bool
- func (m *NodeInfo) GetHeight() int64
- func (*NodeInfo) ProtoMessage()
- func (m *NodeInfo) Reset()
- func (m *NodeInfo) String() string
- func (m *NodeInfo) XXX_DiscardUnknown()
- func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeInfo) XXX_Merge(src proto.Message)
- func (m *NodeInfo) XXX_Size() int
- func (m *NodeInfo) XXX_Unmarshal(b []byte) error
- type NodeNetInfo
- func (*NodeNetInfo) Descriptor() ([]byte, []int)
- func (m *NodeNetInfo) GetExternaladdr() string
- func (m *NodeNetInfo) GetInbounds() int32
- func (m *NodeNetInfo) GetLocaladdr() string
- func (m *NodeNetInfo) GetOutbounds() int32
- func (m *NodeNetInfo) GetPeerstore() int32
- func (m *NodeNetInfo) GetRatein() string
- func (m *NodeNetInfo) GetRateout() string
- func (m *NodeNetInfo) GetRatetotal() string
- func (m *NodeNetInfo) GetRoutingtable() int32
- func (m *NodeNetInfo) GetService() bool
- func (*NodeNetInfo) ProtoMessage()
- func (m *NodeNetInfo) Reset()
- func (m *NodeNetInfo) String() string
- func (m *NodeNetInfo) XXX_DiscardUnknown()
- func (m *NodeNetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeNetInfo) XXX_Merge(src proto.Message)
- func (m *NodeNetInfo) XXX_Size() int
- func (m *NodeNetInfo) XXX_Unmarshal(b []byte) error
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetValue() *Block
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) String() string
- func (m *Operation) XXX_DiscardUnknown()
- func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation) XXX_Merge(src proto.Message)
- func (m *Operation) XXX_Size() int
- func (m *Operation) XXX_Unmarshal(b []byte) error
- type P2P
- type P2PAddr
- func (*P2PAddr) Descriptor() ([]byte, []int)
- func (m *P2PAddr) GetAddrlist() []string
- func (m *P2PAddr) GetNonce() int64
- func (*P2PAddr) ProtoMessage()
- func (m *P2PAddr) Reset()
- func (m *P2PAddr) String() string
- func (m *P2PAddr) XXX_DiscardUnknown()
- func (m *P2PAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PAddr) XXX_Merge(src proto.Message)
- func (m *P2PAddr) XXX_Size() int
- func (m *P2PAddr) XXX_Unmarshal(b []byte) error
- type P2PAddrList
- func (*P2PAddrList) Descriptor() ([]byte, []int)
- func (m *P2PAddrList) GetNonce() int64
- func (m *P2PAddrList) GetPeerinfo() []*P2PPeerInfo
- func (*P2PAddrList) ProtoMessage()
- func (m *P2PAddrList) Reset()
- func (m *P2PAddrList) String() string
- func (m *P2PAddrList) XXX_DiscardUnknown()
- func (m *P2PAddrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PAddrList) XXX_Merge(src proto.Message)
- func (m *P2PAddrList) XXX_Size() int
- func (m *P2PAddrList) XXX_Unmarshal(b []byte) error
- type P2PBlock
- func (*P2PBlock) Descriptor() ([]byte, []int)
- func (m *P2PBlock) GetBlock() *Block
- func (*P2PBlock) ProtoMessage()
- func (m *P2PBlock) Reset()
- func (m *P2PBlock) String() string
- func (m *P2PBlock) XXX_DiscardUnknown()
- func (m *P2PBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PBlock) XXX_Merge(src proto.Message)
- func (m *P2PBlock) XXX_Size() int
- func (m *P2PBlock) XXX_Unmarshal(b []byte) error
- type P2PBlockTxReply
- func (*P2PBlockTxReply) Descriptor() ([]byte, []int)
- func (m *P2PBlockTxReply) GetBlockHash() string
- func (m *P2PBlockTxReply) GetTxIndices() []int32
- func (m *P2PBlockTxReply) GetTxs() []*Transaction
- func (*P2PBlockTxReply) ProtoMessage()
- func (m *P2PBlockTxReply) Reset()
- func (m *P2PBlockTxReply) String() string
- func (m *P2PBlockTxReply) XXX_DiscardUnknown()
- func (m *P2PBlockTxReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PBlockTxReply) XXX_Merge(src proto.Message)
- func (m *P2PBlockTxReply) XXX_Size() int
- func (m *P2PBlockTxReply) XXX_Unmarshal(b []byte) error
- type P2PBlockTxReq
- func (*P2PBlockTxReq) Descriptor() ([]byte, []int)
- func (m *P2PBlockTxReq) GetBlockHash() string
- func (m *P2PBlockTxReq) GetTxIndices() []int32
- func (*P2PBlockTxReq) ProtoMessage()
- func (m *P2PBlockTxReq) Reset()
- func (m *P2PBlockTxReq) String() string
- func (m *P2PBlockTxReq) XXX_DiscardUnknown()
- func (m *P2PBlockTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PBlockTxReq) XXX_Merge(src proto.Message)
- func (m *P2PBlockTxReq) XXX_Size() int
- func (m *P2PBlockTxReq) XXX_Unmarshal(b []byte) error
- type P2PExternalInfo
- func (*P2PExternalInfo) Descriptor() ([]byte, []int)
- func (m *P2PExternalInfo) GetAddr() string
- func (m *P2PExternalInfo) GetIsoutside() bool
- func (*P2PExternalInfo) ProtoMessage()
- func (m *P2PExternalInfo) Reset()
- func (m *P2PExternalInfo) String() string
- func (m *P2PExternalInfo) XXX_DiscardUnknown()
- func (m *P2PExternalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PExternalInfo) XXX_Merge(src proto.Message)
- func (m *P2PExternalInfo) XXX_Size() int
- func (m *P2PExternalInfo) XXX_Unmarshal(b []byte) error
- type P2PGetAddr
- func (*P2PGetAddr) Descriptor() ([]byte, []int)
- func (m *P2PGetAddr) GetNonce() int64
- func (*P2PGetAddr) ProtoMessage()
- func (m *P2PGetAddr) Reset()
- func (m *P2PGetAddr) String() string
- func (m *P2PGetAddr) XXX_DiscardUnknown()
- func (m *P2PGetAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetAddr) XXX_Merge(src proto.Message)
- func (m *P2PGetAddr) XXX_Size() int
- func (m *P2PGetAddr) XXX_Unmarshal(b []byte) error
- type P2PGetBlocks
- func (*P2PGetBlocks) Descriptor() ([]byte, []int)
- func (m *P2PGetBlocks) GetEndHeight() int64
- func (m *P2PGetBlocks) GetStartHeight() int64
- func (m *P2PGetBlocks) GetVersion() int32
- func (*P2PGetBlocks) ProtoMessage()
- func (m *P2PGetBlocks) Reset()
- func (m *P2PGetBlocks) String() string
- func (m *P2PGetBlocks) XXX_DiscardUnknown()
- func (m *P2PGetBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetBlocks) XXX_Merge(src proto.Message)
- func (m *P2PGetBlocks) XXX_Size() int
- func (m *P2PGetBlocks) XXX_Unmarshal(b []byte) error
- type P2PGetData
- func (*P2PGetData) Descriptor() ([]byte, []int)
- func (m *P2PGetData) GetInvs() []*Inventory
- func (m *P2PGetData) GetVersion() int32
- func (*P2PGetData) ProtoMessage()
- func (m *P2PGetData) Reset()
- func (m *P2PGetData) String() string
- func (m *P2PGetData) XXX_DiscardUnknown()
- func (m *P2PGetData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetData) XXX_Merge(src proto.Message)
- func (m *P2PGetData) XXX_Size() int
- func (m *P2PGetData) XXX_Unmarshal(b []byte) error
- type P2PGetHeaders
- func (*P2PGetHeaders) Descriptor() ([]byte, []int)
- func (m *P2PGetHeaders) GetEndHeight() int64
- func (m *P2PGetHeaders) GetStartHeight() int64
- func (m *P2PGetHeaders) GetVersion() int32
- func (*P2PGetHeaders) ProtoMessage()
- func (m *P2PGetHeaders) Reset()
- func (m *P2PGetHeaders) String() string
- func (m *P2PGetHeaders) XXX_DiscardUnknown()
- func (m *P2PGetHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetHeaders) XXX_Merge(src proto.Message)
- func (m *P2PGetHeaders) XXX_Size() int
- func (m *P2PGetHeaders) XXX_Unmarshal(b []byte) error
- type P2PGetMempool
- func (*P2PGetMempool) Descriptor() ([]byte, []int)
- func (m *P2PGetMempool) GetVersion() int32
- func (*P2PGetMempool) ProtoMessage()
- func (m *P2PGetMempool) Reset()
- func (m *P2PGetMempool) String() string
- func (m *P2PGetMempool) XXX_DiscardUnknown()
- func (m *P2PGetMempool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetMempool) XXX_Merge(src proto.Message)
- func (m *P2PGetMempool) XXX_Size() int
- func (m *P2PGetMempool) XXX_Unmarshal(b []byte) error
- type P2PGetNetInfoReq
- func (*P2PGetNetInfoReq) Descriptor() ([]byte, []int)
- func (m *P2PGetNetInfoReq) GetP2PType() string
- func (*P2PGetNetInfoReq) ProtoMessage()
- func (m *P2PGetNetInfoReq) Reset()
- func (m *P2PGetNetInfoReq) String() string
- func (m *P2PGetNetInfoReq) XXX_DiscardUnknown()
- func (m *P2PGetNetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetNetInfoReq) XXX_Merge(src proto.Message)
- func (m *P2PGetNetInfoReq) XXX_Size() int
- func (m *P2PGetNetInfoReq) XXX_Unmarshal(b []byte) error
- type P2PGetPeerInfo
- func (*P2PGetPeerInfo) Descriptor() ([]byte, []int)
- func (m *P2PGetPeerInfo) GetVersion() int32
- func (*P2PGetPeerInfo) ProtoMessage()
- func (m *P2PGetPeerInfo) Reset()
- func (m *P2PGetPeerInfo) String() string
- func (m *P2PGetPeerInfo) XXX_DiscardUnknown()
- func (m *P2PGetPeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetPeerInfo) XXX_Merge(src proto.Message)
- func (m *P2PGetPeerInfo) XXX_Size() int
- func (m *P2PGetPeerInfo) XXX_Unmarshal(b []byte) error
- type P2PGetPeerReq
- func (*P2PGetPeerReq) Descriptor() ([]byte, []int)
- func (m *P2PGetPeerReq) GetP2PType() string
- func (*P2PGetPeerReq) ProtoMessage()
- func (m *P2PGetPeerReq) Reset()
- func (m *P2PGetPeerReq) String() string
- func (m *P2PGetPeerReq) XXX_DiscardUnknown()
- func (m *P2PGetPeerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PGetPeerReq) XXX_Merge(src proto.Message)
- func (m *P2PGetPeerReq) XXX_Size() int
- func (m *P2PGetPeerReq) XXX_Unmarshal(b []byte) error
- type P2PHeaders
- func (*P2PHeaders) Descriptor() ([]byte, []int)
- func (m *P2PHeaders) GetHeaders() []*Header
- func (*P2PHeaders) ProtoMessage()
- func (m *P2PHeaders) Reset()
- func (m *P2PHeaders) String() string
- func (m *P2PHeaders) XXX_DiscardUnknown()
- func (m *P2PHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PHeaders) XXX_Merge(src proto.Message)
- func (m *P2PHeaders) XXX_Size() int
- func (m *P2PHeaders) XXX_Unmarshal(b []byte) error
- type P2PInv
- func (*P2PInv) Descriptor() ([]byte, []int)
- func (m *P2PInv) GetInvs() []*Inventory
- func (*P2PInv) ProtoMessage()
- func (m *P2PInv) Reset()
- func (m *P2PInv) String() string
- func (m *P2PInv) XXX_DiscardUnknown()
- func (m *P2PInv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PInv) XXX_Merge(src proto.Message)
- func (m *P2PInv) XXX_Size() int
- func (m *P2PInv) XXX_Unmarshal(b []byte) error
- type P2PMessageHeaders
- func (*P2PMessageHeaders) Descriptor() ([]byte, []int)
- func (m *P2PMessageHeaders) GetId() int64
- func (m *P2PMessageHeaders) GetSign() []byte
- func (m *P2PMessageHeaders) GetTimestamp() int64
- func (m *P2PMessageHeaders) GetVersion() string
- func (*P2PMessageHeaders) ProtoMessage()
- func (m *P2PMessageHeaders) Reset()
- func (m *P2PMessageHeaders) String() string
- func (m *P2PMessageHeaders) XXX_DiscardUnknown()
- func (m *P2PMessageHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PMessageHeaders) XXX_Merge(src proto.Message)
- func (m *P2PMessageHeaders) XXX_Size() int
- func (m *P2PMessageHeaders) XXX_Unmarshal(b []byte) error
- type P2PPeerInfo
- func (*P2PPeerInfo) Descriptor() ([]byte, []int)
- func (m *P2PPeerInfo) GetAddr() string
- func (m *P2PPeerInfo) GetHeader() *Header
- func (m *P2PPeerInfo) GetLocalDBVersion() string
- func (m *P2PPeerInfo) GetMempoolSize() int32
- func (m *P2PPeerInfo) GetName() string
- func (m *P2PPeerInfo) GetPort() int32
- func (m *P2PPeerInfo) GetStoreDBVersion() string
- func (m *P2PPeerInfo) GetVersion() string
- func (*P2PPeerInfo) ProtoMessage()
- func (m *P2PPeerInfo) Reset()
- func (m *P2PPeerInfo) String() string
- func (m *P2PPeerInfo) XXX_DiscardUnknown()
- func (m *P2PPeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PPeerInfo) XXX_Merge(src proto.Message)
- func (m *P2PPeerInfo) XXX_Size() int
- func (m *P2PPeerInfo) XXX_Unmarshal(b []byte) error
- type P2PPing
- func (*P2PPing) Descriptor() ([]byte, []int)
- func (m *P2PPing) GetAddr() string
- func (m *P2PPing) GetNonce() int64
- func (m *P2PPing) GetPort() int32
- func (m *P2PPing) GetSign() *Signature
- func (*P2PPing) ProtoMessage()
- func (m *P2PPing) Reset()
- func (m *P2PPing) String() string
- func (m *P2PPing) XXX_DiscardUnknown()
- func (m *P2PPing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PPing) XXX_Merge(src proto.Message)
- func (m *P2PPing) XXX_Size() int
- func (m *P2PPing) XXX_Unmarshal(b []byte) error
- type P2PPong
- func (*P2PPong) Descriptor() ([]byte, []int)
- func (m *P2PPong) GetNonce() int64
- func (*P2PPong) ProtoMessage()
- func (m *P2PPong) Reset()
- func (m *P2PPong) String() string
- func (m *P2PPong) XXX_DiscardUnknown()
- func (m *P2PPong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PPong) XXX_Merge(src proto.Message)
- func (m *P2PPong) XXX_Size() int
- func (m *P2PPong) XXX_Unmarshal(b []byte) error
- type P2PQueryData
- func (*P2PQueryData) Descriptor() ([]byte, []int)
- func (m *P2PQueryData) GetBlockTxReq() *P2PBlockTxReq
- func (m *P2PQueryData) GetTxReq() *P2PTxReq
- func (m *P2PQueryData) GetValue() isP2PQueryData_Value
- func (*P2PQueryData) ProtoMessage()
- func (m *P2PQueryData) Reset()
- func (m *P2PQueryData) String() string
- func (m *P2PQueryData) XXX_DiscardUnknown()
- func (m *P2PQueryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PQueryData) XXX_Merge(src proto.Message)
- func (*P2PQueryData) XXX_OneofWrappers() []interface{}
- func (m *P2PQueryData) XXX_Size() int
- func (m *P2PQueryData) XXX_Unmarshal(b []byte) error
- type P2PQueryData_BlockTxReq
- type P2PQueryData_TxReq
- type P2PRequest
- func (*P2PRequest) Descriptor() ([]byte, []int)
- func (m *P2PRequest) GetChunkInfoList() *ChunkInfoList
- func (m *P2PRequest) GetChunkInfoMsg() *ChunkInfoMsg
- func (m *P2PRequest) GetHeaders() *P2PMessageHeaders
- func (m *P2PRequest) GetReqBlocks() *ReqBlocks
- func (m *P2PRequest) GetReqChunkRecords() *ReqChunkRecords
- func (m *P2PRequest) GetReqPeers() *ReqPeers
- func (m *P2PRequest) GetRequest() isP2PRequest_Request
- func (*P2PRequest) ProtoMessage()
- func (m *P2PRequest) Reset()
- func (m *P2PRequest) String() string
- func (m *P2PRequest) XXX_DiscardUnknown()
- func (m *P2PRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PRequest) XXX_Merge(src proto.Message)
- func (*P2PRequest) XXX_OneofWrappers() []interface{}
- func (m *P2PRequest) XXX_Size() int
- func (m *P2PRequest) XXX_Unmarshal(b []byte) error
- type P2PRequest_ChunkInfoList
- type P2PRequest_ChunkInfoMsg
- type P2PRequest_ReqBlocks
- type P2PRequest_ReqChunkRecords
- type P2PRequest_ReqPeers
- type P2PResponse
- func (*P2PResponse) Descriptor() ([]byte, []int)
- func (m *P2PResponse) GetBlockBody() *BlockBody
- func (m *P2PResponse) GetBlockHeaders() *Headers
- func (m *P2PResponse) GetChunkRecords() *ChunkRecords
- func (m *P2PResponse) GetCloserPeers() []*PeerInfo
- func (m *P2PResponse) GetError() string
- func (m *P2PResponse) GetHeaders() *P2PMessageHeaders
- func (m *P2PResponse) GetNodeInfo() *NodeInfo
- func (m *P2PResponse) GetResponse() isP2PResponse_Response
- func (*P2PResponse) ProtoMessage()
- func (m *P2PResponse) Reset()
- func (m *P2PResponse) String() string
- func (m *P2PResponse) XXX_DiscardUnknown()
- func (m *P2PResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PResponse) XXX_Merge(src proto.Message)
- func (*P2PResponse) XXX_OneofWrappers() []interface{}
- func (m *P2PResponse) XXX_Size() int
- func (m *P2PResponse) XXX_Unmarshal(b []byte) error
- type P2PResponse_BlockBody
- type P2PResponse_BlockHeaders
- type P2PResponse_ChunkRecords
- type P2PResponse_NodeInfo
- type P2PRoute
- func (*P2PRoute) Descriptor() ([]byte, []int)
- func (m *P2PRoute) GetTTL() int32
- func (*P2PRoute) ProtoMessage()
- func (m *P2PRoute) Reset()
- func (m *P2PRoute) String() string
- func (m *P2PRoute) XXX_DiscardUnknown()
- func (m *P2PRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PRoute) XXX_Merge(src proto.Message)
- func (m *P2PRoute) XXX_Size() int
- func (m *P2PRoute) XXX_Unmarshal(b []byte) error
- type P2PTx
- func (*P2PTx) Descriptor() ([]byte, []int)
- func (m *P2PTx) GetRoute() *P2PRoute
- func (m *P2PTx) GetTx() *Transaction
- func (*P2PTx) ProtoMessage()
- func (m *P2PTx) Reset()
- func (m *P2PTx) String() string
- func (m *P2PTx) XXX_DiscardUnknown()
- func (m *P2PTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PTx) XXX_Merge(src proto.Message)
- func (m *P2PTx) XXX_Size() int
- func (m *P2PTx) XXX_Unmarshal(b []byte) error
- type P2PTxReq
- func (*P2PTxReq) Descriptor() ([]byte, []int)
- func (m *P2PTxReq) GetTxHash() []byte
- func (*P2PTxReq) ProtoMessage()
- func (m *P2PTxReq) Reset()
- func (m *P2PTxReq) String() string
- func (m *P2PTxReq) XXX_DiscardUnknown()
- func (m *P2PTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PTxReq) XXX_Merge(src proto.Message)
- func (m *P2PTxReq) XXX_Size() int
- func (m *P2PTxReq) XXX_Unmarshal(b []byte) error
- type P2PVerAck
- func (*P2PVerAck) Descriptor() ([]byte, []int)
- func (m *P2PVerAck) GetNonce() int64
- func (m *P2PVerAck) GetService() int64
- func (m *P2PVerAck) GetVersion() int32
- func (*P2PVerAck) ProtoMessage()
- func (m *P2PVerAck) Reset()
- func (m *P2PVerAck) String() string
- func (m *P2PVerAck) XXX_DiscardUnknown()
- func (m *P2PVerAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PVerAck) XXX_Merge(src proto.Message)
- func (m *P2PVerAck) XXX_Size() int
- func (m *P2PVerAck) XXX_Unmarshal(b []byte) error
- type P2PVersion
- func (*P2PVersion) Descriptor() ([]byte, []int)
- func (m *P2PVersion) GetAddrFrom() string
- func (m *P2PVersion) GetAddrRecv() string
- func (m *P2PVersion) GetNonce() int64
- func (m *P2PVersion) GetService() int64
- func (m *P2PVersion) GetStartHeight() int64
- func (m *P2PVersion) GetTimestamp() int64
- func (m *P2PVersion) GetUserAgent() string
- func (m *P2PVersion) GetVersion() int32
- func (*P2PVersion) ProtoMessage()
- func (m *P2PVersion) Reset()
- func (m *P2PVersion) String() string
- func (m *P2PVersion) XXX_DiscardUnknown()
- func (m *P2PVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *P2PVersion) XXX_Merge(src proto.Message)
- func (m *P2PVersion) XXX_Size() int
- func (m *P2PVersion) XXX_Unmarshal(b []byte) error
- type P2PgserviceClient
- type P2PgserviceServer
- type P2Pgservice_GetDataClient
- type P2Pgservice_GetDataServer
- type P2Pgservice_ServerStreamReadClient
- type P2Pgservice_ServerStreamReadServer
- type P2Pgservice_ServerStreamSendClient
- type P2Pgservice_ServerStreamSendServer
- type ParaChainBlockDetail
- func (*ParaChainBlockDetail) Descriptor() ([]byte, []int)
- func (m *ParaChainBlockDetail) GetBlockdetail() *BlockDetail
- func (m *ParaChainBlockDetail) GetIsSync() bool
- func (m *ParaChainBlockDetail) GetSequence() int64
- func (*ParaChainBlockDetail) ProtoMessage()
- func (m *ParaChainBlockDetail) Reset()
- func (m *ParaChainBlockDetail) String() string
- func (m *ParaChainBlockDetail) XXX_DiscardUnknown()
- func (m *ParaChainBlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaChainBlockDetail) XXX_Merge(src proto.Message)
- func (m *ParaChainBlockDetail) XXX_Size() int
- func (m *ParaChainBlockDetail) XXX_Unmarshal(b []byte) error
- type ParaCrossTx
- type ParaTxDetail
- func (*ParaTxDetail) Descriptor() ([]byte, []int)
- func (m *ParaTxDetail) GetChildHash() []byte
- func (m *ParaTxDetail) GetHeader() *Header
- func (m *ParaTxDetail) GetIndex() uint32
- func (m *ParaTxDetail) GetProofs() [][]byte
- func (m *ParaTxDetail) GetTxDetails() []*TxDetail
- func (m *ParaTxDetail) GetType() int64
- func (*ParaTxDetail) ProtoMessage()
- func (m *ParaTxDetail) Reset()
- func (paraTxDetail *ParaTxDetail) Size() int
- func (m *ParaTxDetail) String() string
- func (m *ParaTxDetail) XXX_DiscardUnknown()
- func (m *ParaTxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaTxDetail) XXX_Merge(src proto.Message)
- func (m *ParaTxDetail) XXX_Size() int
- func (m *ParaTxDetail) XXX_Unmarshal(b []byte) error
- type ParaTxDetails
- func (*ParaTxDetails) Descriptor() ([]byte, []int)
- func (m *ParaTxDetails) GetItems() []*ParaTxDetail
- func (*ParaTxDetails) ProtoMessage()
- func (m *ParaTxDetails) Reset()
- func (m *ParaTxDetails) String() string
- func (m *ParaTxDetails) XXX_DiscardUnknown()
- func (m *ParaTxDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaTxDetails) XXX_Merge(src proto.Message)
- func (m *ParaTxDetails) XXX_Size() int
- func (m *ParaTxDetails) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (m *Peer) GetAddr() string
- func (m *Peer) GetHeader() *Header
- func (m *Peer) GetLocalDBVersion() string
- func (m *Peer) GetMempoolSize() int32
- func (m *Peer) GetName() string
- func (m *Peer) GetPort() int32
- func (m *Peer) GetSelf() bool
- func (m *Peer) GetStoreDBVersion() string
- func (m *Peer) GetVersion() string
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) String() string
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type PeerInfo
- func (*PeerInfo) Descriptor() ([]byte, []int)
- func (m *PeerInfo) GetID() []byte
- func (m *PeerInfo) GetMultiAddr() [][]byte
- func (*PeerInfo) ProtoMessage()
- func (m *PeerInfo) Reset()
- func (m *PeerInfo) String() string
- func (m *PeerInfo) XXX_DiscardUnknown()
- func (m *PeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeerInfo) XXX_Merge(src proto.Message)
- func (m *PeerInfo) XXX_Size() int
- func (m *PeerInfo) XXX_Unmarshal(b []byte) error
- type PeerList
- func (*PeerList) Descriptor() ([]byte, []int)
- func (m *PeerList) GetPeers() []*Peer
- func (*PeerList) ProtoMessage()
- func (m *PeerList) Reset()
- func (m *PeerList) String() string
- func (m *PeerList) XXX_DiscardUnknown()
- func (m *PeerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeerList) XXX_Merge(src proto.Message)
- func (m *PeerList) XXX_Size() int
- func (m *PeerList) XXX_Unmarshal(b []byte) error
- type PeersInfo
- func (*PeersInfo) Descriptor() ([]byte, []int)
- func (m *PeersInfo) GetIp() string
- func (m *PeersInfo) GetName() string
- func (m *PeersInfo) GetP2Pversion() int32
- func (m *PeersInfo) GetPort() int32
- func (m *PeersInfo) GetSoftversion() string
- func (*PeersInfo) ProtoMessage()
- func (m *PeersInfo) Reset()
- func (m *PeersInfo) String() string
- func (m *PeersInfo) XXX_DiscardUnknown()
- func (m *PeersInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeersInfo) XXX_Merge(src proto.Message)
- func (m *PeersInfo) XXX_Size() int
- func (m *PeersInfo) XXX_Unmarshal(b []byte) error
- type PeersReply
- func (*PeersReply) Descriptor() ([]byte, []int)
- func (m *PeersReply) GetPeers() []*PeersInfo
- func (*PeersReply) ProtoMessage()
- func (m *PeersReply) Reset()
- func (m *PeersReply) String() string
- func (m *PeersReply) XXX_DiscardUnknown()
- func (m *PeersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeersReply) XXX_Merge(src proto.Message)
- func (m *PeersReply) XXX_Size() int
- func (m *PeersReply) XXX_Unmarshal(b []byte) error
- type Pprof
- type ProtocolInfo
- func (*ProtocolInfo) Descriptor() ([]byte, []int)
- func (m *ProtocolInfo) GetProtocol() string
- func (m *ProtocolInfo) GetRatein() string
- func (m *ProtocolInfo) GetRateout() string
- func (m *ProtocolInfo) GetRatetotal() string
- func (*ProtocolInfo) ProtoMessage()
- func (m *ProtocolInfo) Reset()
- func (m *ProtocolInfo) String() string
- func (m *ProtocolInfo) XXX_DiscardUnknown()
- func (m *ProtocolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtocolInfo) XXX_Merge(src proto.Message)
- func (m *ProtocolInfo) XXX_Size() int
- func (m *ProtocolInfo) XXX_Unmarshal(b []byte) error
- type PruneData
- func (*PruneData) Descriptor() ([]byte, []int)
- func (m *PruneData) GetHashs() [][]byte
- func (*PruneData) ProtoMessage()
- func (m *PruneData) Reset()
- func (m *PruneData) String() string
- func (m *PruneData) XXX_DiscardUnknown()
- func (m *PruneData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PruneData) XXX_Merge(src proto.Message)
- func (m *PruneData) XXX_Size() int
- func (m *PruneData) XXX_Unmarshal(b []byte) error
- type PublishTopicMsg
- func (*PublishTopicMsg) Descriptor() ([]byte, []int)
- func (m *PublishTopicMsg) GetMsg() []byte
- func (m *PublishTopicMsg) GetTopic() string
- func (*PublishTopicMsg) ProtoMessage()
- func (m *PublishTopicMsg) Reset()
- func (m *PublishTopicMsg) String() string
- func (m *PublishTopicMsg) XXX_DiscardUnknown()
- func (m *PublishTopicMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublishTopicMsg) XXX_Merge(src proto.Message)
- func (m *PublishTopicMsg) XXX_Size() int
- func (m *PublishTopicMsg) XXX_Unmarshal(b []byte) error
- type PublishTopicMsgReply
- func (*PublishTopicMsgReply) Descriptor() ([]byte, []int)
- func (m *PublishTopicMsgReply) GetMsg() string
- func (m *PublishTopicMsgReply) GetStatus() bool
- func (m *PublishTopicMsgReply) GetTopic() string
- func (*PublishTopicMsgReply) ProtoMessage()
- func (m *PublishTopicMsgReply) Reset()
- func (m *PublishTopicMsgReply) String() string
- func (m *PublishTopicMsgReply) XXX_DiscardUnknown()
- func (m *PublishTopicMsgReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublishTopicMsgReply) XXX_Merge(src proto.Message)
- func (m *PublishTopicMsgReply) XXX_Size() int
- func (m *PublishTopicMsgReply) XXX_Unmarshal(b []byte) error
- type PushSubscribeReq
- func (*PushSubscribeReq) Descriptor() ([]byte, []int)
- func (m *PushSubscribeReq) GetContract() map[string]bool
- func (m *PushSubscribeReq) GetEncode() string
- func (m *PushSubscribeReq) GetLastBlockHash() string
- func (m *PushSubscribeReq) GetLastHeight() int64
- func (m *PushSubscribeReq) GetLastSequence() int64
- func (m *PushSubscribeReq) GetName() string
- func (m *PushSubscribeReq) GetType() int32
- func (m *PushSubscribeReq) GetURL() string
- func (*PushSubscribeReq) ProtoMessage()
- func (m *PushSubscribeReq) Reset()
- func (m *PushSubscribeReq) String() string
- func (m *PushSubscribeReq) XXX_DiscardUnknown()
- func (m *PushSubscribeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushSubscribeReq) XXX_Merge(src proto.Message)
- func (m *PushSubscribeReq) XXX_Size() int
- func (m *PushSubscribeReq) XXX_Unmarshal(b []byte) error
- type PushSubscribes
- func (*PushSubscribes) Descriptor() ([]byte, []int)
- func (m *PushSubscribes) GetPushes() []*PushSubscribeReq
- func (*PushSubscribes) ProtoMessage()
- func (m *PushSubscribes) Reset()
- func (m *PushSubscribes) String() string
- func (m *PushSubscribes) XXX_DiscardUnknown()
- func (m *PushSubscribes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushSubscribes) XXX_Merge(src proto.Message)
- func (m *PushSubscribes) XXX_Size() int
- func (m *PushSubscribes) XXX_Unmarshal(b []byte) error
- type PushWithStatus
- func (*PushWithStatus) Descriptor() ([]byte, []int)
- func (m *PushWithStatus) GetPush() *PushSubscribeReq
- func (m *PushWithStatus) GetStatus() int32
- func (*PushWithStatus) ProtoMessage()
- func (m *PushWithStatus) Reset()
- func (m *PushWithStatus) String() string
- func (m *PushWithStatus) XXX_DiscardUnknown()
- func (m *PushWithStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushWithStatus) XXX_Merge(src proto.Message)
- func (m *PushWithStatus) XXX_Size() int
- func (m *PushWithStatus) XXX_Unmarshal(b []byte) error
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetExecer() []byte
- func (m *Query) GetFuncName() string
- func (m *Query) GetPayload() []byte
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- func (m *Query) XXX_DiscardUnknown()
- func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Query) XXX_Merge(src proto.Message)
- func (m *Query) XXX_Size() int
- func (m *Query) XXX_Unmarshal(b []byte) error
- type QueryData
- func (q *QueryData) Call(driver, name string, in Message) (reply Message, err error)
- func (q *QueryData) Decode(driver, name string, in []byte) (reply Message, err error)
- func (q *QueryData) DecodeJSON(driver, name string, in json.Marshaler) (reply Message, err error)
- func (q *QueryData) GetFunc(driver, name string) (reflect.Method, error)
- func (q *QueryData) GetType(driver, name string) (reflect.Type, error)
- func (q *QueryData) Register(key string, obj interface{})
- func (q *QueryData) SetThis(key string, this reflect.Value)
- type RPC
- type ReWriteRawTx
- func (*ReWriteRawTx) Descriptor() ([]byte, []int)
- func (m *ReWriteRawTx) GetExpire() string
- func (m *ReWriteRawTx) GetFee() int64
- func (m *ReWriteRawTx) GetIndex() int32
- func (m *ReWriteRawTx) GetTo() string
- func (m *ReWriteRawTx) GetTx() string
- func (*ReWriteRawTx) ProtoMessage()
- func (m *ReWriteRawTx) Reset()
- func (m *ReWriteRawTx) String() string
- func (m *ReWriteRawTx) XXX_DiscardUnknown()
- func (m *ReWriteRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReWriteRawTx) XXX_Merge(src proto.Message)
- func (m *ReWriteRawTx) XXX_Size() int
- func (m *ReWriteRawTx) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetKV() []*KeyValue
- func (m *Receipt) GetLogs() []*ReceiptLog
- func (m *Receipt) GetTy() int32
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) String() string
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type ReceiptAccountBurn
- func (*ReceiptAccountBurn) Descriptor() ([]byte, []int)
- func (m *ReceiptAccountBurn) GetCurrent() *Account
- func (m *ReceiptAccountBurn) GetPrev() *Account
- func (*ReceiptAccountBurn) ProtoMessage()
- func (m *ReceiptAccountBurn) Reset()
- func (m *ReceiptAccountBurn) String() string
- func (m *ReceiptAccountBurn) XXX_DiscardUnknown()
- func (m *ReceiptAccountBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptAccountBurn) XXX_Merge(src proto.Message)
- func (m *ReceiptAccountBurn) XXX_Size() int
- func (m *ReceiptAccountBurn) XXX_Unmarshal(b []byte) error
- type ReceiptAccountMint
- func (*ReceiptAccountMint) Descriptor() ([]byte, []int)
- func (m *ReceiptAccountMint) GetCurrent() *Account
- func (m *ReceiptAccountMint) GetPrev() *Account
- func (*ReceiptAccountMint) ProtoMessage()
- func (m *ReceiptAccountMint) Reset()
- func (m *ReceiptAccountMint) String() string
- func (m *ReceiptAccountMint) XXX_DiscardUnknown()
- func (m *ReceiptAccountMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptAccountMint) XXX_Merge(src proto.Message)
- func (m *ReceiptAccountMint) XXX_Size() int
- func (m *ReceiptAccountMint) XXX_Unmarshal(b []byte) error
- type ReceiptAccountTransfer
- func (*ReceiptAccountTransfer) Descriptor() ([]byte, []int)
- func (m *ReceiptAccountTransfer) GetCurrent() *Account
- func (m *ReceiptAccountTransfer) GetPrev() *Account
- func (*ReceiptAccountTransfer) ProtoMessage()
- func (m *ReceiptAccountTransfer) Reset()
- func (m *ReceiptAccountTransfer) String() string
- func (m *ReceiptAccountTransfer) XXX_DiscardUnknown()
- func (m *ReceiptAccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptAccountTransfer) XXX_Merge(src proto.Message)
- func (m *ReceiptAccountTransfer) XXX_Size() int
- func (m *ReceiptAccountTransfer) XXX_Unmarshal(b []byte) error
- type ReceiptCheckTxList
- func (*ReceiptCheckTxList) Descriptor() ([]byte, []int)
- func (m *ReceiptCheckTxList) GetErrs() []string
- func (*ReceiptCheckTxList) ProtoMessage()
- func (m *ReceiptCheckTxList) Reset()
- func (m *ReceiptCheckTxList) String() string
- func (m *ReceiptCheckTxList) XXX_DiscardUnknown()
- func (m *ReceiptCheckTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptCheckTxList) XXX_Merge(src proto.Message)
- func (m *ReceiptCheckTxList) XXX_Size() int
- func (m *ReceiptCheckTxList) XXX_Unmarshal(b []byte) error
- type ReceiptConfig
- func (*ReceiptConfig) Descriptor() ([]byte, []int)
- func (m *ReceiptConfig) GetCurrent() *ConfigItem
- func (m *ReceiptConfig) GetPrev() *ConfigItem
- func (*ReceiptConfig) ProtoMessage()
- func (m *ReceiptConfig) Reset()
- func (m *ReceiptConfig) String() string
- func (m *ReceiptConfig) XXX_DiscardUnknown()
- func (m *ReceiptConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptConfig) XXX_Merge(src proto.Message)
- func (m *ReceiptConfig) XXX_Size() int
- func (m *ReceiptConfig) XXX_Unmarshal(b []byte) error
- type ReceiptData
- func (r *ReceiptData) Clone() *ReceiptData
- func (r *ReceiptData) DecodeReceiptLog(execer []byte) (*ReceiptDataResult, error)
- func (*ReceiptData) Descriptor() ([]byte, []int)
- func (m *ReceiptData) GetLogs() []*ReceiptLog
- func (m *ReceiptData) GetTy() int32
- func (r *ReceiptData) OutputReceiptDetails(execer []byte, logger log.Logger)
- func (*ReceiptData) ProtoMessage()
- func (m *ReceiptData) Reset()
- func (m *ReceiptData) String() string
- func (m *ReceiptData) XXX_DiscardUnknown()
- func (m *ReceiptData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptData) XXX_Merge(src proto.Message)
- func (m *ReceiptData) XXX_Size() int
- func (m *ReceiptData) XXX_Unmarshal(b []byte) error
- type ReceiptDataResult
- type ReceiptExecAccountTransfer
- func (*ReceiptExecAccountTransfer) Descriptor() ([]byte, []int)
- func (m *ReceiptExecAccountTransfer) GetCurrent() *Account
- func (m *ReceiptExecAccountTransfer) GetExecAddr() string
- func (m *ReceiptExecAccountTransfer) GetPrev() *Account
- func (*ReceiptExecAccountTransfer) ProtoMessage()
- func (m *ReceiptExecAccountTransfer) Reset()
- func (m *ReceiptExecAccountTransfer) String() string
- func (m *ReceiptExecAccountTransfer) XXX_DiscardUnknown()
- func (m *ReceiptExecAccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptExecAccountTransfer) XXX_Merge(src proto.Message)
- func (m *ReceiptExecAccountTransfer) XXX_Size() int
- func (m *ReceiptExecAccountTransfer) XXX_Unmarshal(b []byte) error
- type ReceiptLog
- func (r *ReceiptLog) Clone() *ReceiptLog
- func (*ReceiptLog) Descriptor() ([]byte, []int)
- func (m *ReceiptLog) GetLog() []byte
- func (m *ReceiptLog) GetTy() int32
- func (*ReceiptLog) ProtoMessage()
- func (m *ReceiptLog) Reset()
- func (m *ReceiptLog) String() string
- func (m *ReceiptLog) XXX_DiscardUnknown()
- func (m *ReceiptLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptLog) XXX_Merge(src proto.Message)
- func (m *ReceiptLog) XXX_Size() int
- func (m *ReceiptLog) XXX_Unmarshal(b []byte) error
- type ReceiptLogResult
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*Receipt
- func (*Receipts) ProtoMessage()
- func (m *Receipts) Reset()
- func (m *Receipts) String() string
- func (m *Receipts) XXX_DiscardUnknown()
- func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type RemoveTopic
- func (*RemoveTopic) Descriptor() ([]byte, []int)
- func (m *RemoveTopic) GetModule() string
- func (m *RemoveTopic) GetTopic() string
- func (*RemoveTopic) ProtoMessage()
- func (m *RemoveTopic) Reset()
- func (m *RemoveTopic) String() string
- func (m *RemoveTopic) XXX_DiscardUnknown()
- func (m *RemoveTopic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveTopic) XXX_Merge(src proto.Message)
- func (m *RemoveTopic) XXX_Size() int
- func (m *RemoveTopic) XXX_Unmarshal(b []byte) error
- type RemoveTopicReply
- func (*RemoveTopicReply) Descriptor() ([]byte, []int)
- func (m *RemoveTopicReply) GetMsg() string
- func (m *RemoveTopicReply) GetStatus() bool
- func (m *RemoveTopicReply) GetTopic() string
- func (*RemoveTopicReply) ProtoMessage()
- func (m *RemoveTopicReply) Reset()
- func (m *RemoveTopicReply) String() string
- func (m *RemoveTopicReply) XXX_DiscardUnknown()
- func (m *RemoveTopicReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveTopicReply) XXX_Merge(src proto.Message)
- func (m *RemoveTopicReply) XXX_Size() int
- func (m *RemoveTopicReply) XXX_Unmarshal(b []byte) error
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)
- func (m *Reply) GetIsOk() bool
- func (m *Reply) GetMsg() []byte
- func (*Reply) ProtoMessage()
- func (m *Reply) Reset()
- func (m *Reply) String() string
- func (m *Reply) XXX_DiscardUnknown()
- func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reply) XXX_Merge(src proto.Message)
- func (m *Reply) XXX_Size() int
- func (m *Reply) XXX_Unmarshal(b []byte) error
- type ReplyBlockHeight
- func (*ReplyBlockHeight) Descriptor() ([]byte, []int)
- func (m *ReplyBlockHeight) GetHeight() int64
- func (*ReplyBlockHeight) ProtoMessage()
- func (m *ReplyBlockHeight) Reset()
- func (m *ReplyBlockHeight) String() string
- func (m *ReplyBlockHeight) XXX_DiscardUnknown()
- func (m *ReplyBlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyBlockHeight) XXX_Merge(src proto.Message)
- func (m *ReplyBlockHeight) XXX_Size() int
- func (m *ReplyBlockHeight) XXX_Unmarshal(b []byte) error
- type ReplyCheckTxsExist
- func (*ReplyCheckTxsExist) Descriptor() ([]byte, []int)
- func (m *ReplyCheckTxsExist) GetExistCount() uint32
- func (m *ReplyCheckTxsExist) GetExistFlags() []bool
- func (*ReplyCheckTxsExist) ProtoMessage()
- func (m *ReplyCheckTxsExist) Reset()
- func (m *ReplyCheckTxsExist) String() string
- func (m *ReplyCheckTxsExist) XXX_DiscardUnknown()
- func (m *ReplyCheckTxsExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyCheckTxsExist) XXX_Merge(src proto.Message)
- func (m *ReplyCheckTxsExist) XXX_Size() int
- func (m *ReplyCheckTxsExist) XXX_Unmarshal(b []byte) error
- type ReplyConfig
- func (*ReplyConfig) Descriptor() ([]byte, []int)
- func (m *ReplyConfig) GetKey() string
- func (m *ReplyConfig) GetValue() string
- func (*ReplyConfig) ProtoMessage()
- func (m *ReplyConfig) Reset()
- func (m *ReplyConfig) String() string
- func (m *ReplyConfig) XXX_DiscardUnknown()
- func (m *ReplyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyConfig) XXX_Merge(src proto.Message)
- func (m *ReplyConfig) XXX_Size() int
- func (m *ReplyConfig) XXX_Unmarshal(b []byte) error
- type ReplyGetExecBalance
- func (t *ReplyGetExecBalance) AddItem(execAddr, value []byte)
- func (*ReplyGetExecBalance) Descriptor() ([]byte, []int)
- func (m *ReplyGetExecBalance) GetAmount() int64
- func (m *ReplyGetExecBalance) GetAmountActive() int64
- func (m *ReplyGetExecBalance) GetAmountFrozen() int64
- func (m *ReplyGetExecBalance) GetItems() []*ExecBalanceItem
- func (m *ReplyGetExecBalance) GetNextKey() []byte
- func (*ReplyGetExecBalance) ProtoMessage()
- func (m *ReplyGetExecBalance) Reset()
- func (m *ReplyGetExecBalance) String() string
- func (m *ReplyGetExecBalance) XXX_DiscardUnknown()
- func (m *ReplyGetExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyGetExecBalance) XXX_Merge(src proto.Message)
- func (m *ReplyGetExecBalance) XXX_Size() int
- func (m *ReplyGetExecBalance) XXX_Unmarshal(b []byte) error
- type ReplyGetTotalCoins
- func (*ReplyGetTotalCoins) Descriptor() ([]byte, []int)
- func (m *ReplyGetTotalCoins) GetAmount() int64
- func (m *ReplyGetTotalCoins) GetCount() int64
- func (m *ReplyGetTotalCoins) GetNextKey() []byte
- func (m *ReplyGetTotalCoins) GetNum() int64
- func (t *ReplyGetTotalCoins) IterateRangeByStateHash(key, value []byte) bool
- func (*ReplyGetTotalCoins) ProtoMessage()
- func (m *ReplyGetTotalCoins) Reset()
- func (m *ReplyGetTotalCoins) String() string
- func (m *ReplyGetTotalCoins) XXX_DiscardUnknown()
- func (m *ReplyGetTotalCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyGetTotalCoins) XXX_Merge(src proto.Message)
- func (m *ReplyGetTotalCoins) XXX_Size() int
- func (m *ReplyGetTotalCoins) XXX_Unmarshal(b []byte) error
- type ReplyHash
- func (*ReplyHash) Descriptor() ([]byte, []int)
- func (m *ReplyHash) GetHash() []byte
- func (*ReplyHash) ProtoMessage()
- func (m *ReplyHash) Reset()
- func (m *ReplyHash) String() string
- func (m *ReplyHash) XXX_DiscardUnknown()
- func (m *ReplyHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyHash) XXX_Merge(src proto.Message)
- func (m *ReplyHash) XXX_Size() int
- func (m *ReplyHash) XXX_Unmarshal(b []byte) error
- type ReplyHashes
- func (*ReplyHashes) Descriptor() ([]byte, []int)
- func (m *ReplyHashes) GetHashes() [][]byte
- func (hashes *ReplyHashes) Hash() []byte
- func (*ReplyHashes) ProtoMessage()
- func (m *ReplyHashes) Reset()
- func (m *ReplyHashes) String() string
- func (m *ReplyHashes) XXX_DiscardUnknown()
- func (m *ReplyHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyHashes) XXX_Merge(src proto.Message)
- func (m *ReplyHashes) XXX_Size() int
- func (m *ReplyHashes) XXX_Unmarshal(b []byte) error
- type ReplyHeightByTitle
- func (*ReplyHeightByTitle) Descriptor() ([]byte, []int)
- func (m *ReplyHeightByTitle) GetItems() []*BlockInfo
- func (m *ReplyHeightByTitle) GetTitle() string
- func (*ReplyHeightByTitle) ProtoMessage()
- func (m *ReplyHeightByTitle) Reset()
- func (m *ReplyHeightByTitle) String() string
- func (m *ReplyHeightByTitle) XXX_DiscardUnknown()
- func (m *ReplyHeightByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyHeightByTitle) XXX_Merge(src proto.Message)
- func (m *ReplyHeightByTitle) XXX_Size() int
- func (m *ReplyHeightByTitle) XXX_Unmarshal(b []byte) error
- type ReplyProperFee
- func (*ReplyProperFee) Descriptor() ([]byte, []int)
- func (m *ReplyProperFee) GetProperFee() int64
- func (*ReplyProperFee) ProtoMessage()
- func (m *ReplyProperFee) Reset()
- func (m *ReplyProperFee) String() string
- func (m *ReplyProperFee) XXX_DiscardUnknown()
- func (m *ReplyProperFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyProperFee) XXX_Merge(src proto.Message)
- func (m *ReplyProperFee) XXX_Size() int
- func (m *ReplyProperFee) XXX_Unmarshal(b []byte) error
- type ReplySeed
- func (*ReplySeed) Descriptor() ([]byte, []int)
- func (m *ReplySeed) GetSeed() string
- func (*ReplySeed) ProtoMessage()
- func (m *ReplySeed) Reset()
- func (m *ReplySeed) String() string
- func (m *ReplySeed) XXX_DiscardUnknown()
- func (m *ReplySeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySeed) XXX_Merge(src proto.Message)
- func (m *ReplySeed) XXX_Size() int
- func (m *ReplySeed) XXX_Unmarshal(b []byte) error
- type ReplySignRawTx
- func (*ReplySignRawTx) Descriptor() ([]byte, []int)
- func (m *ReplySignRawTx) GetTxHex() string
- func (*ReplySignRawTx) ProtoMessage()
- func (m *ReplySignRawTx) Reset()
- func (m *ReplySignRawTx) String() string
- func (m *ReplySignRawTx) XXX_DiscardUnknown()
- func (m *ReplySignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySignRawTx) XXX_Merge(src proto.Message)
- func (m *ReplySignRawTx) XXX_Size() int
- func (m *ReplySignRawTx) XXX_Unmarshal(b []byte) error
- type ReplyString
- func (*ReplyString) Descriptor() ([]byte, []int)
- func (m *ReplyString) GetData() string
- func (*ReplyString) ProtoMessage()
- func (m *ReplyString) Reset()
- func (m *ReplyString) String() string
- func (m *ReplyString) XXX_DiscardUnknown()
- func (m *ReplyString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyString) XXX_Merge(src proto.Message)
- func (m *ReplyString) XXX_Size() int
- func (m *ReplyString) XXX_Unmarshal(b []byte) error
- type ReplyStrings
- func (*ReplyStrings) Descriptor() ([]byte, []int)
- func (m *ReplyStrings) GetDatas() []string
- func (*ReplyStrings) ProtoMessage()
- func (m *ReplyStrings) Reset()
- func (m *ReplyStrings) String() string
- func (m *ReplyStrings) XXX_DiscardUnknown()
- func (m *ReplyStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStrings) XXX_Merge(src proto.Message)
- func (m *ReplyStrings) XXX_Size() int
- func (m *ReplyStrings) XXX_Unmarshal(b []byte) error
- type ReplySubscribePush
- func (*ReplySubscribePush) Descriptor() ([]byte, []int)
- func (m *ReplySubscribePush) GetIsOk() bool
- func (m *ReplySubscribePush) GetMsg() string
- func (*ReplySubscribePush) ProtoMessage()
- func (m *ReplySubscribePush) Reset()
- func (m *ReplySubscribePush) String() string
- func (m *ReplySubscribePush) XXX_DiscardUnknown()
- func (m *ReplySubscribePush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySubscribePush) XXX_Merge(src proto.Message)
- func (m *ReplySubscribePush) XXX_Size() int
- func (m *ReplySubscribePush) XXX_Unmarshal(b []byte) error
- type ReplyTxInfo
- func (*ReplyTxInfo) Descriptor() ([]byte, []int)
- func (m *ReplyTxInfo) GetAssets() []*Asset
- func (m *ReplyTxInfo) GetHash() []byte
- func (m *ReplyTxInfo) GetHeight() int64
- func (m *ReplyTxInfo) GetIndex() int64
- func (*ReplyTxInfo) ProtoMessage()
- func (m *ReplyTxInfo) Reset()
- func (m *ReplyTxInfo) String() string
- func (m *ReplyTxInfo) XXX_DiscardUnknown()
- func (m *ReplyTxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTxInfo) XXX_Merge(src proto.Message)
- func (m *ReplyTxInfo) XXX_Size() int
- func (m *ReplyTxInfo) XXX_Unmarshal(b []byte) error
- type ReplyTxInfos
- func (*ReplyTxInfos) Descriptor() ([]byte, []int)
- func (m *ReplyTxInfos) GetTxInfos() []*ReplyTxInfo
- func (*ReplyTxInfos) ProtoMessage()
- func (m *ReplyTxInfos) Reset()
- func (m *ReplyTxInfos) String() string
- func (m *ReplyTxInfos) XXX_DiscardUnknown()
- func (m *ReplyTxInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTxInfos) XXX_Merge(src proto.Message)
- func (m *ReplyTxInfos) XXX_Size() int
- func (m *ReplyTxInfos) XXX_Unmarshal(b []byte) error
- type ReplyTxList
- func (*ReplyTxList) Descriptor() ([]byte, []int)
- func (m *ReplyTxList) GetTxs() []*Transaction
- func (*ReplyTxList) ProtoMessage()
- func (m *ReplyTxList) Reset()
- func (m *ReplyTxList) String() string
- func (m *ReplyTxList) XXX_DiscardUnknown()
- func (m *ReplyTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTxList) XXX_Merge(src proto.Message)
- func (m *ReplyTxList) XXX_Size() int
- func (m *ReplyTxList) XXX_Unmarshal(b []byte) error
- type ReportErrEvent
- func (*ReportErrEvent) Descriptor() ([]byte, []int)
- func (m *ReportErrEvent) GetError() string
- func (m *ReportErrEvent) GetFrommodule() string
- func (m *ReportErrEvent) GetTomodule() string
- func (*ReportErrEvent) ProtoMessage()
- func (m *ReportErrEvent) Reset()
- func (m *ReportErrEvent) String() string
- func (m *ReportErrEvent) XXX_DiscardUnknown()
- func (m *ReportErrEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportErrEvent) XXX_Merge(src proto.Message)
- func (m *ReportErrEvent) XXX_Size() int
- func (m *ReportErrEvent) XXX_Unmarshal(b []byte) error
- type ReqAccountList
- func (*ReqAccountList) Descriptor() ([]byte, []int)
- func (m *ReqAccountList) GetWithoutBalance() bool
- func (*ReqAccountList) ProtoMessage()
- func (m *ReqAccountList) Reset()
- func (m *ReqAccountList) String() string
- func (m *ReqAccountList) XXX_DiscardUnknown()
- func (m *ReqAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAccountList) XXX_Merge(src proto.Message)
- func (m *ReqAccountList) XXX_Size() int
- func (m *ReqAccountList) XXX_Unmarshal(b []byte) error
- type ReqAddr
- func (*ReqAddr) Descriptor() ([]byte, []int)
- func (m *ReqAddr) GetAddr() string
- func (m *ReqAddr) GetCount() int32
- func (m *ReqAddr) GetDirection() int32
- func (m *ReqAddr) GetFlag() int32
- func (m *ReqAddr) GetHeight() int64
- func (m *ReqAddr) GetIndex() int64
- func (*ReqAddr) ProtoMessage()
- func (m *ReqAddr) Reset()
- func (m *ReqAddr) String() string
- func (m *ReqAddr) XXX_DiscardUnknown()
- func (m *ReqAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAddr) XXX_Merge(src proto.Message)
- func (m *ReqAddr) XXX_Size() int
- func (m *ReqAddr) XXX_Unmarshal(b []byte) error
- type ReqAddrs
- func (*ReqAddrs) Descriptor() ([]byte, []int)
- func (m *ReqAddrs) GetAddrs() []string
- func (*ReqAddrs) ProtoMessage()
- func (m *ReqAddrs) Reset()
- func (m *ReqAddrs) String() string
- func (m *ReqAddrs) XXX_DiscardUnknown()
- func (m *ReqAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAddrs) XXX_Merge(src proto.Message)
- func (m *ReqAddrs) XXX_Size() int
- func (m *ReqAddrs) XXX_Unmarshal(b []byte) error
- type ReqAllExecBalance
- func (*ReqAllExecBalance) Descriptor() ([]byte, []int)
- func (m *ReqAllExecBalance) GetAddr() string
- func (m *ReqAllExecBalance) GetAssetExec() string
- func (m *ReqAllExecBalance) GetAssetSymbol() string
- func (m *ReqAllExecBalance) GetExecer() string
- func (m *ReqAllExecBalance) GetStateHash() string
- func (*ReqAllExecBalance) ProtoMessage()
- func (m *ReqAllExecBalance) Reset()
- func (m *ReqAllExecBalance) String() string
- func (m *ReqAllExecBalance) XXX_DiscardUnknown()
- func (m *ReqAllExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAllExecBalance) XXX_Merge(src proto.Message)
- func (m *ReqAllExecBalance) XXX_Size() int
- func (m *ReqAllExecBalance) XXX_Unmarshal(b []byte) error
- type ReqBalance
- func (*ReqBalance) Descriptor() ([]byte, []int)
- func (m *ReqBalance) GetAddresses() []string
- func (m *ReqBalance) GetAssetExec() string
- func (m *ReqBalance) GetAssetSymbol() string
- func (m *ReqBalance) GetExecer() string
- func (m *ReqBalance) GetStateHash() string
- func (*ReqBalance) ProtoMessage()
- func (m *ReqBalance) Reset()
- func (m *ReqBalance) String() string
- func (m *ReqBalance) XXX_DiscardUnknown()
- func (m *ReqBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBalance) XXX_Merge(src proto.Message)
- func (m *ReqBalance) XXX_Size() int
- func (m *ReqBalance) XXX_Unmarshal(b []byte) error
- type ReqBlocks
- func (*ReqBlocks) Descriptor() ([]byte, []int)
- func (m *ReqBlocks) GetEnd() int64
- func (m *ReqBlocks) GetIsDetail() bool
- func (m *ReqBlocks) GetPid() []string
- func (m *ReqBlocks) GetStart() int64
- func (*ReqBlocks) ProtoMessage()
- func (m *ReqBlocks) Reset()
- func (m *ReqBlocks) String() string
- func (m *ReqBlocks) XXX_DiscardUnknown()
- func (m *ReqBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBlocks) XXX_Merge(src proto.Message)
- func (m *ReqBlocks) XXX_Size() int
- func (m *ReqBlocks) XXX_Unmarshal(b []byte) error
- type ReqCheckTxsExist
- func (*ReqCheckTxsExist) Descriptor() ([]byte, []int)
- func (m *ReqCheckTxsExist) GetTxHashes() [][]byte
- func (*ReqCheckTxsExist) ProtoMessage()
- func (m *ReqCheckTxsExist) Reset()
- func (m *ReqCheckTxsExist) String() string
- func (m *ReqCheckTxsExist) XXX_DiscardUnknown()
- func (m *ReqCheckTxsExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCheckTxsExist) XXX_Merge(src proto.Message)
- func (m *ReqCheckTxsExist) XXX_Size() int
- func (m *ReqCheckTxsExist) XXX_Unmarshal(b []byte) error
- type ReqChunkRecords
- func (*ReqChunkRecords) Descriptor() ([]byte, []int)
- func (m *ReqChunkRecords) GetEnd() int64
- func (m *ReqChunkRecords) GetIsDetail() bool
- func (m *ReqChunkRecords) GetPid() []string
- func (m *ReqChunkRecords) GetStart() int64
- func (*ReqChunkRecords) ProtoMessage()
- func (m *ReqChunkRecords) Reset()
- func (m *ReqChunkRecords) String() string
- func (m *ReqChunkRecords) XXX_DiscardUnknown()
- func (m *ReqChunkRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqChunkRecords) XXX_Merge(src proto.Message)
- func (m *ReqChunkRecords) XXX_Size() int
- func (m *ReqChunkRecords) XXX_Unmarshal(b []byte) error
- type ReqDecodeRawTransaction
- func (*ReqDecodeRawTransaction) Descriptor() ([]byte, []int)
- func (m *ReqDecodeRawTransaction) GetTxHex() string
- func (*ReqDecodeRawTransaction) ProtoMessage()
- func (m *ReqDecodeRawTransaction) Reset()
- func (m *ReqDecodeRawTransaction) String() string
- func (m *ReqDecodeRawTransaction) XXX_DiscardUnknown()
- func (m *ReqDecodeRawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqDecodeRawTransaction) XXX_Merge(src proto.Message)
- func (m *ReqDecodeRawTransaction) XXX_Size() int
- func (m *ReqDecodeRawTransaction) XXX_Unmarshal(b []byte) error
- type ReqGetAccount
- func (*ReqGetAccount) Descriptor() ([]byte, []int)
- func (m *ReqGetAccount) GetLabel() string
- func (*ReqGetAccount) ProtoMessage()
- func (m *ReqGetAccount) Reset()
- func (m *ReqGetAccount) String() string
- func (m *ReqGetAccount) XXX_DiscardUnknown()
- func (m *ReqGetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqGetAccount) XXX_Merge(src proto.Message)
- func (m *ReqGetAccount) XXX_Size() int
- func (m *ReqGetAccount) XXX_Unmarshal(b []byte) error
- type ReqGetExecBalance
- func (*ReqGetExecBalance) Descriptor() ([]byte, []int)
- func (m *ReqGetExecBalance) GetAddr() []byte
- func (m *ReqGetExecBalance) GetCount() int64
- func (m *ReqGetExecBalance) GetExecAddr() []byte
- func (m *ReqGetExecBalance) GetExecer() string
- func (m *ReqGetExecBalance) GetNextKey() []byte
- func (m *ReqGetExecBalance) GetStateHash() []byte
- func (m *ReqGetExecBalance) GetSymbol() string
- func (*ReqGetExecBalance) ProtoMessage()
- func (m *ReqGetExecBalance) Reset()
- func (m *ReqGetExecBalance) String() string
- func (m *ReqGetExecBalance) XXX_DiscardUnknown()
- func (m *ReqGetExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqGetExecBalance) XXX_Merge(src proto.Message)
- func (m *ReqGetExecBalance) XXX_Size() int
- func (m *ReqGetExecBalance) XXX_Unmarshal(b []byte) error
- type ReqGetMempool
- func (*ReqGetMempool) Descriptor() ([]byte, []int)
- func (m *ReqGetMempool) GetIsAll() bool
- func (*ReqGetMempool) ProtoMessage()
- func (m *ReqGetMempool) Reset()
- func (m *ReqGetMempool) String() string
- func (m *ReqGetMempool) XXX_DiscardUnknown()
- func (m *ReqGetMempool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqGetMempool) XXX_Merge(src proto.Message)
- func (m *ReqGetMempool) XXX_Size() int
- func (m *ReqGetMempool) XXX_Unmarshal(b []byte) error
- type ReqGetTotalCoins
- func (*ReqGetTotalCoins) Descriptor() ([]byte, []int)
- func (m *ReqGetTotalCoins) GetCount() int64
- func (m *ReqGetTotalCoins) GetExecer() string
- func (m *ReqGetTotalCoins) GetStartKey() []byte
- func (m *ReqGetTotalCoins) GetStateHash() []byte
- func (m *ReqGetTotalCoins) GetSymbol() string
- func (*ReqGetTotalCoins) ProtoMessage()
- func (m *ReqGetTotalCoins) Reset()
- func (m *ReqGetTotalCoins) String() string
- func (m *ReqGetTotalCoins) XXX_DiscardUnknown()
- func (m *ReqGetTotalCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqGetTotalCoins) XXX_Merge(src proto.Message)
- func (m *ReqGetTotalCoins) XXX_Size() int
- func (m *ReqGetTotalCoins) XXX_Unmarshal(b []byte) error
- type ReqHash
- func (*ReqHash) Descriptor() ([]byte, []int)
- func (m *ReqHash) GetHash() []byte
- func (m *ReqHash) GetUpgrade() bool
- func (*ReqHash) ProtoMessage()
- func (m *ReqHash) Reset()
- func (m *ReqHash) String() string
- func (m *ReqHash) XXX_DiscardUnknown()
- func (m *ReqHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqHash) XXX_Merge(src proto.Message)
- func (m *ReqHash) XXX_Size() int
- func (m *ReqHash) XXX_Unmarshal(b []byte) error
- type ReqHashes
- func (*ReqHashes) Descriptor() ([]byte, []int)
- func (m *ReqHashes) GetHashes() [][]byte
- func (*ReqHashes) ProtoMessage()
- func (m *ReqHashes) Reset()
- func (m *ReqHashes) String() string
- func (m *ReqHashes) XXX_DiscardUnknown()
- func (m *ReqHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqHashes) XXX_Merge(src proto.Message)
- func (m *ReqHashes) XXX_Size() int
- func (m *ReqHashes) XXX_Unmarshal(b []byte) error
- type ReqHeightByTitle
- func (*ReqHeightByTitle) Descriptor() ([]byte, []int)
- func (m *ReqHeightByTitle) GetCount() int32
- func (m *ReqHeightByTitle) GetDirection() int32
- func (m *ReqHeightByTitle) GetHeight() int64
- func (m *ReqHeightByTitle) GetTitle() string
- func (*ReqHeightByTitle) ProtoMessage()
- func (m *ReqHeightByTitle) Reset()
- func (m *ReqHeightByTitle) String() string
- func (m *ReqHeightByTitle) XXX_DiscardUnknown()
- func (m *ReqHeightByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqHeightByTitle) XXX_Merge(src proto.Message)
- func (m *ReqHeightByTitle) XXX_Size() int
- func (m *ReqHeightByTitle) XXX_Unmarshal(b []byte) error
- type ReqInt
- func (*ReqInt) Descriptor() ([]byte, []int)
- func (m *ReqInt) GetHeight() int64
- func (*ReqInt) ProtoMessage()
- func (m *ReqInt) Reset()
- func (m *ReqInt) String() string
- func (m *ReqInt) XXX_DiscardUnknown()
- func (m *ReqInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqInt) XXX_Merge(src proto.Message)
- func (m *ReqInt) XXX_Size() int
- func (m *ReqInt) XXX_Unmarshal(b []byte) error
- type ReqKey
- func (*ReqKey) Descriptor() ([]byte, []int)
- func (m *ReqKey) GetKey() []byte
- func (*ReqKey) ProtoMessage()
- func (m *ReqKey) Reset()
- func (m *ReqKey) String() string
- func (m *ReqKey) XXX_DiscardUnknown()
- func (m *ReqKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqKey) XXX_Merge(src proto.Message)
- func (m *ReqKey) XXX_Size() int
- func (m *ReqKey) XXX_Unmarshal(b []byte) error
- type ReqModifyConfig
- func (*ReqModifyConfig) Descriptor() ([]byte, []int)
- func (m *ReqModifyConfig) GetKey() string
- func (m *ReqModifyConfig) GetModifier() string
- func (m *ReqModifyConfig) GetOp() string
- func (m *ReqModifyConfig) GetValue() string
- func (*ReqModifyConfig) ProtoMessage()
- func (m *ReqModifyConfig) Reset()
- func (m *ReqModifyConfig) String() string
- func (m *ReqModifyConfig) XXX_DiscardUnknown()
- func (m *ReqModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqModifyConfig) XXX_Merge(src proto.Message)
- func (m *ReqModifyConfig) XXX_Size() int
- func (m *ReqModifyConfig) XXX_Unmarshal(b []byte) error
- type ReqNewAccount
- func (*ReqNewAccount) Descriptor() ([]byte, []int)
- func (m *ReqNewAccount) GetLabel() string
- func (*ReqNewAccount) ProtoMessage()
- func (m *ReqNewAccount) Reset()
- func (m *ReqNewAccount) String() string
- func (m *ReqNewAccount) XXX_DiscardUnknown()
- func (m *ReqNewAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqNewAccount) XXX_Merge(src proto.Message)
- func (m *ReqNewAccount) XXX_Size() int
- func (m *ReqNewAccount) XXX_Unmarshal(b []byte) error
- type ReqNil
- func (*ReqNil) Descriptor() ([]byte, []int)
- func (*ReqNil) ProtoMessage()
- func (m *ReqNil) Reset()
- func (m *ReqNil) String() string
- func (m *ReqNil) XXX_DiscardUnknown()
- func (m *ReqNil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqNil) XXX_Merge(src proto.Message)
- func (m *ReqNil) XXX_Size() int
- func (m *ReqNil) XXX_Unmarshal(b []byte) error
- type ReqParaTxByHeight
- func (*ReqParaTxByHeight) Descriptor() ([]byte, []int)
- func (m *ReqParaTxByHeight) GetItems() []int64
- func (m *ReqParaTxByHeight) GetTitle() string
- func (*ReqParaTxByHeight) ProtoMessage()
- func (m *ReqParaTxByHeight) Reset()
- func (m *ReqParaTxByHeight) String() string
- func (m *ReqParaTxByHeight) XXX_DiscardUnknown()
- func (m *ReqParaTxByHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqParaTxByHeight) XXX_Merge(src proto.Message)
- func (m *ReqParaTxByHeight) XXX_Size() int
- func (m *ReqParaTxByHeight) XXX_Unmarshal(b []byte) error
- type ReqParaTxByTitle
- func (*ReqParaTxByTitle) Descriptor() ([]byte, []int)
- func (m *ReqParaTxByTitle) GetEnd() int64
- func (m *ReqParaTxByTitle) GetIsSeq() bool
- func (m *ReqParaTxByTitle) GetStart() int64
- func (m *ReqParaTxByTitle) GetTitle() string
- func (*ReqParaTxByTitle) ProtoMessage()
- func (m *ReqParaTxByTitle) Reset()
- func (m *ReqParaTxByTitle) String() string
- func (m *ReqParaTxByTitle) XXX_DiscardUnknown()
- func (m *ReqParaTxByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqParaTxByTitle) XXX_Merge(src proto.Message)
- func (m *ReqParaTxByTitle) XXX_Size() int
- func (m *ReqParaTxByTitle) XXX_Unmarshal(b []byte) error
- type ReqPeers
- func (*ReqPeers) Descriptor() ([]byte, []int)
- func (m *ReqPeers) GetCount() int32
- func (m *ReqPeers) GetReferKey() []byte
- func (*ReqPeers) ProtoMessage()
- func (m *ReqPeers) Reset()
- func (m *ReqPeers) String() string
- func (m *ReqPeers) XXX_DiscardUnknown()
- func (m *ReqPeers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPeers) XXX_Merge(src proto.Message)
- func (m *ReqPeers) XXX_Size() int
- func (m *ReqPeers) XXX_Unmarshal(b []byte) error
- type ReqPrivkeysFile
- func (*ReqPrivkeysFile) Descriptor() ([]byte, []int)
- func (m *ReqPrivkeysFile) GetFileName() string
- func (m *ReqPrivkeysFile) GetPasswd() string
- func (*ReqPrivkeysFile) ProtoMessage()
- func (m *ReqPrivkeysFile) Reset()
- func (m *ReqPrivkeysFile) String() string
- func (m *ReqPrivkeysFile) XXX_DiscardUnknown()
- func (m *ReqPrivkeysFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPrivkeysFile) XXX_Merge(src proto.Message)
- func (m *ReqPrivkeysFile) XXX_Size() int
- func (m *ReqPrivkeysFile) XXX_Unmarshal(b []byte) error
- type ReqProperFee
- func (*ReqProperFee) Descriptor() ([]byte, []int)
- func (m *ReqProperFee) GetTxCount() int32
- func (m *ReqProperFee) GetTxSize() int32
- func (*ReqProperFee) ProtoMessage()
- func (m *ReqProperFee) Reset()
- func (m *ReqProperFee) String() string
- func (m *ReqProperFee) XXX_DiscardUnknown()
- func (m *ReqProperFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqProperFee) XXX_Merge(src proto.Message)
- func (m *ReqProperFee) XXX_Size() int
- func (m *ReqProperFee) XXX_Unmarshal(b []byte) error
- type ReqRandHash
- func (*ReqRandHash) Descriptor() ([]byte, []int)
- func (m *ReqRandHash) GetBlockNum() int64
- func (m *ReqRandHash) GetExecName() string
- func (m *ReqRandHash) GetHash() []byte
- func (m *ReqRandHash) GetHeight() int64
- func (*ReqRandHash) ProtoMessage()
- func (m *ReqRandHash) Reset()
- func (m *ReqRandHash) String() string
- func (m *ReqRandHash) XXX_DiscardUnknown()
- func (m *ReqRandHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqRandHash) XXX_Merge(src proto.Message)
- func (m *ReqRandHash) XXX_Size() int
- func (m *ReqRandHash) XXX_Unmarshal(b []byte) error
- type ReqSignRawTx
- func (*ReqSignRawTx) Descriptor() ([]byte, []int)
- func (m *ReqSignRawTx) GetAddr() string
- func (m *ReqSignRawTx) GetExpire() string
- func (m *ReqSignRawTx) GetFee() int64
- func (m *ReqSignRawTx) GetIndex() int32
- func (m *ReqSignRawTx) GetNewToAddr() string
- func (m *ReqSignRawTx) GetPrivkey() string
- func (m *ReqSignRawTx) GetToken() string
- func (m *ReqSignRawTx) GetTxHex() string
- func (*ReqSignRawTx) ProtoMessage()
- func (m *ReqSignRawTx) Reset()
- func (m *ReqSignRawTx) String() string
- func (m *ReqSignRawTx) XXX_DiscardUnknown()
- func (m *ReqSignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSignRawTx) XXX_Merge(src proto.Message)
- func (m *ReqSignRawTx) XXX_Size() int
- func (m *ReqSignRawTx) XXX_Unmarshal(b []byte) error
- type ReqString
- func (*ReqString) Descriptor() ([]byte, []int)
- func (m *ReqString) GetData() string
- func (*ReqString) ProtoMessage()
- func (m *ReqString) Reset()
- func (m *ReqString) String() string
- func (m *ReqString) XXX_DiscardUnknown()
- func (m *ReqString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqString) XXX_Merge(src proto.Message)
- func (m *ReqString) XXX_Size() int
- func (m *ReqString) XXX_Unmarshal(b []byte) error
- type ReqTokenFinishCreate
- func (*ReqTokenFinishCreate) Descriptor() ([]byte, []int)
- func (m *ReqTokenFinishCreate) GetFinisherAddr() string
- func (m *ReqTokenFinishCreate) GetOwnerAddr() string
- func (m *ReqTokenFinishCreate) GetSymbol() string
- func (*ReqTokenFinishCreate) ProtoMessage()
- func (m *ReqTokenFinishCreate) Reset()
- func (m *ReqTokenFinishCreate) String() string
- func (m *ReqTokenFinishCreate) XXX_DiscardUnknown()
- func (m *ReqTokenFinishCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTokenFinishCreate) XXX_Merge(src proto.Message)
- func (m *ReqTokenFinishCreate) XXX_Size() int
- func (m *ReqTokenFinishCreate) XXX_Unmarshal(b []byte) error
- type ReqTokenPreCreate
- func (*ReqTokenPreCreate) Descriptor() ([]byte, []int)
- func (m *ReqTokenPreCreate) GetCreatorAddr() string
- func (m *ReqTokenPreCreate) GetIntroduction() string
- func (m *ReqTokenPreCreate) GetName() string
- func (m *ReqTokenPreCreate) GetOwnerAddr() string
- func (m *ReqTokenPreCreate) GetPrice() int64
- func (m *ReqTokenPreCreate) GetSymbol() string
- func (m *ReqTokenPreCreate) GetTotal() int64
- func (*ReqTokenPreCreate) ProtoMessage()
- func (m *ReqTokenPreCreate) Reset()
- func (m *ReqTokenPreCreate) String() string
- func (m *ReqTokenPreCreate) XXX_DiscardUnknown()
- func (m *ReqTokenPreCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTokenPreCreate) XXX_Merge(src proto.Message)
- func (m *ReqTokenPreCreate) XXX_Size() int
- func (m *ReqTokenPreCreate) XXX_Unmarshal(b []byte) error
- type ReqTokenRevokeCreate
- func (*ReqTokenRevokeCreate) Descriptor() ([]byte, []int)
- func (m *ReqTokenRevokeCreate) GetOwnerAddr() string
- func (m *ReqTokenRevokeCreate) GetRevokerAddr() string
- func (m *ReqTokenRevokeCreate) GetSymbol() string
- func (*ReqTokenRevokeCreate) ProtoMessage()
- func (m *ReqTokenRevokeCreate) Reset()
- func (m *ReqTokenRevokeCreate) String() string
- func (m *ReqTokenRevokeCreate) XXX_DiscardUnknown()
- func (m *ReqTokenRevokeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTokenRevokeCreate) XXX_Merge(src proto.Message)
- func (m *ReqTokenRevokeCreate) XXX_Size() int
- func (m *ReqTokenRevokeCreate) XXX_Unmarshal(b []byte) error
- type ReqTxHashList
- func (*ReqTxHashList) Descriptor() ([]byte, []int)
- func (m *ReqTxHashList) GetHashes() []string
- func (m *ReqTxHashList) GetIsShortHash() bool
- func (*ReqTxHashList) ProtoMessage()
- func (m *ReqTxHashList) Reset()
- func (m *ReqTxHashList) String() string
- func (m *ReqTxHashList) XXX_DiscardUnknown()
- func (m *ReqTxHashList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTxHashList) XXX_Merge(src proto.Message)
- func (m *ReqTxHashList) XXX_Size() int
- func (m *ReqTxHashList) XXX_Unmarshal(b []byte) error
- type ReqTxList
- func (*ReqTxList) Descriptor() ([]byte, []int)
- func (m *ReqTxList) GetCount() int64
- func (*ReqTxList) ProtoMessage()
- func (m *ReqTxList) Reset()
- func (m *ReqTxList) String() string
- func (m *ReqTxList) XXX_DiscardUnknown()
- func (m *ReqTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTxList) XXX_Merge(src proto.Message)
- func (m *ReqTxList) XXX_Size() int
- func (m *ReqTxList) XXX_Unmarshal(b []byte) error
- type ReqWalletImportPrivkey
- func (*ReqWalletImportPrivkey) Descriptor() ([]byte, []int)
- func (m *ReqWalletImportPrivkey) GetLabel() string
- func (m *ReqWalletImportPrivkey) GetPrivkey() string
- func (*ReqWalletImportPrivkey) ProtoMessage()
- func (m *ReqWalletImportPrivkey) Reset()
- func (m *ReqWalletImportPrivkey) String() string
- func (m *ReqWalletImportPrivkey) XXX_DiscardUnknown()
- func (m *ReqWalletImportPrivkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletImportPrivkey) XXX_Merge(src proto.Message)
- func (m *ReqWalletImportPrivkey) XXX_Size() int
- func (m *ReqWalletImportPrivkey) XXX_Unmarshal(b []byte) error
- type ReqWalletMergeBalance
- func (*ReqWalletMergeBalance) Descriptor() ([]byte, []int)
- func (m *ReqWalletMergeBalance) GetTo() string
- func (*ReqWalletMergeBalance) ProtoMessage()
- func (m *ReqWalletMergeBalance) Reset()
- func (m *ReqWalletMergeBalance) String() string
- func (m *ReqWalletMergeBalance) XXX_DiscardUnknown()
- func (m *ReqWalletMergeBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletMergeBalance) XXX_Merge(src proto.Message)
- func (m *ReqWalletMergeBalance) XXX_Size() int
- func (m *ReqWalletMergeBalance) XXX_Unmarshal(b []byte) error
- type ReqWalletSendToAddress
- func (*ReqWalletSendToAddress) Descriptor() ([]byte, []int)
- func (m *ReqWalletSendToAddress) GetAmount() int64
- func (m *ReqWalletSendToAddress) GetFrom() string
- func (m *ReqWalletSendToAddress) GetIsToken() bool
- func (m *ReqWalletSendToAddress) GetNote() string
- func (m *ReqWalletSendToAddress) GetTo() string
- func (m *ReqWalletSendToAddress) GetTokenSymbol() string
- func (*ReqWalletSendToAddress) ProtoMessage()
- func (m *ReqWalletSendToAddress) Reset()
- func (m *ReqWalletSendToAddress) String() string
- func (m *ReqWalletSendToAddress) XXX_DiscardUnknown()
- func (m *ReqWalletSendToAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletSendToAddress) XXX_Merge(src proto.Message)
- func (m *ReqWalletSendToAddress) XXX_Size() int
- func (m *ReqWalletSendToAddress) XXX_Unmarshal(b []byte) error
- type ReqWalletSetFee
- func (*ReqWalletSetFee) Descriptor() ([]byte, []int)
- func (m *ReqWalletSetFee) GetAmount() int64
- func (*ReqWalletSetFee) ProtoMessage()
- func (m *ReqWalletSetFee) Reset()
- func (m *ReqWalletSetFee) String() string
- func (m *ReqWalletSetFee) XXX_DiscardUnknown()
- func (m *ReqWalletSetFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletSetFee) XXX_Merge(src proto.Message)
- func (m *ReqWalletSetFee) XXX_Size() int
- func (m *ReqWalletSetFee) XXX_Unmarshal(b []byte) error
- type ReqWalletSetLabel
- func (*ReqWalletSetLabel) Descriptor() ([]byte, []int)
- func (m *ReqWalletSetLabel) GetAddr() string
- func (m *ReqWalletSetLabel) GetLabel() string
- func (*ReqWalletSetLabel) ProtoMessage()
- func (m *ReqWalletSetLabel) Reset()
- func (m *ReqWalletSetLabel) String() string
- func (m *ReqWalletSetLabel) XXX_DiscardUnknown()
- func (m *ReqWalletSetLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletSetLabel) XXX_Merge(src proto.Message)
- func (m *ReqWalletSetLabel) XXX_Size() int
- func (m *ReqWalletSetLabel) XXX_Unmarshal(b []byte) error
- type ReqWalletSetPasswd
- func (*ReqWalletSetPasswd) Descriptor() ([]byte, []int)
- func (m *ReqWalletSetPasswd) GetNewPass() string
- func (m *ReqWalletSetPasswd) GetOldPass() string
- func (*ReqWalletSetPasswd) ProtoMessage()
- func (m *ReqWalletSetPasswd) Reset()
- func (m *ReqWalletSetPasswd) String() string
- func (m *ReqWalletSetPasswd) XXX_DiscardUnknown()
- func (m *ReqWalletSetPasswd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletSetPasswd) XXX_Merge(src proto.Message)
- func (m *ReqWalletSetPasswd) XXX_Size() int
- func (m *ReqWalletSetPasswd) XXX_Unmarshal(b []byte) error
- type ReqWalletTransactionList
- func (*ReqWalletTransactionList) Descriptor() ([]byte, []int)
- func (m *ReqWalletTransactionList) GetCount() int32
- func (m *ReqWalletTransactionList) GetDirection() int32
- func (m *ReqWalletTransactionList) GetFromTx() []byte
- func (*ReqWalletTransactionList) ProtoMessage()
- func (m *ReqWalletTransactionList) Reset()
- func (m *ReqWalletTransactionList) String() string
- func (m *ReqWalletTransactionList) XXX_DiscardUnknown()
- func (m *ReqWalletTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqWalletTransactionList) XXX_Merge(src proto.Message)
- func (m *ReqWalletTransactionList) XXX_Size() int
- func (m *ReqWalletTransactionList) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetAck() *RequestAck
- func (m *Request) GetCheckpoint() *RequestCheckpoint
- func (m *Request) GetClient() *RequestClient
- func (m *Request) GetCommit() *RequestCommit
- func (m *Request) GetNewview() *RequestNewView
- func (m *Request) GetPrepare() *RequestPrepare
- func (m *Request) GetPreprepare() *RequestPrePrepare
- func (m *Request) GetValue() isRequest_Value
- func (m *Request) GetViewchange() *RequestViewChange
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (*Request) XXX_OneofWrappers() []interface{}
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestAck
- func (*RequestAck) Descriptor() ([]byte, []int)
- func (m *RequestAck) GetDigest() []byte
- func (m *RequestAck) GetReplica() uint32
- func (m *RequestAck) GetView() uint32
- func (m *RequestAck) GetViewchanger() uint32
- func (*RequestAck) ProtoMessage()
- func (m *RequestAck) Reset()
- func (m *RequestAck) String() string
- func (m *RequestAck) XXX_DiscardUnknown()
- func (m *RequestAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestAck) XXX_Merge(src proto.Message)
- func (m *RequestAck) XXX_Size() int
- func (m *RequestAck) XXX_Unmarshal(b []byte) error
- type RequestCheckpoint
- func (*RequestCheckpoint) Descriptor() ([]byte, []int)
- func (m *RequestCheckpoint) GetDigest() []byte
- func (m *RequestCheckpoint) GetReplica() uint32
- func (m *RequestCheckpoint) GetSequence() uint32
- func (*RequestCheckpoint) ProtoMessage()
- func (m *RequestCheckpoint) Reset()
- func (m *RequestCheckpoint) String() string
- func (m *RequestCheckpoint) XXX_DiscardUnknown()
- func (m *RequestCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestCheckpoint) XXX_Merge(src proto.Message)
- func (m *RequestCheckpoint) XXX_Size() int
- func (m *RequestCheckpoint) XXX_Unmarshal(b []byte) error
- type RequestClient
- func (*RequestClient) Descriptor() ([]byte, []int)
- func (m *RequestClient) GetClient() string
- func (m *RequestClient) GetOp() *Operation
- func (m *RequestClient) GetTimestamp() string
- func (*RequestClient) ProtoMessage()
- func (m *RequestClient) Reset()
- func (m *RequestClient) String() string
- func (m *RequestClient) XXX_DiscardUnknown()
- func (m *RequestClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestClient) XXX_Merge(src proto.Message)
- func (m *RequestClient) XXX_Size() int
- func (m *RequestClient) XXX_Unmarshal(b []byte) error
- type RequestCommit
- func (*RequestCommit) Descriptor() ([]byte, []int)
- func (m *RequestCommit) GetReplica() uint32
- func (m *RequestCommit) GetSequence() uint32
- func (m *RequestCommit) GetView() uint32
- func (*RequestCommit) ProtoMessage()
- func (m *RequestCommit) Reset()
- func (m *RequestCommit) String() string
- func (m *RequestCommit) XXX_DiscardUnknown()
- func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestCommit) XXX_Merge(src proto.Message)
- func (m *RequestCommit) XXX_Size() int
- func (m *RequestCommit) XXX_Unmarshal(b []byte) error
- type RequestNewView
- func (*RequestNewView) Descriptor() ([]byte, []int)
- func (m *RequestNewView) GetReplica() uint32
- func (m *RequestNewView) GetSummaries() []*Summary
- func (m *RequestNewView) GetView() uint32
- func (m *RequestNewView) GetViewchanges() []*ViewChange
- func (*RequestNewView) ProtoMessage()
- func (m *RequestNewView) Reset()
- func (m *RequestNewView) String() string
- func (m *RequestNewView) XXX_DiscardUnknown()
- func (m *RequestNewView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestNewView) XXX_Merge(src proto.Message)
- func (m *RequestNewView) XXX_Size() int
- func (m *RequestNewView) XXX_Unmarshal(b []byte) error
- type RequestPrePrepare
- func (*RequestPrePrepare) Descriptor() ([]byte, []int)
- func (m *RequestPrePrepare) GetDigest() []byte
- func (m *RequestPrePrepare) GetReplica() uint32
- func (m *RequestPrePrepare) GetSequence() uint32
- func (m *RequestPrePrepare) GetView() uint32
- func (*RequestPrePrepare) ProtoMessage()
- func (m *RequestPrePrepare) Reset()
- func (m *RequestPrePrepare) String() string
- func (m *RequestPrePrepare) XXX_DiscardUnknown()
- func (m *RequestPrePrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestPrePrepare) XXX_Merge(src proto.Message)
- func (m *RequestPrePrepare) XXX_Size() int
- func (m *RequestPrePrepare) XXX_Unmarshal(b []byte) error
- type RequestPrepare
- func (*RequestPrepare) Descriptor() ([]byte, []int)
- func (m *RequestPrepare) GetDigest() []byte
- func (m *RequestPrepare) GetReplica() uint32
- func (m *RequestPrepare) GetSequence() uint32
- func (m *RequestPrepare) GetView() uint32
- func (*RequestPrepare) ProtoMessage()
- func (m *RequestPrepare) Reset()
- func (m *RequestPrepare) String() string
- func (m *RequestPrepare) XXX_DiscardUnknown()
- func (m *RequestPrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestPrepare) XXX_Merge(src proto.Message)
- func (m *RequestPrepare) XXX_Size() int
- func (m *RequestPrepare) XXX_Unmarshal(b []byte) error
- type RequestViewChange
- func (*RequestViewChange) Descriptor() ([]byte, []int)
- func (m *RequestViewChange) GetCheckpoints() []*Checkpoint
- func (m *RequestViewChange) GetPrepreps() []*Entry
- func (m *RequestViewChange) GetPreps() []*Entry
- func (m *RequestViewChange) GetReplica() uint32
- func (m *RequestViewChange) GetSequence() uint32
- func (m *RequestViewChange) GetView() uint32
- func (*RequestViewChange) ProtoMessage()
- func (m *RequestViewChange) Reset()
- func (m *RequestViewChange) String() string
- func (m *RequestViewChange) XXX_DiscardUnknown()
- func (m *RequestViewChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestViewChange) XXX_Merge(src proto.Message)
- func (m *RequestViewChange) XXX_Size() int
- func (m *RequestViewChange) XXX_Unmarshal(b []byte) error
- type Request_Ack
- type Request_Checkpoint
- type Request_Client
- type Request_Commit
- type Request_Newview
- type Request_Prepare
- type Request_Preprepare
- type Request_Viewchange
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (m *Result) GetValue() *Block
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) String() string
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result) XXX_Merge(src proto.Message)
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
- type RingSignature
- func (*RingSignature) Descriptor() ([]byte, []int)
- func (m *RingSignature) GetItems() []*RingSignatureItem
- func (*RingSignature) ProtoMessage()
- func (m *RingSignature) Reset()
- func (m *RingSignature) String() string
- func (m *RingSignature) XXX_DiscardUnknown()
- func (m *RingSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RingSignature) XXX_Merge(src proto.Message)
- func (m *RingSignature) XXX_Size() int
- func (m *RingSignature) XXX_Unmarshal(b []byte) error
- type RingSignatureItem
- func (*RingSignatureItem) Descriptor() ([]byte, []int)
- func (m *RingSignatureItem) GetPubkey() [][]byte
- func (m *RingSignatureItem) GetSignature() [][]byte
- func (*RingSignatureItem) ProtoMessage()
- func (m *RingSignatureItem) Reset()
- func (m *RingSignatureItem) String() string
- func (m *RingSignatureItem) XXX_DiscardUnknown()
- func (m *RingSignatureItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RingSignatureItem) XXX_Merge(src proto.Message)
- func (m *RingSignatureItem) XXX_Size() int
- func (m *RingSignatureItem) XXX_Unmarshal(b []byte) error
- type SaveSeedByPw
- func (*SaveSeedByPw) Descriptor() ([]byte, []int)
- func (m *SaveSeedByPw) GetPasswd() string
- func (m *SaveSeedByPw) GetSeed() string
- func (*SaveSeedByPw) ProtoMessage()
- func (m *SaveSeedByPw) Reset()
- func (m *SaveSeedByPw) String() string
- func (m *SaveSeedByPw) XXX_DiscardUnknown()
- func (m *SaveSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveSeedByPw) XXX_Merge(src proto.Message)
- func (m *SaveSeedByPw) XXX_Size() int
- func (m *SaveSeedByPw) XXX_Unmarshal(b []byte) error
- type ServerTime
- func (*ServerTime) Descriptor() ([]byte, []int)
- func (m *ServerTime) GetCurrentTimestamp() int64
- func (*ServerTime) ProtoMessage()
- func (m *ServerTime) Reset()
- func (m *ServerTime) String() string
- func (m *ServerTime) XXX_DiscardUnknown()
- func (m *ServerTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerTime) XXX_Merge(src proto.Message)
- func (m *ServerTime) XXX_Size() int
- func (m *ServerTime) XXX_Unmarshal(b []byte) error
- type Signature
- func (sig *Signature) Clone() *Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetPubkey() []byte
- func (m *Signature) GetSignature() []byte
- func (m *Signature) GetTy() int32
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) String() string
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type Store
- type StoreDel
- func (*StoreDel) Descriptor() ([]byte, []int)
- func (m *StoreDel) GetHeight() int64
- func (m *StoreDel) GetStateHash() []byte
- func (*StoreDel) ProtoMessage()
- func (m *StoreDel) Reset()
- func (m *StoreDel) String() string
- func (m *StoreDel) XXX_DiscardUnknown()
- func (m *StoreDel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreDel) XXX_Merge(src proto.Message)
- func (m *StoreDel) XXX_Size() int
- func (m *StoreDel) XXX_Unmarshal(b []byte) error
- type StoreGet
- func (*StoreGet) Descriptor() ([]byte, []int)
- func (m *StoreGet) GetKeys() [][]byte
- func (m *StoreGet) GetStateHash() []byte
- func (*StoreGet) ProtoMessage()
- func (m *StoreGet) Reset()
- func (m *StoreGet) String() string
- func (m *StoreGet) XXX_DiscardUnknown()
- func (m *StoreGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreGet) XXX_Merge(src proto.Message)
- func (m *StoreGet) XXX_Size() int
- func (m *StoreGet) XXX_Unmarshal(b []byte) error
- type StoreList
- func (*StoreList) Descriptor() ([]byte, []int)
- func (m *StoreList) GetCount() int64
- func (m *StoreList) GetEnd() []byte
- func (m *StoreList) GetMode() int64
- func (m *StoreList) GetStart() []byte
- func (m *StoreList) GetStateHash() []byte
- func (m *StoreList) GetSuffix() []byte
- func (*StoreList) ProtoMessage()
- func (m *StoreList) Reset()
- func (m *StoreList) String() string
- func (m *StoreList) XXX_DiscardUnknown()
- func (m *StoreList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreList) XXX_Merge(src proto.Message)
- func (m *StoreList) XXX_Size() int
- func (m *StoreList) XXX_Unmarshal(b []byte) error
- type StoreListReply
- func (*StoreListReply) Descriptor() ([]byte, []int)
- func (m *StoreListReply) GetCount() int64
- func (m *StoreListReply) GetEnd() []byte
- func (m *StoreListReply) GetKeys() [][]byte
- func (m *StoreListReply) GetMode() int64
- func (m *StoreListReply) GetNextKey() []byte
- func (m *StoreListReply) GetNum() int64
- func (m *StoreListReply) GetStart() []byte
- func (m *StoreListReply) GetSuffix() []byte
- func (m *StoreListReply) GetValues() [][]byte
- func (*StoreListReply) ProtoMessage()
- func (m *StoreListReply) Reset()
- func (m *StoreListReply) String() string
- func (m *StoreListReply) XXX_DiscardUnknown()
- func (m *StoreListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreListReply) XXX_Merge(src proto.Message)
- func (m *StoreListReply) XXX_Size() int
- func (m *StoreListReply) XXX_Unmarshal(b []byte) error
- type StoreNode
- func (*StoreNode) Descriptor() ([]byte, []int)
- func (m *StoreNode) GetHeight() int32
- func (m *StoreNode) GetKey() []byte
- func (m *StoreNode) GetLeftHash() []byte
- func (m *StoreNode) GetRightHash() []byte
- func (m *StoreNode) GetSize() int32
- func (m *StoreNode) GetValue() []byte
- func (*StoreNode) ProtoMessage()
- func (m *StoreNode) Reset()
- func (m *StoreNode) String() string
- func (m *StoreNode) XXX_DiscardUnknown()
- func (m *StoreNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreNode) XXX_Merge(src proto.Message)
- func (m *StoreNode) XXX_Size() int
- func (m *StoreNode) XXX_Unmarshal(b []byte) error
- type StoreReplyValue
- func (*StoreReplyValue) Descriptor() ([]byte, []int)
- func (m *StoreReplyValue) GetValues() [][]byte
- func (*StoreReplyValue) ProtoMessage()
- func (m *StoreReplyValue) Reset()
- func (m *StoreReplyValue) String() string
- func (m *StoreReplyValue) XXX_DiscardUnknown()
- func (m *StoreReplyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreReplyValue) XXX_Merge(src proto.Message)
- func (m *StoreReplyValue) XXX_Size() int
- func (m *StoreReplyValue) XXX_Unmarshal(b []byte) error
- type StoreSet
- func (*StoreSet) Descriptor() ([]byte, []int)
- func (m *StoreSet) GetHeight() int64
- func (m *StoreSet) GetKV() []*KeyValue
- func (m *StoreSet) GetStateHash() []byte
- func (*StoreSet) ProtoMessage()
- func (m *StoreSet) Reset()
- func (m *StoreSet) String() string
- func (m *StoreSet) XXX_DiscardUnknown()
- func (m *StoreSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreSet) XXX_Merge(src proto.Message)
- func (m *StoreSet) XXX_Size() int
- func (m *StoreSet) XXX_Unmarshal(b []byte) error
- type StoreSetWithSync
- func (*StoreSetWithSync) Descriptor() ([]byte, []int)
- func (m *StoreSetWithSync) GetStoreset() *StoreSet
- func (m *StoreSetWithSync) GetSync() bool
- func (m *StoreSetWithSync) GetUpgrade() bool
- func (*StoreSetWithSync) ProtoMessage()
- func (m *StoreSetWithSync) Reset()
- func (m *StoreSetWithSync) String() string
- func (m *StoreSetWithSync) XXX_DiscardUnknown()
- func (m *StoreSetWithSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreSetWithSync) XXX_Merge(src proto.Message)
- func (m *StoreSetWithSync) XXX_Size() int
- func (m *StoreSetWithSync) XXX_Unmarshal(b []byte) error
- type StoreValuePool
- func (*StoreValuePool) Descriptor() ([]byte, []int)
- func (m *StoreValuePool) GetValues() [][]byte
- func (*StoreValuePool) ProtoMessage()
- func (m *StoreValuePool) Reset()
- func (m *StoreValuePool) String() string
- func (m *StoreValuePool) XXX_DiscardUnknown()
- func (m *StoreValuePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreValuePool) XXX_Merge(src proto.Message)
- func (m *StoreValuePool) XXX_Size() int
- func (m *StoreValuePool) XXX_Unmarshal(b []byte) error
- type StringConfig
- func (*StringConfig) Descriptor() ([]byte, []int)
- func (m *StringConfig) GetValue() string
- func (*StringConfig) ProtoMessage()
- func (m *StringConfig) Reset()
- func (m *StringConfig) String() string
- func (m *StringConfig) XXX_DiscardUnknown()
- func (m *StringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringConfig) XXX_Merge(src proto.Message)
- func (m *StringConfig) XXX_Size() int
- func (m *StringConfig) XXX_Unmarshal(b []byte) error
- type SubTopic
- func (*SubTopic) Descriptor() ([]byte, []int)
- func (m *SubTopic) GetModule() string
- func (m *SubTopic) GetTopic() string
- func (*SubTopic) ProtoMessage()
- func (m *SubTopic) Reset()
- func (m *SubTopic) String() string
- func (m *SubTopic) XXX_DiscardUnknown()
- func (m *SubTopic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubTopic) XXX_Merge(src proto.Message)
- func (m *SubTopic) XXX_Size() int
- func (m *SubTopic) XXX_Unmarshal(b []byte) error
- type SubTopicReply
- func (*SubTopicReply) Descriptor() ([]byte, []int)
- func (m *SubTopicReply) GetMsg() string
- func (m *SubTopicReply) GetStatus() bool
- func (*SubTopicReply) ProtoMessage()
- func (m *SubTopicReply) Reset()
- func (m *SubTopicReply) String() string
- func (m *SubTopicReply) XXX_DiscardUnknown()
- func (m *SubTopicReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubTopicReply) XXX_Merge(src proto.Message)
- func (m *SubTopicReply) XXX_Size() int
- func (m *SubTopicReply) XXX_Unmarshal(b []byte) error
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)
- func (m *Summary) GetDigest() []byte
- func (m *Summary) GetSequence() uint32
- func (*Summary) ProtoMessage()
- func (m *Summary) Reset()
- func (m *Summary) String() string
- func (m *Summary) XXX_DiscardUnknown()
- func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Summary) XXX_Merge(src proto.Message)
- func (m *Summary) XXX_Size() int
- func (m *Summary) XXX_Unmarshal(b []byte) error
- type TimeStatus
- func (*TimeStatus) Descriptor() ([]byte, []int)
- func (m *TimeStatus) GetDiff() int64
- func (m *TimeStatus) GetLocalTime() string
- func (m *TimeStatus) GetNtpTime() string
- func (*TimeStatus) ProtoMessage()
- func (m *TimeStatus) Reset()
- func (m *TimeStatus) String() string
- func (m *TimeStatus) XXX_DiscardUnknown()
- func (m *TimeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeStatus) XXX_Merge(src proto.Message)
- func (m *TimeStatus) XXX_Size() int
- func (m *TimeStatus) XXX_Unmarshal(b []byte) error
- type TopicData
- func (*TopicData) Descriptor() ([]byte, []int)
- func (m *TopicData) GetData() []byte
- func (m *TopicData) GetFrom() string
- func (m *TopicData) GetTopic() string
- func (*TopicData) ProtoMessage()
- func (m *TopicData) Reset()
- func (m *TopicData) String() string
- func (m *TopicData) XXX_DiscardUnknown()
- func (m *TopicData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopicData) XXX_Merge(src proto.Message)
- func (m *TopicData) XXX_Size() int
- func (m *TopicData) XXX_Unmarshal(b []byte) error
- type TopicList
- func (*TopicList) Descriptor() ([]byte, []int)
- func (m *TopicList) GetTopics() []string
- func (*TopicList) ProtoMessage()
- func (m *TopicList) Reset()
- func (m *TopicList) String() string
- func (m *TopicList) XXX_DiscardUnknown()
- func (m *TopicList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopicList) XXX_Merge(src proto.Message)
- func (m *TopicList) XXX_Size() int
- func (m *TopicList) XXX_Unmarshal(b []byte) error
- type TotalAmount
- func (*TotalAmount) Descriptor() ([]byte, []int)
- func (m *TotalAmount) GetTotal() int64
- func (*TotalAmount) ProtoMessage()
- func (m *TotalAmount) Reset()
- func (m *TotalAmount) String() string
- func (m *TotalAmount) XXX_DiscardUnknown()
- func (m *TotalAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalAmount) XXX_Merge(src proto.Message)
- func (m *TotalAmount) XXX_Size() int
- func (m *TotalAmount) XXX_Unmarshal(b []byte) error
- type TotalFee
- func (*TotalFee) Descriptor() ([]byte, []int)
- func (m *TotalFee) GetFee() int64
- func (m *TotalFee) GetTxCount() int64
- func (*TotalFee) ProtoMessage()
- func (m *TotalFee) Reset()
- func (m *TotalFee) String() string
- func (m *TotalFee) XXX_DiscardUnknown()
- func (m *TotalFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalFee) XXX_Merge(src proto.Message)
- func (m *TotalFee) XXX_Size() int
- func (m *TotalFee) XXX_Unmarshal(b []byte) error
- type Transaction
- func CacheToTxs(caches []*TransactionCache) (txs []*Transaction)
- func CallCreateTransaction(execName, action string, param Message) (*Transaction, error)
- func CreateFormatTx(c *Chain33Config, execName string, payload []byte) (*Transaction, error)
- func FormatTx(c *Chain33Config, execName string, tx *Transaction) (*Transaction, error)
- func TransactionSort(rawtxs []*Transaction) []*Transaction
- func (tx *Transaction) ActionName() string
- func (tx *Transaction) Amount() (int64, error)
- func (tx *Transaction) Assets() ([]*Asset, error)
- func (tx *Transaction) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
- func (tx *Transaction) CheckSign() bool
- func (tx *Transaction) Clone() *Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (tx *Transaction) From() string
- func (tx *Transaction) FullHash() []byte
- func (m *Transaction) GetChainID() int32
- func (m *Transaction) GetExecer() []byte
- func (m *Transaction) GetExpire() int64
- func (m *Transaction) GetFee() int64
- func (m *Transaction) GetGroupCount() int32
- func (m *Transaction) GetHeader() []byte
- func (m *Transaction) GetNext() []byte
- func (m *Transaction) GetNonce() int64
- func (m *Transaction) GetPayload() []byte
- func (tx *Transaction) GetRealFee(minFee int64) (int64, error)
- func (tx *Transaction) GetRealToAddr() string
- func (m *Transaction) GetSignature() *Signature
- func (m *Transaction) GetTo() string
- func (tx *Transaction) GetTxFee() int64
- func (tx *Transaction) GetTxGroup() (*Transactions, error)
- func (tx *Transaction) GetViewFromToAddr() (string, string)
- func (tx *Transaction) Hash() []byte
- func (tx *Transaction) HashSign() []byte
- func (tx *Transaction) IsExpire(cfg *Chain33Config, height, blocktime int64) bool
- func (tx *Transaction) IsWithdraw() bool
- func (tx *Transaction) JSON() string
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (tx *Transaction) SetExpire(cfg *Chain33Config, expire time.Duration)
- func (tx *Transaction) SetRealFee(minFee int64) error
- func (tx *Transaction) Sign(ty int32, priv crypto.PrivKey)
- func (tx *Transaction) Size() int
- func (m *Transaction) String() string
- func (tx *Transaction) Tx() *Transaction
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionCache
- func (tx *TransactionCache) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
- func (tx *TransactionCache) CheckSign() bool
- func (tx *TransactionCache) GetPayloadValue() (plname string, payload reflect.Value, plerr error)
- func (tx *TransactionCache) GetTotalFee(minFee int64) (int64, error)
- func (tx *TransactionCache) GetTxGroup() (*Transactions, error)
- func (tx *TransactionCache) Hash() []byte
- func (tx *TransactionCache) SetPayloadValue(plname string, payload reflect.Value, plerr error)
- func (tx *TransactionCache) Size() int
- func (tx *TransactionCache) Tx() *Transaction
- type TransactionDetail
- func (*TransactionDetail) Descriptor() ([]byte, []int)
- func (m *TransactionDetail) GetActionName() string
- func (m *TransactionDetail) GetAmount() int64
- func (m *TransactionDetail) GetAssets() []*Asset
- func (m *TransactionDetail) GetBlocktime() int64
- func (m *TransactionDetail) GetFromaddr() string
- func (m *TransactionDetail) GetFullHash() []byte
- func (m *TransactionDetail) GetHeight() int64
- func (m *TransactionDetail) GetIndex() int64
- func (m *TransactionDetail) GetProofs() [][]byte
- func (m *TransactionDetail) GetReceipt() *ReceiptData
- func (m *TransactionDetail) GetTx() *Transaction
- func (m *TransactionDetail) GetTxProofs() []*TxProof
- func (*TransactionDetail) ProtoMessage()
- func (m *TransactionDetail) Reset()
- func (m *TransactionDetail) String() string
- func (m *TransactionDetail) XXX_DiscardUnknown()
- func (m *TransactionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionDetail) XXX_Merge(src proto.Message)
- func (m *TransactionDetail) XXX_Size() int
- func (m *TransactionDetail) XXX_Unmarshal(b []byte) error
- type TransactionDetails
- func (*TransactionDetails) Descriptor() ([]byte, []int)
- func (m *TransactionDetails) GetTxs() []*TransactionDetail
- func (*TransactionDetails) ProtoMessage()
- func (m *TransactionDetails) Reset()
- func (m *TransactionDetails) String() string
- func (m *TransactionDetails) XXX_DiscardUnknown()
- func (m *TransactionDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionDetails) XXX_Merge(src proto.Message)
- func (m *TransactionDetails) XXX_Size() int
- func (m *TransactionDetails) XXX_Unmarshal(b []byte) error
- type Transactions
- func (txgroup *Transactions) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
- func (txgroup *Transactions) CheckSign() bool
- func (txgroup *Transactions) CheckWithFork(cfg *Chain33Config, checkFork, paraFork bool, height, minfee, maxFee int64) error
- func (*Transactions) Descriptor() ([]byte, []int)
- func (txgroup *Transactions) GetTxGroup() *Transactions
- func (m *Transactions) GetTxs() []*Transaction
- func (txgroup *Transactions) IsExpire(cfg *Chain33Config, height, blocktime int64) bool
- func (*Transactions) ProtoMessage()
- func (txgroup *Transactions) RebuiltGroup()
- func (m *Transactions) Reset()
- func (txgroup *Transactions) SetExpire(cfg *Chain33Config, n int, expire time.Duration)
- func (txgroup *Transactions) SignN(n int, ty int32, priv crypto.PrivKey) error
- func (m *Transactions) String() string
- func (txgroup *Transactions) Tx() *Transaction
- func (m *Transactions) XXX_DiscardUnknown()
- func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transactions) XXX_Merge(src proto.Message)
- func (m *Transactions) XXX_Size() int
- func (m *Transactions) XXX_Unmarshal(b []byte) error
- type TxDetail
- func (*TxDetail) Descriptor() ([]byte, []int)
- func (m *TxDetail) GetIndex() uint32
- func (m *TxDetail) GetProofs() [][]byte
- func (m *TxDetail) GetReceipt() *ReceiptData
- func (m *TxDetail) GetTx() *Transaction
- func (*TxDetail) ProtoMessage()
- func (m *TxDetail) Reset()
- func (m *TxDetail) String() string
- func (m *TxDetail) XXX_DiscardUnknown()
- func (m *TxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDetail) XXX_Merge(src proto.Message)
- func (m *TxDetail) XXX_Size() int
- func (m *TxDetail) XXX_Unmarshal(b []byte) error
- type TxGroup
- type TxHash
- func (*TxHash) Descriptor() ([]byte, []int)
- func (m *TxHash) GetHash() string
- func (*TxHash) ProtoMessage()
- func (m *TxHash) Reset()
- func (m *TxHash) String() string
- func (m *TxHash) XXX_DiscardUnknown()
- func (m *TxHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxHash) XXX_Merge(src proto.Message)
- func (m *TxHash) XXX_Size() int
- func (m *TxHash) XXX_Unmarshal(b []byte) error
- type TxHashList
- func (*TxHashList) Descriptor() ([]byte, []int)
- func (m *TxHashList) GetCount() int64
- func (m *TxHashList) GetExpire() []int64
- func (m *TxHashList) GetHashes() [][]byte
- func (*TxHashList) ProtoMessage()
- func (m *TxHashList) Reset()
- func (m *TxHashList) String() string
- func (m *TxHashList) XXX_DiscardUnknown()
- func (m *TxHashList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxHashList) XXX_Merge(src proto.Message)
- func (m *TxHashList) XXX_Size() int
- func (m *TxHashList) XXX_Unmarshal(b []byte) error
- type TxHashWithReceiptType
- func (*TxHashWithReceiptType) Descriptor() ([]byte, []int)
- func (m *TxHashWithReceiptType) GetHash() []byte
- func (m *TxHashWithReceiptType) GetTy() int32
- func (*TxHashWithReceiptType) ProtoMessage()
- func (m *TxHashWithReceiptType) Reset()
- func (m *TxHashWithReceiptType) String() string
- func (m *TxHashWithReceiptType) XXX_DiscardUnknown()
- func (m *TxHashWithReceiptType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxHashWithReceiptType) XXX_Merge(src proto.Message)
- func (m *TxHashWithReceiptType) XXX_Size() int
- func (m *TxHashWithReceiptType) XXX_Unmarshal(b []byte) error
- type TxProof
- func (*TxProof) Descriptor() ([]byte, []int)
- func (m *TxProof) GetIndex() uint32
- func (m *TxProof) GetProofs() [][]byte
- func (m *TxProof) GetRootHash() []byte
- func (*TxProof) ProtoMessage()
- func (m *TxProof) Reset()
- func (m *TxProof) String() string
- func (m *TxProof) XXX_DiscardUnknown()
- func (m *TxProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxProof) XXX_Merge(src proto.Message)
- func (m *TxProof) XXX_Size() int
- func (m *TxProof) XXX_Unmarshal(b []byte) error
- type TxReceipts4Subscribe
- func (*TxReceipts4Subscribe) Descriptor() ([]byte, []int)
- func (m *TxReceipts4Subscribe) GetTxReceipts() []*TxReceipts4SubscribePerBlk
- func (*TxReceipts4Subscribe) ProtoMessage()
- func (m *TxReceipts4Subscribe) Reset()
- func (m *TxReceipts4Subscribe) String() string
- func (m *TxReceipts4Subscribe) XXX_DiscardUnknown()
- func (m *TxReceipts4Subscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxReceipts4Subscribe) XXX_Merge(src proto.Message)
- func (m *TxReceipts4Subscribe) XXX_Size() int
- func (m *TxReceipts4Subscribe) XXX_Unmarshal(b []byte) error
- type TxReceipts4SubscribePerBlk
- func (*TxReceipts4SubscribePerBlk) Descriptor() ([]byte, []int)
- func (m *TxReceipts4SubscribePerBlk) GetAddDelType() int32
- func (m *TxReceipts4SubscribePerBlk) GetBlockHash() []byte
- func (m *TxReceipts4SubscribePerBlk) GetHeight() int64
- func (m *TxReceipts4SubscribePerBlk) GetParentHash() []byte
- func (m *TxReceipts4SubscribePerBlk) GetPreviousHash() []byte
- func (m *TxReceipts4SubscribePerBlk) GetReceiptData() []*ReceiptData
- func (m *TxReceipts4SubscribePerBlk) GetSeqNum() int64
- func (m *TxReceipts4SubscribePerBlk) GetTx() []*Transaction
- func (*TxReceipts4SubscribePerBlk) ProtoMessage()
- func (m *TxReceipts4SubscribePerBlk) Reset()
- func (m *TxReceipts4SubscribePerBlk) String() string
- func (m *TxReceipts4SubscribePerBlk) XXX_DiscardUnknown()
- func (m *TxReceipts4SubscribePerBlk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxReceipts4SubscribePerBlk) XXX_Merge(src proto.Message)
- func (m *TxReceipts4SubscribePerBlk) XXX_Size() int
- func (m *TxReceipts4SubscribePerBlk) XXX_Unmarshal(b []byte) error
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)
- func (m *TxResult) GetActionName() string
- func (m *TxResult) GetBlocktime() int64
- func (m *TxResult) GetHeight() int64
- func (m *TxResult) GetIndex() int32
- func (m *TxResult) GetReceiptdate() *ReceiptData
- func (m *TxResult) GetTx() *Transaction
- func (*TxResult) ProtoMessage()
- func (m *TxResult) Reset()
- func (m *TxResult) String() string
- func (m *TxResult) XXX_DiscardUnknown()
- func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResult) XXX_Merge(src proto.Message)
- func (m *TxResult) XXX_Size() int
- func (m *TxResult) XXX_Unmarshal(b []byte) error
- type TxResultPerBlock
- func (*TxResultPerBlock) Descriptor() ([]byte, []int)
- func (m *TxResultPerBlock) GetAddDelType() int32
- func (m *TxResultPerBlock) GetBlockHash() []byte
- func (m *TxResultPerBlock) GetHeight() int64
- func (m *TxResultPerBlock) GetItems() []*TxHashWithReceiptType
- func (m *TxResultPerBlock) GetParentHash() []byte
- func (m *TxResultPerBlock) GetSeqNum() int64
- func (*TxResultPerBlock) ProtoMessage()
- func (m *TxResultPerBlock) Reset()
- func (m *TxResultPerBlock) String() string
- func (m *TxResultPerBlock) XXX_DiscardUnknown()
- func (m *TxResultPerBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResultPerBlock) XXX_Merge(src proto.Message)
- func (m *TxResultPerBlock) XXX_Size() int
- func (m *TxResultPerBlock) XXX_Unmarshal(b []byte) error
- type TxResultSeqs
- func (*TxResultSeqs) Descriptor() ([]byte, []int)
- func (m *TxResultSeqs) GetItems() []*TxResultPerBlock
- func (*TxResultSeqs) ProtoMessage()
- func (m *TxResultSeqs) Reset()
- func (m *TxResultSeqs) String() string
- func (m *TxResultSeqs) XXX_DiscardUnknown()
- func (m *TxResultSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResultSeqs) XXX_Merge(src proto.Message)
- func (m *TxResultSeqs) XXX_Size() int
- func (m *TxResultSeqs) XXX_Unmarshal(b []byte) error
- type UnimplementedChain33Server
- func (*UnimplementedChain33Server) CloseQueue(ctx context.Context, req *ReqNil) (*Reply, error)
- func (*UnimplementedChain33Server) CreateNoBalanceTransaction(ctx context.Context, req *NoBalanceTx) (*ReplySignRawTx, error)
- func (*UnimplementedChain33Server) CreateNoBalanceTxs(ctx context.Context, req *NoBalanceTxs) (*ReplySignRawTx, error)
- func (*UnimplementedChain33Server) CreateRawTransaction(ctx context.Context, req *CreateTx) (*UnsignTx, error)
- func (*UnimplementedChain33Server) CreateRawTxGroup(ctx context.Context, req *CreateTransactionGroup) (*UnsignTx, error)
- func (*UnimplementedChain33Server) CreateTransaction(ctx context.Context, req *CreateTxIn) (*UnsignTx, error)
- func (*UnimplementedChain33Server) DumpPrivkey(ctx context.Context, req *ReqString) (*ReplyString, error)
- func (*UnimplementedChain33Server) DumpPrivkeysFile(ctx context.Context, req *ReqPrivkeysFile) (*Reply, error)
- func (*UnimplementedChain33Server) ExecWallet(ctx context.Context, req *ChainExecutor) (*Reply, error)
- func (*UnimplementedChain33Server) GenSeed(ctx context.Context, req *GenSeedLang) (*ReplySeed, error)
- func (*UnimplementedChain33Server) GetAccount(ctx context.Context, req *ReqGetAccount) (*WalletAccount, error)
- func (*UnimplementedChain33Server) GetAccounts(ctx context.Context, req *ReqNil) (*WalletAccounts, error)
- func (*UnimplementedChain33Server) GetAddrOverview(ctx context.Context, req *ReqAddr) (*AddrOverview, error)
- func (*UnimplementedChain33Server) GetAllExecBalance(ctx context.Context, req *ReqAllExecBalance) (*AllExecBalance, error)
- func (*UnimplementedChain33Server) GetBalance(ctx context.Context, req *ReqBalance) (*Accounts, error)
- func (*UnimplementedChain33Server) GetBlockByHashes(ctx context.Context, req *ReqHashes) (*BlockDetails, error)
- func (*UnimplementedChain33Server) GetBlockBySeq(ctx context.Context, req *Int64) (*BlockSeq, error)
- func (*UnimplementedChain33Server) GetBlockHash(ctx context.Context, req *ReqInt) (*ReplyHash, error)
- func (*UnimplementedChain33Server) GetBlockOverview(ctx context.Context, req *ReqHash) (*BlockOverview, error)
- func (*UnimplementedChain33Server) GetBlocks(ctx context.Context, req *ReqBlocks) (*Reply, error)
- func (*UnimplementedChain33Server) GetFatalFailure(ctx context.Context, req *ReqNil) (*Int32, error)
- func (*UnimplementedChain33Server) GetFork(ctx context.Context, req *ReqKey) (*Int64, error)
- func (*UnimplementedChain33Server) GetHeaders(ctx context.Context, req *ReqBlocks) (*Headers, error)
- func (*UnimplementedChain33Server) GetHexTxByHash(ctx context.Context, req *ReqHash) (*HexTx, error)
- func (*UnimplementedChain33Server) GetLastBlockSequence(ctx context.Context, req *ReqNil) (*Int64, error)
- func (*UnimplementedChain33Server) GetLastHeader(ctx context.Context, req *ReqNil) (*Header, error)
- func (*UnimplementedChain33Server) GetLastMemPool(ctx context.Context, req *ReqNil) (*ReplyTxList, error)
- func (*UnimplementedChain33Server) GetMemPool(ctx context.Context, req *ReqGetMempool) (*ReplyTxList, error)
- func (*UnimplementedChain33Server) GetParaTxByHeight(ctx context.Context, req *ReqParaTxByHeight) (*ParaTxDetails, error)
- func (*UnimplementedChain33Server) GetParaTxByTitle(ctx context.Context, req *ReqParaTxByTitle) (*ParaTxDetails, error)
- func (*UnimplementedChain33Server) GetPeerInfo(ctx context.Context, req *P2PGetPeerReq) (*PeerList, error)
- func (*UnimplementedChain33Server) GetProperFee(ctx context.Context, req *ReqProperFee) (*ReplyProperFee, error)
- func (*UnimplementedChain33Server) GetSeed(ctx context.Context, req *GetSeedByPw) (*ReplySeed, error)
- func (*UnimplementedChain33Server) GetSequenceByHash(ctx context.Context, req *ReqHash) (*Int64, error)
- func (*UnimplementedChain33Server) GetServerTime(ctx context.Context, req *ReqNil) (*ServerTime, error)
- func (*UnimplementedChain33Server) GetTransactionByAddr(ctx context.Context, req *ReqAddr) (*ReplyTxInfos, error)
- func (*UnimplementedChain33Server) GetTransactionByHashes(ctx context.Context, req *ReqHashes) (*TransactionDetails, error)
- func (*UnimplementedChain33Server) GetWalletStatus(ctx context.Context, req *ReqNil) (*WalletStatus, error)
- func (*UnimplementedChain33Server) ImportPrivkey(ctx context.Context, req *ReqWalletImportPrivkey) (*WalletAccount, error)
- func (*UnimplementedChain33Server) ImportPrivkeysFile(ctx context.Context, req *ReqPrivkeysFile) (*Reply, error)
- func (*UnimplementedChain33Server) IsNtpClockSync(ctx context.Context, req *ReqNil) (*Reply, error)
- func (*UnimplementedChain33Server) IsSync(ctx context.Context, req *ReqNil) (*Reply, error)
- func (*UnimplementedChain33Server) LoadParaTxByTitle(ctx context.Context, req *ReqHeightByTitle) (*ReplyHeightByTitle, error)
- func (*UnimplementedChain33Server) Lock(ctx context.Context, req *ReqNil) (*Reply, error)
- func (*UnimplementedChain33Server) MergeBalance(ctx context.Context, req *ReqWalletMergeBalance) (*ReplyHashes, error)
- func (*UnimplementedChain33Server) NetInfo(ctx context.Context, req *P2PGetNetInfoReq) (*NodeNetInfo, error)
- func (*UnimplementedChain33Server) NewAccount(ctx context.Context, req *ReqNewAccount) (*WalletAccount, error)
- func (*UnimplementedChain33Server) QueryChain(ctx context.Context, req *ChainExecutor) (*Reply, error)
- func (*UnimplementedChain33Server) QueryConsensus(ctx context.Context, req *ChainExecutor) (*Reply, error)
- func (*UnimplementedChain33Server) QueryRandNum(ctx context.Context, req *ReqRandHash) (*ReplyHash, error)
- func (*UnimplementedChain33Server) QueryTransaction(ctx context.Context, req *ReqHash) (*TransactionDetail, error)
- func (*UnimplementedChain33Server) SaveSeed(ctx context.Context, req *SaveSeedByPw) (*Reply, error)
- func (*UnimplementedChain33Server) SendToAddress(ctx context.Context, req *ReqWalletSendToAddress) (*ReplyHash, error)
- func (*UnimplementedChain33Server) SendTransaction(ctx context.Context, req *Transaction) (*Reply, error)
- func (*UnimplementedChain33Server) SendTransactionSync(ctx context.Context, req *Transaction) (*Reply, error)
- func (*UnimplementedChain33Server) SetLabl(ctx context.Context, req *ReqWalletSetLabel) (*WalletAccount, error)
- func (*UnimplementedChain33Server) SetPasswd(ctx context.Context, req *ReqWalletSetPasswd) (*Reply, error)
- func (*UnimplementedChain33Server) SetTxFee(ctx context.Context, req *ReqWalletSetFee) (*Reply, error)
- func (*UnimplementedChain33Server) SignRawTx(ctx context.Context, req *ReqSignRawTx) (*ReplySignRawTx, error)
- func (*UnimplementedChain33Server) UnLock(ctx context.Context, req *WalletUnLock) (*Reply, error)
- func (*UnimplementedChain33Server) Version(ctx context.Context, req *ReqNil) (*VersionInfo, error)
- func (*UnimplementedChain33Server) WalletTransactionList(ctx context.Context, req *ReqWalletTransactionList) (*WalletTxDetails, error)
- type UnimplementedP2PgserviceServer
- func (*UnimplementedP2PgserviceServer) BroadCastBlock(ctx context.Context, req *P2PBlock) (*Reply, error)
- func (*UnimplementedP2PgserviceServer) BroadCastTx(ctx context.Context, req *P2PTx) (*Reply, error)
- func (*UnimplementedP2PgserviceServer) CollectInPeers(ctx context.Context, req *P2PPing) (*PeerList, error)
- func (*UnimplementedP2PgserviceServer) CollectInPeers2(ctx context.Context, req *P2PPing) (*PeersReply, error)
- func (*UnimplementedP2PgserviceServer) GetAddr(ctx context.Context, req *P2PGetAddr) (*P2PAddr, error)
- func (*UnimplementedP2PgserviceServer) GetAddrList(ctx context.Context, req *P2PGetAddr) (*P2PAddrList, error)
- func (*UnimplementedP2PgserviceServer) GetBlocks(ctx context.Context, req *P2PGetBlocks) (*P2PInv, error)
- func (*UnimplementedP2PgserviceServer) GetData(req *P2PGetData, srv P2Pgservice_GetDataServer) error
- func (*UnimplementedP2PgserviceServer) GetHeaders(ctx context.Context, req *P2PGetHeaders) (*P2PHeaders, error)
- func (*UnimplementedP2PgserviceServer) GetMemPool(ctx context.Context, req *P2PGetMempool) (*P2PInv, error)
- func (*UnimplementedP2PgserviceServer) GetPeerInfo(ctx context.Context, req *P2PGetPeerInfo) (*P2PPeerInfo, error)
- func (*UnimplementedP2PgserviceServer) Ping(ctx context.Context, req *P2PPing) (*P2PPong, error)
- func (*UnimplementedP2PgserviceServer) ServerStreamRead(srv P2Pgservice_ServerStreamReadServer) error
- func (*UnimplementedP2PgserviceServer) ServerStreamSend(req *P2PPing, srv P2Pgservice_ServerStreamSendServer) error
- func (*UnimplementedP2PgserviceServer) SoftVersion(ctx context.Context, req *P2PPing) (*Reply, error)
- func (*UnimplementedP2PgserviceServer) Version(ctx context.Context, req *P2PVersion) (*P2PVerAck, error)
- func (*UnimplementedP2PgserviceServer) Version2(ctx context.Context, req *P2PVersion) (*P2PVersion, error)
- type UnsignTx
- func (*UnsignTx) Descriptor() ([]byte, []int)
- func (m *UnsignTx) GetData() []byte
- func (*UnsignTx) ProtoMessage()
- func (m *UnsignTx) Reset()
- func (m *UnsignTx) String() string
- func (m *UnsignTx) XXX_DiscardUnknown()
- func (m *UnsignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnsignTx) XXX_Merge(src proto.Message)
- func (m *UnsignTx) XXX_Size() int
- func (m *UnsignTx) XXX_Unmarshal(b []byte) error
- type UpgradeMeta
- func (*UpgradeMeta) Descriptor() ([]byte, []int)
- func (m *UpgradeMeta) GetHeight() int64
- func (m *UpgradeMeta) GetStarting() bool
- func (m *UpgradeMeta) GetVersion() string
- func (*UpgradeMeta) ProtoMessage()
- func (m *UpgradeMeta) Reset()
- func (m *UpgradeMeta) String() string
- func (m *UpgradeMeta) XXX_DiscardUnknown()
- func (m *UpgradeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeMeta) XXX_Merge(src proto.Message)
- func (m *UpgradeMeta) XXX_Size() int
- func (m *UpgradeMeta) XXX_Unmarshal(b []byte) error
- type UserWrite
- func (*UserWrite) Descriptor() ([]byte, []int)
- func (m *UserWrite) GetContent() string
- func (m *UserWrite) GetTopic() string
- func (*UserWrite) ProtoMessage()
- func (m *UserWrite) Reset()
- func (m *UserWrite) String() string
- func (m *UserWrite) XXX_DiscardUnknown()
- func (m *UserWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserWrite) XXX_Merge(src proto.Message)
- func (m *UserWrite) XXX_Size() int
- func (m *UserWrite) XXX_Unmarshal(b []byte) error
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)
- func (m *VersionInfo) GetApp() string
- func (m *VersionInfo) GetChain33() string
- func (m *VersionInfo) GetChainID() int32
- func (m *VersionInfo) GetLocalDb() string
- func (m *VersionInfo) GetTitle() string
- func (*VersionInfo) ProtoMessage()
- func (m *VersionInfo) Reset()
- func (m *VersionInfo) String() string
- func (m *VersionInfo) XXX_DiscardUnknown()
- func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionInfo) XXX_Merge(src proto.Message)
- func (m *VersionInfo) XXX_Size() int
- func (m *VersionInfo) XXX_Unmarshal(b []byte) error
- type Versions
- func (*Versions) Descriptor() ([]byte, []int)
- func (m *Versions) GetP2Pversion() int32
- func (m *Versions) GetPeername() string
- func (m *Versions) GetSoftversion() string
- func (*Versions) ProtoMessage()
- func (m *Versions) Reset()
- func (m *Versions) String() string
- func (m *Versions) XXX_DiscardUnknown()
- func (m *Versions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Versions) XXX_Merge(src proto.Message)
- func (m *Versions) XXX_Size() int
- func (m *Versions) XXX_Unmarshal(b []byte) error
- type ViewChange
- func (*ViewChange) Descriptor() ([]byte, []int)
- func (m *ViewChange) GetDigest() []byte
- func (m *ViewChange) GetViewchanger() uint32
- func (*ViewChange) ProtoMessage()
- func (m *ViewChange) Reset()
- func (m *ViewChange) String() string
- func (m *ViewChange) XXX_DiscardUnknown()
- func (m *ViewChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewChange) XXX_Merge(src proto.Message)
- func (m *ViewChange) XXX_Size() int
- func (m *ViewChange) XXX_Unmarshal(b []byte) error
- type Wallet
- type WalletAccount
- func (*WalletAccount) Descriptor() ([]byte, []int)
- func (m *WalletAccount) GetAcc() *Account
- func (m *WalletAccount) GetLabel() string
- func (*WalletAccount) ProtoMessage()
- func (m *WalletAccount) Reset()
- func (m *WalletAccount) String() string
- func (m *WalletAccount) XXX_DiscardUnknown()
- func (m *WalletAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletAccount) XXX_Merge(src proto.Message)
- func (m *WalletAccount) XXX_Size() int
- func (m *WalletAccount) XXX_Unmarshal(b []byte) error
- type WalletAccountStore
- func (*WalletAccountStore) Descriptor() ([]byte, []int)
- func (m *WalletAccountStore) GetAddr() string
- func (m *WalletAccountStore) GetLabel() string
- func (m *WalletAccountStore) GetPrivkey() string
- func (m *WalletAccountStore) GetTimeStamp() string
- func (*WalletAccountStore) ProtoMessage()
- func (m *WalletAccountStore) Reset()
- func (m *WalletAccountStore) String() string
- func (m *WalletAccountStore) XXX_DiscardUnknown()
- func (m *WalletAccountStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletAccountStore) XXX_Merge(src proto.Message)
- func (m *WalletAccountStore) XXX_Size() int
- func (m *WalletAccountStore) XXX_Unmarshal(b []byte) error
- type WalletAccounts
- func (*WalletAccounts) Descriptor() ([]byte, []int)
- func (m *WalletAccounts) GetWallets() []*WalletAccount
- func (*WalletAccounts) ProtoMessage()
- func (m *WalletAccounts) Reset()
- func (m *WalletAccounts) String() string
- func (m *WalletAccounts) XXX_DiscardUnknown()
- func (m *WalletAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletAccounts) XXX_Merge(src proto.Message)
- func (m *WalletAccounts) XXX_Size() int
- func (m *WalletAccounts) XXX_Unmarshal(b []byte) error
- type WalletPwHash
- func (*WalletPwHash) Descriptor() ([]byte, []int)
- func (m *WalletPwHash) GetPwHash() []byte
- func (m *WalletPwHash) GetRandstr() string
- func (*WalletPwHash) ProtoMessage()
- func (m *WalletPwHash) Reset()
- func (m *WalletPwHash) String() string
- func (m *WalletPwHash) XXX_DiscardUnknown()
- func (m *WalletPwHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletPwHash) XXX_Merge(src proto.Message)
- func (m *WalletPwHash) XXX_Size() int
- func (m *WalletPwHash) XXX_Unmarshal(b []byte) error
- type WalletStatus
- func (*WalletStatus) Descriptor() ([]byte, []int)
- func (m *WalletStatus) GetIsAutoMining() bool
- func (m *WalletStatus) GetIsHasSeed() bool
- func (m *WalletStatus) GetIsTicketLock() bool
- func (m *WalletStatus) GetIsWalletLock() bool
- func (*WalletStatus) ProtoMessage()
- func (m *WalletStatus) Reset()
- func (m *WalletStatus) String() string
- func (m *WalletStatus) XXX_DiscardUnknown()
- func (m *WalletStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletStatus) XXX_Merge(src proto.Message)
- func (m *WalletStatus) XXX_Size() int
- func (m *WalletStatus) XXX_Unmarshal(b []byte) error
- type WalletTxDetail
- func (*WalletTxDetail) Descriptor() ([]byte, []int)
- func (m *WalletTxDetail) GetActionName() string
- func (m *WalletTxDetail) GetAmount() int64
- func (m *WalletTxDetail) GetBlocktime() int64
- func (m *WalletTxDetail) GetFromaddr() string
- func (m *WalletTxDetail) GetHeight() int64
- func (m *WalletTxDetail) GetIndex() int64
- func (m *WalletTxDetail) GetPayload() []byte
- func (m *WalletTxDetail) GetReceipt() *ReceiptData
- func (m *WalletTxDetail) GetTx() *Transaction
- func (m *WalletTxDetail) GetTxhash() []byte
- func (*WalletTxDetail) ProtoMessage()
- func (m *WalletTxDetail) Reset()
- func (m *WalletTxDetail) String() string
- func (m *WalletTxDetail) XXX_DiscardUnknown()
- func (m *WalletTxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletTxDetail) XXX_Merge(src proto.Message)
- func (m *WalletTxDetail) XXX_Size() int
- func (m *WalletTxDetail) XXX_Unmarshal(b []byte) error
- type WalletTxDetails
- func (*WalletTxDetails) Descriptor() ([]byte, []int)
- func (m *WalletTxDetails) GetTxDetails() []*WalletTxDetail
- func (*WalletTxDetails) ProtoMessage()
- func (m *WalletTxDetails) Reset()
- func (m *WalletTxDetails) String() string
- func (m *WalletTxDetails) XXX_DiscardUnknown()
- func (m *WalletTxDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletTxDetails) XXX_Merge(src proto.Message)
- func (m *WalletTxDetails) XXX_Size() int
- func (m *WalletTxDetails) XXX_Unmarshal(b []byte) error
- type WalletUnLock
- func (*WalletUnLock) Descriptor() ([]byte, []int)
- func (m *WalletUnLock) GetPasswd() string
- func (m *WalletUnLock) GetTimeout() int64
- func (m *WalletUnLock) GetWalletOrTicket() bool
- func (*WalletUnLock) ProtoMessage()
- func (m *WalletUnLock) Reset()
- func (m *WalletUnLock) String() string
- func (m *WalletUnLock) XXX_DiscardUnknown()
- func (m *WalletUnLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WalletUnLock) XXX_Merge(src proto.Message)
- func (m *WalletUnLock) XXX_Size() int
- func (m *WalletUnLock) XXX_Unmarshal(b []byte) error
Constants ¶
const ( Coin int64 = 1e8 MaxCoin int64 = 1e17 MaxTxSize = 100000 //100K MaxTxGroupSize int32 = 20 MaxBlockSize = 20000000 //20M MaxTxsPerBlock = 100000 TokenPrecision int64 = 1e8 MaxTokenBalance int64 = 900 * 1e8 * TokenPrecision //900亿 DefaultMinFee int64 = 1e5 )
coin conversation
const ( UserKeyX = "user." ParaKeyX = "user.p." NoneX = "none" )
UserKeyX 用户自定义执行器前缀字符串
const ( InputPrecision float64 = 1e4 Multiple1E4 int64 = 1e4 BTY = "BTY" TxGroupMaxCount = 20 MinerAction = "miner" Int1E4 int64 = 10000 Float1E4 float64 = 10000.0 AirDropMinIndex uint32 = 100000000 //通过钱包的seed生成一个空投地址,最小index索引 AirDropMaxIndex uint32 = 101000000 //通过钱包的seed生成一个空投地址,最大index索引 MaxBlockCountPerTime int64 = 1000 //从数据库中一次性获取block的最大数 1000个 MaxBlockSizePerTime = 100 * 1024 * 1024 //从数据库中一次性获取block的最大size100M AddBlock int64 = 1 DelBlock int64 = 2 MainChainName = "main" MaxHeaderCountPerTime int64 = 10000 //从数据库中一次性获取header的最大数 10000个 )
基本全局常量定义
ty = 1 -> secp256k1 ty = 2 -> ed25519 ty = 3 -> sm2 ty = 4 -> onetimeed25519 ty = 5 -> RingBaseonED25519 ty = 1+offset(1<<8) ->auth_ecdsa ty = 2+offset(1<<8) -> auth_sm2
const ( TyLogReserved = 0 TyLogErr = 1 TyLogFee = 2 //TyLogTransfer coins TyLogTransfer = 3 TyLogGenesis = 4 TyLogDeposit = 5 TyLogExecTransfer = 6 TyLogExecWithdraw = 7 TyLogExecDeposit = 8 TyLogExecFrozen = 9 TyLogExecActive = 10 TyLogGenesisTransfer = 11 TyLogGenesisDeposit = 12 TyLogRollback = 13 TyLogMint = 14 TyLogBurn = 15 )
log type
const ( ExecErr = 0 ExecPack = 1 ExecOk = 2 )
exec type
const ( EventTx = 1 EventGetBlocks = 2 EventBlocks = 3 EventGetBlockHeight = 4 EventReplyBlockHeight = 5 EventQueryTx = 6 EventTransactionDetail = 7 EventReply = 8 EventTxBroadcast = 9 EventPeerInfo = 10 EventTxList = 11 EventReplyTxList = 12 EventAddBlock = 13 EventBlockBroadcast = 14 EventFetchBlocks = 15 EventAddBlocks = 16 EventTxHashList = 17 EventTxHashListReply = 18 EventGetHeaders = 19 EventHeaders = 20 EventGetMempoolSize = 21 EventMempoolSize = 22 EventStoreGet = 23 EventStoreSet = 24 EventStoreGetReply = 25 EventStoreSetReply = 26 EventReceipts = 27 EventExecTxList = 28 EventPeerList = 29 EventGetLastHeader = 30 EventHeader = 31 EventAddBlockDetail = 32 EventGetMempool = 33 EventGetTransactionByAddr = 34 EventGetTransactionByHash = 35 EventReplyTxInfo = 36 EventWalletAccountList = 38 EventWalletAccount = 40 EventWalletExecutor = 42 EventStoreDel = 47 EventReplyHashes = 49 EventTransactionDetails = 53 EventBroadcastAddBlock = 54 EventGetBlockOverview = 55 EventGetAddrOverview = 56 EventReplyBlockOverview = 57 EventReplyAddrOverview = 58 EventGetBlockHash = 59 EventBlockHash = 60 EventGetLastMempool = 61 EventMinerStart = 63 EventMinerStop = 64 EventWalletTickets = 65 EventStoreMemSet = 66 EventStoreRollback = 67 EventStoreCommit = 68 EventCheckBlock = 69 //seed EventReplyGenSeed = 71 EventReplyGetSeed = 74 EventDelBlock = 75 //local store EventLocalGet = 76 EventLocalReplyValue = 77 EventLocalList = 78 EventLocalSet = 79 EventCheckTx = 81 EventReceiptCheckTx = 82 EventReplyQuery = 84 EventSubscribePush = 85 EventFetchBlockHeaders = 86 EventAddBlockHeaders = 87 EventReplyWalletStatus = 89 EventGetLastBlock = 90 EventBlock = 91 EventGetTicketCount = 92 EventReplyGetTicketCount = 93 EventReplyPrivkey = 95 EventIsSync = 96 EventReplyIsSync = 97 EventCloseTickets = 98 EventGetAddrTxs = 99 EventReplyAddrTxs = 100 EventIsNtpClockSync = 101 EventReplyIsNtpClockSync = 102 EventDelTxList = 103 EventStoreGetTotalCoins = 104 EventGetTotalCoinsReply = 105 EventQueryTotalFee = 106 EventReplySignRawTx = 108 EventSyncBlock = 109 EventGetNetInfo = 110 EventReplyNetInfo = 111 EventReplyFatalFailure = 114 EventBindMiner = 115 EventReplyBindMiner = 116 EventDecodeRawTx = 117 EventReplyDecodeRawTx = 118 EventGetLastBlockSequence = 119 EventReplyLastBlockSequence = 120 EventGetBlockSequences = 121 EventReplyBlockSequences = 122 EventGetBlockByHashes = 123 EventReplyBlockDetailsBySeqs = 124 EventDelParaChainBlockDetail = 125 EventAddParaChainBlockDetail = 126 EventGetSeqByHash = 127 EventLocalPrefixCount = 128 EventStoreList = 130 EventStoreListReply = 131 EventListPushes = 132 EventGetPushLastNum = 133 EventGetBlockBySeq = 134 EventLocalBegin = 135 EventLocalCommit = 136 EventLocalRollback = 137 EventLocalNew = 138 EventLocalClose = 139 //mempool EventGetProperFee = 140 EventReplyProperFee = 141 EventReExecBlock = 142 EventTxListByHash = 143 //exec EventBlockChainQuery = 212 EventConsensusQuery = 213 EventUpgrade = 214 // BlockChain 接收的事件 EventGetLastBlockMainSequence = 300 EventReplyLastBlockMainSequence = 301 EventGetMainSeqByHash = 302 EventReplyMainSeqByHash = 303 //其他模块读写blockchain db事件 EventSetValueByKey = 304 EventGetValueByKey = 305 //通过平行链title获取平行链的交易 EventGetParaTxByTitle = 306 EventReplyParaTxByTitle = 307 //获取拥有此title交易的区块高度 EventGetHeightByTitle = 308 EventReplyHeightByTitle = 309 //通过区块高度列表+title获取平行链交易 EventGetParaTxByTitleAndHeight = 310 //比较当前区块和新广播的区块最优区块 EventCmpBestBlock = 311 EventReplySubscribePush = 312 // 通知其它节点进行数据归档存储 EventNotifyStoreChunk = 313 // 获取chunkBlock数据 EventGetChunkBlock = 314 // 添加addChunkBlock EventAddChunkBlock = 315 // 获取chunkBody数据 EventGetChunkBlockBody = 316 // 获取ChunkRecord EventGetChunkRecord = 317 // 添加ChunkRecord EventAddChunkRecord = 318 //p2p 其他接收事件 EventSubTopic = 350 EventPubTopicMsg = 351 EventFetchTopics = 352 EventRemoveTopic = 353 EventReceiveSubData = 355 EventNetProtocols = 356 //检测mempool是否存在该交易 EventCheckTxsExist = 357 //delete para blocks EventDeleteParaBlocks = 358 )
event
const (
DefaultCoinsSymbol = "bty"
)
DefaultCoinsSymbol 默认的主币名称
const MaxHeight = 10000000000000000
MaxHeight 出于forks 过程安全的考虑,比如代码更新,出现了新的fork,旧的链只要不明确指定 fork的高度,那么默认fork高度为 MaxHeight 也就是新的代码默认不会被启用,直到使用的人明确指定了fork的高度
const Size1Kshiftlen uint = 10
Size1Kshiftlen tx消息大小1k
Variables ¶
var ( AllowUserExec = [][]byte{ExecerNone} EmptyValue = []byte("FFFFFFFFemptyBVBiCj5jvE15pEiwro8TQRGnJSNsJF") //这字符串表示数据库中的空值 )
区块链共识相关的参数,重要参数不要随便修改
var ( UserKey = []byte(UserKeyX) ParaKey = []byte(ParaKeyX) ExecerNone = []byte(NoneX) )
UserKeyX 用户自定义执行器前缀byte类型
var ( ErrSequenceNotMatch = errors.New("ErrSequenceNotMatch") ErrSequenceTooBig = errors.New("ErrSequenceTooBig") ErrTooManySeqCB = errors.New("ErrTooManySeqCB") ErrPushSeqPostData = errors.New("ErrPushSeqPostData") ErrMethodReturnType = errors.New("ErrMethodReturnType") ErrMethodNotFound = errors.New("ErrMethodNotFound") ErrExecBlockNil = errors.New("ErrExecBlockNil") ErrNotAllow = errors.New("ErrNotAllow") ErrCanOnlyDelTopVersion = errors.New("ErrCanOnlyDelTopVersion") ErrPrevVersion = errors.New("ErrPrevVersion") ErrNoExecerInMavlKey = errors.New("ErrNoExecerInMavlKey") ErrMavlKeyNotStartWithMavl = errors.New("ErrMavlKeyNotStartWithMavl") ErrNotFound = errors.New("ErrNotFound") ErrBlockExec = errors.New("ErrBlockExec") ErrCheckStateHash = errors.New("ErrCheckStateHash") ErrCheckTxHash = errors.New("ErrCheckTxHash") ErrReRunGenesis = errors.New("ErrReRunGenesis") ErrActionNotSupport = errors.New("ErrActionNotSupport") ErrQueryNotSupport = errors.New("ErrQueryNotSupport") ErrAmount = errors.New("ErrAmount") ErrMinerIsStared = errors.New("ErrMinerIsStared") ErrMinerNotStared = errors.New("ErrMinerNotStared") ErrMinerNotClosed = errors.New("ErrMinerNotClosed") ErrNoPeer = errors.New("ErrNoPeer") ErrExecNameNotMatch = errors.New("ErrExecNameNotMatch") ErrChannelClosed = errors.New("ErrChannelClosed") ErrNotMinered = errors.New("ErrNotMinered") ErrFromAddr = errors.New("ErrFromAddr") ErrBlockHeight = errors.New("ErrBlockHeight") ErrBlockTime = errors.New("ErrBlockTime") ErrCoinBaseExecer = errors.New("ErrCoinBaseExecer") ErrCoinBaseTxType = errors.New("ErrCoinBaseTxType") ErrCoinBaseExecErr = errors.New("ErrCoinBaseExecErr") ErrCoinBaseTarget = errors.New("ErrCoinBaseTarget") ErrCoinbaseReward = errors.New("ErrCoinbaseReward") ErrNotAllowDeposit = errors.New("ErrNotAllowDeposit") ErrCoinBaseIndex = errors.New("ErrCoinBaseIndex") ErrCoinBaseTicketStatus = errors.New("ErrCoinBaseTicketStatus") ErrBlockNotFound = errors.New("ErrBlockNotFound") ErrLogType = errors.New("ErrLogType") ErrInvalidParam = errors.New("ErrInvalidParam") ErrInvalidExpire = errors.New("ErrInvalidExpire") ErrInvalidAddress = errors.New("ErrInvalidAddress") ErrNotInited = errors.New("ErrNotInited") ErrStartBigThanEnd = errors.New("ErrStartBigThanEnd") ErrToAddrNotSameToExecAddr = errors.New("ErrToAddrNotSameToExecAddr") ErrTypeAsset = errors.New("ErrTypeAsset") ErrEmpty = errors.New("ErrEmpty") ErrIsClosed = errors.New("ErrIsClosed") ErrSendSameToRecv = errors.New("ErrSendSameToRecv") ErrExecNameNotAllow = errors.New("ErrExecNameNotAllow") ErrExecNotFound = errors.New("ErrExecNotFound") ErrLocalDBPerfix = errors.New("ErrLocalDBPerfix") ErrBlockHeaderDifficulty = errors.New("ErrBlockHeaderDifficulty") ErrNoTx = errors.New("ErrNoTx") ErrTxExist = errors.New("ErrTxExist") ErrManyTx = errors.New("ErrManyTx") ErrDupTx = errors.New("ErrDupTx") ErrMemFull = errors.New("ErrMemFull") ErrNoBalance = errors.New("ErrNoBalance") ErrBalanceLessThanTenTimesFee = errors.New("ErrBalanceLessThanTenTimesFee") ErrTxExpire = errors.New("ErrTxExpire") ErrHeaderNotSet = errors.New("ErrHeaderNotSet") ErrSign = errors.New("ErrSign") ErrCertificate = errors.New("ErrCertificate") ErrFeeTooLow = errors.New("ErrFeeTooLow") ErrEmptyTx = errors.New("ErrEmptyTx") ErrTxFeeTooLow = errors.New("ErrTxFeeTooLow") ErrTxFeeTooHigh = errors.New("ErrTxFeeTooHigh") ErrTxMsgSizeTooBig = errors.New("ErrTxMsgSizeTooBig") ErrFutureBlock = errors.New("ErrFutureBlock") ErrHashNotFound = errors.New("ErrHashNotFound") ErrTxDup = errors.New("ErrTxDup") ErrNotSync = errors.New("ErrNotSync") ErrSize = errors.New("ErrSize") // ErrHashNotExist BlockChain Error Types ErrHashNotExist = errors.New("ErrHashNotExist") ErrHeightNotExist = errors.New("ErrHeightNotExist") ErrTxNotExist = errors.New("ErrTxNotExist") ErrAddrNotExist = errors.New("ErrAddrNotExist") ErrStartHeight = errors.New("ErrStartHeight") ErrEndLessThanStartHeight = errors.New("ErrEndLessThanStartHeight") ErrClientNotBindQueue = errors.New("ErrClientNotBindQueue") ErrContinueBack = errors.New("ErrContinueBack") ErrUnmarshal = errors.New("ErrUnmarshal") ErrMarshal = errors.New("ErrMarshal") ErrBlockExist = errors.New("ErrBlockExist") ErrParentBlockNoExist = errors.New("ErrParentBlockNoExist") ErrBlockHeightNoMatch = errors.New("ErrBlockHeightNoEqual") ErrParentTdNoExist = errors.New("ErrParentTdNoExist") ErrBlockHashNoMatch = errors.New("ErrBlockHashNoMatch") ErrDecode = errors.New("ErrDecode") ErrNotRollBack = errors.New("ErrNotRollBack") ErrPeerInfoIsNil = errors.New("ErrPeerInfoIsNil") //ErrWalletIsLocked wallet ErrWalletIsLocked = errors.New("ErrWalletIsLocked") ErrSaveSeedFirst = errors.New("ErrSaveSeedFirst") ErrUnLockFirst = errors.New("ErrUnLockFirst") ErrLabelHasUsed = errors.New("ErrLabelHasUsed") ErrPrivkeyExist = errors.New("ErrPrivkeyExist") ErrPrivkey = errors.New("ErrPrivkey") ErrInsufficientBalance = errors.New("ErrInsufficientBalance") ErrInsufficientTokenBal = errors.New("ErrInsufficientTokenBalance") ErrInsuffSellOrder = errors.New("ErrInsufficientSellOrder2buy") ErrVerifyOldpasswdFail = errors.New("ErrVerifyOldpasswdFail") ErrInputPassword = errors.New("ErrInputPassword") ErrSeedlang = errors.New("ErrSeedlang") ErrSeedNotExist = errors.New("ErrSeedNotExist") ErrSubPubKeyVerifyFail = errors.New("ErrSubPubKeyVerifyFail") ErrLabelNotExist = errors.New("ErrLabelNotExist") ErrAccountNotExist = errors.New("ErrAccountNotExist") ErrSeedExist = errors.New("ErrSeedExist") ErrNotSupport = errors.New("ErrNotSupport") ErrSeedWordNum = errors.New("ErrSeedWordNum") ErrPubKeyLen = errors.New("ErrPublicKeyLen") ErrPrivateKeyLen = errors.New("ErrPrivateKeyLen") ErrSeedWord = errors.New("ErrSeedWord") ErrNoPrivKeyOrAddr = errors.New("ErrNoPrivKeyOrAddr") ErrNewWalletFromSeed = errors.New("ErrNewWalletFromSeed") ErrNewKeyPair = errors.New("ErrNewKeyPair") ErrPrivkeyToPub = errors.New("ErrPrivkeyToPub") ErrOnlyTicketUnLocked = errors.New("ErrOnlyTicketUnLocked") ErrNewCrypto = errors.New("ErrNewCrypto") ErrFromHex = errors.New("ErrFromHex") ErrPrivKeyFromBytes = errors.New("ErrFromHex") ErrParentHash = errors.New("ErrParentHash") ErrInvalidPassWord = errors.New("ErrInvalidPassWord") //ErrPing p2p模块错误类型 ErrPing = errors.New("ErrPingSignature") ErrVersion = errors.New("ErrVersionNoSupport") ErrStreamPing = errors.New("ErrStreamPing") ErrPeerStop = errors.New("ErrPeerStop") ErrP2PChannel = errors.New("ErrIllegalP2PChannel") ErrBlockSize = errors.New("ErrBlockSize") ErrTxGroupIndex = errors.New("ErrTxGroupIndex") ErrTxGroupFormat = errors.New("ErrTxGroupFormat") ErrTxGroupCountLessThanTwo = errors.New("ErrTxGroupCountLessThanTwo") ErrTxGroupHeader = errors.New("ErrTxGroupHeader") ErrTxGroupNext = errors.New("ErrTxGroupNext") ErrTxGroupCountBigThanMaxSize = errors.New("ErrTxGroupCountBigThanMaxSize") ErrTxGroupEmpty = errors.New("ErrTxGroupEmpty") ErrTxGroupCount = errors.New("ErrTxGroupCount") ErrTxGroupFeeNotZero = errors.New("ErrTxGroupFeeNotZero") ErrNomalTx = errors.New("ErrNomalTx") ErrUnknowDriver = errors.New("ErrUnknowDriver") ErrUnRegistedDriver = errors.New("ErrUnRegistedDriver") ErrSymbolNameNotAllow = errors.New("ErrSymbolNameNotAllow") ErrTxGroupNotSupport = errors.New("ErrTxGroupNotSupport") ErrNotAllowKey = errors.New("ErrNotAllowKey") ErrNotAllowMemSetKey = errors.New("ErrNotAllowMemSetKey") ErrNotAllowMemSetLocalKey = errors.New("ErrNotAllowMemSetLocalKey") ErrDataBaseDamage = errors.New("ErrDataBaseDamage") ErrIndex = errors.New("ErrIndex") ErrTxGroupParaCount = errors.New("ErrTxGroupParaCount") ErrTxGroupParaMainMixed = errors.New("ErrTxGroupParaMainMixed") //ErrInvalidMainnetRPCAddr rpc模块的错误类型 ErrInvalidMainnetRPCAddr = errors.New("ErrInvalidMainnetRPCAddr") ErrDBFlag = errors.New("ErrDBFlag") ErrLocalPrefix = errors.New("ErrLocalPrefix") ErrLocalKeyLen = errors.New("ErrLocalKeyLen") //ErrNotSetInTransaction 必须set 在 事务 中 ErrNotSetInTransaction = errors.New("can not set kvs not in transaction") ErrLocalDBTxDupOpen = errors.New("ErrLocalDBTxDupOpen") ErrCloneForkFrom = errors.New("ErrCloneForkFrom") ErrCloneForkToExist = errors.New("ErrCloneForkToExist") ErrQueryThistIsNotSet = errors.New("ErrQueryThistIsNotSet") ErrHeightLessZero = errors.New("ErrHeightLessZero") ErrHeightOverflow = errors.New("ErrHeightOverflow") ErrRecordBlockSequence = errors.New("ErrRecordBlockSequence") ErrExecPanic = errors.New("ErrExecPanic") ErrDisableWrite = errors.New("ErrDisableWrite") ErrDisableRead = errors.New("ErrDisableRead") ErrConsensusHashErr = errors.New("ErrConsensusHashErr") ErrMaxCountPerTime = errors.New("ErrMaxCountPerTime") ErrInValidFileHeader = errors.New("ErrInValidFileHeader") ErrFileExists = errors.New("ErrFileExists") ErrSubscriberExist = errors.New("ErrSubscriberExist") ErrTooManySubscriber = errors.New("ErrTooManySubscriber") ErrPushNotSupport = errors.New("ErrPushNotSupport") ErrNotAllowModifyPush = errors.New("ErrNotAllowModifyPush") ErrTxReceiptReduced = errors.New("ErrTxReceiptReduced") ErrPushNotSubscribed = errors.New("ErrPushNotSubscribed") ErrTxChainID = errors.New("ErrTxChainID") ErrTimeout = errors.New("ErrTimeout") )
chain33定义的错误类型
var ( LocalPrefix = []byte("LODB") FlagTxQuickIndex = []byte("FLAG:FlagTxQuickIndex") FlagKeyMVCC = []byte("FLAG:keyMVCCFlag") TxHashPerfix = []byte("TX:") TxShortHashPerfix = []byte("STX:") TxAddrHash = []byte("TxAddrHash:") TxAddrDirHash = []byte("TxAddrDirHash:") AddrTxsCount = []byte("AddrTxsCount:") ConsensusParaTxsPrefix = []byte("LODBP:Consensus:Para:") //存贮para共识模块从主链拉取的平行链交易 FlagReduceLocaldb = []byte("FLAG:ReduceLocaldb") // 精简版localdb标记 ReduceLocaldbHeight = append(FlagReduceLocaldb, []byte(":H")...) // 精简版localdb高度 )
定义key值
var ConfigPrefix = "mavl-config-"
ConfigPrefix 配置前缀key
var Debug = false
Debug 调试开关
var ExpireBound int64 = 1000000000 // 交易过期分界线,小于expireBound比较height,大于expireBound比较blockTime
ExpireBound 交易过期边界值
var HighAllowPackHeight int64 = 600
HighAllowPackHeight txHeight打包上限高度 eg: currentHeight = 10000 某交易的expire=TxHeightFlag+ currentHeight + 10, 则TxHeight=10010 打包的区块高度必须满足, Height >= TxHeight - LowAllowPackHeight && Height <= TxHeight + HighAllowPackHeight 那么交易可以打包的范围是: 10010 - 100 = 9910 , 10010 + 200 = 10210 (9910,10210) 注意,这两个条件必须同时满足. 关于交易查重: 也就是说,两笔相同的交易必然有相同的expire,即TxHeight相同,以及对应的打包区间一致,只能被打包在这个区间(9910,10210)。 那么检查交易重复的时候,我只要检查 9910 - currentHeight 这个区间的交易是否有重复
var LowAllowPackHeight int64 = 200
LowAllowPackHeight 允许打包的low区块高度
var ManagePrefix = "mavl-"
ManagePrefix 超级管理员账户配置前缀key
var MaxAllowPackInterval int64 = 5000
MaxAllowPackInterval 允许打包的最大区间值
var NtpHosts = []string{
"ntp.aliyun.com:123",
"time1.cloud.tencent.com:123",
"time.ustc.edu.cn:123",
"cn.ntp.org.cn:123",
"time.apple.com:123",
}
NtpHosts ntp hosts
var QueryFunc = NewQueryData("Query_")
QueryFunc support query
var SystemLog = map[int64]*LogInfo{ TyLogReserved: {reflect.TypeOf(LogReserved{}), "LogReserved"}, TyLogErr: {reflect.TypeOf(LogErr{}), "LogErr"}, TyLogFee: {reflect.TypeOf(ReceiptAccountTransfer{}), "LogFee"}, TyLogTransfer: {reflect.TypeOf(ReceiptAccountTransfer{}), "LogTransfer"}, TyLogDeposit: {reflect.TypeOf(ReceiptAccountTransfer{}), "LogDeposit"}, TyLogExecTransfer: {reflect.TypeOf(ReceiptExecAccountTransfer{}), "LogExecTransfer"}, TyLogExecWithdraw: {reflect.TypeOf(ReceiptExecAccountTransfer{}), "LogExecWithdraw"}, TyLogExecDeposit: {reflect.TypeOf(ReceiptExecAccountTransfer{}), "LogExecDeposit"}, TyLogExecFrozen: {reflect.TypeOf(ReceiptExecAccountTransfer{}), "LogExecFrozen"}, TyLogExecActive: {reflect.TypeOf(ReceiptExecAccountTransfer{}), "LogExecActive"}, TyLogGenesisTransfer: {reflect.TypeOf(ReceiptAccountTransfer{}), "LogGenesisTransfer"}, TyLogGenesisDeposit: {reflect.TypeOf(ReceiptAccountTransfer{}), "LogGenesisDeposit"}, TyLogRollback: {reflect.TypeOf(LocalDBSet{}), "LogRollback"}, TyLogMint: {reflect.TypeOf(ReceiptAccountMint{}), "LogMint"}, TyLogBurn: {reflect.TypeOf(ReceiptAccountBurn{}), "LogBurn"}, }
SystemLog 系统log日志
var TxHeightFlag int64 = 1 << 62
TxHeightFlag 标记是一个时间还是一个 TxHeight
Functions ¶
func BuildQueryType ¶
func BuildQueryType(prefix string, methods map[string]reflect.Method) (map[string]reflect.Method, map[string]reflect.Type)
BuildQueryType 构建查询方法
func Bytes2Str ¶ added in v1.65.0
Bytes2Str 高效字节数组转字符串 相比普通直接转化,性能提升35倍,提升程度和转换的byte长度线性相关,且不存在内存开销 需要注意b的修改会导致最终string的变更,比较适合临时变量转换,不适合
func CalcAddrTxsCountKey ¶
CalcAddrTxsCountKey 存储地址参与的交易数量。add时加一,del时减一
func CalcConsensusParaTxsKey ¶
CalcConsensusParaTxsKey 平行链localdb中保存的平行链title对应的交易
func CalcRollbackKey ¶
CalcRollbackKey 计算回滚的key
func CalcTxAddrDirHashKey ¶
CalcTxAddrDirHashKey 用于存储地址相关的hash列表,key=TxAddrHash:addr:flag:height*100000 + index 地址下面某个分类的交易
func CalcTxAddrHashKey ¶
CalcTxAddrHashKey 用于存储地址相关的hash列表,key=TxAddrHash:addr:height*100000 + index 地址下面所有的交易
func CallCreateTx ¶
func CallCreateTx(c *Chain33Config, execName, action string, param Message) ([]byte, error)
CallCreateTx 构造交易信息
func CallCreateTxJSON ¶
func CallCreateTxJSON(c *Chain33Config, execName, action string, param json.RawMessage) ([]byte, error)
CallCreateTxJSON create tx by json
func CallExecNewTx ¶
func CallExecNewTx(c *Chain33Config, execName, action string, param interface{}) ([]byte, error)
CallExecNewTx 重构完成后删除
func CheckConsensusParaTxsKey ¶
CheckConsensusParaTxsKey 检测para共识模块需要操作的平行链交易的key值
func FlatConfig ¶
FlatConfig Flat配置
func FormatTxEncode ¶
func FormatTxEncode(c *Chain33Config, execName string, tx *Transaction) ([]byte, error)
FormatTxEncode 对交易信息编码成byte类型
func GetActionValue ¶
func GetActionValue(action interface{}, funclist map[string]reflect.Method) (vname string, vty int32, v reflect.Value, err error)
GetActionValue 获取执行器的action value
func GetParaExecTitleName ¶
GetParaExecTitleName 如果是平行链执行器,获取对应title
func GetTxHeight ¶
func GetTxHeight(cfg *Chain33Config, valid int64, height int64) int64
GetTxHeight 获取交易高度
func InitCfgString ¶
func InitCfgString(cfgstring string) (*Config, *ConfigSubModule)
InitCfgString 初始化配置
func IsAllowExecName ¶
IsAllowExecName 默认的allow 规则->根据 GetRealExecName 来判断 name 必须大于3 小于 100
func IsAssetsTransfer ¶
func IsAssetsTransfer(payload interface{}) bool
IsAssetsTransfer 是否是资产转移相关的交易
func IsSpecificParaExecName ¶
IsSpecificParaExecName 是否是某一个平行链的执行器
func JSONToPBUTF8 ¶
JSONToPBUTF8 默认解码utf8的字符串成bytes
func ListActionMethod ¶
ListActionMethod list action的所有的方法
func ListMethod ¶
ListMethod list Method
func ListMethodByType ¶
ListMethodByType list Method 通过type类型
func MergeConfig ¶
MergeConfig Merge配置
func ModifySubConfig ¶
ModifySubConfig json data modify
func ParseExpire ¶
ParseExpire parse expire to int from during or height
func RegisterChain33Server ¶
func RegisterChain33Server(s *grpc.Server, srv Chain33Server)
func RegisterP2PgserviceServer ¶
func RegisterP2PgserviceServer(s *grpc.Server, srv P2PgserviceServer)
func RegistorExecutor ¶
func RegistorExecutor(exec string, util ExecutorType)
RegistorExecutor 注册执行器
func SetTimeDelta ¶
func SetTimeDelta(dt int64)
SetTimeDelta realtime - localtime 超过60s 不做修正 为了系统的安全,我们只做小范围时间错误的修复
func Str2Bytes ¶ added in v1.65.0
Str2Bytes 高效字符串转字节数组 相比普通直接转化,性能提升13倍, 提升程度和转换的byte长度线性相关,且不存在内存开销 需要注意不能修改转换后的byte数组,本质上是修改了底层string,将会panic
func VerifySignature ¶ added in v1.65.1
func VerifySignature(cfg *Chain33Config, block *Block, txs []*Transaction) bool
VerifySignature 验证区块和交易的签名,支持指定需要验证的交易
Types ¶
type Account ¶
type Account struct { // coins标识,目前只有0 一个值 Currency int32 `protobuf:"varint,1,opt,name=currency,proto3" json:"currency,omitempty"` //账户可用余额 Balance int64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` //账户冻结余额 Frozen int64 `protobuf:"varint,3,opt,name=frozen,proto3" json:"frozen,omitempty"` //账户的地址 Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Account 的信息
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) GetCurrency ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type Accounts ¶
type Accounts struct { Acc []*Account `protobuf:"bytes,1,rep,name=acc,proto3" json:"acc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Account 的列表
func (*Accounts) Descriptor ¶
func (*Accounts) ProtoMessage ¶
func (*Accounts) ProtoMessage()
func (*Accounts) XXX_DiscardUnknown ¶
func (m *Accounts) XXX_DiscardUnknown()
func (*Accounts) XXX_Marshal ¶
func (*Accounts) XXX_Unmarshal ¶
type AddrOverview ¶
type AddrOverview struct { Reciver int64 `protobuf:"varint,1,opt,name=reciver,proto3" json:"reciver,omitempty"` Balance int64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` TxCount int64 `protobuf:"varint,3,opt,name=txCount,proto3" json:"txCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddrOverview) Descriptor ¶
func (*AddrOverview) Descriptor() ([]byte, []int)
func (*AddrOverview) GetBalance ¶
func (m *AddrOverview) GetBalance() int64
func (*AddrOverview) GetReciver ¶
func (m *AddrOverview) GetReciver() int64
func (*AddrOverview) GetTxCount ¶
func (m *AddrOverview) GetTxCount() int64
func (*AddrOverview) ProtoMessage ¶
func (*AddrOverview) ProtoMessage()
func (*AddrOverview) Reset ¶
func (m *AddrOverview) Reset()
func (*AddrOverview) String ¶
func (m *AddrOverview) String() string
func (*AddrOverview) XXX_DiscardUnknown ¶
func (m *AddrOverview) XXX_DiscardUnknown()
func (*AddrOverview) XXX_Marshal ¶
func (m *AddrOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddrOverview) XXX_Merge ¶
func (m *AddrOverview) XXX_Merge(src proto.Message)
func (*AddrOverview) XXX_Size ¶
func (m *AddrOverview) XXX_Size() int
func (*AddrOverview) XXX_Unmarshal ¶
func (m *AddrOverview) XXX_Unmarshal(b []byte) error
type AllExecBalance ¶
type AllExecBalance struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` ExecAccount []*ExecAccount `protobuf:"bytes,2,rep,name=ExecAccount,proto3" json:"ExecAccount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllExecBalance) Descriptor ¶
func (*AllExecBalance) Descriptor() ([]byte, []int)
func (*AllExecBalance) GetAddr ¶
func (m *AllExecBalance) GetAddr() string
func (*AllExecBalance) GetExecAccount ¶
func (m *AllExecBalance) GetExecAccount() []*ExecAccount
func (*AllExecBalance) ProtoMessage ¶
func (*AllExecBalance) ProtoMessage()
func (*AllExecBalance) Reset ¶
func (m *AllExecBalance) Reset()
func (*AllExecBalance) String ¶
func (m *AllExecBalance) String() string
func (*AllExecBalance) XXX_DiscardUnknown ¶
func (m *AllExecBalance) XXX_DiscardUnknown()
func (*AllExecBalance) XXX_Marshal ¶
func (m *AllExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllExecBalance) XXX_Merge ¶
func (m *AllExecBalance) XXX_Merge(src proto.Message)
func (*AllExecBalance) XXX_Size ¶
func (m *AllExecBalance) XXX_Size() int
func (*AllExecBalance) XXX_Unmarshal ¶
func (m *AllExecBalance) XXX_Unmarshal(b []byte) error
type ArrayConfig ¶
type ArrayConfig struct { Value []string `protobuf:"bytes,3,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
配置修改部分
func (*ArrayConfig) Descriptor ¶
func (*ArrayConfig) Descriptor() ([]byte, []int)
func (*ArrayConfig) GetValue ¶
func (m *ArrayConfig) GetValue() []string
func (*ArrayConfig) ProtoMessage ¶
func (*ArrayConfig) ProtoMessage()
func (*ArrayConfig) Reset ¶
func (m *ArrayConfig) Reset()
func (*ArrayConfig) String ¶
func (m *ArrayConfig) String() string
func (*ArrayConfig) XXX_DiscardUnknown ¶
func (m *ArrayConfig) XXX_DiscardUnknown()
func (*ArrayConfig) XXX_Marshal ¶
func (m *ArrayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArrayConfig) XXX_Merge ¶
func (m *ArrayConfig) XXX_Merge(src proto.Message)
func (*ArrayConfig) XXX_Size ¶
func (m *ArrayConfig) XXX_Size() int
func (*ArrayConfig) XXX_Unmarshal ¶
func (m *ArrayConfig) XXX_Unmarshal(b []byte) error
type Asset ¶
type Asset struct { Exec string `protobuf:"bytes,1,opt,name=exec,proto3" json:"exec,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Asset) Descriptor ¶
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) XXX_DiscardUnknown ¶
func (m *Asset) XXX_DiscardUnknown()
func (*Asset) XXX_Marshal ¶
func (*Asset) XXX_Unmarshal ¶
type AssetsGenesis ¶
type AssetsGenesis struct { Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` ReturnAddress string `protobuf:"bytes,3,opt,name=returnAddress,proto3" json:"returnAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
assert transfer struct
func (*AssetsGenesis) Descriptor ¶
func (*AssetsGenesis) Descriptor() ([]byte, []int)
func (*AssetsGenesis) GetAmount ¶
func (m *AssetsGenesis) GetAmount() int64
func (*AssetsGenesis) GetReturnAddress ¶
func (m *AssetsGenesis) GetReturnAddress() string
func (*AssetsGenesis) ProtoMessage ¶
func (*AssetsGenesis) ProtoMessage()
func (*AssetsGenesis) Reset ¶
func (m *AssetsGenesis) Reset()
func (*AssetsGenesis) String ¶
func (m *AssetsGenesis) String() string
func (*AssetsGenesis) XXX_DiscardUnknown ¶
func (m *AssetsGenesis) XXX_DiscardUnknown()
func (*AssetsGenesis) XXX_Marshal ¶
func (m *AssetsGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetsGenesis) XXX_Merge ¶
func (m *AssetsGenesis) XXX_Merge(src proto.Message)
func (*AssetsGenesis) XXX_Size ¶
func (m *AssetsGenesis) XXX_Size() int
func (*AssetsGenesis) XXX_Unmarshal ¶
func (m *AssetsGenesis) XXX_Unmarshal(b []byte) error
type AssetsTransfer ¶
type AssetsTransfer struct { Cointoken string `protobuf:"bytes,1,opt,name=cointoken,proto3" json:"cointoken,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Note []byte `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetsTransfer) Descriptor ¶
func (*AssetsTransfer) Descriptor() ([]byte, []int)
func (*AssetsTransfer) GetAmount ¶
func (m *AssetsTransfer) GetAmount() int64
func (*AssetsTransfer) GetCointoken ¶
func (m *AssetsTransfer) GetCointoken() string
func (*AssetsTransfer) GetNote ¶
func (m *AssetsTransfer) GetNote() []byte
func (*AssetsTransfer) GetTo ¶
func (m *AssetsTransfer) GetTo() string
func (*AssetsTransfer) ProtoMessage ¶
func (*AssetsTransfer) ProtoMessage()
func (*AssetsTransfer) Reset ¶
func (m *AssetsTransfer) Reset()
func (*AssetsTransfer) String ¶
func (m *AssetsTransfer) String() string
func (*AssetsTransfer) XXX_DiscardUnknown ¶
func (m *AssetsTransfer) XXX_DiscardUnknown()
func (*AssetsTransfer) XXX_Marshal ¶
func (m *AssetsTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetsTransfer) XXX_Merge ¶
func (m *AssetsTransfer) XXX_Merge(src proto.Message)
func (*AssetsTransfer) XXX_Size ¶
func (m *AssetsTransfer) XXX_Size() int
func (*AssetsTransfer) XXX_Unmarshal ¶
func (m *AssetsTransfer) XXX_Unmarshal(b []byte) error
type AssetsTransferToExec ¶
type AssetsTransferToExec struct { Cointoken string `protobuf:"bytes,1,opt,name=cointoken,proto3" json:"cointoken,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Note []byte `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` ExecName string `protobuf:"bytes,4,opt,name=execName,proto3" json:"execName,omitempty"` To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetsTransferToExec) Descriptor ¶
func (*AssetsTransferToExec) Descriptor() ([]byte, []int)
func (*AssetsTransferToExec) GetAmount ¶
func (m *AssetsTransferToExec) GetAmount() int64
func (*AssetsTransferToExec) GetCointoken ¶
func (m *AssetsTransferToExec) GetCointoken() string
func (*AssetsTransferToExec) GetExecName ¶
func (m *AssetsTransferToExec) GetExecName() string
func (*AssetsTransferToExec) GetNote ¶
func (m *AssetsTransferToExec) GetNote() []byte
func (*AssetsTransferToExec) GetTo ¶
func (m *AssetsTransferToExec) GetTo() string
func (*AssetsTransferToExec) ProtoMessage ¶
func (*AssetsTransferToExec) ProtoMessage()
func (*AssetsTransferToExec) Reset ¶
func (m *AssetsTransferToExec) Reset()
func (*AssetsTransferToExec) String ¶
func (m *AssetsTransferToExec) String() string
func (*AssetsTransferToExec) XXX_DiscardUnknown ¶
func (m *AssetsTransferToExec) XXX_DiscardUnknown()
func (*AssetsTransferToExec) XXX_Marshal ¶
func (m *AssetsTransferToExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetsTransferToExec) XXX_Merge ¶
func (m *AssetsTransferToExec) XXX_Merge(src proto.Message)
func (*AssetsTransferToExec) XXX_Size ¶
func (m *AssetsTransferToExec) XXX_Size() int
func (*AssetsTransferToExec) XXX_Unmarshal ¶
func (m *AssetsTransferToExec) XXX_Unmarshal(b []byte) error
type AssetsWithdraw ¶
type AssetsWithdraw struct { Cointoken string `protobuf:"bytes,1,opt,name=cointoken,proto3" json:"cointoken,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Note []byte `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` ExecName string `protobuf:"bytes,4,opt,name=execName,proto3" json:"execName,omitempty"` To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetsWithdraw) Descriptor ¶
func (*AssetsWithdraw) Descriptor() ([]byte, []int)
func (*AssetsWithdraw) GetAmount ¶
func (m *AssetsWithdraw) GetAmount() int64
func (*AssetsWithdraw) GetCointoken ¶
func (m *AssetsWithdraw) GetCointoken() string
func (*AssetsWithdraw) GetExecName ¶
func (m *AssetsWithdraw) GetExecName() string
func (*AssetsWithdraw) GetNote ¶
func (m *AssetsWithdraw) GetNote() []byte
func (*AssetsWithdraw) GetTo ¶
func (m *AssetsWithdraw) GetTo() string
func (*AssetsWithdraw) ProtoMessage ¶
func (*AssetsWithdraw) ProtoMessage()
func (*AssetsWithdraw) Reset ¶
func (m *AssetsWithdraw) Reset()
func (*AssetsWithdraw) String ¶
func (m *AssetsWithdraw) String() string
func (*AssetsWithdraw) XXX_DiscardUnknown ¶
func (m *AssetsWithdraw) XXX_DiscardUnknown()
func (*AssetsWithdraw) XXX_Marshal ¶
func (m *AssetsWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetsWithdraw) XXX_Merge ¶
func (m *AssetsWithdraw) XXX_Merge(src proto.Message)
func (*AssetsWithdraw) XXX_Size ¶
func (m *AssetsWithdraw) XXX_Size() int
func (*AssetsWithdraw) XXX_Unmarshal ¶
func (m *AssetsWithdraw) XXX_Unmarshal(b []byte) error
type AuthorityCfg ¶ added in v1.65.1
type AuthorityCfg struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` CryptoPath string `protobuf:"bytes,2,opt,name=cryptoPath,proto3" json:"cryptoPath,omitempty"` SignType string `protobuf:"bytes,3,opt,name=signType,proto3" json:"signType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorityCfg) Descriptor ¶ added in v1.65.1
func (*AuthorityCfg) Descriptor() ([]byte, []int)
func (*AuthorityCfg) GetCryptoPath ¶ added in v1.65.1
func (m *AuthorityCfg) GetCryptoPath() string
func (*AuthorityCfg) GetEnable ¶ added in v1.65.1
func (m *AuthorityCfg) GetEnable() bool
func (*AuthorityCfg) GetSignType ¶ added in v1.65.1
func (m *AuthorityCfg) GetSignType() string
func (*AuthorityCfg) ProtoMessage ¶ added in v1.65.1
func (*AuthorityCfg) ProtoMessage()
func (*AuthorityCfg) Reset ¶ added in v1.65.1
func (m *AuthorityCfg) Reset()
func (*AuthorityCfg) String ¶ added in v1.65.1
func (m *AuthorityCfg) String() string
func (*AuthorityCfg) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *AuthorityCfg) XXX_DiscardUnknown()
func (*AuthorityCfg) XXX_Marshal ¶ added in v1.65.1
func (m *AuthorityCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorityCfg) XXX_Merge ¶ added in v1.65.1
func (m *AuthorityCfg) XXX_Merge(src proto.Message)
func (*AuthorityCfg) XXX_Size ¶ added in v1.65.1
func (m *AuthorityCfg) XXX_Size() int
func (*AuthorityCfg) XXX_Unmarshal ¶ added in v1.65.1
func (m *AuthorityCfg) XXX_Unmarshal(b []byte) error
type Block ¶
type Block struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ParentHash []byte `protobuf:"bytes,2,opt,name=parentHash,proto3" json:"parentHash,omitempty"` TxHash []byte `protobuf:"bytes,3,opt,name=txHash,proto3" json:"txHash,omitempty"` StateHash []byte `protobuf:"bytes,4,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` BlockTime int64 `protobuf:"varint,6,opt,name=blockTime,proto3" json:"blockTime,omitempty"` Difficulty uint32 `protobuf:"varint,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"` MainHash []byte `protobuf:"bytes,12,opt,name=mainHash,proto3" json:"mainHash,omitempty"` MainHeight int64 `protobuf:"varint,13,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` Signature *Signature `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` Txs []*Transaction `protobuf:"bytes,7,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
参考Header解释
mainHash 平行链上使用的字段,代表这个区块的主链hash
func (*Block) CheckSign ¶
func (block *Block) CheckSign(cfg *Chain33Config) bool
CheckSign 检测block的签名,以及交易的签名
func (*Block) Descriptor ¶
func (*Block) GetBlockTime ¶
func (*Block) GetDifficulty ¶
func (*Block) GetHeader ¶
func (block *Block) GetHeader(cfg *Chain33Config) *Header
GetHeader 获取block的Header信息
func (*Block) GetMainHash ¶
func (*Block) GetMainHeight ¶
func (*Block) GetParentHash ¶
func (*Block) GetSignature ¶
func (*Block) GetStateHash ¶
func (*Block) GetTxs ¶
func (m *Block) GetTxs() []*Transaction
func (*Block) GetVersion ¶
func (*Block) HashByForkHeight ¶
HashByForkHeight hash 通过自己设置的fork 高度计算 hash
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockBody ¶
type BlockBody struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` Receipts []*ReceiptData `protobuf:"bytes,2,rep,name=receipts,proto3" json:"receipts,omitempty"` MainHash []byte `protobuf:"bytes,3,opt,name=mainHash,proto3" json:"mainHash,omitempty"` MainHeight int64 `protobuf:"varint,4,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` Hash []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块体信息
txs : 区块上所有交易列表 receipts :区块上所有交易的收据信息列表 mainHash : 主链区块hash,平行链使用 mainHeight :主链区块高度,平行链使用 hash : 本链区块hash height :本链区块高度
func (*BlockBody) Descriptor ¶
func (*BlockBody) GetMainHash ¶
func (*BlockBody) GetMainHeight ¶
func (*BlockBody) GetReceipts ¶
func (m *BlockBody) GetReceipts() []*ReceiptData
func (*BlockBody) GetTxs ¶
func (m *BlockBody) GetTxs() []*Transaction
func (*BlockBody) ProtoMessage ¶
func (*BlockBody) ProtoMessage()
func (*BlockBody) XXX_DiscardUnknown ¶
func (m *BlockBody) XXX_DiscardUnknown()
func (*BlockBody) XXX_Marshal ¶
func (*BlockBody) XXX_Unmarshal ¶
type BlockBodys ¶ added in v1.65.0
type BlockBodys struct { Items []*BlockBody `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockBodys
func (*BlockBodys) Descriptor ¶ added in v1.65.0
func (*BlockBodys) Descriptor() ([]byte, []int)
func (*BlockBodys) GetItems ¶ added in v1.65.0
func (m *BlockBodys) GetItems() []*BlockBody
func (*BlockBodys) ProtoMessage ¶ added in v1.65.0
func (*BlockBodys) ProtoMessage()
func (*BlockBodys) Reset ¶ added in v1.65.0
func (m *BlockBodys) Reset()
func (*BlockBodys) String ¶ added in v1.65.0
func (m *BlockBodys) String() string
func (*BlockBodys) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *BlockBodys) XXX_DiscardUnknown()
func (*BlockBodys) XXX_Marshal ¶ added in v1.65.0
func (m *BlockBodys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockBodys) XXX_Merge ¶ added in v1.65.0
func (m *BlockBodys) XXX_Merge(src proto.Message)
func (*BlockBodys) XXX_Size ¶ added in v1.65.0
func (m *BlockBodys) XXX_Size() int
func (*BlockBodys) XXX_Unmarshal ¶ added in v1.65.0
func (m *BlockBodys) XXX_Unmarshal(b []byte) error
type BlockChain ¶
type BlockChain struct { // 分片存储中每个大块包含的区块数 ChunkblockNum int64 `json:"chunkblockNum,omitempty"` // 缓存区块的个数 DefCacheSize int64 `json:"defCacheSize,omitempty"` // 同步区块时一次最多申请获取的区块个数 MaxFetchBlockNum int64 `json:"maxFetchBlockNum,omitempty"` // 向对端节点请求同步区块的时间间隔 TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` BatchBlockNum int64 `json:"batchBlockNum,omitempty"` // 使用的数据库类型 Driver string `json:"driver,omitempty"` // 数据库文件目录 DbPath string `json:"dbPath,omitempty"` // 数据库缓存大小 DbCache int32 `json:"dbCache,omitempty"` IsStrongConsistency bool `json:"isStrongConsistency,omitempty"` // 是否为单节点 SingleMode bool `json:"singleMode,omitempty"` // 同步区块批量写数据库时,是否需要立即写磁盘,非固态硬盘的电脑可以设置为false,以提高性能 Batchsync bool `json:"batchsync,omitempty"` // 是否记录添加或者删除区块的序列,若节点作为主链节点,为平行链节点提供服务,需要设置为true IsRecordBlockSequence bool `json:"isRecordBlockSequence,omitempty"` // 是否为平行链节点 IsParaChain bool `json:"isParaChain,omitempty"` EnableTxQuickIndex bool `json:"enableTxQuickIndex,omitempty"` // 升级storedb是否重新执行localdb EnableReExecLocal bool `json:"enableReExecLocal,omitempty"` // 区块回退 RollbackBlock int64 `json:"rollbackBlock,omitempty"` // 回退是否保存区块 RollbackSave bool `json:"rollbackSave,omitempty"` // 最新区块上链超时时间,单位秒。 OnChainTimeout int64 `json:"onChainTimeout,omitempty"` // 使能精简localdb EnableReduceLocaldb bool `json:"enableReduceLocaldb,omitempty"` // 关闭分片存储,默认开启分片存储为false;平行链不需要分片需要修改此默认参数为true DisableShard bool `protobuf:"varint,19,opt,name=disableShard" json:"disableShard,omitempty"` // 使能从P2pStore中获取数据 EnableFetchP2pstore bool `json:"enableFetchP2pstore,omitempty"` // 使能假设已删除已归档数据后,获取数据情况 EnableIfDelLocalChunk bool `json:"enableIfDelLocalChunk,omitempty"` // 使能注册推送区块、区块头或交易回执 EnablePushSubscribe bool `json:"EnablePushSubscribe,omitempty"` // 当前活跃区块的缓存数量 MaxActiveBlockNum int `json:"maxActiveBlockNum,omitempty"` // 当前活跃区块的缓存大小M为单位 MaxActiveBlockSize int `json:"maxActiveBlockSize,omitempty"` //HighAllowPackHeight 允许打包的High区块高度 HighAllowPackHeight int64 `json:"highAllowPackHeight,omitempty"` //LowAllowPackHeight 允许打包的low区块高度 LowAllowPackHeight int64 `json:"lowAllowPackHeight,omitempty"` //关闭blockchain 区块广播 DisableBlockBroadcast bool `json:"disableBlockBroadcast,omitempty"` //关闭本地和ntp server的时钟偏移检查 DisableClockDriftCheck bool `json:"disableClockDriftCheck,omitempty"` }
BlockChain 配置
type BlockDetail ¶
type BlockDetail struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Receipts []*ReceiptData `protobuf:"bytes,2,rep,name=receipts,proto3" json:"receipts,omitempty"` KV []*KeyValue `protobuf:"bytes,3,rep,name=KV,proto3" json:"KV,omitempty"` PrevStatusHash []byte `protobuf:"bytes,4,opt,name=prevStatusHash,proto3" json:"prevStatusHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块详细信息
block : 区块信息 receipts :区块上所有交易的收据信息列表
func (*BlockDetail) Descriptor ¶
func (*BlockDetail) Descriptor() ([]byte, []int)
func (*BlockDetail) FilterParaTxsByTitle ¶
func (blockDetail *BlockDetail) FilterParaTxsByTitle(cfg *Chain33Config, title string) *ParaTxDetail
FilterParaTxsByTitle 过滤指定title的平行链交易 1,单笔平行连交易 2,交易组中的平行连交易,需要将整个交易组都过滤出来 目前暂时不返回单个交易的proof证明路径, 后面会将平行链的交易组装到一起,构成一个子roothash。会返回子roothash的proof证明路径
func (*BlockDetail) GetBlock ¶
func (m *BlockDetail) GetBlock() *Block
func (*BlockDetail) GetKV ¶
func (m *BlockDetail) GetKV() []*KeyValue
func (*BlockDetail) GetPrevStatusHash ¶
func (m *BlockDetail) GetPrevStatusHash() []byte
func (*BlockDetail) GetReceipts ¶
func (m *BlockDetail) GetReceipts() []*ReceiptData
func (*BlockDetail) ProtoMessage ¶
func (*BlockDetail) ProtoMessage()
func (*BlockDetail) Reset ¶
func (m *BlockDetail) Reset()
func (*BlockDetail) String ¶
func (m *BlockDetail) String() string
func (*BlockDetail) XXX_DiscardUnknown ¶
func (m *BlockDetail) XXX_DiscardUnknown()
func (*BlockDetail) XXX_Marshal ¶
func (m *BlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockDetail) XXX_Merge ¶
func (m *BlockDetail) XXX_Merge(src proto.Message)
func (*BlockDetail) XXX_Size ¶
func (m *BlockDetail) XXX_Size() int
func (*BlockDetail) XXX_Unmarshal ¶
func (m *BlockDetail) XXX_Unmarshal(b []byte) error
type BlockDetails ¶
type BlockDetails struct { Items []*BlockDetail `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
resp
func (*BlockDetails) Descriptor ¶
func (*BlockDetails) Descriptor() ([]byte, []int)
func (*BlockDetails) GetItems ¶
func (m *BlockDetails) GetItems() []*BlockDetail
func (*BlockDetails) ProtoMessage ¶
func (*BlockDetails) ProtoMessage()
func (*BlockDetails) Reset ¶
func (m *BlockDetails) Reset()
func (*BlockDetails) String ¶
func (m *BlockDetails) String() string
func (*BlockDetails) XXX_DiscardUnknown ¶
func (m *BlockDetails) XXX_DiscardUnknown()
func (*BlockDetails) XXX_Marshal ¶
func (m *BlockDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockDetails) XXX_Merge ¶
func (m *BlockDetails) XXX_Merge(src proto.Message)
func (*BlockDetails) XXX_Size ¶
func (m *BlockDetails) XXX_Size() int
func (*BlockDetails) XXX_Unmarshal ¶
func (m *BlockDetails) XXX_Unmarshal(b []byte) error
type BlockInfo ¶
type BlockInfo struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
title平行链交易所在主链区块的信息
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type BlockOverview ¶
type BlockOverview struct { Head *Header `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` TxCount int64 `protobuf:"varint,2,opt,name=txCount,proto3" json:"txCount,omitempty"` TxHashes [][]byte `protobuf:"bytes,3,rep,name=txHashes,proto3" json:"txHashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块视图
head : 区块头信息 txCount :区块上交易个数 txHashes : 区块上交易的哈希列表
func (*BlockOverview) Descriptor ¶
func (*BlockOverview) Descriptor() ([]byte, []int)
func (*BlockOverview) GetHead ¶
func (m *BlockOverview) GetHead() *Header
func (*BlockOverview) GetTxCount ¶
func (m *BlockOverview) GetTxCount() int64
func (*BlockOverview) GetTxHashes ¶
func (m *BlockOverview) GetTxHashes() [][]byte
func (*BlockOverview) ProtoMessage ¶
func (*BlockOverview) ProtoMessage()
func (*BlockOverview) Reset ¶
func (m *BlockOverview) Reset()
func (*BlockOverview) String ¶
func (m *BlockOverview) String() string
func (*BlockOverview) XXX_DiscardUnknown ¶
func (m *BlockOverview) XXX_DiscardUnknown()
func (*BlockOverview) XXX_Marshal ¶
func (m *BlockOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockOverview) XXX_Merge ¶
func (m *BlockOverview) XXX_Merge(src proto.Message)
func (*BlockOverview) XXX_Size ¶
func (m *BlockOverview) XXX_Size() int
func (*BlockOverview) XXX_Unmarshal ¶
func (m *BlockOverview) XXX_Unmarshal(b []byte) error
type BlockPid ¶
type BlockPid struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"` Block *Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
节点ID以及对应的Block
func (*BlockPid) Descriptor ¶
func (*BlockPid) ProtoMessage ¶
func (*BlockPid) ProtoMessage()
func (*BlockPid) XXX_DiscardUnknown ¶
func (m *BlockPid) XXX_DiscardUnknown()
func (*BlockPid) XXX_Marshal ¶
func (*BlockPid) XXX_Unmarshal ¶
type BlockReceipt ¶
type BlockReceipt struct { Receipts []*ReceiptData `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块回执
receipts :区块上所有交易的收据信息列表 hash : 本链区块hash height :本链区块高度
func (*BlockReceipt) Descriptor ¶
func (*BlockReceipt) Descriptor() ([]byte, []int)
func (*BlockReceipt) GetHash ¶
func (m *BlockReceipt) GetHash() []byte
func (*BlockReceipt) GetHeight ¶
func (m *BlockReceipt) GetHeight() int64
func (*BlockReceipt) GetReceipts ¶
func (m *BlockReceipt) GetReceipts() []*ReceiptData
func (*BlockReceipt) ProtoMessage ¶
func (*BlockReceipt) ProtoMessage()
func (*BlockReceipt) Reset ¶
func (m *BlockReceipt) Reset()
func (*BlockReceipt) String ¶
func (m *BlockReceipt) String() string
func (*BlockReceipt) XXX_DiscardUnknown ¶
func (m *BlockReceipt) XXX_DiscardUnknown()
func (*BlockReceipt) XXX_Marshal ¶
func (m *BlockReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockReceipt) XXX_Merge ¶
func (m *BlockReceipt) XXX_Merge(src proto.Message)
func (*BlockReceipt) XXX_Size ¶
func (m *BlockReceipt) XXX_Size() int
func (*BlockReceipt) XXX_Unmarshal ¶
func (m *BlockReceipt) XXX_Unmarshal(b []byte) error
type BlockSeq ¶
type BlockSeq struct { Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` Seq *BlockSequence `protobuf:"bytes,2,opt,name=seq,proto3" json:"seq,omitempty"` Detail *BlockDetail `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockSeq) Descriptor ¶
func (*BlockSeq) GetDetail ¶
func (m *BlockSeq) GetDetail() *BlockDetail
func (*BlockSeq) GetSeq ¶
func (m *BlockSeq) GetSeq() *BlockSequence
func (*BlockSeq) ProtoMessage ¶
func (*BlockSeq) ProtoMessage()
func (*BlockSeq) XXX_DiscardUnknown ¶
func (m *BlockSeq) XXX_DiscardUnknown()
func (*BlockSeq) XXX_Marshal ¶
func (*BlockSeq) XXX_Unmarshal ¶
type BlockSeqs ¶
type BlockSeqs struct { Seqs []*BlockSeq `protobuf:"bytes,1,rep,name=seqs,proto3" json:"seqs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockSeqs) Descriptor ¶
func (*BlockSeqs) ProtoMessage ¶
func (*BlockSeqs) ProtoMessage()
func (*BlockSeqs) XXX_DiscardUnknown ¶
func (m *BlockSeqs) XXX_DiscardUnknown()
func (*BlockSeqs) XXX_Marshal ¶
func (*BlockSeqs) XXX_Unmarshal ¶
type BlockSequence ¶
type BlockSequence struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` Type int64 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过block hash记录block的操作类型及add/del:1/2
func (*BlockSequence) Descriptor ¶
func (*BlockSequence) Descriptor() ([]byte, []int)
func (*BlockSequence) GetHash ¶
func (m *BlockSequence) GetHash() []byte
func (*BlockSequence) GetType ¶
func (m *BlockSequence) GetType() int64
func (*BlockSequence) ProtoMessage ¶
func (*BlockSequence) ProtoMessage()
func (*BlockSequence) Reset ¶
func (m *BlockSequence) Reset()
func (*BlockSequence) String ¶
func (m *BlockSequence) String() string
func (*BlockSequence) XXX_DiscardUnknown ¶
func (m *BlockSequence) XXX_DiscardUnknown()
func (*BlockSequence) XXX_Marshal ¶
func (m *BlockSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockSequence) XXX_Merge ¶
func (m *BlockSequence) XXX_Merge(src proto.Message)
func (*BlockSequence) XXX_Size ¶
func (m *BlockSequence) XXX_Size() int
func (*BlockSequence) XXX_Unmarshal ¶
func (m *BlockSequence) XXX_Unmarshal(b []byte) error
type BlockSequences ¶
type BlockSequences struct { Items []*BlockSequence `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
resp
func (*BlockSequences) Descriptor ¶
func (*BlockSequences) Descriptor() ([]byte, []int)
func (*BlockSequences) GetItems ¶
func (m *BlockSequences) GetItems() []*BlockSequence
func (*BlockSequences) ProtoMessage ¶
func (*BlockSequences) ProtoMessage()
func (*BlockSequences) Reset ¶
func (m *BlockSequences) Reset()
func (*BlockSequences) String ¶
func (m *BlockSequences) String() string
func (*BlockSequences) XXX_DiscardUnknown ¶
func (m *BlockSequences) XXX_DiscardUnknown()
func (*BlockSequences) XXX_Marshal ¶
func (m *BlockSequences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockSequences) XXX_Merge ¶
func (m *BlockSequences) XXX_Merge(src proto.Message)
func (*BlockSequences) XXX_Size ¶
func (m *BlockSequences) XXX_Size() int
func (*BlockSequences) XXX_Unmarshal ¶
func (m *BlockSequences) XXX_Unmarshal(b []byte) error
type Blocks ¶
type Blocks struct { Items []*Block `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Blocks) Descriptor ¶
func (*Blocks) ProtoMessage ¶
func (*Blocks) ProtoMessage()
func (*Blocks) XXX_DiscardUnknown ¶
func (m *Blocks) XXX_DiscardUnknown()
func (*Blocks) XXX_Marshal ¶
func (*Blocks) XXX_Unmarshal ¶
type BroadCastData ¶
type BroadCastData struct { // Types that are valid to be assigned to Value: // *BroadCastData_Tx // *BroadCastData_Block // *BroadCastData_Ping // *BroadCastData_Version // *BroadCastData_LtTx // *BroadCastData_LtBlock // *BroadCastData_Query // *BroadCastData_BlockRep Value isBroadCastData_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 广播数据协议
func (*BroadCastData) Descriptor ¶
func (*BroadCastData) Descriptor() ([]byte, []int)
func (*BroadCastData) GetBlock ¶
func (m *BroadCastData) GetBlock() *P2PBlock
func (*BroadCastData) GetBlockRep ¶
func (m *BroadCastData) GetBlockRep() *P2PBlockTxReply
func (*BroadCastData) GetLtBlock ¶
func (m *BroadCastData) GetLtBlock() *LightBlock
func (*BroadCastData) GetLtTx ¶
func (m *BroadCastData) GetLtTx() *LightTx
func (*BroadCastData) GetPing ¶
func (m *BroadCastData) GetPing() *P2PPing
func (*BroadCastData) GetQuery ¶
func (m *BroadCastData) GetQuery() *P2PQueryData
func (*BroadCastData) GetTx ¶
func (m *BroadCastData) GetTx() *P2PTx
func (*BroadCastData) GetValue ¶
func (m *BroadCastData) GetValue() isBroadCastData_Value
func (*BroadCastData) GetVersion ¶
func (m *BroadCastData) GetVersion() *Versions
func (*BroadCastData) ProtoMessage ¶
func (*BroadCastData) ProtoMessage()
func (*BroadCastData) Reset ¶
func (m *BroadCastData) Reset()
func (*BroadCastData) String ¶
func (m *BroadCastData) String() string
func (*BroadCastData) XXX_DiscardUnknown ¶
func (m *BroadCastData) XXX_DiscardUnknown()
func (*BroadCastData) XXX_Marshal ¶
func (m *BroadCastData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadCastData) XXX_Merge ¶
func (m *BroadCastData) XXX_Merge(src proto.Message)
func (*BroadCastData) XXX_OneofWrappers ¶
func (*BroadCastData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BroadCastData) XXX_Size ¶
func (m *BroadCastData) XXX_Size() int
func (*BroadCastData) XXX_Unmarshal ¶
func (m *BroadCastData) XXX_Unmarshal(b []byte) error
type BroadCastData_Block ¶
type BroadCastData_Block struct {
Block *P2PBlock `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}
type BroadCastData_BlockRep ¶
type BroadCastData_BlockRep struct {
BlockRep *P2PBlockTxReply `protobuf:"bytes,8,opt,name=blockRep,proto3,oneof"`
}
type BroadCastData_LtBlock ¶
type BroadCastData_LtBlock struct {
LtBlock *LightBlock `protobuf:"bytes,6,opt,name=ltBlock,proto3,oneof"`
}
type BroadCastData_LtTx ¶
type BroadCastData_LtTx struct {
LtTx *LightTx `protobuf:"bytes,5,opt,name=ltTx,proto3,oneof"`
}
type BroadCastData_Ping ¶
type BroadCastData_Ping struct {
Ping *P2PPing `protobuf:"bytes,3,opt,name=ping,proto3,oneof"`
}
type BroadCastData_Query ¶
type BroadCastData_Query struct {
Query *P2PQueryData `protobuf:"bytes,7,opt,name=query,proto3,oneof"`
}
type BroadCastData_Tx ¶
type BroadCastData_Tx struct {
Tx *P2PTx `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}
type BroadCastData_Version ¶
type BroadCastData_Version struct {
Version *Versions `protobuf:"bytes,4,opt,name=version,proto3,oneof"`
}
type Chain33Client ¶
type Chain33Client interface { // chain33 对外提供服务的接口 //区块链接口 GetBlocks(ctx context.Context, in *ReqBlocks, opts ...grpc.CallOption) (*Reply, error) //获取最新的区块头 GetLastHeader(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Header, error) //交易接口 CreateRawTransaction(ctx context.Context, in *CreateTx, opts ...grpc.CallOption) (*UnsignTx, error) CreateRawTxGroup(ctx context.Context, in *CreateTransactionGroup, opts ...grpc.CallOption) (*UnsignTx, error) // 根据哈希查询交易 QueryTransaction(ctx context.Context, in *ReqHash, opts ...grpc.CallOption) (*TransactionDetail, error) // 发送交易&&根据哈希查询交易 SendTransactionSync(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Reply, error) // 发送交易 SendTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Reply, error) //通过地址获取交易信息 GetTransactionByAddr(ctx context.Context, in *ReqAddr, opts ...grpc.CallOption) (*ReplyTxInfos, error) //通过哈希数组获取对应的交易 GetTransactionByHashes(ctx context.Context, in *ReqHashes, opts ...grpc.CallOption) (*TransactionDetails, error) //缓存接口 GetMemPool(ctx context.Context, in *ReqGetMempool, opts ...grpc.CallOption) (*ReplyTxList, error) //钱包接口 //获取钱包账户信息 GetAccounts(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*WalletAccounts, error) //根据账户lable信息获取账户地址 GetAccount(ctx context.Context, in *ReqGetAccount, opts ...grpc.CallOption) (*WalletAccount, error) //创建钱包账户 NewAccount(ctx context.Context, in *ReqNewAccount, opts ...grpc.CallOption) (*WalletAccount, error) //获取钱包的交易列表 WalletTransactionList(ctx context.Context, in *ReqWalletTransactionList, opts ...grpc.CallOption) (*WalletTxDetails, error) //导入钱包私钥 ImportPrivkey(ctx context.Context, in *ReqWalletImportPrivkey, opts ...grpc.CallOption) (*WalletAccount, error) // 发送交易 SendToAddress(ctx context.Context, in *ReqWalletSendToAddress, opts ...grpc.CallOption) (*ReplyHash, error) //设置交易手续费 SetTxFee(ctx context.Context, in *ReqWalletSetFee, opts ...grpc.CallOption) (*Reply, error) //设置标签 SetLabl(ctx context.Context, in *ReqWalletSetLabel, opts ...grpc.CallOption) (*WalletAccount, error) //合并钱包余额 MergeBalance(ctx context.Context, in *ReqWalletMergeBalance, opts ...grpc.CallOption) (*ReplyHashes, error) //设置钱包密码 SetPasswd(ctx context.Context, in *ReqWalletSetPasswd, opts ...grpc.CallOption) (*Reply, error) //给钱包上锁 Lock(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Reply, error) //给钱包解锁 UnLock(ctx context.Context, in *WalletUnLock, opts ...grpc.CallOption) (*Reply, error) //获取最新的Mempool GetLastMemPool(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*ReplyTxList, error) //获取最新的ProperFee GetProperFee(ctx context.Context, in *ReqProperFee, opts ...grpc.CallOption) (*ReplyProperFee, error) // 获取钱包状态 GetWalletStatus(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*WalletStatus, error) //区块浏览器接口 /// GetBlockOverview(ctx context.Context, in *ReqHash, opts ...grpc.CallOption) (*BlockOverview, error) GetAddrOverview(ctx context.Context, in *ReqAddr, opts ...grpc.CallOption) (*AddrOverview, error) GetBlockHash(ctx context.Context, in *ReqInt, opts ...grpc.CallOption) (*ReplyHash, error) // seed // 创建seed GenSeed(ctx context.Context, in *GenSeedLang, opts ...grpc.CallOption) (*ReplySeed, error) //获取seed GetSeed(ctx context.Context, in *GetSeedByPw, opts ...grpc.CallOption) (*ReplySeed, error) //保存seed SaveSeed(ctx context.Context, in *SaveSeedByPw, opts ...grpc.CallOption) (*Reply, error) // Balance Query //获取余额 GetBalance(ctx context.Context, in *ReqBalance, opts ...grpc.CallOption) (*Accounts, error) QueryChain(ctx context.Context, in *ChainExecutor, opts ...grpc.CallOption) (*Reply, error) ExecWallet(ctx context.Context, in *ChainExecutor, opts ...grpc.CallOption) (*Reply, error) QueryConsensus(ctx context.Context, in *ChainExecutor, opts ...grpc.CallOption) (*Reply, error) CreateTransaction(ctx context.Context, in *CreateTxIn, opts ...grpc.CallOption) (*UnsignTx, error) //获取交易的十六进制编码 GetHexTxByHash(ctx context.Context, in *ReqHash, opts ...grpc.CallOption) (*HexTx, error) // 导出私钥 DumpPrivkey(ctx context.Context, in *ReqString, opts ...grpc.CallOption) (*ReplyString, error) // 导出全部私钥到文件 DumpPrivkeysFile(ctx context.Context, in *ReqPrivkeysFile, opts ...grpc.CallOption) (*Reply, error) // 从文件中批量导入私钥 ImportPrivkeysFile(ctx context.Context, in *ReqPrivkeysFile, opts ...grpc.CallOption) (*Reply, error) //获取程序版本 Version(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*VersionInfo, error) //是否同步 IsSync(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Reply, error) //获取当前节点连接的其他节点信息 GetPeerInfo(ctx context.Context, in *P2PGetPeerReq, opts ...grpc.CallOption) (*PeerList, error) //获取当前节点的网络信息 NetInfo(ctx context.Context, in *P2PGetNetInfoReq, opts ...grpc.CallOption) (*NodeNetInfo, error) // ntpclock是否同步 IsNtpClockSync(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Reply, error) //获取系统致命故障信息 GetFatalFailure(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Int32, error) GetLastBlockSequence(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Int64, error) // get add block's sequence by hash GetSequenceByHash(ctx context.Context, in *ReqHash, opts ...grpc.CallOption) (*Int64, error) //通过block hash 获取对应的blocks信息 GetBlockByHashes(ctx context.Context, in *ReqHashes, opts ...grpc.CallOption) (*BlockDetails, error) //通过block seq 获取对应的blocks hash 信息 GetBlockBySeq(ctx context.Context, in *Int64, opts ...grpc.CallOption) (*BlockSeq, error) //关闭chain33 CloseQueue(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Reply, error) //获取地址所以合约下的余额 GetAllExecBalance(ctx context.Context, in *ReqAllExecBalance, opts ...grpc.CallOption) (*AllExecBalance, error) //签名交易 SignRawTx(ctx context.Context, in *ReqSignRawTx, opts ...grpc.CallOption) (*ReplySignRawTx, error) CreateNoBalanceTransaction(ctx context.Context, in *NoBalanceTx, opts ...grpc.CallOption) (*ReplySignRawTx, error) // 获取随机HASH QueryRandNum(ctx context.Context, in *ReqRandHash, opts ...grpc.CallOption) (*ReplyHash, error) // 获取是否达到fork高度 GetFork(ctx context.Context, in *ReqKey, opts ...grpc.CallOption) (*Int64, error) CreateNoBalanceTxs(ctx context.Context, in *NoBalanceTxs, opts ...grpc.CallOption) (*ReplySignRawTx, error) //通过seq以及title获取对应平行连的交易 GetParaTxByTitle(ctx context.Context, in *ReqParaTxByTitle, opts ...grpc.CallOption) (*ParaTxDetails, error) //获取拥有此title交易的区块高度 LoadParaTxByTitle(ctx context.Context, in *ReqHeightByTitle, opts ...grpc.CallOption) (*ReplyHeightByTitle, error) //通过区块高度列表+title获取平行链交易 GetParaTxByHeight(ctx context.Context, in *ReqParaTxByHeight, opts ...grpc.CallOption) (*ParaTxDetails, error) //获取区块头信息 GetHeaders(ctx context.Context, in *ReqBlocks, opts ...grpc.CallOption) (*Headers, error) // get server time GetServerTime(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*ServerTime, error) }
Chain33Client is the client API for Chain33 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChain33Client ¶
func NewChain33Client(cc grpc.ClientConnInterface) Chain33Client
type Chain33Config ¶
type Chain33Config struct {
// contains filtered or unexported fields
}
Chain33Config ...
func NewChain33ConfigNoInit ¶
func NewChain33ConfigNoInit(cfgstring string) *Chain33Config
NewChain33ConfigNoInit ...
func (*Chain33Config) CalcTxKey ¶
func (c *Chain33Config) CalcTxKey(hash []byte) []byte
CalcTxKey local db中保存交易的方法
func (*Chain33Config) CalcTxKeyValue ¶
func (c *Chain33Config) CalcTxKeyValue(txr *TxResult) []byte
CalcTxKeyValue 保存local db中保存交易的方法
func (*Chain33Config) EnableCheckFork ¶
func (c *Chain33Config) EnableCheckFork(enable bool)
EnableCheckFork ...
func (*Chain33Config) ExecName ¶
func (c *Chain33Config) ExecName(name string) string
ExecName 执行器name
func (*Chain33Config) G ¶
func (c *Chain33Config) G(key string) (value interface{}, err error)
G 获取ChainConfig中的配置
func (*Chain33Config) GStr ¶
func (c *Chain33Config) GStr(name string) string
GStr 获取ChainConfig中的字符串格式
func (*Chain33Config) GetChainID ¶ added in v1.65.1
func (c *Chain33Config) GetChainID() int32
GetChainID 获取链ID,提供给其他模块使用
func (*Chain33Config) GetCoinSymbol ¶
func (c *Chain33Config) GetCoinSymbol() string
GetCoinSymbol 获取 coin symbol
func (*Chain33Config) GetDappFork ¶
func (c *Chain33Config) GetDappFork(dapp, fork string) int64
GetDappFork 获取dapp fork高度
func (*Chain33Config) GetFork ¶
func (c *Chain33Config) GetFork(fork string) int64
GetFork 获取系统fork高度
func (*Chain33Config) GetForks ¶
func (c *Chain33Config) GetForks() (map[string]int64, error)
GetForks ...
func (*Chain33Config) GetFundAddr ¶
func (c *Chain33Config) GetFundAddr() string
GetFundAddr 获取基金账户地址
func (*Chain33Config) GetMaxTxFee ¶
func (c *Chain33Config) GetMaxTxFee() int64
GetMaxTxFee get max transaction fee
func (*Chain33Config) GetMaxTxFeeRate ¶
func (c *Chain33Config) GetMaxTxFeeRate() int64
GetMaxTxFeeRate get max transaction fee rate
func (*Chain33Config) GetMinTxFeeRate ¶
func (c *Chain33Config) GetMinTxFeeRate() int64
GetMinTxFeeRate get min transaction fee rate
func (*Chain33Config) GetMinerExecs ¶
func (c *Chain33Config) GetMinerExecs() []string
GetMinerExecs 获取挖矿的合约名单
func (*Chain33Config) GetModuleConfig ¶
func (c *Chain33Config) GetModuleConfig() *Config
GetModuleConfig ...
func (*Chain33Config) GetP ¶
func (c *Chain33Config) GetP(height int64) *ChainParam
GetP 获取ChainParam
func (*Chain33Config) GetParaExec ¶
func (c *Chain33Config) GetParaExec(execer []byte) []byte
GetParaExec 获取平行链执行
func (*Chain33Config) GetParaName ¶
func (c *Chain33Config) GetParaName() string
GetParaName 获取平行链name
func (*Chain33Config) GetSubConfig ¶
func (c *Chain33Config) GetSubConfig() *ConfigSubModule
GetSubConfig ...
func (*Chain33Config) HasConf ¶
func (c *Chain33Config) HasConf(key string) bool
HasConf 解析chainConfig配置
func (*Chain33Config) IsDappFork ¶
func (c *Chain33Config) IsDappFork(height int64, dapp, fork string) bool
IsDappFork 是否dapp fork高度
func (*Chain33Config) IsEnable ¶
func (c *Chain33Config) IsEnable(name string) bool
IsEnable 解析ChainConfig配置
func (*Chain33Config) IsEnableFork ¶
func (c *Chain33Config) IsEnableFork(height int64, fork string, enable bool) bool
IsEnableFork 是否使能了fork
func (*Chain33Config) IsFork ¶
func (c *Chain33Config) IsFork(height int64, fork string) bool
IsFork 是否系统 fork高度
func (*Chain33Config) IsMyParaExecName ¶
func (c *Chain33Config) IsMyParaExecName(exec string) bool
IsMyParaExecName 是否是我的para链的执行器
func (*Chain33Config) MG ¶
func (c *Chain33Config) MG(key string, height int64) (value interface{}, err error)
MG 获取mver config中的配置
func (*Chain33Config) MGInt ¶
func (c *Chain33Config) MGInt(name string, height int64) int64
MGInt 解析mver config 配置
func (*Chain33Config) MGStr ¶
func (c *Chain33Config) MGStr(name string, height int64) string
MGStr 获取mver config 中的字符串格式
func (*Chain33Config) MIsEnable ¶
func (c *Chain33Config) MIsEnable(name string, height int64) bool
MIsEnable 解析mver config 配置
func (*Chain33Config) ManaeKeyWithHeigh ¶
func (c *Chain33Config) ManaeKeyWithHeigh(key string, height int64) string
ManaeKeyWithHeigh 超级管理员账户key
func (*Chain33Config) RegisterDappFork ¶
func (c *Chain33Config) RegisterDappFork(dapp, fork string, height int64)
RegisterDappFork 注册dapp fork高度
func (*Chain33Config) S ¶
func (c *Chain33Config) S(key string, value interface{})
S 设置chainConfig配置
func (*Chain33Config) SetDappFork ¶
func (c *Chain33Config) SetDappFork(dapp, fork string, height int64)
SetDappFork 设置dapp fork高度
func (*Chain33Config) SetTitleOnlyForTest ¶
func (c *Chain33Config) SetTitleOnlyForTest(ti string)
SetTitleOnlyForTest set title only for test use
func (*Chain33Config) SetTxFeeConfig ¶
func (c *Chain33Config) SetTxFeeConfig(minTxFeeRate, maxTxFeeRate, maxTxFee int64)
SetTxFeeConfig 设置交易费相关配置
type Chain33Server ¶
type Chain33Server interface { // chain33 对外提供服务的接口 //区块链接口 GetBlocks(context.Context, *ReqBlocks) (*Reply, error) //获取最新的区块头 GetLastHeader(context.Context, *ReqNil) (*Header, error) //交易接口 CreateRawTransaction(context.Context, *CreateTx) (*UnsignTx, error) CreateRawTxGroup(context.Context, *CreateTransactionGroup) (*UnsignTx, error) // 根据哈希查询交易 QueryTransaction(context.Context, *ReqHash) (*TransactionDetail, error) // 发送交易&&根据哈希查询交易 SendTransactionSync(context.Context, *Transaction) (*Reply, error) // 发送交易 SendTransaction(context.Context, *Transaction) (*Reply, error) //通过地址获取交易信息 GetTransactionByAddr(context.Context, *ReqAddr) (*ReplyTxInfos, error) //通过哈希数组获取对应的交易 GetTransactionByHashes(context.Context, *ReqHashes) (*TransactionDetails, error) //缓存接口 GetMemPool(context.Context, *ReqGetMempool) (*ReplyTxList, error) //钱包接口 //获取钱包账户信息 GetAccounts(context.Context, *ReqNil) (*WalletAccounts, error) //根据账户lable信息获取账户地址 GetAccount(context.Context, *ReqGetAccount) (*WalletAccount, error) //创建钱包账户 NewAccount(context.Context, *ReqNewAccount) (*WalletAccount, error) //获取钱包的交易列表 WalletTransactionList(context.Context, *ReqWalletTransactionList) (*WalletTxDetails, error) //导入钱包私钥 ImportPrivkey(context.Context, *ReqWalletImportPrivkey) (*WalletAccount, error) // 发送交易 SendToAddress(context.Context, *ReqWalletSendToAddress) (*ReplyHash, error) //设置交易手续费 SetTxFee(context.Context, *ReqWalletSetFee) (*Reply, error) //设置标签 SetLabl(context.Context, *ReqWalletSetLabel) (*WalletAccount, error) //合并钱包余额 MergeBalance(context.Context, *ReqWalletMergeBalance) (*ReplyHashes, error) //设置钱包密码 SetPasswd(context.Context, *ReqWalletSetPasswd) (*Reply, error) //给钱包上锁 Lock(context.Context, *ReqNil) (*Reply, error) //给钱包解锁 UnLock(context.Context, *WalletUnLock) (*Reply, error) //获取最新的Mempool GetLastMemPool(context.Context, *ReqNil) (*ReplyTxList, error) //获取最新的ProperFee GetProperFee(context.Context, *ReqProperFee) (*ReplyProperFee, error) // 获取钱包状态 GetWalletStatus(context.Context, *ReqNil) (*WalletStatus, error) //区块浏览器接口 /// GetBlockOverview(context.Context, *ReqHash) (*BlockOverview, error) GetAddrOverview(context.Context, *ReqAddr) (*AddrOverview, error) GetBlockHash(context.Context, *ReqInt) (*ReplyHash, error) // seed // 创建seed GenSeed(context.Context, *GenSeedLang) (*ReplySeed, error) //获取seed GetSeed(context.Context, *GetSeedByPw) (*ReplySeed, error) //保存seed SaveSeed(context.Context, *SaveSeedByPw) (*Reply, error) // Balance Query //获取余额 GetBalance(context.Context, *ReqBalance) (*Accounts, error) QueryChain(context.Context, *ChainExecutor) (*Reply, error) ExecWallet(context.Context, *ChainExecutor) (*Reply, error) QueryConsensus(context.Context, *ChainExecutor) (*Reply, error) CreateTransaction(context.Context, *CreateTxIn) (*UnsignTx, error) //获取交易的十六进制编码 GetHexTxByHash(context.Context, *ReqHash) (*HexTx, error) // 导出私钥 DumpPrivkey(context.Context, *ReqString) (*ReplyString, error) // 导出全部私钥到文件 DumpPrivkeysFile(context.Context, *ReqPrivkeysFile) (*Reply, error) // 从文件中批量导入私钥 ImportPrivkeysFile(context.Context, *ReqPrivkeysFile) (*Reply, error) //获取程序版本 Version(context.Context, *ReqNil) (*VersionInfo, error) //是否同步 IsSync(context.Context, *ReqNil) (*Reply, error) //获取当前节点连接的其他节点信息 GetPeerInfo(context.Context, *P2PGetPeerReq) (*PeerList, error) //获取当前节点的网络信息 NetInfo(context.Context, *P2PGetNetInfoReq) (*NodeNetInfo, error) // ntpclock是否同步 IsNtpClockSync(context.Context, *ReqNil) (*Reply, error) //获取系统致命故障信息 GetFatalFailure(context.Context, *ReqNil) (*Int32, error) GetLastBlockSequence(context.Context, *ReqNil) (*Int64, error) // get add block's sequence by hash GetSequenceByHash(context.Context, *ReqHash) (*Int64, error) //通过block hash 获取对应的blocks信息 GetBlockByHashes(context.Context, *ReqHashes) (*BlockDetails, error) //通过block seq 获取对应的blocks hash 信息 GetBlockBySeq(context.Context, *Int64) (*BlockSeq, error) //关闭chain33 CloseQueue(context.Context, *ReqNil) (*Reply, error) //获取地址所以合约下的余额 GetAllExecBalance(context.Context, *ReqAllExecBalance) (*AllExecBalance, error) //签名交易 SignRawTx(context.Context, *ReqSignRawTx) (*ReplySignRawTx, error) CreateNoBalanceTransaction(context.Context, *NoBalanceTx) (*ReplySignRawTx, error) // 获取随机HASH QueryRandNum(context.Context, *ReqRandHash) (*ReplyHash, error) // 获取是否达到fork高度 GetFork(context.Context, *ReqKey) (*Int64, error) CreateNoBalanceTxs(context.Context, *NoBalanceTxs) (*ReplySignRawTx, error) //通过seq以及title获取对应平行连的交易 GetParaTxByTitle(context.Context, *ReqParaTxByTitle) (*ParaTxDetails, error) //获取拥有此title交易的区块高度 LoadParaTxByTitle(context.Context, *ReqHeightByTitle) (*ReplyHeightByTitle, error) //通过区块高度列表+title获取平行链交易 GetParaTxByHeight(context.Context, *ReqParaTxByHeight) (*ParaTxDetails, error) //获取区块头信息 GetHeaders(context.Context, *ReqBlocks) (*Headers, error) // get server time GetServerTime(context.Context, *ReqNil) (*ServerTime, error) }
Chain33Server is the server API for Chain33 service.
type ChainExecutor ¶
type ChainExecutor struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` FuncName string `protobuf:"bytes,2,opt,name=funcName,proto3" json:"funcName,omitempty"` StateHash []byte `protobuf:"bytes,3,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Param []byte `protobuf:"bytes,4,opt,name=param,proto3" json:"param,omitempty"` //扩展字段,用于额外的用途 Extra []byte `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainExecutor) Descriptor ¶
func (*ChainExecutor) Descriptor() ([]byte, []int)
func (*ChainExecutor) GetDriver ¶
func (m *ChainExecutor) GetDriver() string
func (*ChainExecutor) GetExtra ¶
func (m *ChainExecutor) GetExtra() []byte
func (*ChainExecutor) GetFuncName ¶
func (m *ChainExecutor) GetFuncName() string
func (*ChainExecutor) GetParam ¶
func (m *ChainExecutor) GetParam() []byte
func (*ChainExecutor) GetStateHash ¶
func (m *ChainExecutor) GetStateHash() []byte
func (*ChainExecutor) ProtoMessage ¶
func (*ChainExecutor) ProtoMessage()
func (*ChainExecutor) Reset ¶
func (m *ChainExecutor) Reset()
func (*ChainExecutor) String ¶
func (m *ChainExecutor) String() string
func (*ChainExecutor) XXX_DiscardUnknown ¶
func (m *ChainExecutor) XXX_DiscardUnknown()
func (*ChainExecutor) XXX_Marshal ¶
func (m *ChainExecutor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainExecutor) XXX_Merge ¶
func (m *ChainExecutor) XXX_Merge(src proto.Message)
func (*ChainExecutor) XXX_Size ¶
func (m *ChainExecutor) XXX_Size() int
func (*ChainExecutor) XXX_Unmarshal ¶
func (m *ChainExecutor) XXX_Unmarshal(b []byte) error
type ChainStatus ¶
type ChainStatus struct { CurrentHeight int64 `protobuf:"varint,1,opt,name=currentHeight,proto3" json:"currentHeight,omitempty"` MempoolSize int64 `protobuf:"varint,2,opt,name=mempoolSize,proto3" json:"mempoolSize,omitempty"` MsgQueueSize int64 `protobuf:"varint,3,opt,name=msgQueueSize,proto3" json:"msgQueueSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块链状态
currentHeight : 区块最新高度 mempoolSize :内存池大小 msgQueueSize : 消息队列大小
func (*ChainStatus) Descriptor ¶
func (*ChainStatus) Descriptor() ([]byte, []int)
func (*ChainStatus) GetCurrentHeight ¶
func (m *ChainStatus) GetCurrentHeight() int64
func (*ChainStatus) GetMempoolSize ¶
func (m *ChainStatus) GetMempoolSize() int64
func (*ChainStatus) GetMsgQueueSize ¶
func (m *ChainStatus) GetMsgQueueSize() int64
func (*ChainStatus) ProtoMessage ¶
func (*ChainStatus) ProtoMessage()
func (*ChainStatus) Reset ¶
func (m *ChainStatus) Reset()
func (*ChainStatus) String ¶
func (m *ChainStatus) String() string
func (*ChainStatus) XXX_DiscardUnknown ¶
func (m *ChainStatus) XXX_DiscardUnknown()
func (*ChainStatus) XXX_Marshal ¶
func (m *ChainStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainStatus) XXX_Merge ¶
func (m *ChainStatus) XXX_Merge(src proto.Message)
func (*ChainStatus) XXX_Size ¶
func (m *ChainStatus) XXX_Size() int
func (*ChainStatus) XXX_Unmarshal ¶
func (m *ChainStatus) XXX_Unmarshal(b []byte) error
type Checkpoint ¶
type Checkpoint struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetDigest ¶
func (m *Checkpoint) GetDigest() []byte
func (*Checkpoint) GetSequence ¶
func (m *Checkpoint) GetSequence() uint32
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
func (*Checkpoint) XXX_DiscardUnknown ¶
func (m *Checkpoint) XXX_DiscardUnknown()
func (*Checkpoint) XXX_Marshal ¶
func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Checkpoint) XXX_Merge ¶
func (m *Checkpoint) XXX_Merge(src proto.Message)
func (*Checkpoint) XXX_Size ¶
func (m *Checkpoint) XXX_Size() int
func (*Checkpoint) XXX_Unmarshal ¶
func (m *Checkpoint) XXX_Unmarshal(b []byte) error
type ChildChain ¶
type ChildChain struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` StartIndex int32 `protobuf:"varint,2,opt,name=startIndex,proto3" json:"startIndex,omitempty"` ChildHash []byte `protobuf:"bytes,3,opt,name=childHash,proto3" json:"childHash,omitempty"` TxCount int32 `protobuf:"varint,4,opt,name=txCount,proto3" json:"txCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
记录平行链第一笔交易的index,以及平行链的roothash title:子链名字,主链的默认是main startIndex:子链第一笔交易的索引 childHash:子链的根hash txCount:子链交易的数量
func (*ChildChain) Descriptor ¶
func (*ChildChain) Descriptor() ([]byte, []int)
func (*ChildChain) GetChildHash ¶
func (m *ChildChain) GetChildHash() []byte
func (*ChildChain) GetStartIndex ¶
func (m *ChildChain) GetStartIndex() int32
func (*ChildChain) GetTitle ¶
func (m *ChildChain) GetTitle() string
func (*ChildChain) GetTxCount ¶
func (m *ChildChain) GetTxCount() int32
func (*ChildChain) ProtoMessage ¶
func (*ChildChain) ProtoMessage()
func (*ChildChain) Reset ¶
func (m *ChildChain) Reset()
func (*ChildChain) String ¶
func (m *ChildChain) String() string
func (*ChildChain) XXX_DiscardUnknown ¶
func (m *ChildChain) XXX_DiscardUnknown()
func (*ChildChain) XXX_Marshal ¶
func (m *ChildChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChildChain) XXX_Merge ¶
func (m *ChildChain) XXX_Merge(src proto.Message)
func (*ChildChain) XXX_Size ¶
func (m *ChildChain) XXX_Size() int
func (*ChildChain) XXX_Unmarshal ¶
func (m *ChildChain) XXX_Unmarshal(b []byte) error
type ChunkInfo ¶ added in v1.65.0
type ChunkInfo struct { ChunkNum int64 `protobuf:"varint,1,opt,name=chunkNum,proto3" json:"chunkNum,omitempty"` ChunkHash []byte `protobuf:"bytes,2,opt,name=chunkHash,proto3" json:"chunkHash,omitempty"` Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChunkInfo用于记录chunk的信息
func (*ChunkInfo) Descriptor ¶ added in v1.65.0
func (*ChunkInfo) GetChunkHash ¶ added in v1.65.0
func (*ChunkInfo) GetChunkNum ¶ added in v1.65.0
func (*ChunkInfo) ProtoMessage ¶ added in v1.65.0
func (*ChunkInfo) ProtoMessage()
func (*ChunkInfo) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ChunkInfo) XXX_DiscardUnknown()
func (*ChunkInfo) XXX_Marshal ¶ added in v1.65.0
func (*ChunkInfo) XXX_Unmarshal ¶ added in v1.65.0
type ChunkInfoList ¶ added in v1.65.0
type ChunkInfoList struct { Items []*ChunkInfoMsg `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChunkInfoList) Descriptor ¶ added in v1.65.0
func (*ChunkInfoList) Descriptor() ([]byte, []int)
func (*ChunkInfoList) GetItems ¶ added in v1.65.0
func (m *ChunkInfoList) GetItems() []*ChunkInfoMsg
func (*ChunkInfoList) ProtoMessage ¶ added in v1.65.0
func (*ChunkInfoList) ProtoMessage()
func (*ChunkInfoList) Reset ¶ added in v1.65.0
func (m *ChunkInfoList) Reset()
func (*ChunkInfoList) String ¶ added in v1.65.0
func (m *ChunkInfoList) String() string
func (*ChunkInfoList) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ChunkInfoList) XXX_DiscardUnknown()
func (*ChunkInfoList) XXX_Marshal ¶ added in v1.65.0
func (m *ChunkInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChunkInfoList) XXX_Merge ¶ added in v1.65.0
func (m *ChunkInfoList) XXX_Merge(src proto.Message)
func (*ChunkInfoList) XXX_Size ¶ added in v1.65.0
func (m *ChunkInfoList) XXX_Size() int
func (*ChunkInfoList) XXX_Unmarshal ¶ added in v1.65.0
func (m *ChunkInfoList) XXX_Unmarshal(b []byte) error
type ChunkInfoMsg ¶ added in v1.65.0
type ChunkInfoMsg struct { ChunkHash []byte `protobuf:"bytes,1,opt,name=chunkHash,proto3" json:"chunkHash,omitempty"` Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChunkInfoMsg 用于消息传递
func (*ChunkInfoMsg) Descriptor ¶ added in v1.65.0
func (*ChunkInfoMsg) Descriptor() ([]byte, []int)
func (*ChunkInfoMsg) GetChunkHash ¶ added in v1.65.0
func (m *ChunkInfoMsg) GetChunkHash() []byte
func (*ChunkInfoMsg) GetEnd ¶ added in v1.65.0
func (m *ChunkInfoMsg) GetEnd() int64
func (*ChunkInfoMsg) GetStart ¶ added in v1.65.0
func (m *ChunkInfoMsg) GetStart() int64
func (*ChunkInfoMsg) ProtoMessage ¶ added in v1.65.0
func (*ChunkInfoMsg) ProtoMessage()
func (*ChunkInfoMsg) Reset ¶ added in v1.65.0
func (m *ChunkInfoMsg) Reset()
func (*ChunkInfoMsg) String ¶ added in v1.65.0
func (m *ChunkInfoMsg) String() string
func (*ChunkInfoMsg) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ChunkInfoMsg) XXX_DiscardUnknown()
func (*ChunkInfoMsg) XXX_Marshal ¶ added in v1.65.0
func (m *ChunkInfoMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChunkInfoMsg) XXX_Merge ¶ added in v1.65.0
func (m *ChunkInfoMsg) XXX_Merge(src proto.Message)
func (*ChunkInfoMsg) XXX_Size ¶ added in v1.65.0
func (m *ChunkInfoMsg) XXX_Size() int
func (*ChunkInfoMsg) XXX_Unmarshal ¶ added in v1.65.0
func (m *ChunkInfoMsg) XXX_Unmarshal(b []byte) error
type ChunkRecords ¶ added in v1.65.0
type ChunkRecords struct { Infos []*ChunkInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChunkRecords
func (*ChunkRecords) Descriptor ¶ added in v1.65.0
func (*ChunkRecords) Descriptor() ([]byte, []int)
func (*ChunkRecords) GetInfos ¶ added in v1.65.0
func (m *ChunkRecords) GetInfos() []*ChunkInfo
func (*ChunkRecords) ProtoMessage ¶ added in v1.65.0
func (*ChunkRecords) ProtoMessage()
func (*ChunkRecords) Reset ¶ added in v1.65.0
func (m *ChunkRecords) Reset()
func (*ChunkRecords) String ¶ added in v1.65.0
func (m *ChunkRecords) String() string
func (*ChunkRecords) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ChunkRecords) XXX_DiscardUnknown()
func (*ChunkRecords) XXX_Marshal ¶ added in v1.65.0
func (m *ChunkRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChunkRecords) XXX_Merge ¶ added in v1.65.0
func (m *ChunkRecords) XXX_Merge(src proto.Message)
func (*ChunkRecords) XXX_Size ¶ added in v1.65.0
func (m *ChunkRecords) XXX_Size() int
func (*ChunkRecords) XXX_Unmarshal ¶ added in v1.65.0
func (m *ChunkRecords) XXX_Unmarshal(b []byte) error
type ClientReply ¶
type ClientReply struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` Replica uint32 `protobuf:"varint,4,opt,name=replica,proto3" json:"replica,omitempty"` Result *Result `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientReply) Descriptor ¶
func (*ClientReply) Descriptor() ([]byte, []int)
func (*ClientReply) GetClient ¶
func (m *ClientReply) GetClient() string
func (*ClientReply) GetReplica ¶
func (m *ClientReply) GetReplica() uint32
func (*ClientReply) GetResult ¶
func (m *ClientReply) GetResult() *Result
func (*ClientReply) GetTimestamp ¶
func (m *ClientReply) GetTimestamp() string
func (*ClientReply) GetView ¶
func (m *ClientReply) GetView() uint32
func (*ClientReply) ProtoMessage ¶
func (*ClientReply) ProtoMessage()
func (*ClientReply) Reset ¶
func (m *ClientReply) Reset()
func (*ClientReply) String ¶
func (m *ClientReply) String() string
func (*ClientReply) XXX_DiscardUnknown ¶
func (m *ClientReply) XXX_DiscardUnknown()
func (*ClientReply) XXX_Marshal ¶
func (m *ClientReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientReply) XXX_Merge ¶
func (m *ClientReply) XXX_Merge(src proto.Message)
func (*ClientReply) XXX_Size ¶
func (m *ClientReply) XXX_Size() int
func (*ClientReply) XXX_Unmarshal ¶
func (m *ClientReply) XXX_Unmarshal(b []byte) error
type CmpBlock ¶
type CmpBlock struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` CmpHash []byte `protobuf:"bytes,2,opt,name=cmpHash,proto3" json:"cmpHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
用于比较最优区块的消息结构
func (*CmpBlock) Descriptor ¶
func (*CmpBlock) GetCmpHash ¶
func (*CmpBlock) ProtoMessage ¶
func (*CmpBlock) ProtoMessage()
func (*CmpBlock) XXX_DiscardUnknown ¶
func (m *CmpBlock) XXX_DiscardUnknown()
func (*CmpBlock) XXX_Marshal ¶
func (*CmpBlock) XXX_Unmarshal ¶
type ConfQuery ¶
type ConfQuery struct {
// contains filtered or unexported fields
}
ConfQuery 结构体
type Config ¶
type Config struct { Title string `json:"title,omitempty"` Version string `json:"version,omitempty"` Log *Log `json:"log,omitempty"` Store *Store `json:"store,omitempty"` Consensus *Consensus `json:"consensus,omitempty"` Mempool *Mempool `json:"memPool,omitempty"` BlockChain *BlockChain `json:"blockChain,omitempty"` Wallet *Wallet `json:"wallet,omitempty"` P2P *P2P `json:"p2p,omitempty"` RPC *RPC `json:"rpc,omitempty"` Exec *Exec `json:"exec,omitempty"` TestNet bool `json:"testNet,omitempty"` FixTime bool `json:"fixTime,omitempty"` TxHeight bool `json:"txHeight,omitempty"` Pprof *Pprof `json:"pprof,omitempty"` Fork *ForkList `json:"fork,omitempty"` Health *HealthCheck `json:"health,omitempty"` CoinSymbol string `json:"coinSymbol,omitempty"` EnableParaFork bool `json:"enableParaFork,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` ChainID int32 `json:"chainID,omitempty"` AddrVer byte `json:"addrVer,omitempty"` Crypto *crypto.Config `json:"crypto,omitempty"` NtpHosts []string `json:"ntpHosts,omitempty"` }
Config 配置信息
type ConfigItem ¶
type ConfigItem struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // Types that are valid to be assigned to Value: // *ConfigItem_Arr // *ConfigItem_Str // *ConfigItem_Int Value isConfigItem_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,11,opt,name=Ty,proto3" json:"Ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigItem) Descriptor ¶
func (*ConfigItem) Descriptor() ([]byte, []int)
func (*ConfigItem) GetAddr ¶
func (m *ConfigItem) GetAddr() string
func (*ConfigItem) GetArr ¶
func (m *ConfigItem) GetArr() *ArrayConfig
func (*ConfigItem) GetInt ¶
func (m *ConfigItem) GetInt() *Int32Config
func (*ConfigItem) GetKey ¶
func (m *ConfigItem) GetKey() string
func (*ConfigItem) GetStr ¶
func (m *ConfigItem) GetStr() *StringConfig
func (*ConfigItem) GetTy ¶
func (m *ConfigItem) GetTy() int32
func (*ConfigItem) GetValue ¶
func (m *ConfigItem) GetValue() isConfigItem_Value
func (*ConfigItem) ProtoMessage ¶
func (*ConfigItem) ProtoMessage()
func (*ConfigItem) Reset ¶
func (m *ConfigItem) Reset()
func (*ConfigItem) String ¶
func (m *ConfigItem) String() string
func (*ConfigItem) XXX_DiscardUnknown ¶
func (m *ConfigItem) XXX_DiscardUnknown()
func (*ConfigItem) XXX_Marshal ¶
func (m *ConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigItem) XXX_Merge ¶
func (m *ConfigItem) XXX_Merge(src proto.Message)
func (*ConfigItem) XXX_OneofWrappers ¶
func (*ConfigItem) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConfigItem) XXX_Size ¶
func (m *ConfigItem) XXX_Size() int
func (*ConfigItem) XXX_Unmarshal ¶
func (m *ConfigItem) XXX_Unmarshal(b []byte) error
type ConfigItem_Arr ¶
type ConfigItem_Arr struct {
Arr *ArrayConfig `protobuf:"bytes,3,opt,name=arr,proto3,oneof"`
}
type ConfigItem_Int ¶
type ConfigItem_Int struct {
Int *Int32Config `protobuf:"bytes,5,opt,name=int,proto3,oneof"`
}
type ConfigItem_Str ¶
type ConfigItem_Str struct {
Str *StringConfig `protobuf:"bytes,4,opt,name=str,proto3,oneof"`
}
type ConfigSubModule ¶
type ConfigSubModule struct { Store map[string][]byte Exec map[string][]byte Consensus map[string][]byte Wallet map[string][]byte Mempool map[string][]byte Metrics map[string][]byte P2P map[string][]byte Crypto map[string][]byte }
ConfigSubModule 子模块的配置
type Consensus ¶
type Consensus struct { // 共识名称 :solo, ticket, raft, tendermint, para Name string `json:"name,omitempty"` // 创世区块时间(UTC时间) GenesisBlockTime int64 `json:"genesisBlockTime,omitempty"` // 是否开启挖矿,开启挖矿才能创建区块 Minerstart bool `json:"minerstart,omitempty"` // 创世交易地址 Genesis string `json:"genesis,omitempty"` HotkeyAddr string `json:"hotkeyAddr,omitempty"` ForceMining bool `json:"forceMining,omitempty"` // 配置挖矿的合约名单 MinerExecs []string `json:"minerExecs,omitempty"` // 最优区块选择 EnableBestBlockCmp bool `json:"enableBestBlockCmp,omitempty"` }
Consensus 配置
type CreateTransactionGroup ¶
type CreateTransactionGroup struct { Txs []string `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTransactionGroup) Descriptor ¶
func (*CreateTransactionGroup) Descriptor() ([]byte, []int)
func (*CreateTransactionGroup) GetTxs ¶
func (m *CreateTransactionGroup) GetTxs() []string
func (*CreateTransactionGroup) ProtoMessage ¶
func (*CreateTransactionGroup) ProtoMessage()
func (*CreateTransactionGroup) Reset ¶
func (m *CreateTransactionGroup) Reset()
func (*CreateTransactionGroup) String ¶
func (m *CreateTransactionGroup) String() string
func (*CreateTransactionGroup) XXX_DiscardUnknown ¶
func (m *CreateTransactionGroup) XXX_DiscardUnknown()
func (*CreateTransactionGroup) XXX_Marshal ¶
func (m *CreateTransactionGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTransactionGroup) XXX_Merge ¶
func (m *CreateTransactionGroup) XXX_Merge(src proto.Message)
func (*CreateTransactionGroup) XXX_Size ¶
func (m *CreateTransactionGroup) XXX_Size() int
func (*CreateTransactionGroup) XXX_Unmarshal ¶
func (m *CreateTransactionGroup) XXX_Unmarshal(b []byte) error
type CreateTx ¶
type CreateTx struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` Note []byte `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` IsWithdraw bool `protobuf:"varint,5,opt,name=isWithdraw,proto3" json:"isWithdraw,omitempty"` IsToken bool `protobuf:"varint,6,opt,name=isToken,proto3" json:"isToken,omitempty"` TokenSymbol string `protobuf:"bytes,7,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` ExecName string `protobuf:"bytes,8,opt,name=execName,proto3" json:"execName,omitempty"` Execer string `protobuf:"bytes,9,opt,name=execer,proto3" json:"execer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTx) Descriptor ¶
func (*CreateTx) GetExecName ¶
func (*CreateTx) GetIsToken ¶
func (*CreateTx) GetIsWithdraw ¶
func (*CreateTx) GetTokenSymbol ¶
func (*CreateTx) ProtoMessage ¶
func (*CreateTx) ProtoMessage()
func (*CreateTx) XXX_DiscardUnknown ¶
func (m *CreateTx) XXX_DiscardUnknown()
func (*CreateTx) XXX_Marshal ¶
func (*CreateTx) XXX_Unmarshal ¶
type CreateTxIn ¶
type CreateTxIn struct { Execer []byte `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"` ActionName string `protobuf:"bytes,2,opt,name=actionName,proto3" json:"actionName,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTxIn) Descriptor ¶
func (*CreateTxIn) Descriptor() ([]byte, []int)
func (*CreateTxIn) GetActionName ¶
func (m *CreateTxIn) GetActionName() string
func (*CreateTxIn) GetExecer ¶
func (m *CreateTxIn) GetExecer() []byte
func (*CreateTxIn) GetPayload ¶
func (m *CreateTxIn) GetPayload() []byte
func (*CreateTxIn) ProtoMessage ¶
func (*CreateTxIn) ProtoMessage()
func (*CreateTxIn) Reset ¶
func (m *CreateTxIn) Reset()
func (*CreateTxIn) String ¶
func (m *CreateTxIn) String() string
func (*CreateTxIn) XXX_DiscardUnknown ¶
func (m *CreateTxIn) XXX_DiscardUnknown()
func (*CreateTxIn) XXX_Marshal ¶
func (m *CreateTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTxIn) XXX_Merge ¶
func (m *CreateTxIn) XXX_Merge(src proto.Message)
func (*CreateTxIn) XXX_Size ¶
func (m *CreateTxIn) XXX_Size() int
func (*CreateTxIn) XXX_Unmarshal ¶
func (m *CreateTxIn) XXX_Unmarshal(b []byte) error
type EndBlock ¶
type EndBlock struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
存储block高度和hash
func (*EndBlock) Descriptor ¶
func (*EndBlock) ProtoMessage ¶
func (*EndBlock) ProtoMessage()
func (*EndBlock) XXX_DiscardUnknown ¶
func (m *EndBlock) XXX_DiscardUnknown()
func (*EndBlock) XXX_Marshal ¶
func (*EndBlock) XXX_Unmarshal ¶
type Entry ¶
type Entry struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` View uint32 `protobuf:"varint,3,opt,name=view,proto3" json:"view,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Entry) Descriptor ¶
func (*Entry) GetSequence ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
type Exec ¶
type Exec struct { // 是否开启stat插件 EnableStat bool `json:"enableStat,omitempty"` // 是否开启MVCC插件 EnableMVCC bool `json:"enableMVCC,omitempty"` DisableAddrIndex bool `json:"disableAddrIndex,omitempty"` Alias []string `json:"alias,omitempty"` // 是否保存token交易信息 SaveTokenTxList bool `json:"saveTokenTxList,omitempty"` }
Exec 配置
type ExecAccount ¶
type ExecAccount struct { Execer string `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"` Account *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecAccount) Descriptor ¶
func (*ExecAccount) Descriptor() ([]byte, []int)
func (*ExecAccount) GetAccount ¶
func (m *ExecAccount) GetAccount() *Account
func (*ExecAccount) GetExecer ¶
func (m *ExecAccount) GetExecer() string
func (*ExecAccount) ProtoMessage ¶
func (*ExecAccount) ProtoMessage()
func (*ExecAccount) Reset ¶
func (m *ExecAccount) Reset()
func (*ExecAccount) String ¶
func (m *ExecAccount) String() string
func (*ExecAccount) XXX_DiscardUnknown ¶
func (m *ExecAccount) XXX_DiscardUnknown()
func (*ExecAccount) XXX_Marshal ¶
func (m *ExecAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecAccount) XXX_Merge ¶
func (m *ExecAccount) XXX_Merge(src proto.Message)
func (*ExecAccount) XXX_Size ¶
func (m *ExecAccount) XXX_Size() int
func (*ExecAccount) XXX_Unmarshal ¶
func (m *ExecAccount) XXX_Unmarshal(b []byte) error
type ExecBalanceItem ¶
type ExecBalanceItem struct { ExecAddr []byte `protobuf:"bytes,1,opt,name=execAddr,proto3" json:"execAddr,omitempty"` Frozen int64 `protobuf:"varint,2,opt,name=frozen,proto3" json:"frozen,omitempty"` Active int64 `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecBalanceItem) Descriptor ¶
func (*ExecBalanceItem) Descriptor() ([]byte, []int)
func (*ExecBalanceItem) GetActive ¶
func (m *ExecBalanceItem) GetActive() int64
func (*ExecBalanceItem) GetExecAddr ¶
func (m *ExecBalanceItem) GetExecAddr() []byte
func (*ExecBalanceItem) GetFrozen ¶
func (m *ExecBalanceItem) GetFrozen() int64
func (*ExecBalanceItem) ProtoMessage ¶
func (*ExecBalanceItem) ProtoMessage()
func (*ExecBalanceItem) Reset ¶
func (m *ExecBalanceItem) Reset()
func (*ExecBalanceItem) String ¶
func (m *ExecBalanceItem) String() string
func (*ExecBalanceItem) XXX_DiscardUnknown ¶
func (m *ExecBalanceItem) XXX_DiscardUnknown()
func (*ExecBalanceItem) XXX_Marshal ¶
func (m *ExecBalanceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecBalanceItem) XXX_Merge ¶
func (m *ExecBalanceItem) XXX_Merge(src proto.Message)
func (*ExecBalanceItem) XXX_Size ¶
func (m *ExecBalanceItem) XXX_Size() int
func (*ExecBalanceItem) XXX_Unmarshal ¶
func (m *ExecBalanceItem) XXX_Unmarshal(b []byte) error
type ExecTxList ¶
type ExecTxList struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` ParentHash []byte `protobuf:"bytes,7,opt,name=parentHash,proto3" json:"parentHash,omitempty"` MainHash []byte `protobuf:"bytes,8,opt,name=mainHash,proto3" json:"mainHash,omitempty"` MainHeight int64 `protobuf:"varint,9,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` BlockTime int64 `protobuf:"varint,3,opt,name=blockTime,proto3" json:"blockTime,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Difficulty uint64 `protobuf:"varint,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"` IsMempool bool `protobuf:"varint,6,opt,name=isMempool,proto3" json:"isMempool,omitempty"` Txs []*Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecTxList) Descriptor ¶
func (*ExecTxList) Descriptor() ([]byte, []int)
func (*ExecTxList) GetBlockTime ¶
func (m *ExecTxList) GetBlockTime() int64
func (*ExecTxList) GetDifficulty ¶
func (m *ExecTxList) GetDifficulty() uint64
func (*ExecTxList) GetHeight ¶
func (m *ExecTxList) GetHeight() int64
func (*ExecTxList) GetIsMempool ¶
func (m *ExecTxList) GetIsMempool() bool
func (*ExecTxList) GetMainHash ¶
func (m *ExecTxList) GetMainHash() []byte
func (*ExecTxList) GetMainHeight ¶
func (m *ExecTxList) GetMainHeight() int64
func (*ExecTxList) GetParentHash ¶
func (m *ExecTxList) GetParentHash() []byte
func (*ExecTxList) GetStateHash ¶
func (m *ExecTxList) GetStateHash() []byte
func (*ExecTxList) GetTxs ¶
func (m *ExecTxList) GetTxs() []*Transaction
func (*ExecTxList) ProtoMessage ¶
func (*ExecTxList) ProtoMessage()
func (*ExecTxList) Reset ¶
func (m *ExecTxList) Reset()
func (*ExecTxList) String ¶
func (m *ExecTxList) String() string
func (*ExecTxList) XXX_DiscardUnknown ¶
func (m *ExecTxList) XXX_DiscardUnknown()
func (*ExecTxList) XXX_Marshal ¶
func (m *ExecTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecTxList) XXX_Merge ¶
func (m *ExecTxList) XXX_Merge(src proto.Message)
func (*ExecTxList) XXX_Size ¶
func (m *ExecTxList) XXX_Size() int
func (*ExecTxList) XXX_Unmarshal ¶
func (m *ExecTxList) XXX_Unmarshal(b []byte) error
type ExecTypeBase ¶
type ExecTypeBase struct {
// contains filtered or unexported fields
}
ExecTypeBase 执行类型
func (*ExecTypeBase) ActionName ¶
func (base *ExecTypeBase) ActionName(tx *Transaction) string
ActionName 获取交易中payload的action name
func (*ExecTypeBase) Amount ¶
func (base *ExecTypeBase) Amount(tx *Transaction) (int64, error)
Amount 获取tx交易中的转账金额
func (*ExecTypeBase) AssertCreate ¶
func (base *ExecTypeBase) AssertCreate(c *CreateTx) (*Transaction, error)
AssertCreate 构造assets资产交易
func (*ExecTypeBase) Create ¶
func (base *ExecTypeBase) Create(action string, msg Message) (*Transaction, error)
Create 构造tx交易
func (*ExecTypeBase) CreateQuery ¶
func (base *ExecTypeBase) CreateQuery(funcname string, message json.RawMessage) (Message, error)
CreateQuery Query接口查询
func (*ExecTypeBase) CreateTransaction ¶
func (base *ExecTypeBase) CreateTransaction(action string, data Message) (tx *Transaction, err error)
CreateTransaction 构造Transaction
func (*ExecTypeBase) CreateTx ¶
func (base *ExecTypeBase) CreateTx(action string, msg json.RawMessage) (*Transaction, error)
CreateTx 通过json rpc 创建交易
func (*ExecTypeBase) DecodePayload ¶
func (base *ExecTypeBase) DecodePayload(tx *Transaction) (Message, error)
DecodePayload 解析tx交易中的payload
func (*ExecTypeBase) DecodePayloadValue ¶
func (base *ExecTypeBase) DecodePayloadValue(tx *Transaction) (string, reflect.Value, error)
DecodePayloadValue 解析tx交易中的payload具体Value值
func (*ExecTypeBase) GetAction ¶
func (base *ExecTypeBase) GetAction(action string) (Message, error)
GetAction 获取action
func (*ExecTypeBase) GetAssets ¶
func (base *ExecTypeBase) GetAssets(tx *Transaction) ([]*Asset, error)
GetAssets 获取资产信息
func (*ExecTypeBase) GetCryptoDriver ¶
func (base *ExecTypeBase) GetCryptoDriver(ty int) (string, error)
GetCryptoDriver 获取Crypto驱动
func (*ExecTypeBase) GetCryptoType ¶
func (base *ExecTypeBase) GetCryptoType(name string) (int, error)
GetCryptoType 获取Crypto类型
func (*ExecTypeBase) GetExecFuncMap ¶
func (base *ExecTypeBase) GetExecFuncMap() map[string]reflect.Method
GetExecFuncMap 获取执行交易的接口列表
func (*ExecTypeBase) GetFuncMap ¶
func (base *ExecTypeBase) GetFuncMap() map[string]reflect.Method
GetFuncMap 获取函数列表
func (*ExecTypeBase) GetRPCFuncMap ¶
func (base *ExecTypeBase) GetRPCFuncMap() map[string]reflect.Method
GetRPCFuncMap 获取rpc的接口列表
func (*ExecTypeBase) GetRealToAddr ¶
func (base *ExecTypeBase) GetRealToAddr(tx *Transaction) string
GetRealToAddr 用户看到的ToAddr
func (*ExecTypeBase) GetValueTypeMap ¶
func (base *ExecTypeBase) GetValueTypeMap() map[string]reflect.Type
GetValueTypeMap 获取执行函数
func (*ExecTypeBase) GetViewFromToAddr ¶
func (base *ExecTypeBase) GetViewFromToAddr(tx *Transaction) (string, string)
GetViewFromToAddr 用户看到的FromAddr
func (*ExecTypeBase) InitFuncList ¶
func (base *ExecTypeBase) InitFuncList(list map[string]reflect.Method)
InitFuncList 初始化函数列表
func (*ExecTypeBase) IsFork ¶
func (base *ExecTypeBase) IsFork(height int64, key string) bool
IsFork 是否fork高度
func (*ExecTypeBase) QueryToJSON ¶
func (base *ExecTypeBase) QueryToJSON(funcname string, message Message) ([]byte, error)
QueryToJSON 转换成json格式
func (*ExecTypeBase) SetChild ¶
func (base *ExecTypeBase) SetChild(child ExecutorType)
SetChild 设置子执行器
func (*ExecTypeBase) SetConfig ¶
func (base *ExecTypeBase) SetConfig(cfg *Chain33Config)
SetConfig ...
type ExecutorType ¶
type ExecutorType interface { //获取交易真正的to addr GetRealToAddr(tx *Transaction) string GetCryptoDriver(ty int) (string, error) GetCryptoType(name string) (int, error) //给用户显示的from 和 to GetViewFromToAddr(tx *Transaction) (string, string) ActionName(tx *Transaction) string //新版本使用create接口,createTx 重构以后就废弃 GetAction(action string) (Message, error) InitFuncList(list map[string]reflect.Method) Create(action string, message Message) (*Transaction, error) CreateTx(action string, message json.RawMessage) (*Transaction, error) CreateQuery(funcname string, message json.RawMessage) (Message, error) AssertCreate(createTx *CreateTx) (*Transaction, error) QueryToJSON(funcname string, message Message) ([]byte, error) Amount(tx *Transaction) (int64, error) DecodePayload(tx *Transaction) (Message, error) DecodePayloadValue(tx *Transaction) (string, reflect.Value, error) //write for executor GetPayload() Message GetChild() ExecutorType GetName() string //exec result of receipt log GetLogMap() map[int64]*LogInfo GetForks() *Forks IsFork(height int64, key string) bool //actionType -> name map GetTypeMap() map[string]int32 GetValueTypeMap() map[string]reflect.Type //action function list map GetFuncMap() map[string]reflect.Method GetRPCFuncMap() map[string]reflect.Method GetExecFuncMap() map[string]reflect.Method CreateTransaction(action string, data Message) (*Transaction, error) // collect assets the tx deal with GetAssets(tx *Transaction) ([]*Asset, error) // about chain33Config GetConfig() *Chain33Config SetConfig(cfg *Chain33Config) }
ExecutorType 执行器接口
type FetchTopicList ¶ added in v1.65.0
type FetchTopicList struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FetchTopicList) Descriptor ¶ added in v1.65.0
func (*FetchTopicList) Descriptor() ([]byte, []int)
func (*FetchTopicList) GetModule ¶ added in v1.65.0
func (m *FetchTopicList) GetModule() string
func (*FetchTopicList) ProtoMessage ¶ added in v1.65.0
func (*FetchTopicList) ProtoMessage()
func (*FetchTopicList) Reset ¶ added in v1.65.0
func (m *FetchTopicList) Reset()
func (*FetchTopicList) String ¶ added in v1.65.0
func (m *FetchTopicList) String() string
func (*FetchTopicList) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *FetchTopicList) XXX_DiscardUnknown()
func (*FetchTopicList) XXX_Marshal ¶ added in v1.65.0
func (m *FetchTopicList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FetchTopicList) XXX_Merge ¶ added in v1.65.0
func (m *FetchTopicList) XXX_Merge(src proto.Message)
func (*FetchTopicList) XXX_Size ¶ added in v1.65.0
func (m *FetchTopicList) XXX_Size() int
func (*FetchTopicList) XXX_Unmarshal ¶ added in v1.65.0
func (m *FetchTopicList) XXX_Unmarshal(b []byte) error
type FileHeader ¶
type FileHeader struct { StartHeight int64 `protobuf:"varint,1,opt,name=startHeight,proto3" json:"startHeight,omitempty"` Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` TestNet bool `protobuf:"varint,4,opt,name=testNet,proto3" json:"testNet,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
导出block文件头信息
func (*FileHeader) Descriptor ¶
func (*FileHeader) Descriptor() ([]byte, []int)
func (*FileHeader) GetDriver ¶
func (m *FileHeader) GetDriver() string
func (*FileHeader) GetStartHeight ¶
func (m *FileHeader) GetStartHeight() int64
func (*FileHeader) GetTestNet ¶
func (m *FileHeader) GetTestNet() bool
func (*FileHeader) GetTitle ¶
func (m *FileHeader) GetTitle() string
func (*FileHeader) ProtoMessage ¶
func (*FileHeader) ProtoMessage()
func (*FileHeader) Reset ¶
func (m *FileHeader) Reset()
func (*FileHeader) String ¶
func (m *FileHeader) String() string
func (*FileHeader) XXX_DiscardUnknown ¶
func (m *FileHeader) XXX_DiscardUnknown()
func (*FileHeader) XXX_Marshal ¶
func (m *FileHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileHeader) XXX_Merge ¶
func (m *FileHeader) XXX_Merge(src proto.Message)
func (*FileHeader) XXX_Size ¶
func (m *FileHeader) XXX_Size() int
func (*FileHeader) XXX_Unmarshal ¶
func (m *FileHeader) XXX_Unmarshal(b []byte) error
type Forks ¶
type Forks struct {
// contains filtered or unexported fields
}
Forks fork分叉结构体
func (*Forks) GetDappFork ¶
GetDappFork 获取dapp fork信息
func (*Forks) IsDappFork ¶
IsDappFork 是否dapp fork高度
func (*Forks) ReplaceDappFork ¶
ReplaceDappFork 替换dapp的fork信息
func (*Forks) ReplaceFork ¶
ReplaceFork 替换fork信息
func (*Forks) SetDappFork ¶
SetDappFork 设置dapp的fork信息
func (*Forks) SetTestNetFork ¶
func (f *Forks) SetTestNetFork()
SetTestNetFork bityuan test net fork
type GenSeedLang ¶
type GenSeedLang struct { Lang int32 `protobuf:"varint,1,opt,name=lang,proto3" json:"lang,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenSeedLang) Descriptor ¶
func (*GenSeedLang) Descriptor() ([]byte, []int)
func (*GenSeedLang) GetLang ¶
func (m *GenSeedLang) GetLang() int32
func (*GenSeedLang) ProtoMessage ¶
func (*GenSeedLang) ProtoMessage()
func (*GenSeedLang) Reset ¶
func (m *GenSeedLang) Reset()
func (*GenSeedLang) String ¶
func (m *GenSeedLang) String() string
func (*GenSeedLang) XXX_DiscardUnknown ¶
func (m *GenSeedLang) XXX_DiscardUnknown()
func (*GenSeedLang) XXX_Marshal ¶
func (m *GenSeedLang) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenSeedLang) XXX_Merge ¶
func (m *GenSeedLang) XXX_Merge(src proto.Message)
func (*GenSeedLang) XXX_Size ¶
func (m *GenSeedLang) XXX_Size() int
func (*GenSeedLang) XXX_Unmarshal ¶
func (m *GenSeedLang) XXX_Unmarshal(b []byte) error
type Genesis ¶
type Genesis struct { Isrun bool `protobuf:"varint,1,opt,name=isrun,proto3" json:"isrun,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Genesis) Descriptor ¶
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) XXX_DiscardUnknown ¶
func (m *Genesis) XXX_DiscardUnknown()
func (*Genesis) XXX_Marshal ¶
func (*Genesis) XXX_Unmarshal ¶
type GetSeedByPw ¶
type GetSeedByPw struct { Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSeedByPw) Descriptor ¶
func (*GetSeedByPw) Descriptor() ([]byte, []int)
func (*GetSeedByPw) GetPasswd ¶
func (m *GetSeedByPw) GetPasswd() string
func (*GetSeedByPw) ProtoMessage ¶
func (*GetSeedByPw) ProtoMessage()
func (*GetSeedByPw) Reset ¶
func (m *GetSeedByPw) Reset()
func (*GetSeedByPw) String ¶
func (m *GetSeedByPw) String() string
func (*GetSeedByPw) XXX_DiscardUnknown ¶
func (m *GetSeedByPw) XXX_DiscardUnknown()
func (*GetSeedByPw) XXX_Marshal ¶
func (m *GetSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSeedByPw) XXX_Merge ¶
func (m *GetSeedByPw) XXX_Merge(src proto.Message)
func (*GetSeedByPw) XXX_Size ¶
func (m *GetSeedByPw) XXX_Size() int
func (*GetSeedByPw) XXX_Unmarshal ¶
func (m *GetSeedByPw) XXX_Unmarshal(b []byte) error
type HashList ¶ added in v1.65.1
type HashList struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HashList) Descriptor ¶ added in v1.65.1
func (*HashList) ProtoMessage ¶ added in v1.65.1
func (*HashList) ProtoMessage()
func (*HashList) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *HashList) XXX_DiscardUnknown()
func (*HashList) XXX_Marshal ¶ added in v1.65.1
func (*HashList) XXX_Unmarshal ¶ added in v1.65.1
type Header ¶
type Header struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ParentHash []byte `protobuf:"bytes,2,opt,name=parentHash,proto3" json:"parentHash,omitempty"` TxHash []byte `protobuf:"bytes,3,opt,name=txHash,proto3" json:"txHash,omitempty"` StateHash []byte `protobuf:"bytes,4,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` BlockTime int64 `protobuf:"varint,6,opt,name=blockTime,proto3" json:"blockTime,omitempty"` TxCount int64 `protobuf:"varint,9,opt,name=txCount,proto3" json:"txCount,omitempty"` Hash []byte `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty"` Difficulty uint32 `protobuf:"varint,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"` Signature *Signature `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块头信息
version : 版本信息 parentHash :父哈希 txHash : 交易根哈希 stateHash :状态哈希 height : 区块高度 blockTime :区块产生时的时标 txCount : 区块上所有交易个数 difficulty :区块难度系数, signature :交易签名
func (*Header) Descriptor ¶
func (*Header) GetBlockTime ¶
func (*Header) GetDifficulty ¶
func (*Header) GetParentHash ¶
func (*Header) GetSignature ¶
func (*Header) GetStateHash ¶
func (*Header) GetTxCount ¶
func (*Header) GetVersion ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type HeaderSeq ¶
type HeaderSeq struct { Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` Seq *BlockSequence `protobuf:"bytes,2,opt,name=seq,proto3" json:"seq,omitempty"` Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过seq获取区块的header信息
func (*HeaderSeq) Descriptor ¶
func (*HeaderSeq) GetSeq ¶
func (m *HeaderSeq) GetSeq() *BlockSequence
func (*HeaderSeq) ProtoMessage ¶
func (*HeaderSeq) ProtoMessage()
func (*HeaderSeq) XXX_DiscardUnknown ¶
func (m *HeaderSeq) XXX_DiscardUnknown()
func (*HeaderSeq) XXX_Marshal ¶
func (*HeaderSeq) XXX_Unmarshal ¶
type HeaderSeqs ¶
type HeaderSeqs struct { Seqs []*HeaderSeq `protobuf:"bytes,1,rep,name=seqs,proto3" json:"seqs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
批量推送区块的header信息
func (*HeaderSeqs) Descriptor ¶
func (*HeaderSeqs) Descriptor() ([]byte, []int)
func (*HeaderSeqs) GetSeqs ¶
func (m *HeaderSeqs) GetSeqs() []*HeaderSeq
func (*HeaderSeqs) ProtoMessage ¶
func (*HeaderSeqs) ProtoMessage()
func (*HeaderSeqs) Reset ¶
func (m *HeaderSeqs) Reset()
func (*HeaderSeqs) String ¶
func (m *HeaderSeqs) String() string
func (*HeaderSeqs) XXX_DiscardUnknown ¶
func (m *HeaderSeqs) XXX_DiscardUnknown()
func (*HeaderSeqs) XXX_Marshal ¶
func (m *HeaderSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderSeqs) XXX_Merge ¶
func (m *HeaderSeqs) XXX_Merge(src proto.Message)
func (*HeaderSeqs) XXX_Size ¶
func (m *HeaderSeqs) XXX_Size() int
func (*HeaderSeqs) XXX_Unmarshal ¶
func (m *HeaderSeqs) XXX_Unmarshal(b []byte) error
type Headers ¶
type Headers struct { Items []*Header `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
resp
func (*Headers) Descriptor ¶
func (*Headers) ProtoMessage ¶
func (*Headers) ProtoMessage()
func (*Headers) XXX_DiscardUnknown ¶
func (m *Headers) XXX_DiscardUnknown()
func (*Headers) XXX_Marshal ¶
func (*Headers) XXX_Unmarshal ¶
type HeadersPid ¶
type HeadersPid struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"` Headers *Headers `protobuf:"bytes,2,opt,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HeadersPid) Descriptor ¶
func (*HeadersPid) Descriptor() ([]byte, []int)
func (*HeadersPid) GetHeaders ¶
func (m *HeadersPid) GetHeaders() *Headers
func (*HeadersPid) GetPid ¶
func (m *HeadersPid) GetPid() string
func (*HeadersPid) ProtoMessage ¶
func (*HeadersPid) ProtoMessage()
func (*HeadersPid) Reset ¶
func (m *HeadersPid) Reset()
func (*HeadersPid) String ¶
func (m *HeadersPid) String() string
func (*HeadersPid) XXX_DiscardUnknown ¶
func (m *HeadersPid) XXX_DiscardUnknown()
func (*HeadersPid) XXX_Marshal ¶
func (m *HeadersPid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeadersPid) XXX_Merge ¶
func (m *HeadersPid) XXX_Merge(src proto.Message)
func (*HeadersPid) XXX_Size ¶
func (m *HeadersPid) XXX_Size() int
func (*HeadersPid) XXX_Unmarshal ¶
func (m *HeadersPid) XXX_Unmarshal(b []byte) error
type HealthCheck ¶
type HealthCheck struct { ListenAddr string `json:"listenAddr,omitempty"` CheckInterval uint32 `json:"checkInterval,omitempty"` UnSyncMaxTimes uint32 `json:"unSyncMaxTimes,omitempty"` }
HealthCheck 配置
type HeightPara ¶
type HeightPara struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` ChildHash []byte `protobuf:"bytes,4,opt,name=childHash,proto3" json:"childHash,omitempty"` StartIndex int32 `protobuf:"varint,5,opt,name=startIndex,proto3" json:"startIndex,omitempty"` ChildHashIndex uint32 `protobuf:"varint,6,opt,name=childHashIndex,proto3" json:"childHashIndex,omitempty"` TxCount int32 `protobuf:"varint,7,opt,name=txCount,proto3" json:"txCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
记录本平行链所在区块的信息以及子根hash值 childHash:平行链子roothash值 startIndex:此平行链的第一笔交易的index索引值 childHashIndex:此平行链子roothash在本区块中的索引值 txCount:此平行链交易的个数
func (*HeightPara) Descriptor ¶
func (*HeightPara) Descriptor() ([]byte, []int)
func (*HeightPara) GetChildHash ¶
func (m *HeightPara) GetChildHash() []byte
func (*HeightPara) GetChildHashIndex ¶
func (m *HeightPara) GetChildHashIndex() uint32
func (*HeightPara) GetHash ¶
func (m *HeightPara) GetHash() []byte
func (*HeightPara) GetHeight ¶
func (m *HeightPara) GetHeight() int64
func (*HeightPara) GetStartIndex ¶
func (m *HeightPara) GetStartIndex() int32
func (*HeightPara) GetTitle ¶
func (m *HeightPara) GetTitle() string
func (*HeightPara) GetTxCount ¶
func (m *HeightPara) GetTxCount() int32
func (*HeightPara) ProtoMessage ¶
func (*HeightPara) ProtoMessage()
func (*HeightPara) Reset ¶
func (m *HeightPara) Reset()
func (*HeightPara) String ¶
func (m *HeightPara) String() string
func (*HeightPara) XXX_DiscardUnknown ¶
func (m *HeightPara) XXX_DiscardUnknown()
func (*HeightPara) XXX_Marshal ¶
func (m *HeightPara) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeightPara) XXX_Merge ¶
func (m *HeightPara) XXX_Merge(src proto.Message)
func (*HeightPara) XXX_Size ¶
func (m *HeightPara) XXX_Size() int
func (*HeightPara) XXX_Unmarshal ¶
func (m *HeightPara) XXX_Unmarshal(b []byte) error
type HeightParas ¶
type HeightParas struct { Items []*HeightPara `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HeightParas) Descriptor ¶
func (*HeightParas) Descriptor() ([]byte, []int)
func (*HeightParas) GetItems ¶
func (m *HeightParas) GetItems() []*HeightPara
func (*HeightParas) ProtoMessage ¶
func (*HeightParas) ProtoMessage()
func (*HeightParas) Reset ¶
func (m *HeightParas) Reset()
func (*HeightParas) String ¶
func (m *HeightParas) String() string
func (*HeightParas) XXX_DiscardUnknown ¶
func (m *HeightParas) XXX_DiscardUnknown()
func (*HeightParas) XXX_Marshal ¶
func (m *HeightParas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeightParas) XXX_Merge ¶
func (m *HeightParas) XXX_Merge(src proto.Message)
func (*HeightParas) XXX_Size ¶
func (m *HeightParas) XXX_Size() int
func (*HeightParas) XXX_Unmarshal ¶
func (m *HeightParas) XXX_Unmarshal(b []byte) error
type HexTx ¶
type HexTx struct { Tx string `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HexTx) Descriptor ¶
func (*HexTx) ProtoMessage ¶
func (*HexTx) ProtoMessage()
func (*HexTx) XXX_DiscardUnknown ¶
func (m *HexTx) XXX_DiscardUnknown()
func (*HexTx) XXX_Marshal ¶
func (*HexTx) XXX_Unmarshal ¶
type HistoryCertStore ¶
type HistoryCertStore struct { Rootcerts [][]byte `protobuf:"bytes,1,rep,name=rootcerts,proto3" json:"rootcerts,omitempty"` IntermediateCerts [][]byte `protobuf:"bytes,2,rep,name=intermediateCerts,proto3" json:"intermediateCerts,omitempty"` RevocationList [][]byte `protobuf:"bytes,3,rep,name=revocationList,proto3" json:"revocationList,omitempty"` CurHeigth int64 `protobuf:"varint,4,opt,name=curHeigth,proto3" json:"curHeigth,omitempty"` NxtHeight int64 `protobuf:"varint,5,opt,name=nxtHeight,proto3" json:"nxtHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryCertStore) Descriptor ¶
func (*HistoryCertStore) Descriptor() ([]byte, []int)
func (*HistoryCertStore) GetCurHeigth ¶
func (m *HistoryCertStore) GetCurHeigth() int64
func (*HistoryCertStore) GetIntermediateCerts ¶
func (m *HistoryCertStore) GetIntermediateCerts() [][]byte
func (*HistoryCertStore) GetNxtHeight ¶
func (m *HistoryCertStore) GetNxtHeight() int64
func (*HistoryCertStore) GetRevocationList ¶
func (m *HistoryCertStore) GetRevocationList() [][]byte
func (*HistoryCertStore) GetRootcerts ¶
func (m *HistoryCertStore) GetRootcerts() [][]byte
func (*HistoryCertStore) ProtoMessage ¶
func (*HistoryCertStore) ProtoMessage()
func (*HistoryCertStore) Reset ¶
func (m *HistoryCertStore) Reset()
func (*HistoryCertStore) String ¶
func (m *HistoryCertStore) String() string
func (*HistoryCertStore) XXX_DiscardUnknown ¶
func (m *HistoryCertStore) XXX_DiscardUnknown()
func (*HistoryCertStore) XXX_Marshal ¶
func (m *HistoryCertStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryCertStore) XXX_Merge ¶
func (m *HistoryCertStore) XXX_Merge(src proto.Message)
func (*HistoryCertStore) XXX_Size ¶
func (m *HistoryCertStore) XXX_Size() int
func (*HistoryCertStore) XXX_Unmarshal ¶
func (m *HistoryCertStore) XXX_Unmarshal(b []byte) error
type InnerNode ¶
type InnerNode struct { LeftHash []byte `protobuf:"bytes,1,opt,name=leftHash,proto3" json:"leftHash,omitempty"` RightHash []byte `protobuf:"bytes,2,opt,name=rightHash,proto3" json:"rightHash,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InnerNode) Descriptor ¶
func (*InnerNode) GetLeftHash ¶
func (*InnerNode) GetRightHash ¶
func (*InnerNode) ProtoMessage ¶
func (*InnerNode) ProtoMessage()
func (*InnerNode) XXX_DiscardUnknown ¶
func (m *InnerNode) XXX_DiscardUnknown()
func (*InnerNode) XXX_Marshal ¶
func (*InnerNode) XXX_Unmarshal ¶
type Int32 ¶
type Int32 struct { Data int32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int32) Descriptor ¶
func (*Int32) ProtoMessage ¶
func (*Int32) ProtoMessage()
func (*Int32) XXX_DiscardUnknown ¶
func (m *Int32) XXX_DiscardUnknown()
func (*Int32) XXX_Marshal ¶
func (*Int32) XXX_Unmarshal ¶
type Int32Config ¶
type Int32Config struct { Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int32Config) Descriptor ¶
func (*Int32Config) Descriptor() ([]byte, []int)
func (*Int32Config) GetValue ¶
func (m *Int32Config) GetValue() int32
func (*Int32Config) ProtoMessage ¶
func (*Int32Config) ProtoMessage()
func (*Int32Config) Reset ¶
func (m *Int32Config) Reset()
func (*Int32Config) String ¶
func (m *Int32Config) String() string
func (*Int32Config) XXX_DiscardUnknown ¶
func (m *Int32Config) XXX_DiscardUnknown()
func (*Int32Config) XXX_Marshal ¶
func (m *Int32Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int32Config) XXX_Merge ¶
func (m *Int32Config) XXX_Merge(src proto.Message)
func (*Int32Config) XXX_Size ¶
func (m *Int32Config) XXX_Size() int
func (*Int32Config) XXX_Unmarshal ¶
func (m *Int32Config) XXX_Unmarshal(b []byte) error
type Int64 ¶
type Int64 struct { Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int64) Descriptor ¶
func (*Int64) ProtoMessage ¶
func (*Int64) ProtoMessage()
func (*Int64) XXX_DiscardUnknown ¶
func (m *Int64) XXX_DiscardUnknown()
func (*Int64) XXX_Marshal ¶
func (*Int64) XXX_Unmarshal ¶
type InvData ¶
type InvData struct { // Types that are valid to be assigned to Value: // *InvData_Tx // *InvData_Block Value isInvData_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* inv 请求协议
func (*InvData) Descriptor ¶
func (*InvData) GetTx ¶
func (m *InvData) GetTx() *Transaction
func (*InvData) ProtoMessage ¶
func (*InvData) ProtoMessage()
func (*InvData) XXX_DiscardUnknown ¶
func (m *InvData) XXX_DiscardUnknown()
func (*InvData) XXX_Marshal ¶
func (*InvData) XXX_OneofWrappers ¶
func (*InvData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*InvData) XXX_Unmarshal ¶
type InvData_Block ¶
type InvData_Block struct {
Block *Block `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}
type InvData_Tx ¶
type InvData_Tx struct {
Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}
type InvDatas ¶
type InvDatas struct { Items []*InvData `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* inv 返回数据
func (*InvDatas) Descriptor ¶
func (*InvDatas) ProtoMessage ¶
func (*InvDatas) ProtoMessage()
func (*InvDatas) XXX_DiscardUnknown ¶
func (m *InvDatas) XXX_DiscardUnknown()
func (*InvDatas) XXX_Marshal ¶
func (*InvDatas) XXX_Unmarshal ¶
type Inventory ¶
type Inventory struct { //类型,数据类型,MSG_TX MSG_BLOCK Ty int32 `protobuf:"varint,1,opt,name=ty,proto3" json:"ty,omitempty"` ///哈希 Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` //高度 Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ty=MSG_TX MSG_BLOCK
func (*Inventory) Descriptor ¶
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) XXX_DiscardUnknown ¶
func (m *Inventory) XXX_DiscardUnknown()
func (*Inventory) XXX_Marshal ¶
func (*Inventory) XXX_Unmarshal ¶
type IsCaughtUp ¶
type IsCaughtUp struct { Iscaughtup bool `protobuf:"varint,1,opt,name=Iscaughtup,proto3" json:"Iscaughtup,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块追赶主链状态,用于判断本节点区块是否已经同步好
func (*IsCaughtUp) Descriptor ¶
func (*IsCaughtUp) Descriptor() ([]byte, []int)
func (*IsCaughtUp) GetIscaughtup ¶
func (m *IsCaughtUp) GetIscaughtup() bool
func (*IsCaughtUp) ProtoMessage ¶
func (*IsCaughtUp) ProtoMessage()
func (*IsCaughtUp) Reset ¶
func (m *IsCaughtUp) Reset()
func (*IsCaughtUp) String ¶
func (m *IsCaughtUp) String() string
func (*IsCaughtUp) XXX_DiscardUnknown ¶
func (m *IsCaughtUp) XXX_DiscardUnknown()
func (*IsCaughtUp) XXX_Marshal ¶
func (m *IsCaughtUp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsCaughtUp) XXX_Merge ¶
func (m *IsCaughtUp) XXX_Merge(src proto.Message)
func (*IsCaughtUp) XXX_Size ¶
func (m *IsCaughtUp) XXX_Size() int
func (*IsCaughtUp) XXX_Unmarshal ¶
func (m *IsCaughtUp) XXX_Unmarshal(b []byte) error
type IsNtpClockSync ¶
type IsNtpClockSync struct { Isntpclocksync bool `protobuf:"varint,1,opt,name=isntpclocksync,proto3" json:"isntpclocksync,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ntp时钟状态
func (*IsNtpClockSync) Descriptor ¶
func (*IsNtpClockSync) Descriptor() ([]byte, []int)
func (*IsNtpClockSync) GetIsntpclocksync ¶
func (m *IsNtpClockSync) GetIsntpclocksync() bool
func (*IsNtpClockSync) ProtoMessage ¶
func (*IsNtpClockSync) ProtoMessage()
func (*IsNtpClockSync) Reset ¶
func (m *IsNtpClockSync) Reset()
func (*IsNtpClockSync) String ¶
func (m *IsNtpClockSync) String() string
func (*IsNtpClockSync) XXX_DiscardUnknown ¶
func (m *IsNtpClockSync) XXX_DiscardUnknown()
func (*IsNtpClockSync) XXX_Marshal ¶
func (m *IsNtpClockSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsNtpClockSync) XXX_Merge ¶
func (m *IsNtpClockSync) XXX_Merge(src proto.Message)
func (*IsNtpClockSync) XXX_Size ¶
func (m *IsNtpClockSync) XXX_Size() int
func (*IsNtpClockSync) XXX_Unmarshal ¶
func (m *IsNtpClockSync) XXX_Unmarshal(b []byte) error
type IterateRangeByStateHash ¶
type IterateRangeByStateHash struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Start []byte `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End []byte `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
迭代查询symbol代币总额
func (*IterateRangeByStateHash) Descriptor ¶
func (*IterateRangeByStateHash) Descriptor() ([]byte, []int)
func (*IterateRangeByStateHash) GetCount ¶
func (m *IterateRangeByStateHash) GetCount() int64
func (*IterateRangeByStateHash) GetEnd ¶
func (m *IterateRangeByStateHash) GetEnd() []byte
func (*IterateRangeByStateHash) GetStart ¶
func (m *IterateRangeByStateHash) GetStart() []byte
func (*IterateRangeByStateHash) GetStateHash ¶
func (m *IterateRangeByStateHash) GetStateHash() []byte
func (*IterateRangeByStateHash) ProtoMessage ¶
func (*IterateRangeByStateHash) ProtoMessage()
func (*IterateRangeByStateHash) Reset ¶
func (m *IterateRangeByStateHash) Reset()
func (*IterateRangeByStateHash) String ¶
func (m *IterateRangeByStateHash) String() string
func (*IterateRangeByStateHash) XXX_DiscardUnknown ¶
func (m *IterateRangeByStateHash) XXX_DiscardUnknown()
func (*IterateRangeByStateHash) XXX_Marshal ¶
func (m *IterateRangeByStateHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IterateRangeByStateHash) XXX_Merge ¶
func (m *IterateRangeByStateHash) XXX_Merge(src proto.Message)
func (*IterateRangeByStateHash) XXX_Size ¶
func (m *IterateRangeByStateHash) XXX_Size() int
func (*IterateRangeByStateHash) XXX_Unmarshal ¶
func (m *IterateRangeByStateHash) XXX_Unmarshal(b []byte) error
type KeyValue ¶
type KeyValue struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyValue) Descriptor ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) XXX_DiscardUnknown ¶
func (m *KeyValue) XXX_DiscardUnknown()
func (*KeyValue) XXX_Marshal ¶
func (*KeyValue) XXX_Unmarshal ¶
type LeafNode ¶
type LeafNode struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
merkle avl tree
func (*LeafNode) Descriptor ¶
func (*LeafNode) ProtoMessage ¶
func (*LeafNode) ProtoMessage()
func (*LeafNode) XXX_DiscardUnknown ¶
func (m *LeafNode) XXX_DiscardUnknown()
func (*LeafNode) XXX_Marshal ¶
func (*LeafNode) XXX_Unmarshal ¶
type LightBlock ¶
type LightBlock struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Header *Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` MinerTx *Transaction `protobuf:"bytes,3,opt,name=minerTx,proto3" json:"minerTx,omitempty"` STxHashes []string `protobuf:"bytes,4,rep,name=sTxHashes,proto3" json:"sTxHashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 轻量级区块, 广播交易短哈希列表
func (*LightBlock) Descriptor ¶
func (*LightBlock) Descriptor() ([]byte, []int)
func (*LightBlock) GetHeader ¶
func (m *LightBlock) GetHeader() *Header
func (*LightBlock) GetMinerTx ¶
func (m *LightBlock) GetMinerTx() *Transaction
func (*LightBlock) GetSTxHashes ¶
func (m *LightBlock) GetSTxHashes() []string
func (*LightBlock) GetSize ¶
func (m *LightBlock) GetSize() int64
func (*LightBlock) ProtoMessage ¶
func (*LightBlock) ProtoMessage()
func (*LightBlock) Reset ¶
func (m *LightBlock) Reset()
func (*LightBlock) String ¶
func (m *LightBlock) String() string
func (*LightBlock) XXX_DiscardUnknown ¶
func (m *LightBlock) XXX_DiscardUnknown()
func (*LightBlock) XXX_Marshal ¶
func (m *LightBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightBlock) XXX_Merge ¶
func (m *LightBlock) XXX_Merge(src proto.Message)
func (*LightBlock) XXX_Size ¶
func (m *LightBlock) XXX_Size() int
func (*LightBlock) XXX_Unmarshal ¶
func (m *LightBlock) XXX_Unmarshal(b []byte) error
type LightTx ¶
type LightTx struct { TxHash []byte `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"` Route *P2PRoute `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
轻量级交易广播
func (*LightTx) Descriptor ¶
func (*LightTx) ProtoMessage ¶
func (*LightTx) ProtoMessage()
func (*LightTx) XXX_DiscardUnknown ¶
func (m *LightTx) XXX_DiscardUnknown()
func (*LightTx) XXX_Marshal ¶
func (*LightTx) XXX_Unmarshal ¶
type LocalDBGet ¶
type LocalDBGet struct { Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Txid int64 `protobuf:"varint,5,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalDBGet) Descriptor ¶
func (*LocalDBGet) Descriptor() ([]byte, []int)
func (*LocalDBGet) GetKeys ¶
func (m *LocalDBGet) GetKeys() [][]byte
func (*LocalDBGet) GetTxid ¶
func (m *LocalDBGet) GetTxid() int64
func (*LocalDBGet) ProtoMessage ¶
func (*LocalDBGet) ProtoMessage()
func (*LocalDBGet) Reset ¶
func (m *LocalDBGet) Reset()
func (*LocalDBGet) String ¶
func (m *LocalDBGet) String() string
func (*LocalDBGet) XXX_DiscardUnknown ¶
func (m *LocalDBGet) XXX_DiscardUnknown()
func (*LocalDBGet) XXX_Marshal ¶
func (m *LocalDBGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalDBGet) XXX_Merge ¶
func (m *LocalDBGet) XXX_Merge(src proto.Message)
func (*LocalDBGet) XXX_Size ¶
func (m *LocalDBGet) XXX_Size() int
func (*LocalDBGet) XXX_Unmarshal ¶
func (m *LocalDBGet) XXX_Unmarshal(b []byte) error
type LocalDBList ¶
type LocalDBList struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Txid int64 `protobuf:"varint,5,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalDBList) Descriptor ¶
func (*LocalDBList) Descriptor() ([]byte, []int)
func (*LocalDBList) GetCount ¶
func (m *LocalDBList) GetCount() int32
func (*LocalDBList) GetDirection ¶
func (m *LocalDBList) GetDirection() int32
func (*LocalDBList) GetKey ¶
func (m *LocalDBList) GetKey() []byte
func (*LocalDBList) GetPrefix ¶
func (m *LocalDBList) GetPrefix() []byte
func (*LocalDBList) GetTxid ¶
func (m *LocalDBList) GetTxid() int64
func (*LocalDBList) ProtoMessage ¶
func (*LocalDBList) ProtoMessage()
func (*LocalDBList) Reset ¶
func (m *LocalDBList) Reset()
func (*LocalDBList) String ¶
func (m *LocalDBList) String() string
func (*LocalDBList) XXX_DiscardUnknown ¶
func (m *LocalDBList) XXX_DiscardUnknown()
func (*LocalDBList) XXX_Marshal ¶
func (m *LocalDBList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalDBList) XXX_Merge ¶
func (m *LocalDBList) XXX_Merge(src proto.Message)
func (*LocalDBList) XXX_Size ¶
func (m *LocalDBList) XXX_Size() int
func (*LocalDBList) XXX_Unmarshal ¶
func (m *LocalDBList) XXX_Unmarshal(b []byte) error
type LocalDBSet ¶
type LocalDBSet struct { KV []*KeyValue `protobuf:"bytes,2,rep,name=KV,proto3" json:"KV,omitempty"` Txid int64 `protobuf:"varint,5,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalDBSet) Descriptor ¶
func (*LocalDBSet) Descriptor() ([]byte, []int)
func (*LocalDBSet) GetKV ¶
func (m *LocalDBSet) GetKV() []*KeyValue
func (*LocalDBSet) GetTxid ¶
func (m *LocalDBSet) GetTxid() int64
func (*LocalDBSet) ProtoMessage ¶
func (*LocalDBSet) ProtoMessage()
func (*LocalDBSet) Reset ¶
func (m *LocalDBSet) Reset()
func (*LocalDBSet) String ¶
func (m *LocalDBSet) String() string
func (*LocalDBSet) XXX_DiscardUnknown ¶
func (m *LocalDBSet) XXX_DiscardUnknown()
func (*LocalDBSet) XXX_Marshal ¶
func (m *LocalDBSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalDBSet) XXX_Merge ¶
func (m *LocalDBSet) XXX_Merge(src proto.Message)
func (*LocalDBSet) XXX_Size ¶
func (m *LocalDBSet) XXX_Size() int
func (*LocalDBSet) XXX_Unmarshal ¶
func (m *LocalDBSet) XXX_Unmarshal(b []byte) error
type LocalReplyValue ¶
type LocalReplyValue struct { Values [][]byte `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalReplyValue) Descriptor ¶
func (*LocalReplyValue) Descriptor() ([]byte, []int)
func (*LocalReplyValue) GetValues ¶
func (m *LocalReplyValue) GetValues() [][]byte
func (*LocalReplyValue) ProtoMessage ¶
func (*LocalReplyValue) ProtoMessage()
func (*LocalReplyValue) Reset ¶
func (m *LocalReplyValue) Reset()
func (*LocalReplyValue) String ¶
func (m *LocalReplyValue) String() string
func (*LocalReplyValue) XXX_DiscardUnknown ¶
func (m *LocalReplyValue) XXX_DiscardUnknown()
func (*LocalReplyValue) XXX_Marshal ¶
func (m *LocalReplyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalReplyValue) XXX_Merge ¶
func (m *LocalReplyValue) XXX_Merge(src proto.Message)
func (*LocalReplyValue) XXX_Size ¶
func (m *LocalReplyValue) XXX_Size() int
func (*LocalReplyValue) XXX_Unmarshal ¶
func (m *LocalReplyValue) XXX_Unmarshal(b []byte) error
type Log ¶
type Log struct { // 日志级别,支持debug(dbug)/info/warn/error(eror)/crit Loglevel string `json:"loglevel,omitempty"` LogConsoleLevel string `json:"logConsoleLevel,omitempty"` // 日志文件名,可带目录,所有生成的日志文件都放到此目录下 LogFile string `json:"logFile,omitempty"` // 单个日志文件的最大值(单位:兆) MaxFileSize uint32 `json:"maxFileSize,omitempty"` // 最多保存的历史日志文件个数 MaxBackups uint32 `json:"maxBackups,omitempty"` // 最多保存的历史日志消息(单位:天) MaxAge uint32 `json:"maxAge,omitempty"` // 日志文件名是否使用本地事件(否则使用UTC时间) LocalTime bool `json:"localTime,omitempty"` // 历史日志文件是否压缩(压缩格式为gz) Compress bool `json:"compress,omitempty"` // 是否打印调用源文件和行号 CallerFile bool `json:"callerFile,omitempty"` // 是否打印调用方法 CallerFunction bool `json:"callerFunction,omitempty"` }
Log 日志配置
type LogType ¶
type LogType interface { Name() string Decode([]byte) (interface{}, error) JSON([]byte) ([]byte, error) }
LogType 结构体类型
type MAVLProof ¶
type MAVLProof struct { LeafHash []byte `protobuf:"bytes,1,opt,name=leafHash,proto3" json:"leafHash,omitempty"` InnerNodes []*InnerNode `protobuf:"bytes,2,rep,name=innerNodes,proto3" json:"innerNodes,omitempty"` RootHash []byte `protobuf:"bytes,3,opt,name=rootHash,proto3" json:"rootHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MAVLProof) Descriptor ¶
func (*MAVLProof) GetInnerNodes ¶
func (*MAVLProof) GetLeafHash ¶
func (*MAVLProof) GetRootHash ¶
func (*MAVLProof) ProtoMessage ¶
func (*MAVLProof) ProtoMessage()
func (*MAVLProof) XXX_DiscardUnknown ¶
func (m *MAVLProof) XXX_DiscardUnknown()
func (*MAVLProof) XXX_Marshal ¶
func (*MAVLProof) XXX_Unmarshal ¶
type Mempool ¶
type Mempool struct { // mempool队列名称,可配,timeline,score,price Name string `json:"name,omitempty"` // mempool缓存容量大小,默认10240 PoolCacheSize int64 `json:"poolCacheSize,omitempty"` ForceAccept bool `json:"forceAccept,omitempty"` // 每个账户在mempool中得最大交易数量,默认100 MaxTxNumPerAccount int64 `json:"maxTxNumPerAccount,omitempty"` MaxTxLast int64 `json:"maxTxLast,omitempty"` IsLevelFee bool `json:"isLevelFee,omitempty"` // 最小单元交易费,这个没有默认值,必填,一般是100000 MinTxFeeRate int64 `json:"minTxFeeRate,omitempty"` // 最大单元交易费, 默认1e7 MaxTxFeeRate int64 `json:"maxTxFeeRate,omitempty"` // 单笔最大交易费, 默认1e9 MaxTxFee int64 `json:"maxTxFee,omitempty"` // 目前execCheck效率较低,支持关闭交易execCheck,提升性能 DisableExecCheck bool `json:"disableExecCheck,omitempty"` }
Mempool 配置
type MempoolSize ¶
type MempoolSize struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MempoolSize) Descriptor ¶
func (*MempoolSize) Descriptor() ([]byte, []int)
func (*MempoolSize) GetSize ¶
func (m *MempoolSize) GetSize() int64
func (*MempoolSize) ProtoMessage ¶
func (*MempoolSize) ProtoMessage()
func (*MempoolSize) Reset ¶
func (m *MempoolSize) Reset()
func (*MempoolSize) String ¶
func (m *MempoolSize) String() string
func (*MempoolSize) XXX_DiscardUnknown ¶
func (m *MempoolSize) XXX_DiscardUnknown()
func (*MempoolSize) XXX_Marshal ¶
func (m *MempoolSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MempoolSize) XXX_Merge ¶
func (m *MempoolSize) XXX_Merge(src proto.Message)
func (*MempoolSize) XXX_Size ¶
func (m *MempoolSize) XXX_Size() int
func (*MempoolSize) XXX_Unmarshal ¶
func (m *MempoolSize) XXX_Unmarshal(b []byte) error
type MessageAddrList ¶
type MessageAddrList struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PAddrList `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageAddrList) Descriptor ¶
func (*MessageAddrList) Descriptor() ([]byte, []int)
func (*MessageAddrList) GetMessage ¶
func (m *MessageAddrList) GetMessage() *P2PAddrList
func (*MessageAddrList) GetMessageData ¶
func (m *MessageAddrList) GetMessageData() *MessageComm
func (*MessageAddrList) ProtoMessage ¶
func (*MessageAddrList) ProtoMessage()
func (*MessageAddrList) Reset ¶
func (m *MessageAddrList) Reset()
func (*MessageAddrList) String ¶
func (m *MessageAddrList) String() string
func (*MessageAddrList) XXX_DiscardUnknown ¶
func (m *MessageAddrList) XXX_DiscardUnknown()
func (*MessageAddrList) XXX_Marshal ¶
func (m *MessageAddrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageAddrList) XXX_Merge ¶
func (m *MessageAddrList) XXX_Merge(src proto.Message)
func (*MessageAddrList) XXX_Size ¶
func (m *MessageAddrList) XXX_Size() int
func (*MessageAddrList) XXX_Unmarshal ¶
func (m *MessageAddrList) XXX_Unmarshal(b []byte) error
type MessageAddrReq ¶
type MessageAddrReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PGetAddr `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageAddrReq) Descriptor ¶
func (*MessageAddrReq) Descriptor() ([]byte, []int)
func (*MessageAddrReq) GetMessage ¶
func (m *MessageAddrReq) GetMessage() *P2PGetAddr
func (*MessageAddrReq) GetMessageData ¶
func (m *MessageAddrReq) GetMessageData() *MessageComm
func (*MessageAddrReq) ProtoMessage ¶
func (*MessageAddrReq) ProtoMessage()
func (*MessageAddrReq) Reset ¶
func (m *MessageAddrReq) Reset()
func (*MessageAddrReq) String ¶
func (m *MessageAddrReq) String() string
func (*MessageAddrReq) XXX_DiscardUnknown ¶
func (m *MessageAddrReq) XXX_DiscardUnknown()
func (*MessageAddrReq) XXX_Marshal ¶
func (m *MessageAddrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageAddrReq) XXX_Merge ¶
func (m *MessageAddrReq) XXX_Merge(src proto.Message)
func (*MessageAddrReq) XXX_Size ¶
func (m *MessageAddrReq) XXX_Size() int
func (*MessageAddrReq) XXX_Unmarshal ¶
func (m *MessageAddrReq) XXX_Unmarshal(b []byte) error
type MessageAddrResp ¶
type MessageAddrResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PAddr `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageAddrResp) Descriptor ¶
func (*MessageAddrResp) Descriptor() ([]byte, []int)
func (*MessageAddrResp) GetMessage ¶
func (m *MessageAddrResp) GetMessage() *P2PAddr
func (*MessageAddrResp) GetMessageData ¶
func (m *MessageAddrResp) GetMessageData() *MessageComm
func (*MessageAddrResp) ProtoMessage ¶
func (*MessageAddrResp) ProtoMessage()
func (*MessageAddrResp) Reset ¶
func (m *MessageAddrResp) Reset()
func (*MessageAddrResp) String ¶
func (m *MessageAddrResp) String() string
func (*MessageAddrResp) XXX_DiscardUnknown ¶
func (m *MessageAddrResp) XXX_DiscardUnknown()
func (*MessageAddrResp) XXX_Marshal ¶
func (m *MessageAddrResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageAddrResp) XXX_Merge ¶
func (m *MessageAddrResp) XXX_Merge(src proto.Message)
func (*MessageAddrResp) XXX_Size ¶
func (m *MessageAddrResp) XXX_Size() int
func (*MessageAddrResp) XXX_Unmarshal ¶
func (m *MessageAddrResp) XXX_Unmarshal(b []byte) error
type MessageBroadCast ¶
type MessageBroadCast struct { Common *MessageComm `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` Message *BroadCastData `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageBroadCast) Descriptor ¶
func (*MessageBroadCast) Descriptor() ([]byte, []int)
func (*MessageBroadCast) GetCommon ¶
func (m *MessageBroadCast) GetCommon() *MessageComm
func (*MessageBroadCast) GetMessage ¶
func (m *MessageBroadCast) GetMessage() *BroadCastData
func (*MessageBroadCast) ProtoMessage ¶
func (*MessageBroadCast) ProtoMessage()
func (*MessageBroadCast) Reset ¶
func (m *MessageBroadCast) Reset()
func (*MessageBroadCast) String ¶
func (m *MessageBroadCast) String() string
func (*MessageBroadCast) XXX_DiscardUnknown ¶
func (m *MessageBroadCast) XXX_DiscardUnknown()
func (*MessageBroadCast) XXX_Marshal ¶
func (m *MessageBroadCast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageBroadCast) XXX_Merge ¶
func (m *MessageBroadCast) XXX_Merge(src proto.Message)
func (*MessageBroadCast) XXX_Size ¶
func (m *MessageBroadCast) XXX_Size() int
func (*MessageBroadCast) XXX_Unmarshal ¶
func (m *MessageBroadCast) XXX_Unmarshal(b []byte) error
type MessageComm ¶
type MessageComm struct { // shared between all requests Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Gossip bool `protobuf:"varint,4,opt,name=gossip,proto3" json:"gossip,omitempty"` NodeId string `protobuf:"bytes,5,opt,name=nodeId,proto3" json:"nodeId,omitempty"` NodePubKey []byte `protobuf:"bytes,6,opt,name=nodePubKey,proto3" json:"nodePubKey,omitempty"` Sign []byte `protobuf:"bytes,7,opt,name=sign,proto3" json:"sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageComm) Descriptor ¶
func (*MessageComm) Descriptor() ([]byte, []int)
func (*MessageComm) GetGossip ¶
func (m *MessageComm) GetGossip() bool
func (*MessageComm) GetId ¶
func (m *MessageComm) GetId() string
func (*MessageComm) GetNodeId ¶
func (m *MessageComm) GetNodeId() string
func (*MessageComm) GetNodePubKey ¶
func (m *MessageComm) GetNodePubKey() []byte
func (*MessageComm) GetSign ¶
func (m *MessageComm) GetSign() []byte
func (*MessageComm) GetTimestamp ¶
func (m *MessageComm) GetTimestamp() int64
func (*MessageComm) GetVersion ¶
func (m *MessageComm) GetVersion() string
func (*MessageComm) ProtoMessage ¶
func (*MessageComm) ProtoMessage()
func (*MessageComm) Reset ¶
func (m *MessageComm) Reset()
func (*MessageComm) String ¶
func (m *MessageComm) String() string
func (*MessageComm) XXX_DiscardUnknown ¶
func (m *MessageComm) XXX_DiscardUnknown()
func (*MessageComm) XXX_Marshal ¶
func (m *MessageComm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageComm) XXX_Merge ¶
func (m *MessageComm) XXX_Merge(src proto.Message)
func (*MessageComm) XXX_Size ¶
func (m *MessageComm) XXX_Size() int
func (*MessageComm) XXX_Unmarshal ¶
func (m *MessageComm) XXX_Unmarshal(b []byte) error
type MessageExternalNetReq ¶
type MessageExternalNetReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageExternalNetReq) Descriptor ¶
func (*MessageExternalNetReq) Descriptor() ([]byte, []int)
func (*MessageExternalNetReq) GetMessageData ¶
func (m *MessageExternalNetReq) GetMessageData() *MessageComm
func (*MessageExternalNetReq) ProtoMessage ¶
func (*MessageExternalNetReq) ProtoMessage()
func (*MessageExternalNetReq) Reset ¶
func (m *MessageExternalNetReq) Reset()
func (*MessageExternalNetReq) String ¶
func (m *MessageExternalNetReq) String() string
func (*MessageExternalNetReq) XXX_DiscardUnknown ¶
func (m *MessageExternalNetReq) XXX_DiscardUnknown()
func (*MessageExternalNetReq) XXX_Marshal ¶
func (m *MessageExternalNetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageExternalNetReq) XXX_Merge ¶
func (m *MessageExternalNetReq) XXX_Merge(src proto.Message)
func (*MessageExternalNetReq) XXX_Size ¶
func (m *MessageExternalNetReq) XXX_Size() int
func (*MessageExternalNetReq) XXX_Unmarshal ¶
func (m *MessageExternalNetReq) XXX_Unmarshal(b []byte) error
type MessageExternalNetResp ¶
type MessageExternalNetResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PExternalInfo `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageExternalNetResp) Descriptor ¶
func (*MessageExternalNetResp) Descriptor() ([]byte, []int)
func (*MessageExternalNetResp) GetMessage ¶
func (m *MessageExternalNetResp) GetMessage() *P2PExternalInfo
func (*MessageExternalNetResp) GetMessageData ¶
func (m *MessageExternalNetResp) GetMessageData() *MessageComm
func (*MessageExternalNetResp) ProtoMessage ¶
func (*MessageExternalNetResp) ProtoMessage()
func (*MessageExternalNetResp) Reset ¶
func (m *MessageExternalNetResp) Reset()
func (*MessageExternalNetResp) String ¶
func (m *MessageExternalNetResp) String() string
func (*MessageExternalNetResp) XXX_DiscardUnknown ¶
func (m *MessageExternalNetResp) XXX_DiscardUnknown()
func (*MessageExternalNetResp) XXX_Marshal ¶
func (m *MessageExternalNetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageExternalNetResp) XXX_Merge ¶
func (m *MessageExternalNetResp) XXX_Merge(src proto.Message)
func (*MessageExternalNetResp) XXX_Size ¶
func (m *MessageExternalNetResp) XXX_Size() int
func (*MessageExternalNetResp) XXX_Unmarshal ¶
func (m *MessageExternalNetResp) XXX_Unmarshal(b []byte) error
type MessageGetBlocksReq ¶
type MessageGetBlocksReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PGetBlocks `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageGetBlocksReq) Descriptor ¶
func (*MessageGetBlocksReq) Descriptor() ([]byte, []int)
func (*MessageGetBlocksReq) GetMessage ¶
func (m *MessageGetBlocksReq) GetMessage() *P2PGetBlocks
func (*MessageGetBlocksReq) GetMessageData ¶
func (m *MessageGetBlocksReq) GetMessageData() *MessageComm
func (*MessageGetBlocksReq) ProtoMessage ¶
func (*MessageGetBlocksReq) ProtoMessage()
func (*MessageGetBlocksReq) Reset ¶
func (m *MessageGetBlocksReq) Reset()
func (*MessageGetBlocksReq) String ¶
func (m *MessageGetBlocksReq) String() string
func (*MessageGetBlocksReq) XXX_DiscardUnknown ¶
func (m *MessageGetBlocksReq) XXX_DiscardUnknown()
func (*MessageGetBlocksReq) XXX_Marshal ¶
func (m *MessageGetBlocksReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageGetBlocksReq) XXX_Merge ¶
func (m *MessageGetBlocksReq) XXX_Merge(src proto.Message)
func (*MessageGetBlocksReq) XXX_Size ¶
func (m *MessageGetBlocksReq) XXX_Size() int
func (*MessageGetBlocksReq) XXX_Unmarshal ¶
func (m *MessageGetBlocksReq) XXX_Unmarshal(b []byte) error
type MessageGetBlocksResp ¶
type MessageGetBlocksResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *InvDatas `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageGetBlocksResp) Descriptor ¶
func (*MessageGetBlocksResp) Descriptor() ([]byte, []int)
func (*MessageGetBlocksResp) GetMessage ¶
func (m *MessageGetBlocksResp) GetMessage() *InvDatas
func (*MessageGetBlocksResp) GetMessageData ¶
func (m *MessageGetBlocksResp) GetMessageData() *MessageComm
func (*MessageGetBlocksResp) ProtoMessage ¶
func (*MessageGetBlocksResp) ProtoMessage()
func (*MessageGetBlocksResp) Reset ¶
func (m *MessageGetBlocksResp) Reset()
func (*MessageGetBlocksResp) String ¶
func (m *MessageGetBlocksResp) String() string
func (*MessageGetBlocksResp) XXX_DiscardUnknown ¶
func (m *MessageGetBlocksResp) XXX_DiscardUnknown()
func (*MessageGetBlocksResp) XXX_Marshal ¶
func (m *MessageGetBlocksResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageGetBlocksResp) XXX_Merge ¶
func (m *MessageGetBlocksResp) XXX_Merge(src proto.Message)
func (*MessageGetBlocksResp) XXX_Size ¶
func (m *MessageGetBlocksResp) XXX_Size() int
func (*MessageGetBlocksResp) XXX_Unmarshal ¶
func (m *MessageGetBlocksResp) XXX_Unmarshal(b []byte) error
type MessageGetMempoolReq ¶
type MessageGetMempoolReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PGetMempool `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageGetMempoolReq) Descriptor ¶
func (*MessageGetMempoolReq) Descriptor() ([]byte, []int)
func (*MessageGetMempoolReq) GetMessage ¶
func (m *MessageGetMempoolReq) GetMessage() *P2PGetMempool
func (*MessageGetMempoolReq) GetMessageData ¶
func (m *MessageGetMempoolReq) GetMessageData() *MessageComm
func (*MessageGetMempoolReq) ProtoMessage ¶
func (*MessageGetMempoolReq) ProtoMessage()
func (*MessageGetMempoolReq) Reset ¶
func (m *MessageGetMempoolReq) Reset()
func (*MessageGetMempoolReq) String ¶
func (m *MessageGetMempoolReq) String() string
func (*MessageGetMempoolReq) XXX_DiscardUnknown ¶
func (m *MessageGetMempoolReq) XXX_DiscardUnknown()
func (*MessageGetMempoolReq) XXX_Marshal ¶
func (m *MessageGetMempoolReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageGetMempoolReq) XXX_Merge ¶
func (m *MessageGetMempoolReq) XXX_Merge(src proto.Message)
func (*MessageGetMempoolReq) XXX_Size ¶
func (m *MessageGetMempoolReq) XXX_Size() int
func (*MessageGetMempoolReq) XXX_Unmarshal ¶
func (m *MessageGetMempoolReq) XXX_Unmarshal(b []byte) error
type MessageHeaderReq ¶
type MessageHeaderReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PGetHeaders `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageHeaderReq) Descriptor ¶
func (*MessageHeaderReq) Descriptor() ([]byte, []int)
func (*MessageHeaderReq) GetMessage ¶
func (m *MessageHeaderReq) GetMessage() *P2PGetHeaders
func (*MessageHeaderReq) GetMessageData ¶
func (m *MessageHeaderReq) GetMessageData() *MessageComm
func (*MessageHeaderReq) ProtoMessage ¶
func (*MessageHeaderReq) ProtoMessage()
func (*MessageHeaderReq) Reset ¶
func (m *MessageHeaderReq) Reset()
func (*MessageHeaderReq) String ¶
func (m *MessageHeaderReq) String() string
func (*MessageHeaderReq) XXX_DiscardUnknown ¶
func (m *MessageHeaderReq) XXX_DiscardUnknown()
func (*MessageHeaderReq) XXX_Marshal ¶
func (m *MessageHeaderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageHeaderReq) XXX_Merge ¶
func (m *MessageHeaderReq) XXX_Merge(src proto.Message)
func (*MessageHeaderReq) XXX_Size ¶
func (m *MessageHeaderReq) XXX_Size() int
func (*MessageHeaderReq) XXX_Unmarshal ¶
func (m *MessageHeaderReq) XXX_Unmarshal(b []byte) error
type MessageHeaderResp ¶
type MessageHeaderResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PHeaders `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageHeaderResp) Descriptor ¶
func (*MessageHeaderResp) Descriptor() ([]byte, []int)
func (*MessageHeaderResp) GetMessage ¶
func (m *MessageHeaderResp) GetMessage() *P2PHeaders
func (*MessageHeaderResp) GetMessageData ¶
func (m *MessageHeaderResp) GetMessageData() *MessageComm
func (*MessageHeaderResp) ProtoMessage ¶
func (*MessageHeaderResp) ProtoMessage()
func (*MessageHeaderResp) Reset ¶
func (m *MessageHeaderResp) Reset()
func (*MessageHeaderResp) String ¶
func (m *MessageHeaderResp) String() string
func (*MessageHeaderResp) XXX_DiscardUnknown ¶
func (m *MessageHeaderResp) XXX_DiscardUnknown()
func (*MessageHeaderResp) XXX_Marshal ¶
func (m *MessageHeaderResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageHeaderResp) XXX_Merge ¶
func (m *MessageHeaderResp) XXX_Merge(src proto.Message)
func (*MessageHeaderResp) XXX_Size ¶
func (m *MessageHeaderResp) XXX_Size() int
func (*MessageHeaderResp) XXX_Unmarshal ¶
func (m *MessageHeaderResp) XXX_Unmarshal(b []byte) error
type MessageInvDataReq ¶
type MessageInvDataReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *InvData `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageInvDataReq) Descriptor ¶
func (*MessageInvDataReq) Descriptor() ([]byte, []int)
func (*MessageInvDataReq) GetMessage ¶
func (m *MessageInvDataReq) GetMessage() *InvData
func (*MessageInvDataReq) GetMessageData ¶
func (m *MessageInvDataReq) GetMessageData() *MessageComm
func (*MessageInvDataReq) ProtoMessage ¶
func (*MessageInvDataReq) ProtoMessage()
func (*MessageInvDataReq) Reset ¶
func (m *MessageInvDataReq) Reset()
func (*MessageInvDataReq) String ¶
func (m *MessageInvDataReq) String() string
func (*MessageInvDataReq) XXX_DiscardUnknown ¶
func (m *MessageInvDataReq) XXX_DiscardUnknown()
func (*MessageInvDataReq) XXX_Marshal ¶
func (m *MessageInvDataReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageInvDataReq) XXX_Merge ¶
func (m *MessageInvDataReq) XXX_Merge(src proto.Message)
func (*MessageInvDataReq) XXX_Size ¶
func (m *MessageInvDataReq) XXX_Size() int
func (*MessageInvDataReq) XXX_Unmarshal ¶
func (m *MessageInvDataReq) XXX_Unmarshal(b []byte) error
type MessageNetInfo ¶
type MessageNetInfo struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *NodeNetInfo `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageNetInfo) Descriptor ¶
func (*MessageNetInfo) Descriptor() ([]byte, []int)
func (*MessageNetInfo) GetMessage ¶
func (m *MessageNetInfo) GetMessage() *NodeNetInfo
func (*MessageNetInfo) GetMessageData ¶
func (m *MessageNetInfo) GetMessageData() *MessageComm
func (*MessageNetInfo) ProtoMessage ¶
func (*MessageNetInfo) ProtoMessage()
func (*MessageNetInfo) Reset ¶
func (m *MessageNetInfo) Reset()
func (*MessageNetInfo) String ¶
func (m *MessageNetInfo) String() string
func (*MessageNetInfo) XXX_DiscardUnknown ¶
func (m *MessageNetInfo) XXX_DiscardUnknown()
func (*MessageNetInfo) XXX_Marshal ¶
func (m *MessageNetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageNetInfo) XXX_Merge ¶
func (m *MessageNetInfo) XXX_Merge(src proto.Message)
func (*MessageNetInfo) XXX_Size ¶
func (m *MessageNetInfo) XXX_Size() int
func (*MessageNetInfo) XXX_Unmarshal ¶
func (m *MessageNetInfo) XXX_Unmarshal(b []byte) error
type MessageP2PVersionReq ¶
type MessageP2PVersionReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PVersion `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageP2PVersionReq) Descriptor ¶
func (*MessageP2PVersionReq) Descriptor() ([]byte, []int)
func (*MessageP2PVersionReq) GetMessage ¶
func (m *MessageP2PVersionReq) GetMessage() *P2PVersion
func (*MessageP2PVersionReq) GetMessageData ¶
func (m *MessageP2PVersionReq) GetMessageData() *MessageComm
func (*MessageP2PVersionReq) ProtoMessage ¶
func (*MessageP2PVersionReq) ProtoMessage()
func (*MessageP2PVersionReq) Reset ¶
func (m *MessageP2PVersionReq) Reset()
func (*MessageP2PVersionReq) String ¶
func (m *MessageP2PVersionReq) String() string
func (*MessageP2PVersionReq) XXX_DiscardUnknown ¶
func (m *MessageP2PVersionReq) XXX_DiscardUnknown()
func (*MessageP2PVersionReq) XXX_Marshal ¶
func (m *MessageP2PVersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageP2PVersionReq) XXX_Merge ¶
func (m *MessageP2PVersionReq) XXX_Merge(src proto.Message)
func (*MessageP2PVersionReq) XXX_Size ¶
func (m *MessageP2PVersionReq) XXX_Size() int
func (*MessageP2PVersionReq) XXX_Unmarshal ¶
func (m *MessageP2PVersionReq) XXX_Unmarshal(b []byte) error
type MessageP2PVersionResp ¶
type MessageP2PVersionResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PVersion `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageP2PVersionResp) Descriptor ¶
func (*MessageP2PVersionResp) Descriptor() ([]byte, []int)
func (*MessageP2PVersionResp) GetMessage ¶
func (m *MessageP2PVersionResp) GetMessage() *P2PVersion
func (*MessageP2PVersionResp) GetMessageData ¶
func (m *MessageP2PVersionResp) GetMessageData() *MessageComm
func (*MessageP2PVersionResp) ProtoMessage ¶
func (*MessageP2PVersionResp) ProtoMessage()
func (*MessageP2PVersionResp) Reset ¶
func (m *MessageP2PVersionResp) Reset()
func (*MessageP2PVersionResp) String ¶
func (m *MessageP2PVersionResp) String() string
func (*MessageP2PVersionResp) XXX_DiscardUnknown ¶
func (m *MessageP2PVersionResp) XXX_DiscardUnknown()
func (*MessageP2PVersionResp) XXX_Marshal ¶
func (m *MessageP2PVersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageP2PVersionResp) XXX_Merge ¶
func (m *MessageP2PVersionResp) XXX_Merge(src proto.Message)
func (*MessageP2PVersionResp) XXX_Size ¶
func (m *MessageP2PVersionResp) XXX_Size() int
func (*MessageP2PVersionResp) XXX_Unmarshal ¶
func (m *MessageP2PVersionResp) XXX_Unmarshal(b []byte) error
type MessagePeerInfoReq ¶
type MessagePeerInfoReq struct { /// p2p版本 MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 请求获取远程节点的节点信息
func (*MessagePeerInfoReq) Descriptor ¶
func (*MessagePeerInfoReq) Descriptor() ([]byte, []int)
func (*MessagePeerInfoReq) GetMessageData ¶
func (m *MessagePeerInfoReq) GetMessageData() *MessageComm
func (*MessagePeerInfoReq) ProtoMessage ¶
func (*MessagePeerInfoReq) ProtoMessage()
func (*MessagePeerInfoReq) Reset ¶
func (m *MessagePeerInfoReq) Reset()
func (*MessagePeerInfoReq) String ¶
func (m *MessagePeerInfoReq) String() string
func (*MessagePeerInfoReq) XXX_DiscardUnknown ¶
func (m *MessagePeerInfoReq) XXX_DiscardUnknown()
func (*MessagePeerInfoReq) XXX_Marshal ¶
func (m *MessagePeerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePeerInfoReq) XXX_Merge ¶
func (m *MessagePeerInfoReq) XXX_Merge(src proto.Message)
func (*MessagePeerInfoReq) XXX_Size ¶
func (m *MessagePeerInfoReq) XXX_Size() int
func (*MessagePeerInfoReq) XXX_Unmarshal ¶
func (m *MessagePeerInfoReq) XXX_Unmarshal(b []byte) error
type MessagePeerInfoResp ¶
type MessagePeerInfoResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PPeerInfo `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessagePeerInfoResp) Descriptor ¶
func (*MessagePeerInfoResp) Descriptor() ([]byte, []int)
func (*MessagePeerInfoResp) GetMessage ¶
func (m *MessagePeerInfoResp) GetMessage() *P2PPeerInfo
func (*MessagePeerInfoResp) GetMessageData ¶
func (m *MessagePeerInfoResp) GetMessageData() *MessageComm
func (*MessagePeerInfoResp) ProtoMessage ¶
func (*MessagePeerInfoResp) ProtoMessage()
func (*MessagePeerInfoResp) Reset ¶
func (m *MessagePeerInfoResp) Reset()
func (*MessagePeerInfoResp) String ¶
func (m *MessagePeerInfoResp) String() string
func (*MessagePeerInfoResp) XXX_DiscardUnknown ¶
func (m *MessagePeerInfoResp) XXX_DiscardUnknown()
func (*MessagePeerInfoResp) XXX_Marshal ¶
func (m *MessagePeerInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePeerInfoResp) XXX_Merge ¶
func (m *MessagePeerInfoResp) XXX_Merge(src proto.Message)
func (*MessagePeerInfoResp) XXX_Size ¶
func (m *MessagePeerInfoResp) XXX_Size() int
func (*MessagePeerInfoResp) XXX_Unmarshal ¶
func (m *MessagePeerInfoResp) XXX_Unmarshal(b []byte) error
type MessagePeerList ¶
type MessagePeerList struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *PeerList `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessagePeerList) Descriptor ¶
func (*MessagePeerList) Descriptor() ([]byte, []int)
func (*MessagePeerList) GetMessage ¶
func (m *MessagePeerList) GetMessage() *PeerList
func (*MessagePeerList) GetMessageData ¶
func (m *MessagePeerList) GetMessageData() *MessageComm
func (*MessagePeerList) ProtoMessage ¶
func (*MessagePeerList) ProtoMessage()
func (*MessagePeerList) Reset ¶
func (m *MessagePeerList) Reset()
func (*MessagePeerList) String ¶
func (m *MessagePeerList) String() string
func (*MessagePeerList) XXX_DiscardUnknown ¶
func (m *MessagePeerList) XXX_DiscardUnknown()
func (*MessagePeerList) XXX_Marshal ¶
func (m *MessagePeerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePeerList) XXX_Merge ¶
func (m *MessagePeerList) XXX_Merge(src proto.Message)
func (*MessagePeerList) XXX_Size ¶
func (m *MessagePeerList) XXX_Size() int
func (*MessagePeerList) XXX_Unmarshal ¶
func (m *MessagePeerList) XXX_Unmarshal(b []byte) error
type MessagePeersReply ¶
type MessagePeersReply struct { Common *MessageComm `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` PeersReply *PeersReply `protobuf:"bytes,2,opt,name=peersReply,proto3" json:"peersReply,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessagePeersReply) Descriptor ¶
func (*MessagePeersReply) Descriptor() ([]byte, []int)
func (*MessagePeersReply) GetCommon ¶
func (m *MessagePeersReply) GetCommon() *MessageComm
func (*MessagePeersReply) GetPeersReply ¶
func (m *MessagePeersReply) GetPeersReply() *PeersReply
func (*MessagePeersReply) ProtoMessage ¶
func (*MessagePeersReply) ProtoMessage()
func (*MessagePeersReply) Reset ¶
func (m *MessagePeersReply) Reset()
func (*MessagePeersReply) String ¶
func (m *MessagePeersReply) String() string
func (*MessagePeersReply) XXX_DiscardUnknown ¶
func (m *MessagePeersReply) XXX_DiscardUnknown()
func (*MessagePeersReply) XXX_Marshal ¶
func (m *MessagePeersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePeersReply) XXX_Merge ¶
func (m *MessagePeersReply) XXX_Merge(src proto.Message)
func (*MessagePeersReply) XXX_Size ¶
func (m *MessagePeersReply) XXX_Size() int
func (*MessagePeersReply) XXX_Unmarshal ¶
func (m *MessagePeersReply) XXX_Unmarshal(b []byte) error
type MessagePingReq ¶
type MessagePingReq struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PPing `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessagePingReq) Descriptor ¶
func (*MessagePingReq) Descriptor() ([]byte, []int)
func (*MessagePingReq) GetMessage ¶
func (m *MessagePingReq) GetMessage() *P2PPing
func (*MessagePingReq) GetMessageData ¶
func (m *MessagePingReq) GetMessageData() *MessageComm
func (*MessagePingReq) ProtoMessage ¶
func (*MessagePingReq) ProtoMessage()
func (*MessagePingReq) Reset ¶
func (m *MessagePingReq) Reset()
func (*MessagePingReq) String ¶
func (m *MessagePingReq) String() string
func (*MessagePingReq) XXX_DiscardUnknown ¶
func (m *MessagePingReq) XXX_DiscardUnknown()
func (*MessagePingReq) XXX_Marshal ¶
func (m *MessagePingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePingReq) XXX_Merge ¶
func (m *MessagePingReq) XXX_Merge(src proto.Message)
func (*MessagePingReq) XXX_Size ¶
func (m *MessagePingReq) XXX_Size() int
func (*MessagePingReq) XXX_Unmarshal ¶
func (m *MessagePingReq) XXX_Unmarshal(b []byte) error
type MessagePingResp ¶
type MessagePingResp struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *P2PPong `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessagePingResp) Descriptor ¶
func (*MessagePingResp) Descriptor() ([]byte, []int)
func (*MessagePingResp) GetMessage ¶
func (m *MessagePingResp) GetMessage() *P2PPong
func (*MessagePingResp) GetMessageData ¶
func (m *MessagePingResp) GetMessageData() *MessageComm
func (*MessagePingResp) ProtoMessage ¶
func (*MessagePingResp) ProtoMessage()
func (*MessagePingResp) Reset ¶
func (m *MessagePingResp) Reset()
func (*MessagePingResp) String ¶
func (m *MessagePingResp) String() string
func (*MessagePingResp) XXX_DiscardUnknown ¶
func (m *MessagePingResp) XXX_DiscardUnknown()
func (*MessagePingResp) XXX_Marshal ¶
func (m *MessagePingResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessagePingResp) XXX_Merge ¶
func (m *MessagePingResp) XXX_Merge(src proto.Message)
func (*MessagePingResp) XXX_Size ¶
func (m *MessagePingResp) XXX_Size() int
func (*MessagePingResp) XXX_Unmarshal ¶
func (m *MessagePingResp) XXX_Unmarshal(b []byte) error
type MessageUtil ¶
type MessageUtil struct { Common *MessageComm `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // Types that are valid to be assigned to Value: // *MessageUtil_PeerInfo // *MessageUtil_Version // *MessageUtil_VersionAck // *MessageUtil_External // *MessageUtil_Getblocks // *MessageUtil_Invdatas Value isMessageUtil_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageUtil) Descriptor ¶
func (*MessageUtil) Descriptor() ([]byte, []int)
func (*MessageUtil) GetCommon ¶
func (m *MessageUtil) GetCommon() *MessageComm
func (*MessageUtil) GetExternal ¶
func (m *MessageUtil) GetExternal() *P2PExternalInfo
func (*MessageUtil) GetGetblocks ¶
func (m *MessageUtil) GetGetblocks() *P2PGetBlocks
func (*MessageUtil) GetInvdatas ¶
func (m *MessageUtil) GetInvdatas() *InvDatas
func (*MessageUtil) GetPeerInfo ¶
func (m *MessageUtil) GetPeerInfo() *P2PPeerInfo
func (*MessageUtil) GetValue ¶
func (m *MessageUtil) GetValue() isMessageUtil_Value
func (*MessageUtil) GetVersion ¶
func (m *MessageUtil) GetVersion() *P2PVersion
func (*MessageUtil) GetVersionAck ¶
func (m *MessageUtil) GetVersionAck() *P2PVerAck
func (*MessageUtil) ProtoMessage ¶
func (*MessageUtil) ProtoMessage()
func (*MessageUtil) Reset ¶
func (m *MessageUtil) Reset()
func (*MessageUtil) String ¶
func (m *MessageUtil) String() string
func (*MessageUtil) XXX_DiscardUnknown ¶
func (m *MessageUtil) XXX_DiscardUnknown()
func (*MessageUtil) XXX_Marshal ¶
func (m *MessageUtil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageUtil) XXX_Merge ¶
func (m *MessageUtil) XXX_Merge(src proto.Message)
func (*MessageUtil) XXX_OneofWrappers ¶
func (*MessageUtil) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MessageUtil) XXX_Size ¶
func (m *MessageUtil) XXX_Size() int
func (*MessageUtil) XXX_Unmarshal ¶
func (m *MessageUtil) XXX_Unmarshal(b []byte) error
type MessageUtil_External ¶
type MessageUtil_External struct {
External *P2PExternalInfo `protobuf:"bytes,5,opt,name=external,proto3,oneof"`
}
type MessageUtil_Getblocks ¶
type MessageUtil_Getblocks struct {
Getblocks *P2PGetBlocks `protobuf:"bytes,6,opt,name=getblocks,proto3,oneof"`
}
type MessageUtil_Invdatas ¶
type MessageUtil_Invdatas struct {
Invdatas *InvDatas `protobuf:"bytes,7,opt,name=invdatas,proto3,oneof"`
}
type MessageUtil_PeerInfo ¶
type MessageUtil_PeerInfo struct {
PeerInfo *P2PPeerInfo `protobuf:"bytes,2,opt,name=peerInfo,proto3,oneof"`
}
type MessageUtil_Version ¶
type MessageUtil_Version struct {
Version *P2PVersion `protobuf:"bytes,3,opt,name=version,proto3,oneof"`
}
type MessageUtil_VersionAck ¶
type MessageUtil_VersionAck struct {
VersionAck *P2PVerAck `protobuf:"bytes,4,opt,name=versionAck,proto3,oneof"`
}
type MessageVersion ¶
type MessageVersion struct { MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"` Message *Versions `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageVersion) Descriptor ¶
func (*MessageVersion) Descriptor() ([]byte, []int)
func (*MessageVersion) GetMessage ¶
func (m *MessageVersion) GetMessage() *Versions
func (*MessageVersion) GetMessageData ¶
func (m *MessageVersion) GetMessageData() *MessageComm
func (*MessageVersion) ProtoMessage ¶
func (*MessageVersion) ProtoMessage()
func (*MessageVersion) Reset ¶
func (m *MessageVersion) Reset()
func (*MessageVersion) String ¶
func (m *MessageVersion) String() string
func (*MessageVersion) XXX_DiscardUnknown ¶
func (m *MessageVersion) XXX_DiscardUnknown()
func (*MessageVersion) XXX_Marshal ¶
func (m *MessageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageVersion) XXX_Merge ¶
func (m *MessageVersion) XXX_Merge(src proto.Message)
func (*MessageVersion) XXX_Size ¶
func (m *MessageVersion) XXX_Size() int
func (*MessageVersion) XXX_Unmarshal ¶
func (m *MessageVersion) XXX_Unmarshal(b []byte) error
type Metrics ¶
type Metrics struct { EnableMetrics bool `json:"enableMetrics,omitempty"` DataEmitMode string `json:"dataEmitMode,omitempty"` Duration int64 `json:"duration,omitempty"` URL string `json:"url,omitempty"` DatabaseName string `json:"databaseName,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Namespace string `json:"namespace,omitempty"` }
Metrics 相关测量配置信息
type ModifyConfig ¶
type ModifyConfig struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Op string `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"` Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyConfig) Descriptor ¶
func (*ModifyConfig) Descriptor() ([]byte, []int)
func (*ModifyConfig) GetAddr ¶
func (m *ModifyConfig) GetAddr() string
func (*ModifyConfig) GetKey ¶
func (m *ModifyConfig) GetKey() string
func (*ModifyConfig) GetOp ¶
func (m *ModifyConfig) GetOp() string
func (*ModifyConfig) GetValue ¶
func (m *ModifyConfig) GetValue() string
func (*ModifyConfig) ProtoMessage ¶
func (*ModifyConfig) ProtoMessage()
func (*ModifyConfig) Reset ¶
func (m *ModifyConfig) Reset()
func (*ModifyConfig) String ¶
func (m *ModifyConfig) String() string
func (*ModifyConfig) XXX_DiscardUnknown ¶
func (m *ModifyConfig) XXX_DiscardUnknown()
func (*ModifyConfig) XXX_Marshal ¶
func (m *ModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyConfig) XXX_Merge ¶
func (m *ModifyConfig) XXX_Merge(src proto.Message)
func (*ModifyConfig) XXX_Size ¶
func (m *ModifyConfig) XXX_Size() int
func (*ModifyConfig) XXX_Unmarshal ¶
func (m *ModifyConfig) XXX_Unmarshal(b []byte) error
type NetProtocolInfos ¶ added in v1.65.0
type NetProtocolInfos struct { Protoinfo []*ProtocolInfo `protobuf:"bytes,1,rep,name=protoinfo,proto3" json:"protoinfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* dht protos 网络带宽信息
func (*NetProtocolInfos) Descriptor ¶ added in v1.65.0
func (*NetProtocolInfos) Descriptor() ([]byte, []int)
func (*NetProtocolInfos) GetProtoinfo ¶ added in v1.65.0
func (m *NetProtocolInfos) GetProtoinfo() []*ProtocolInfo
func (*NetProtocolInfos) ProtoMessage ¶ added in v1.65.0
func (*NetProtocolInfos) ProtoMessage()
func (*NetProtocolInfos) Reset ¶ added in v1.65.0
func (m *NetProtocolInfos) Reset()
func (*NetProtocolInfos) String ¶ added in v1.65.0
func (m *NetProtocolInfos) String() string
func (*NetProtocolInfos) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *NetProtocolInfos) XXX_DiscardUnknown()
func (*NetProtocolInfos) XXX_Marshal ¶ added in v1.65.0
func (m *NetProtocolInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetProtocolInfos) XXX_Merge ¶ added in v1.65.0
func (m *NetProtocolInfos) XXX_Merge(src proto.Message)
func (*NetProtocolInfos) XXX_Size ¶ added in v1.65.0
func (m *NetProtocolInfos) XXX_Size() int
func (*NetProtocolInfos) XXX_Unmarshal ¶ added in v1.65.0
func (m *NetProtocolInfos) XXX_Unmarshal(b []byte) error
type NoBalanceTx ¶
type NoBalanceTx struct { TxHex string `protobuf:"bytes,1,opt,name=txHex,proto3" json:"txHex,omitempty"` PayAddr string `protobuf:"bytes,2,opt,name=payAddr,proto3" json:"payAddr,omitempty"` Privkey string `protobuf:"bytes,3,opt,name=privkey,proto3" json:"privkey,omitempty"` Expire string `protobuf:"bytes,4,opt,name=expire,proto3" json:"expire,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
payAddr 可以支持 1. 地址 2. 私钥
func (*NoBalanceTx) Descriptor ¶
func (*NoBalanceTx) Descriptor() ([]byte, []int)
func (*NoBalanceTx) GetExpire ¶
func (m *NoBalanceTx) GetExpire() string
func (*NoBalanceTx) GetPayAddr ¶
func (m *NoBalanceTx) GetPayAddr() string
func (*NoBalanceTx) GetPrivkey ¶
func (m *NoBalanceTx) GetPrivkey() string
func (*NoBalanceTx) GetTxHex ¶
func (m *NoBalanceTx) GetTxHex() string
func (*NoBalanceTx) ProtoMessage ¶
func (*NoBalanceTx) ProtoMessage()
func (*NoBalanceTx) Reset ¶
func (m *NoBalanceTx) Reset()
func (*NoBalanceTx) String ¶
func (m *NoBalanceTx) String() string
func (*NoBalanceTx) XXX_DiscardUnknown ¶
func (m *NoBalanceTx) XXX_DiscardUnknown()
func (*NoBalanceTx) XXX_Marshal ¶
func (m *NoBalanceTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NoBalanceTx) XXX_Merge ¶
func (m *NoBalanceTx) XXX_Merge(src proto.Message)
func (*NoBalanceTx) XXX_Size ¶
func (m *NoBalanceTx) XXX_Size() int
func (*NoBalanceTx) XXX_Unmarshal ¶
func (m *NoBalanceTx) XXX_Unmarshal(b []byte) error
type NoBalanceTxs ¶
type NoBalanceTxs struct { TxHexs []string `protobuf:"bytes,1,rep,name=txHexs,proto3" json:"txHexs,omitempty"` PayAddr string `protobuf:"bytes,2,opt,name=payAddr,proto3" json:"payAddr,omitempty"` Privkey string `protobuf:"bytes,3,opt,name=privkey,proto3" json:"privkey,omitempty"` Expire string `protobuf:"bytes,4,opt,name=expire,proto3" json:"expire,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
支持构造多笔nobalance的交易 payAddr 可以支持 1. 地址 2. 私钥
func (*NoBalanceTxs) Descriptor ¶
func (*NoBalanceTxs) Descriptor() ([]byte, []int)
func (*NoBalanceTxs) GetExpire ¶
func (m *NoBalanceTxs) GetExpire() string
func (*NoBalanceTxs) GetPayAddr ¶
func (m *NoBalanceTxs) GetPayAddr() string
func (*NoBalanceTxs) GetPrivkey ¶
func (m *NoBalanceTxs) GetPrivkey() string
func (*NoBalanceTxs) GetTxHexs ¶
func (m *NoBalanceTxs) GetTxHexs() []string
func (*NoBalanceTxs) ProtoMessage ¶
func (*NoBalanceTxs) ProtoMessage()
func (*NoBalanceTxs) Reset ¶
func (m *NoBalanceTxs) Reset()
func (*NoBalanceTxs) String ¶
func (m *NoBalanceTxs) String() string
func (*NoBalanceTxs) XXX_DiscardUnknown ¶
func (m *NoBalanceTxs) XXX_DiscardUnknown()
func (*NoBalanceTxs) XXX_Marshal ¶
func (m *NoBalanceTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NoBalanceTxs) XXX_Merge ¶
func (m *NoBalanceTxs) XXX_Merge(src proto.Message)
func (*NoBalanceTxs) XXX_Size ¶
func (m *NoBalanceTxs) XXX_Size() int
func (*NoBalanceTxs) XXX_Unmarshal ¶
func (m *NoBalanceTxs) XXX_Unmarshal(b []byte) error
type NodeInfo ¶ added in v1.65.1
type NodeInfo struct { Answer bool `protobuf:"varint,1,opt,name=answer,proto3" json:"answer,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeInfo) Descriptor ¶ added in v1.65.1
func (*NodeInfo) ProtoMessage ¶ added in v1.65.1
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *NodeInfo) XXX_DiscardUnknown()
func (*NodeInfo) XXX_Marshal ¶ added in v1.65.1
func (*NodeInfo) XXX_Unmarshal ¶ added in v1.65.1
type NodeNetInfo ¶
type NodeNetInfo struct { Externaladdr string `protobuf:"bytes,1,opt,name=externaladdr,proto3" json:"externaladdr,omitempty"` Localaddr string `protobuf:"bytes,2,opt,name=localaddr,proto3" json:"localaddr,omitempty"` Service bool `protobuf:"varint,3,opt,name=service,proto3" json:"service,omitempty"` Outbounds int32 `protobuf:"varint,4,opt,name=outbounds,proto3" json:"outbounds,omitempty"` Inbounds int32 `protobuf:"varint,5,opt,name=inbounds,proto3" json:"inbounds,omitempty"` Routingtable int32 `protobuf:"varint,6,opt,name=routingtable,proto3" json:"routingtable,omitempty"` Peerstore int32 `protobuf:"varint,7,opt,name=peerstore,proto3" json:"peerstore,omitempty"` Ratein string `protobuf:"bytes,8,opt,name=ratein,proto3" json:"ratein,omitempty"` Rateout string `protobuf:"bytes,9,opt,name=rateout,proto3" json:"rateout,omitempty"` Ratetotal string `protobuf:"bytes,10,opt,name=ratetotal,proto3" json:"ratetotal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 当前节点的网络信息
func (*NodeNetInfo) Descriptor ¶
func (*NodeNetInfo) Descriptor() ([]byte, []int)
func (*NodeNetInfo) GetExternaladdr ¶
func (m *NodeNetInfo) GetExternaladdr() string
func (*NodeNetInfo) GetInbounds ¶
func (m *NodeNetInfo) GetInbounds() int32
func (*NodeNetInfo) GetLocaladdr ¶
func (m *NodeNetInfo) GetLocaladdr() string
func (*NodeNetInfo) GetOutbounds ¶
func (m *NodeNetInfo) GetOutbounds() int32
func (*NodeNetInfo) GetPeerstore ¶ added in v1.65.0
func (m *NodeNetInfo) GetPeerstore() int32
func (*NodeNetInfo) GetRatein ¶ added in v1.65.0
func (m *NodeNetInfo) GetRatein() string
func (*NodeNetInfo) GetRateout ¶ added in v1.65.0
func (m *NodeNetInfo) GetRateout() string
func (*NodeNetInfo) GetRatetotal ¶ added in v1.65.0
func (m *NodeNetInfo) GetRatetotal() string
func (*NodeNetInfo) GetRoutingtable ¶ added in v1.65.0
func (m *NodeNetInfo) GetRoutingtable() int32
func (*NodeNetInfo) GetService ¶
func (m *NodeNetInfo) GetService() bool
func (*NodeNetInfo) ProtoMessage ¶
func (*NodeNetInfo) ProtoMessage()
func (*NodeNetInfo) Reset ¶
func (m *NodeNetInfo) Reset()
func (*NodeNetInfo) String ¶
func (m *NodeNetInfo) String() string
func (*NodeNetInfo) XXX_DiscardUnknown ¶
func (m *NodeNetInfo) XXX_DiscardUnknown()
func (*NodeNetInfo) XXX_Marshal ¶
func (m *NodeNetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeNetInfo) XXX_Merge ¶
func (m *NodeNetInfo) XXX_Merge(src proto.Message)
func (*NodeNetInfo) XXX_Size ¶
func (m *NodeNetInfo) XXX_Size() int
func (*NodeNetInfo) XXX_Unmarshal ¶
func (m *NodeNetInfo) XXX_Unmarshal(b []byte) error
type Operation ¶
type Operation struct { Value *Block `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation) Descriptor ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) XXX_DiscardUnknown ¶
func (m *Operation) XXX_DiscardUnknown()
func (*Operation) XXX_Marshal ¶
func (*Operation) XXX_Unmarshal ¶
type P2P ¶
type P2P struct { // 使用的数据库类型 Driver string `json:"driver,omitempty"` // 数据库文件目录 DbPath string `json:"dbPath,omitempty"` // 数据库缓存大小 DbCache int32 `json:"dbCache,omitempty"` // GRPC请求日志文件 GrpcLogFile string `json:"grpcLogFile,omitempty"` // 是否启动P2P服务 Enable bool `json:"enable,omitempty"` //是否等待Pid WaitPid bool `json:"waitPid,omitempty"` //指定p2p类型, 支持gossip, dht Types []string `json:"types,omitempty"` }
P2P 配置
type P2PAddr ¶
type P2PAddr struct { Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` ///对方节点返回的其他节点信息 Addrlist []string `protobuf:"bytes,2,rep,name=addrlist,proto3" json:"addrlist,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 返回请求地址列表的社保
func (*P2PAddr) Descriptor ¶
func (*P2PAddr) GetAddrlist ¶
func (*P2PAddr) ProtoMessage ¶
func (*P2PAddr) ProtoMessage()
func (*P2PAddr) XXX_DiscardUnknown ¶
func (m *P2PAddr) XXX_DiscardUnknown()
func (*P2PAddr) XXX_Marshal ¶
func (*P2PAddr) XXX_Unmarshal ¶
type P2PAddrList ¶
type P2PAddrList struct { Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Peerinfo []*P2PPeerInfo `protobuf:"bytes,2,rep,name=peerinfo,proto3" json:"peerinfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PAddrList) Descriptor ¶
func (*P2PAddrList) Descriptor() ([]byte, []int)
func (*P2PAddrList) GetNonce ¶
func (m *P2PAddrList) GetNonce() int64
func (*P2PAddrList) GetPeerinfo ¶
func (m *P2PAddrList) GetPeerinfo() []*P2PPeerInfo
func (*P2PAddrList) ProtoMessage ¶
func (*P2PAddrList) ProtoMessage()
func (*P2PAddrList) Reset ¶
func (m *P2PAddrList) Reset()
func (*P2PAddrList) String ¶
func (m *P2PAddrList) String() string
func (*P2PAddrList) XXX_DiscardUnknown ¶
func (m *P2PAddrList) XXX_DiscardUnknown()
func (*P2PAddrList) XXX_Marshal ¶
func (m *P2PAddrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PAddrList) XXX_Merge ¶
func (m *P2PAddrList) XXX_Merge(src proto.Message)
func (*P2PAddrList) XXX_Size ¶
func (m *P2PAddrList) XXX_Size() int
func (*P2PAddrList) XXX_Unmarshal ¶
func (m *P2PAddrList) XXX_Unmarshal(b []byte) error
type P2PBlock ¶
type P2PBlock struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 发送区块协议
func (*P2PBlock) Descriptor ¶
func (*P2PBlock) ProtoMessage ¶
func (*P2PBlock) ProtoMessage()
func (*P2PBlock) XXX_DiscardUnknown ¶
func (m *P2PBlock) XXX_DiscardUnknown()
func (*P2PBlock) XXX_Marshal ¶
func (*P2PBlock) XXX_Unmarshal ¶
type P2PBlockTxReply ¶
type P2PBlockTxReply struct { BlockHash string `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"` TxIndices []int32 `protobuf:"varint,2,rep,packed,name=txIndices,proto3" json:"txIndices,omitempty"` Txs []*Transaction `protobuf:"bytes,3,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
区块交易数据返回
func (*P2PBlockTxReply) Descriptor ¶
func (*P2PBlockTxReply) Descriptor() ([]byte, []int)
func (*P2PBlockTxReply) GetBlockHash ¶
func (m *P2PBlockTxReply) GetBlockHash() string
func (*P2PBlockTxReply) GetTxIndices ¶
func (m *P2PBlockTxReply) GetTxIndices() []int32
func (*P2PBlockTxReply) GetTxs ¶
func (m *P2PBlockTxReply) GetTxs() []*Transaction
func (*P2PBlockTxReply) ProtoMessage ¶
func (*P2PBlockTxReply) ProtoMessage()
func (*P2PBlockTxReply) Reset ¶
func (m *P2PBlockTxReply) Reset()
func (*P2PBlockTxReply) String ¶
func (m *P2PBlockTxReply) String() string
func (*P2PBlockTxReply) XXX_DiscardUnknown ¶
func (m *P2PBlockTxReply) XXX_DiscardUnknown()
func (*P2PBlockTxReply) XXX_Marshal ¶
func (m *P2PBlockTxReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PBlockTxReply) XXX_Merge ¶
func (m *P2PBlockTxReply) XXX_Merge(src proto.Message)
func (*P2PBlockTxReply) XXX_Size ¶
func (m *P2PBlockTxReply) XXX_Size() int
func (*P2PBlockTxReply) XXX_Unmarshal ¶
func (m *P2PBlockTxReply) XXX_Unmarshal(b []byte) error
type P2PBlockTxReq ¶
type P2PBlockTxReq struct { BlockHash string `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"` TxIndices []int32 `protobuf:"varint,2,rep,packed,name=txIndices,proto3" json:"txIndices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
请求区块内交易数据
func (*P2PBlockTxReq) Descriptor ¶
func (*P2PBlockTxReq) Descriptor() ([]byte, []int)
func (*P2PBlockTxReq) GetBlockHash ¶
func (m *P2PBlockTxReq) GetBlockHash() string
func (*P2PBlockTxReq) GetTxIndices ¶
func (m *P2PBlockTxReq) GetTxIndices() []int32
func (*P2PBlockTxReq) ProtoMessage ¶
func (*P2PBlockTxReq) ProtoMessage()
func (*P2PBlockTxReq) Reset ¶
func (m *P2PBlockTxReq) Reset()
func (*P2PBlockTxReq) String ¶
func (m *P2PBlockTxReq) String() string
func (*P2PBlockTxReq) XXX_DiscardUnknown ¶
func (m *P2PBlockTxReq) XXX_DiscardUnknown()
func (*P2PBlockTxReq) XXX_Marshal ¶
func (m *P2PBlockTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PBlockTxReq) XXX_Merge ¶
func (m *P2PBlockTxReq) XXX_Merge(src proto.Message)
func (*P2PBlockTxReq) XXX_Size ¶
func (m *P2PBlockTxReq) XXX_Size() int
func (*P2PBlockTxReq) XXX_Unmarshal ¶
func (m *P2PBlockTxReq) XXX_Unmarshal(b []byte) error
type P2PExternalInfo ¶
type P2PExternalInfo struct { ///节点的外网地址 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //节点是否在外网 Isoutside bool `protobuf:"varint,2,opt,name=isoutside,proto3" json:"isoutside,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 节点外网信息
func (*P2PExternalInfo) Descriptor ¶
func (*P2PExternalInfo) Descriptor() ([]byte, []int)
func (*P2PExternalInfo) GetAddr ¶
func (m *P2PExternalInfo) GetAddr() string
func (*P2PExternalInfo) GetIsoutside ¶
func (m *P2PExternalInfo) GetIsoutside() bool
func (*P2PExternalInfo) ProtoMessage ¶
func (*P2PExternalInfo) ProtoMessage()
func (*P2PExternalInfo) Reset ¶
func (m *P2PExternalInfo) Reset()
func (*P2PExternalInfo) String ¶
func (m *P2PExternalInfo) String() string
func (*P2PExternalInfo) XXX_DiscardUnknown ¶
func (m *P2PExternalInfo) XXX_DiscardUnknown()
func (*P2PExternalInfo) XXX_Marshal ¶
func (m *P2PExternalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PExternalInfo) XXX_Merge ¶
func (m *P2PExternalInfo) XXX_Merge(src proto.Message)
func (*P2PExternalInfo) XXX_Size ¶
func (m *P2PExternalInfo) XXX_Size() int
func (*P2PExternalInfo) XXX_Unmarshal ¶
func (m *P2PExternalInfo) XXX_Unmarshal(b []byte) error
type P2PGetAddr ¶
type P2PGetAddr struct { Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 获取对方节点所连接的其他节点地址的请求包
func (*P2PGetAddr) Descriptor ¶
func (*P2PGetAddr) Descriptor() ([]byte, []int)
func (*P2PGetAddr) GetNonce ¶
func (m *P2PGetAddr) GetNonce() int64
func (*P2PGetAddr) ProtoMessage ¶
func (*P2PGetAddr) ProtoMessage()
func (*P2PGetAddr) Reset ¶
func (m *P2PGetAddr) Reset()
func (*P2PGetAddr) String ¶
func (m *P2PGetAddr) String() string
func (*P2PGetAddr) XXX_DiscardUnknown ¶
func (m *P2PGetAddr) XXX_DiscardUnknown()
func (*P2PGetAddr) XXX_Marshal ¶
func (m *P2PGetAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetAddr) XXX_Merge ¶
func (m *P2PGetAddr) XXX_Merge(src proto.Message)
func (*P2PGetAddr) XXX_Size ¶
func (m *P2PGetAddr) XXX_Size() int
func (*P2PGetAddr) XXX_Unmarshal ¶
func (m *P2PGetAddr) XXX_Unmarshal(b []byte) error
type P2PGetBlocks ¶
type P2PGetBlocks struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` StartHeight int64 `protobuf:"varint,2,opt,name=startHeight,proto3" json:"startHeight,omitempty"` EndHeight int64 `protobuf:"varint,3,opt,name=endHeight,proto3" json:"endHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 获取区间区块
func (*P2PGetBlocks) Descriptor ¶
func (*P2PGetBlocks) Descriptor() ([]byte, []int)
func (*P2PGetBlocks) GetEndHeight ¶
func (m *P2PGetBlocks) GetEndHeight() int64
func (*P2PGetBlocks) GetStartHeight ¶
func (m *P2PGetBlocks) GetStartHeight() int64
func (*P2PGetBlocks) GetVersion ¶
func (m *P2PGetBlocks) GetVersion() int32
func (*P2PGetBlocks) ProtoMessage ¶
func (*P2PGetBlocks) ProtoMessage()
func (*P2PGetBlocks) Reset ¶
func (m *P2PGetBlocks) Reset()
func (*P2PGetBlocks) String ¶
func (m *P2PGetBlocks) String() string
func (*P2PGetBlocks) XXX_DiscardUnknown ¶
func (m *P2PGetBlocks) XXX_DiscardUnknown()
func (*P2PGetBlocks) XXX_Marshal ¶
func (m *P2PGetBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetBlocks) XXX_Merge ¶
func (m *P2PGetBlocks) XXX_Merge(src proto.Message)
func (*P2PGetBlocks) XXX_Size ¶
func (m *P2PGetBlocks) XXX_Size() int
func (*P2PGetBlocks) XXX_Unmarshal ¶
func (m *P2PGetBlocks) XXX_Unmarshal(b []byte) error
type P2PGetData ¶
type P2PGetData struct { /// p2p版本 Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` /// invs 数组 Invs []*Inventory `protobuf:"bytes,2,rep,name=invs,proto3" json:"invs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 通过invs 下载数据
func (*P2PGetData) Descriptor ¶
func (*P2PGetData) Descriptor() ([]byte, []int)
func (*P2PGetData) GetInvs ¶
func (m *P2PGetData) GetInvs() []*Inventory
func (*P2PGetData) GetVersion ¶
func (m *P2PGetData) GetVersion() int32
func (*P2PGetData) ProtoMessage ¶
func (*P2PGetData) ProtoMessage()
func (*P2PGetData) Reset ¶
func (m *P2PGetData) Reset()
func (*P2PGetData) String ¶
func (m *P2PGetData) String() string
func (*P2PGetData) XXX_DiscardUnknown ¶
func (m *P2PGetData) XXX_DiscardUnknown()
func (*P2PGetData) XXX_Marshal ¶
func (m *P2PGetData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetData) XXX_Merge ¶
func (m *P2PGetData) XXX_Merge(src proto.Message)
func (*P2PGetData) XXX_Size ¶
func (m *P2PGetData) XXX_Size() int
func (*P2PGetData) XXX_Unmarshal ¶
func (m *P2PGetData) XXX_Unmarshal(b []byte) error
type P2PGetHeaders ¶
type P2PGetHeaders struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` StartHeight int64 `protobuf:"varint,2,opt,name=startHeight,proto3" json:"startHeight,omitempty"` EndHeight int64 `protobuf:"varint,3,opt,name=endHeight,proto3" json:"endHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 获取区块区间头部信息协议
func (*P2PGetHeaders) Descriptor ¶
func (*P2PGetHeaders) Descriptor() ([]byte, []int)
func (*P2PGetHeaders) GetEndHeight ¶
func (m *P2PGetHeaders) GetEndHeight() int64
func (*P2PGetHeaders) GetStartHeight ¶
func (m *P2PGetHeaders) GetStartHeight() int64
func (*P2PGetHeaders) GetVersion ¶
func (m *P2PGetHeaders) GetVersion() int32
func (*P2PGetHeaders) ProtoMessage ¶
func (*P2PGetHeaders) ProtoMessage()
func (*P2PGetHeaders) Reset ¶
func (m *P2PGetHeaders) Reset()
func (*P2PGetHeaders) String ¶
func (m *P2PGetHeaders) String() string
func (*P2PGetHeaders) XXX_DiscardUnknown ¶
func (m *P2PGetHeaders) XXX_DiscardUnknown()
func (*P2PGetHeaders) XXX_Marshal ¶
func (m *P2PGetHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetHeaders) XXX_Merge ¶
func (m *P2PGetHeaders) XXX_Merge(src proto.Message)
func (*P2PGetHeaders) XXX_Size ¶
func (m *P2PGetHeaders) XXX_Size() int
func (*P2PGetHeaders) XXX_Unmarshal ¶
func (m *P2PGetHeaders) XXX_Unmarshal(b []byte) error
type P2PGetMempool ¶
type P2PGetMempool struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 获取mempool
func (*P2PGetMempool) Descriptor ¶
func (*P2PGetMempool) Descriptor() ([]byte, []int)
func (*P2PGetMempool) GetVersion ¶
func (m *P2PGetMempool) GetVersion() int32
func (*P2PGetMempool) ProtoMessage ¶
func (*P2PGetMempool) ProtoMessage()
func (*P2PGetMempool) Reset ¶
func (m *P2PGetMempool) Reset()
func (*P2PGetMempool) String ¶
func (m *P2PGetMempool) String() string
func (*P2PGetMempool) XXX_DiscardUnknown ¶
func (m *P2PGetMempool) XXX_DiscardUnknown()
func (*P2PGetMempool) XXX_Marshal ¶
func (m *P2PGetMempool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetMempool) XXX_Merge ¶
func (m *P2PGetMempool) XXX_Merge(src proto.Message)
func (*P2PGetMempool) XXX_Size ¶
func (m *P2PGetMempool) XXX_Size() int
func (*P2PGetMempool) XXX_Unmarshal ¶
func (m *P2PGetMempool) XXX_Unmarshal(b []byte) error
type P2PGetNetInfoReq ¶
type P2PGetNetInfoReq struct { P2PType string `protobuf:"bytes,1,opt,name=p2pType,proto3" json:"p2pType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p get net info req
func (*P2PGetNetInfoReq) Descriptor ¶
func (*P2PGetNetInfoReq) Descriptor() ([]byte, []int)
func (*P2PGetNetInfoReq) GetP2PType ¶
func (m *P2PGetNetInfoReq) GetP2PType() string
func (*P2PGetNetInfoReq) ProtoMessage ¶
func (*P2PGetNetInfoReq) ProtoMessage()
func (*P2PGetNetInfoReq) Reset ¶
func (m *P2PGetNetInfoReq) Reset()
func (*P2PGetNetInfoReq) String ¶
func (m *P2PGetNetInfoReq) String() string
func (*P2PGetNetInfoReq) XXX_DiscardUnknown ¶
func (m *P2PGetNetInfoReq) XXX_DiscardUnknown()
func (*P2PGetNetInfoReq) XXX_Marshal ¶
func (m *P2PGetNetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetNetInfoReq) XXX_Merge ¶
func (m *P2PGetNetInfoReq) XXX_Merge(src proto.Message)
func (*P2PGetNetInfoReq) XXX_Size ¶
func (m *P2PGetNetInfoReq) XXX_Size() int
func (*P2PGetNetInfoReq) XXX_Unmarshal ¶
func (m *P2PGetNetInfoReq) XXX_Unmarshal(b []byte) error
type P2PGetPeerInfo ¶
type P2PGetPeerInfo struct { /// p2p版本 Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 请求获取远程节点的节点信息
func (*P2PGetPeerInfo) Descriptor ¶
func (*P2PGetPeerInfo) Descriptor() ([]byte, []int)
func (*P2PGetPeerInfo) GetVersion ¶
func (m *P2PGetPeerInfo) GetVersion() int32
func (*P2PGetPeerInfo) ProtoMessage ¶
func (*P2PGetPeerInfo) ProtoMessage()
func (*P2PGetPeerInfo) Reset ¶
func (m *P2PGetPeerInfo) Reset()
func (*P2PGetPeerInfo) String ¶
func (m *P2PGetPeerInfo) String() string
func (*P2PGetPeerInfo) XXX_DiscardUnknown ¶
func (m *P2PGetPeerInfo) XXX_DiscardUnknown()
func (*P2PGetPeerInfo) XXX_Marshal ¶
func (m *P2PGetPeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetPeerInfo) XXX_Merge ¶
func (m *P2PGetPeerInfo) XXX_Merge(src proto.Message)
func (*P2PGetPeerInfo) XXX_Size ¶
func (m *P2PGetPeerInfo) XXX_Size() int
func (*P2PGetPeerInfo) XXX_Unmarshal ¶
func (m *P2PGetPeerInfo) XXX_Unmarshal(b []byte) error
type P2PGetPeerReq ¶
type P2PGetPeerReq struct { P2PType string `protobuf:"bytes,1,opt,name=p2pType,proto3" json:"p2pType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p get peer req
func (*P2PGetPeerReq) Descriptor ¶
func (*P2PGetPeerReq) Descriptor() ([]byte, []int)
func (*P2PGetPeerReq) GetP2PType ¶
func (m *P2PGetPeerReq) GetP2PType() string
func (*P2PGetPeerReq) ProtoMessage ¶
func (*P2PGetPeerReq) ProtoMessage()
func (*P2PGetPeerReq) Reset ¶
func (m *P2PGetPeerReq) Reset()
func (*P2PGetPeerReq) String ¶
func (m *P2PGetPeerReq) String() string
func (*P2PGetPeerReq) XXX_DiscardUnknown ¶
func (m *P2PGetPeerReq) XXX_DiscardUnknown()
func (*P2PGetPeerReq) XXX_Marshal ¶
func (m *P2PGetPeerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PGetPeerReq) XXX_Merge ¶
func (m *P2PGetPeerReq) XXX_Merge(src proto.Message)
func (*P2PGetPeerReq) XXX_Size ¶
func (m *P2PGetPeerReq) XXX_Size() int
func (*P2PGetPeerReq) XXX_Unmarshal ¶
func (m *P2PGetPeerReq) XXX_Unmarshal(b []byte) error
type P2PHeaders ¶
type P2PHeaders struct { Headers []*Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 区块头传输协议
func (*P2PHeaders) Descriptor ¶
func (*P2PHeaders) Descriptor() ([]byte, []int)
func (*P2PHeaders) GetHeaders ¶
func (m *P2PHeaders) GetHeaders() []*Header
func (*P2PHeaders) ProtoMessage ¶
func (*P2PHeaders) ProtoMessage()
func (*P2PHeaders) Reset ¶
func (m *P2PHeaders) Reset()
func (*P2PHeaders) String ¶
func (m *P2PHeaders) String() string
func (*P2PHeaders) XXX_DiscardUnknown ¶
func (m *P2PHeaders) XXX_DiscardUnknown()
func (*P2PHeaders) XXX_Marshal ¶
func (m *P2PHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PHeaders) XXX_Merge ¶
func (m *P2PHeaders) XXX_Merge(src proto.Message)
func (*P2PHeaders) XXX_Size ¶
func (m *P2PHeaders) XXX_Size() int
func (*P2PHeaders) XXX_Unmarshal ¶
func (m *P2PHeaders) XXX_Unmarshal(b []byte) error
type P2PInv ¶
type P2PInv struct { Invs []*Inventory `protobuf:"bytes,1,rep,name=invs,proto3" json:"invs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PInv) Descriptor ¶
func (*P2PInv) ProtoMessage ¶
func (*P2PInv) ProtoMessage()
func (*P2PInv) XXX_DiscardUnknown ¶
func (m *P2PInv) XXX_DiscardUnknown()
func (*P2PInv) XXX_Marshal ¶
func (*P2PInv) XXX_Unmarshal ¶
type P2PMessageHeaders ¶ added in v1.65.0
type P2PMessageHeaders struct { // shared between all requests Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` Sign []byte `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PMessageHeaders) Descriptor ¶ added in v1.65.0
func (*P2PMessageHeaders) Descriptor() ([]byte, []int)
func (*P2PMessageHeaders) GetId ¶ added in v1.65.0
func (m *P2PMessageHeaders) GetId() int64
func (*P2PMessageHeaders) GetSign ¶ added in v1.65.0
func (m *P2PMessageHeaders) GetSign() []byte
func (*P2PMessageHeaders) GetTimestamp ¶ added in v1.65.0
func (m *P2PMessageHeaders) GetTimestamp() int64
func (*P2PMessageHeaders) GetVersion ¶ added in v1.65.0
func (m *P2PMessageHeaders) GetVersion() string
func (*P2PMessageHeaders) ProtoMessage ¶ added in v1.65.0
func (*P2PMessageHeaders) ProtoMessage()
func (*P2PMessageHeaders) Reset ¶ added in v1.65.0
func (m *P2PMessageHeaders) Reset()
func (*P2PMessageHeaders) String ¶ added in v1.65.0
func (m *P2PMessageHeaders) String() string
func (*P2PMessageHeaders) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *P2PMessageHeaders) XXX_DiscardUnknown()
func (*P2PMessageHeaders) XXX_Marshal ¶ added in v1.65.0
func (m *P2PMessageHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PMessageHeaders) XXX_Merge ¶ added in v1.65.0
func (m *P2PMessageHeaders) XXX_Merge(src proto.Message)
func (*P2PMessageHeaders) XXX_Size ¶ added in v1.65.0
func (m *P2PMessageHeaders) XXX_Size() int
func (*P2PMessageHeaders) XXX_Unmarshal ¶ added in v1.65.0
func (m *P2PMessageHeaders) XXX_Unmarshal(b []byte) error
type P2PPeerInfo ¶
type P2PPeerInfo struct { ///节点的IP地址 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` ///节点的外网端口 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` ///节点的名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` /// mempool 的大小 MempoolSize int32 `protobuf:"varint,4,opt,name=mempoolSize,proto3" json:"mempoolSize,omitempty"` ///节点当前高度头部数据 Header *Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` LocalDBVersion string `protobuf:"bytes,7,opt,name=localDBVersion,proto3" json:"localDBVersion,omitempty"` StoreDBVersion string `protobuf:"bytes,8,opt,name=storeDBVersion,proto3" json:"storeDBVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 节点信息
func (*P2PPeerInfo) Descriptor ¶
func (*P2PPeerInfo) Descriptor() ([]byte, []int)
func (*P2PPeerInfo) GetAddr ¶
func (m *P2PPeerInfo) GetAddr() string
func (*P2PPeerInfo) GetHeader ¶
func (m *P2PPeerInfo) GetHeader() *Header
func (*P2PPeerInfo) GetLocalDBVersion ¶ added in v1.65.0
func (m *P2PPeerInfo) GetLocalDBVersion() string
func (*P2PPeerInfo) GetMempoolSize ¶
func (m *P2PPeerInfo) GetMempoolSize() int32
func (*P2PPeerInfo) GetName ¶
func (m *P2PPeerInfo) GetName() string
func (*P2PPeerInfo) GetPort ¶
func (m *P2PPeerInfo) GetPort() int32
func (*P2PPeerInfo) GetStoreDBVersion ¶ added in v1.65.0
func (m *P2PPeerInfo) GetStoreDBVersion() string
func (*P2PPeerInfo) GetVersion ¶ added in v1.65.0
func (m *P2PPeerInfo) GetVersion() string
func (*P2PPeerInfo) ProtoMessage ¶
func (*P2PPeerInfo) ProtoMessage()
func (*P2PPeerInfo) Reset ¶
func (m *P2PPeerInfo) Reset()
func (*P2PPeerInfo) String ¶
func (m *P2PPeerInfo) String() string
func (*P2PPeerInfo) XXX_DiscardUnknown ¶
func (m *P2PPeerInfo) XXX_DiscardUnknown()
func (*P2PPeerInfo) XXX_Marshal ¶
func (m *P2PPeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PPeerInfo) XXX_Merge ¶
func (m *P2PPeerInfo) XXX_Merge(src proto.Message)
func (*P2PPeerInfo) XXX_Size ¶
func (m *P2PPeerInfo) XXX_Size() int
func (*P2PPeerInfo) XXX_Unmarshal ¶
func (m *P2PPeerInfo) XXX_Unmarshal(b []byte) error
type P2PPing ¶
type P2PPing struct { ///随机数 Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` ///节点的外网地址 Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` ///节点的外网端口 Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` //签名 Sign *Signature `protobuf:"bytes,4,opt,name=sign,proto3" json:"sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* P2P 心跳包
func (*P2PPing) Descriptor ¶
func (*P2PPing) ProtoMessage ¶
func (*P2PPing) ProtoMessage()
func (*P2PPing) XXX_DiscardUnknown ¶
func (m *P2PPing) XXX_DiscardUnknown()
func (*P2PPing) XXX_Marshal ¶
func (*P2PPing) XXX_Unmarshal ¶
type P2PPong ¶
type P2PPong struct { Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 心跳返回包
func (*P2PPong) Descriptor ¶
func (*P2PPong) ProtoMessage ¶
func (*P2PPong) ProtoMessage()
func (*P2PPong) XXX_DiscardUnknown ¶
func (m *P2PPong) XXX_DiscardUnknown()
func (*P2PPong) XXX_Marshal ¶
func (*P2PPong) XXX_Unmarshal ¶
type P2PQueryData ¶
type P2PQueryData struct { // Types that are valid to be assigned to Value: // *P2PQueryData_TxReq // *P2PQueryData_BlockTxReq Value isP2PQueryData_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
节点收到区块或交易hash, 当在本地不存在时,需要请求重发完整交易或区块 采用统一结构减少消息类型
func (*P2PQueryData) Descriptor ¶
func (*P2PQueryData) Descriptor() ([]byte, []int)
func (*P2PQueryData) GetBlockTxReq ¶
func (m *P2PQueryData) GetBlockTxReq() *P2PBlockTxReq
func (*P2PQueryData) GetTxReq ¶
func (m *P2PQueryData) GetTxReq() *P2PTxReq
func (*P2PQueryData) GetValue ¶
func (m *P2PQueryData) GetValue() isP2PQueryData_Value
func (*P2PQueryData) ProtoMessage ¶
func (*P2PQueryData) ProtoMessage()
func (*P2PQueryData) Reset ¶
func (m *P2PQueryData) Reset()
func (*P2PQueryData) String ¶
func (m *P2PQueryData) String() string
func (*P2PQueryData) XXX_DiscardUnknown ¶
func (m *P2PQueryData) XXX_DiscardUnknown()
func (*P2PQueryData) XXX_Marshal ¶
func (m *P2PQueryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PQueryData) XXX_Merge ¶
func (m *P2PQueryData) XXX_Merge(src proto.Message)
func (*P2PQueryData) XXX_OneofWrappers ¶
func (*P2PQueryData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*P2PQueryData) XXX_Size ¶
func (m *P2PQueryData) XXX_Size() int
func (*P2PQueryData) XXX_Unmarshal ¶
func (m *P2PQueryData) XXX_Unmarshal(b []byte) error
type P2PQueryData_BlockTxReq ¶
type P2PQueryData_BlockTxReq struct {
BlockTxReq *P2PBlockTxReq `protobuf:"bytes,2,opt,name=blockTxReq,proto3,oneof"`
}
type P2PQueryData_TxReq ¶
type P2PQueryData_TxReq struct {
TxReq *P2PTxReq `protobuf:"bytes,1,opt,name=txReq,proto3,oneof"`
}
type P2PRequest ¶ added in v1.65.0
type P2PRequest struct { Headers *P2PMessageHeaders `protobuf:"bytes,1,opt,name=headers,proto3" json:"headers,omitempty"` // Types that are valid to be assigned to Request: // *P2PRequest_ReqChunkRecords // *P2PRequest_ChunkInfoMsg // *P2PRequest_ChunkInfoList // *P2PRequest_ReqBlocks // *P2PRequest_ReqPeers Request isP2PRequest_Request `protobuf_oneof:"request"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PRequest) Descriptor ¶ added in v1.65.0
func (*P2PRequest) Descriptor() ([]byte, []int)
func (*P2PRequest) GetChunkInfoList ¶ added in v1.65.0
func (m *P2PRequest) GetChunkInfoList() *ChunkInfoList
func (*P2PRequest) GetChunkInfoMsg ¶ added in v1.65.0
func (m *P2PRequest) GetChunkInfoMsg() *ChunkInfoMsg
func (*P2PRequest) GetHeaders ¶ added in v1.65.0
func (m *P2PRequest) GetHeaders() *P2PMessageHeaders
func (*P2PRequest) GetReqBlocks ¶ added in v1.65.0
func (m *P2PRequest) GetReqBlocks() *ReqBlocks
func (*P2PRequest) GetReqChunkRecords ¶ added in v1.65.0
func (m *P2PRequest) GetReqChunkRecords() *ReqChunkRecords
func (*P2PRequest) GetReqPeers ¶ added in v1.65.1
func (m *P2PRequest) GetReqPeers() *ReqPeers
func (*P2PRequest) GetRequest ¶ added in v1.65.0
func (m *P2PRequest) GetRequest() isP2PRequest_Request
func (*P2PRequest) ProtoMessage ¶ added in v1.65.0
func (*P2PRequest) ProtoMessage()
func (*P2PRequest) Reset ¶ added in v1.65.0
func (m *P2PRequest) Reset()
func (*P2PRequest) String ¶ added in v1.65.0
func (m *P2PRequest) String() string
func (*P2PRequest) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *P2PRequest) XXX_DiscardUnknown()
func (*P2PRequest) XXX_Marshal ¶ added in v1.65.0
func (m *P2PRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PRequest) XXX_Merge ¶ added in v1.65.0
func (m *P2PRequest) XXX_Merge(src proto.Message)
func (*P2PRequest) XXX_OneofWrappers ¶ added in v1.65.0
func (*P2PRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*P2PRequest) XXX_Size ¶ added in v1.65.0
func (m *P2PRequest) XXX_Size() int
func (*P2PRequest) XXX_Unmarshal ¶ added in v1.65.0
func (m *P2PRequest) XXX_Unmarshal(b []byte) error
type P2PRequest_ChunkInfoList ¶ added in v1.65.0
type P2PRequest_ChunkInfoList struct {
ChunkInfoList *ChunkInfoList `protobuf:"bytes,4,opt,name=chunkInfoList,proto3,oneof"`
}
type P2PRequest_ChunkInfoMsg ¶ added in v1.65.0
type P2PRequest_ChunkInfoMsg struct {
ChunkInfoMsg *ChunkInfoMsg `protobuf:"bytes,3,opt,name=chunkInfoMsg,proto3,oneof"`
}
type P2PRequest_ReqBlocks ¶ added in v1.65.0
type P2PRequest_ReqBlocks struct {
ReqBlocks *ReqBlocks `protobuf:"bytes,5,opt,name=reqBlocks,proto3,oneof"`
}
type P2PRequest_ReqChunkRecords ¶ added in v1.65.0
type P2PRequest_ReqChunkRecords struct {
ReqChunkRecords *ReqChunkRecords `protobuf:"bytes,2,opt,name=reqChunkRecords,proto3,oneof"`
}
type P2PRequest_ReqPeers ¶ added in v1.65.1
type P2PRequest_ReqPeers struct {
ReqPeers *ReqPeers `protobuf:"bytes,6,opt,name=reqPeers,proto3,oneof"`
}
type P2PResponse ¶ added in v1.65.0
type P2PResponse struct { Headers *P2PMessageHeaders `protobuf:"bytes,1,opt,name=headers,proto3" json:"headers,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` CloserPeers []*PeerInfo `protobuf:"bytes,3,rep,name=closerPeers,proto3" json:"closerPeers,omitempty"` // Types that are valid to be assigned to Response: // *P2PResponse_BlockBody // *P2PResponse_BlockHeaders // *P2PResponse_ChunkRecords // *P2PResponse_NodeInfo Response isP2PResponse_Response `protobuf_oneof:"response"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PResponse) Descriptor ¶ added in v1.65.0
func (*P2PResponse) Descriptor() ([]byte, []int)
func (*P2PResponse) GetBlockBody ¶ added in v1.65.0
func (m *P2PResponse) GetBlockBody() *BlockBody
func (*P2PResponse) GetBlockHeaders ¶ added in v1.65.0
func (m *P2PResponse) GetBlockHeaders() *Headers
func (*P2PResponse) GetChunkRecords ¶ added in v1.65.0
func (m *P2PResponse) GetChunkRecords() *ChunkRecords
func (*P2PResponse) GetCloserPeers ¶ added in v1.65.0
func (m *P2PResponse) GetCloserPeers() []*PeerInfo
func (*P2PResponse) GetError ¶ added in v1.65.0
func (m *P2PResponse) GetError() string
func (*P2PResponse) GetHeaders ¶ added in v1.65.0
func (m *P2PResponse) GetHeaders() *P2PMessageHeaders
func (*P2PResponse) GetNodeInfo ¶ added in v1.65.1
func (m *P2PResponse) GetNodeInfo() *NodeInfo
func (*P2PResponse) GetResponse ¶ added in v1.65.0
func (m *P2PResponse) GetResponse() isP2PResponse_Response
func (*P2PResponse) ProtoMessage ¶ added in v1.65.0
func (*P2PResponse) ProtoMessage()
func (*P2PResponse) Reset ¶ added in v1.65.0
func (m *P2PResponse) Reset()
func (*P2PResponse) String ¶ added in v1.65.0
func (m *P2PResponse) String() string
func (*P2PResponse) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *P2PResponse) XXX_DiscardUnknown()
func (*P2PResponse) XXX_Marshal ¶ added in v1.65.0
func (m *P2PResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PResponse) XXX_Merge ¶ added in v1.65.0
func (m *P2PResponse) XXX_Merge(src proto.Message)
func (*P2PResponse) XXX_OneofWrappers ¶ added in v1.65.0
func (*P2PResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*P2PResponse) XXX_Size ¶ added in v1.65.0
func (m *P2PResponse) XXX_Size() int
func (*P2PResponse) XXX_Unmarshal ¶ added in v1.65.0
func (m *P2PResponse) XXX_Unmarshal(b []byte) error
type P2PResponse_BlockBody ¶ added in v1.65.0
type P2PResponse_BlockBody struct {
BlockBody *BlockBody `protobuf:"bytes,5,opt,name=blockBody,proto3,oneof"`
}
type P2PResponse_BlockHeaders ¶ added in v1.65.0
type P2PResponse_BlockHeaders struct {
BlockHeaders *Headers `protobuf:"bytes,6,opt,name=blockHeaders,proto3,oneof"`
}
type P2PResponse_ChunkRecords ¶ added in v1.65.0
type P2PResponse_ChunkRecords struct {
ChunkRecords *ChunkRecords `protobuf:"bytes,7,opt,name=chunkRecords,proto3,oneof"`
}
type P2PResponse_NodeInfo ¶ added in v1.65.1
type P2PResponse_NodeInfo struct {
NodeInfo *NodeInfo `protobuf:"bytes,8,opt,name=nodeInfo,proto3,oneof"`
}
type P2PRoute ¶
type P2PRoute struct { TTL int32 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*P2PRoute) Descriptor ¶
func (*P2PRoute) ProtoMessage ¶
func (*P2PRoute) ProtoMessage()
func (*P2PRoute) XXX_DiscardUnknown ¶
func (m *P2PRoute) XXX_DiscardUnknown()
func (*P2PRoute) XXX_Marshal ¶
func (*P2PRoute) XXX_Unmarshal ¶
type P2PTx ¶
type P2PTx struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Route *P2PRoute `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 发送交易协议
func (*P2PTx) Descriptor ¶
func (*P2PTx) GetTx ¶
func (m *P2PTx) GetTx() *Transaction
func (*P2PTx) ProtoMessage ¶
func (*P2PTx) ProtoMessage()
func (*P2PTx) XXX_DiscardUnknown ¶
func (m *P2PTx) XXX_DiscardUnknown()
func (*P2PTx) XXX_Marshal ¶
func (*P2PTx) XXX_Unmarshal ¶
type P2PTxReq ¶
type P2PTxReq struct { TxHash []byte `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
请求完整交易数据
func (*P2PTxReq) Descriptor ¶
func (*P2PTxReq) ProtoMessage ¶
func (*P2PTxReq) ProtoMessage()
func (*P2PTxReq) XXX_DiscardUnknown ¶
func (m *P2PTxReq) XXX_DiscardUnknown()
func (*P2PTxReq) XXX_Marshal ¶
func (*P2PTxReq) XXX_Unmarshal ¶
type P2PVerAck ¶
type P2PVerAck struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Service int64 `protobuf:"varint,2,opt,name=service,proto3" json:"service,omitempty"` Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* P2P 版本返回
func (*P2PVerAck) Descriptor ¶
func (*P2PVerAck) GetService ¶
func (*P2PVerAck) GetVersion ¶
func (*P2PVerAck) ProtoMessage ¶
func (*P2PVerAck) ProtoMessage()
func (*P2PVerAck) XXX_DiscardUnknown ¶
func (m *P2PVerAck) XXX_DiscardUnknown()
func (*P2PVerAck) XXX_Marshal ¶
func (*P2PVerAck) XXX_Unmarshal ¶
type P2PVersion ¶
type P2PVersion struct { ///当前版本 Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ///服务类型 Service int64 `protobuf:"varint,2,opt,name=service,proto3" json:"service,omitempty"` ///时间戳 Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ///数据包的目的地址 AddrRecv string `protobuf:"bytes,4,opt,name=addrRecv,proto3" json:"addrRecv,omitempty"` ///数据发送的源地址 AddrFrom string `protobuf:"bytes,5,opt,name=addrFrom,proto3" json:"addrFrom,omitempty"` ///随机数 Nonce int64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` ///用户代理 UserAgent string `protobuf:"bytes,7,opt,name=userAgent,proto3" json:"userAgent,omitempty"` ///当前节点的高度 StartHeight int64 `protobuf:"varint,8,opt,name=startHeight,proto3" json:"startHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p节点间发送版本数据结构
func (*P2PVersion) Descriptor ¶
func (*P2PVersion) Descriptor() ([]byte, []int)
func (*P2PVersion) GetAddrFrom ¶
func (m *P2PVersion) GetAddrFrom() string
func (*P2PVersion) GetAddrRecv ¶
func (m *P2PVersion) GetAddrRecv() string
func (*P2PVersion) GetNonce ¶
func (m *P2PVersion) GetNonce() int64
func (*P2PVersion) GetService ¶
func (m *P2PVersion) GetService() int64
func (*P2PVersion) GetStartHeight ¶
func (m *P2PVersion) GetStartHeight() int64
func (*P2PVersion) GetTimestamp ¶
func (m *P2PVersion) GetTimestamp() int64
func (*P2PVersion) GetUserAgent ¶
func (m *P2PVersion) GetUserAgent() string
func (*P2PVersion) GetVersion ¶
func (m *P2PVersion) GetVersion() int32
func (*P2PVersion) ProtoMessage ¶
func (*P2PVersion) ProtoMessage()
func (*P2PVersion) Reset ¶
func (m *P2PVersion) Reset()
func (*P2PVersion) String ¶
func (m *P2PVersion) String() string
func (*P2PVersion) XXX_DiscardUnknown ¶
func (m *P2PVersion) XXX_DiscardUnknown()
func (*P2PVersion) XXX_Marshal ¶
func (m *P2PVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*P2PVersion) XXX_Merge ¶
func (m *P2PVersion) XXX_Merge(src proto.Message)
func (*P2PVersion) XXX_Size ¶
func (m *P2PVersion) XXX_Size() int
func (*P2PVersion) XXX_Unmarshal ¶
func (m *P2PVersion) XXX_Unmarshal(b []byte) error
type P2PgserviceClient ¶
type P2PgserviceClient interface { //广播交易 BroadCastTx(ctx context.Context, in *P2PTx, opts ...grpc.CallOption) (*Reply, error) //广播区块 BroadCastBlock(ctx context.Context, in *P2PBlock, opts ...grpc.CallOption) (*Reply, error) // PING Ping(ctx context.Context, in *P2PPing, opts ...grpc.CallOption) (*P2PPong, error) //获取地址 GetAddr(ctx context.Context, in *P2PGetAddr, opts ...grpc.CallOption) (*P2PAddr, error) GetAddrList(ctx context.Context, in *P2PGetAddr, opts ...grpc.CallOption) (*P2PAddrList, error) //版本 Version(ctx context.Context, in *P2PVersion, opts ...grpc.CallOption) (*P2PVerAck, error) //获取p2p协议的版本号 Version2(ctx context.Context, in *P2PVersion, opts ...grpc.CallOption) (*P2PVersion, error) //获取软件的版本号 SoftVersion(ctx context.Context, in *P2PPing, opts ...grpc.CallOption) (*Reply, error) //获取区块,最高200 GetBlocks(ctx context.Context, in *P2PGetBlocks, opts ...grpc.CallOption) (*P2PInv, error) //获取mempool GetMemPool(ctx context.Context, in *P2PGetMempool, opts ...grpc.CallOption) (*P2PInv, error) //获取数据 GetData(ctx context.Context, in *P2PGetData, opts ...grpc.CallOption) (P2Pgservice_GetDataClient, error) //获取头部 GetHeaders(ctx context.Context, in *P2PGetHeaders, opts ...grpc.CallOption) (*P2PHeaders, error) //获取 peerinfo GetPeerInfo(ctx context.Context, in *P2PGetPeerInfo, opts ...grpc.CallOption) (*P2PPeerInfo, error) // grpc server 读客户端发送来的数据 ServerStreamRead(ctx context.Context, opts ...grpc.CallOption) (P2Pgservice_ServerStreamReadClient, error) // grpc server 发送数据给客户端 ServerStreamSend(ctx context.Context, in *P2PPing, opts ...grpc.CallOption) (P2Pgservice_ServerStreamSendClient, error) // grpc 收集inpeers CollectInPeers(ctx context.Context, in *P2PPing, opts ...grpc.CallOption) (*PeerList, error) CollectInPeers2(ctx context.Context, in *P2PPing, opts ...grpc.CallOption) (*PeersReply, error) }
P2PgserviceClient is the client API for P2Pgservice service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewP2PgserviceClient ¶
func NewP2PgserviceClient(cc grpc.ClientConnInterface) P2PgserviceClient
type P2PgserviceServer ¶
type P2PgserviceServer interface { //广播交易 BroadCastTx(context.Context, *P2PTx) (*Reply, error) //广播区块 BroadCastBlock(context.Context, *P2PBlock) (*Reply, error) // PING Ping(context.Context, *P2PPing) (*P2PPong, error) //获取地址 GetAddr(context.Context, *P2PGetAddr) (*P2PAddr, error) GetAddrList(context.Context, *P2PGetAddr) (*P2PAddrList, error) //版本 Version(context.Context, *P2PVersion) (*P2PVerAck, error) //获取p2p协议的版本号 Version2(context.Context, *P2PVersion) (*P2PVersion, error) //获取软件的版本号 SoftVersion(context.Context, *P2PPing) (*Reply, error) //获取区块,最高200 GetBlocks(context.Context, *P2PGetBlocks) (*P2PInv, error) //获取mempool GetMemPool(context.Context, *P2PGetMempool) (*P2PInv, error) //获取数据 GetData(*P2PGetData, P2Pgservice_GetDataServer) error //获取头部 GetHeaders(context.Context, *P2PGetHeaders) (*P2PHeaders, error) //获取 peerinfo GetPeerInfo(context.Context, *P2PGetPeerInfo) (*P2PPeerInfo, error) // grpc server 读客户端发送来的数据 ServerStreamRead(P2Pgservice_ServerStreamReadServer) error // grpc server 发送数据给客户端 ServerStreamSend(*P2PPing, P2Pgservice_ServerStreamSendServer) error // grpc 收集inpeers CollectInPeers(context.Context, *P2PPing) (*PeerList, error) CollectInPeers2(context.Context, *P2PPing) (*PeersReply, error) }
P2PgserviceServer is the server API for P2Pgservice service.
type P2Pgservice_GetDataClient ¶
type P2Pgservice_GetDataClient interface { Recv() (*InvDatas, error) grpc.ClientStream }
type P2Pgservice_GetDataServer ¶
type P2Pgservice_GetDataServer interface { Send(*InvDatas) error grpc.ServerStream }
type P2Pgservice_ServerStreamReadClient ¶
type P2Pgservice_ServerStreamReadClient interface { Send(*BroadCastData) error CloseAndRecv() (*ReqNil, error) grpc.ClientStream }
type P2Pgservice_ServerStreamReadServer ¶
type P2Pgservice_ServerStreamReadServer interface { SendAndClose(*ReqNil) error Recv() (*BroadCastData, error) grpc.ServerStream }
type P2Pgservice_ServerStreamSendClient ¶
type P2Pgservice_ServerStreamSendClient interface { Recv() (*BroadCastData, error) grpc.ClientStream }
type P2Pgservice_ServerStreamSendServer ¶
type P2Pgservice_ServerStreamSendServer interface { Send(*BroadCastData) error grpc.ServerStream }
type ParaChainBlockDetail ¶
type ParaChainBlockDetail struct { Blockdetail *BlockDetail `protobuf:"bytes,1,opt,name=blockdetail,proto3" json:"blockdetail,omitempty"` Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` IsSync bool `protobuf:"varint,3,opt,name=isSync,proto3" json:"isSync,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
平行链区块详细信息
blockdetail : 区块详细信息 sequence :区块序列号 isSync:写数据库时是否需要刷盘
func (*ParaChainBlockDetail) Descriptor ¶
func (*ParaChainBlockDetail) Descriptor() ([]byte, []int)
func (*ParaChainBlockDetail) GetBlockdetail ¶
func (m *ParaChainBlockDetail) GetBlockdetail() *BlockDetail
func (*ParaChainBlockDetail) GetIsSync ¶
func (m *ParaChainBlockDetail) GetIsSync() bool
func (*ParaChainBlockDetail) GetSequence ¶
func (m *ParaChainBlockDetail) GetSequence() int64
func (*ParaChainBlockDetail) ProtoMessage ¶
func (*ParaChainBlockDetail) ProtoMessage()
func (*ParaChainBlockDetail) Reset ¶
func (m *ParaChainBlockDetail) Reset()
func (*ParaChainBlockDetail) String ¶
func (m *ParaChainBlockDetail) String() string
func (*ParaChainBlockDetail) XXX_DiscardUnknown ¶
func (m *ParaChainBlockDetail) XXX_DiscardUnknown()
func (*ParaChainBlockDetail) XXX_Marshal ¶
func (m *ParaChainBlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaChainBlockDetail) XXX_Merge ¶
func (m *ParaChainBlockDetail) XXX_Merge(src proto.Message)
func (*ParaChainBlockDetail) XXX_Size ¶
func (m *ParaChainBlockDetail) XXX_Size() int
func (*ParaChainBlockDetail) XXX_Unmarshal ¶
func (m *ParaChainBlockDetail) XXX_Unmarshal(b []byte) error
type ParaTxDetail ¶
type ParaTxDetail struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Header *Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` TxDetails []*TxDetail `protobuf:"bytes,3,rep,name=txDetails,proto3" json:"txDetails,omitempty"` ChildHash []byte `protobuf:"bytes,4,opt,name=childHash,proto3" json:"childHash,omitempty"` Index uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Proofs [][]byte `protobuf:"bytes,6,rep,name=proofs,proto3" json:"proofs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
type:平行链交易所在区块add/del操作,方便平行链回滚 header:平行链交易所在区块头信息 txDetails:本区块中指定title平行链的所有交易 proofs:对应平行链子roothash的存在证明路径 childHash:此平行链交易的子roothash index:对应平行链子roothash在整个区块中的索引
func (*ParaTxDetail) Descriptor ¶
func (*ParaTxDetail) Descriptor() ([]byte, []int)
func (*ParaTxDetail) GetChildHash ¶
func (m *ParaTxDetail) GetChildHash() []byte
func (*ParaTxDetail) GetHeader ¶
func (m *ParaTxDetail) GetHeader() *Header
func (*ParaTxDetail) GetIndex ¶
func (m *ParaTxDetail) GetIndex() uint32
func (*ParaTxDetail) GetProofs ¶
func (m *ParaTxDetail) GetProofs() [][]byte
func (*ParaTxDetail) GetTxDetails ¶
func (m *ParaTxDetail) GetTxDetails() []*TxDetail
func (*ParaTxDetail) GetType ¶
func (m *ParaTxDetail) GetType() int64
func (*ParaTxDetail) ProtoMessage ¶
func (*ParaTxDetail) ProtoMessage()
func (*ParaTxDetail) Reset ¶
func (m *ParaTxDetail) Reset()
func (*ParaTxDetail) String ¶
func (m *ParaTxDetail) String() string
func (*ParaTxDetail) XXX_DiscardUnknown ¶
func (m *ParaTxDetail) XXX_DiscardUnknown()
func (*ParaTxDetail) XXX_Marshal ¶
func (m *ParaTxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaTxDetail) XXX_Merge ¶
func (m *ParaTxDetail) XXX_Merge(src proto.Message)
func (*ParaTxDetail) XXX_Size ¶
func (m *ParaTxDetail) XXX_Size() int
func (*ParaTxDetail) XXX_Unmarshal ¶
func (m *ParaTxDetail) XXX_Unmarshal(b []byte) error
type ParaTxDetails ¶
type ParaTxDetails struct { Items []*ParaTxDetail `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
定义para交易结构
func (*ParaTxDetails) Descriptor ¶
func (*ParaTxDetails) Descriptor() ([]byte, []int)
func (*ParaTxDetails) GetItems ¶
func (m *ParaTxDetails) GetItems() []*ParaTxDetail
func (*ParaTxDetails) ProtoMessage ¶
func (*ParaTxDetails) ProtoMessage()
func (*ParaTxDetails) Reset ¶
func (m *ParaTxDetails) Reset()
func (*ParaTxDetails) String ¶
func (m *ParaTxDetails) String() string
func (*ParaTxDetails) XXX_DiscardUnknown ¶
func (m *ParaTxDetails) XXX_DiscardUnknown()
func (*ParaTxDetails) XXX_Marshal ¶
func (m *ParaTxDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaTxDetails) XXX_Merge ¶
func (m *ParaTxDetails) XXX_Merge(src proto.Message)
func (*ParaTxDetails) XXX_Size ¶
func (m *ParaTxDetails) XXX_Size() int
func (*ParaTxDetails) XXX_Unmarshal ¶
func (m *ParaTxDetails) XXX_Unmarshal(b []byte) error
type Peer ¶
type Peer struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Self bool `protobuf:"varint,4,opt,name=self,proto3" json:"self,omitempty"` MempoolSize int32 `protobuf:"varint,5,opt,name=mempoolSize,proto3" json:"mempoolSize,omitempty"` Header *Header `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` LocalDBVersion string `protobuf:"bytes,8,opt,name=localDBVersion,proto3" json:"localDBVersion,omitempty"` StoreDBVersion string `protobuf:"bytes,9,opt,name=storeDBVersion,proto3" json:"storeDBVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* peer 信息
func (*Peer) Descriptor ¶
func (*Peer) GetLocalDBVersion ¶ added in v1.65.0
func (*Peer) GetMempoolSize ¶
func (*Peer) GetStoreDBVersion ¶ added in v1.65.0
func (*Peer) GetVersion ¶ added in v1.65.0
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Unmarshal ¶
type PeerInfo ¶ added in v1.65.0
type PeerInfo struct { ID []byte `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` MultiAddr [][]byte `protobuf:"bytes,2,rep,name=MultiAddr,proto3" json:"MultiAddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeerInfo) Descriptor ¶ added in v1.65.0
func (*PeerInfo) GetMultiAddr ¶ added in v1.65.0
func (*PeerInfo) ProtoMessage ¶ added in v1.65.0
func (*PeerInfo) ProtoMessage()
func (*PeerInfo) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PeerInfo) XXX_DiscardUnknown()
func (*PeerInfo) XXX_Marshal ¶ added in v1.65.0
func (*PeerInfo) XXX_Unmarshal ¶ added in v1.65.0
type PeerList ¶
type PeerList struct { Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* peer 列表
func (*PeerList) Descriptor ¶
func (*PeerList) ProtoMessage ¶
func (*PeerList) ProtoMessage()
func (*PeerList) XXX_DiscardUnknown ¶
func (m *PeerList) XXX_DiscardUnknown()
func (*PeerList) XXX_Marshal ¶
func (*PeerList) XXX_Unmarshal ¶
type PeersInfo ¶
type PeersInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` Softversion string `protobuf:"bytes,4,opt,name=softversion,proto3" json:"softversion,omitempty"` P2Pversion int32 `protobuf:"varint,5,opt,name=p2pversion,proto3" json:"p2pversion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeersInfo) Descriptor ¶
func (*PeersInfo) GetP2Pversion ¶
func (*PeersInfo) GetSoftversion ¶
func (*PeersInfo) ProtoMessage ¶
func (*PeersInfo) ProtoMessage()
func (*PeersInfo) XXX_DiscardUnknown ¶
func (m *PeersInfo) XXX_DiscardUnknown()
func (*PeersInfo) XXX_Marshal ¶
func (*PeersInfo) XXX_Unmarshal ¶
type PeersReply ¶
type PeersReply struct { Peers []*PeersInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeersReply) Descriptor ¶
func (*PeersReply) Descriptor() ([]byte, []int)
func (*PeersReply) GetPeers ¶
func (m *PeersReply) GetPeers() []*PeersInfo
func (*PeersReply) ProtoMessage ¶
func (*PeersReply) ProtoMessage()
func (*PeersReply) Reset ¶
func (m *PeersReply) Reset()
func (*PeersReply) String ¶
func (m *PeersReply) String() string
func (*PeersReply) XXX_DiscardUnknown ¶
func (m *PeersReply) XXX_DiscardUnknown()
func (*PeersReply) XXX_Marshal ¶
func (m *PeersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PeersReply) XXX_Merge ¶
func (m *PeersReply) XXX_Merge(src proto.Message)
func (*PeersReply) XXX_Size ¶
func (m *PeersReply) XXX_Size() int
func (*PeersReply) XXX_Unmarshal ¶
func (m *PeersReply) XXX_Unmarshal(b []byte) error
type ProtocolInfo ¶ added in v1.65.0
type ProtocolInfo struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Ratein string `protobuf:"bytes,2,opt,name=ratein,proto3" json:"ratein,omitempty"` Rateout string `protobuf:"bytes,3,opt,name=rateout,proto3" json:"rateout,omitempty"` Ratetotal string `protobuf:"bytes,4,opt,name=ratetotal,proto3" json:"ratetotal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProtocolInfo) Descriptor ¶ added in v1.65.0
func (*ProtocolInfo) Descriptor() ([]byte, []int)
func (*ProtocolInfo) GetProtocol ¶ added in v1.65.0
func (m *ProtocolInfo) GetProtocol() string
func (*ProtocolInfo) GetRatein ¶ added in v1.65.0
func (m *ProtocolInfo) GetRatein() string
func (*ProtocolInfo) GetRateout ¶ added in v1.65.0
func (m *ProtocolInfo) GetRateout() string
func (*ProtocolInfo) GetRatetotal ¶ added in v1.65.0
func (m *ProtocolInfo) GetRatetotal() string
func (*ProtocolInfo) ProtoMessage ¶ added in v1.65.0
func (*ProtocolInfo) ProtoMessage()
func (*ProtocolInfo) Reset ¶ added in v1.65.0
func (m *ProtocolInfo) Reset()
func (*ProtocolInfo) String ¶ added in v1.65.0
func (m *ProtocolInfo) String() string
func (*ProtocolInfo) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ProtocolInfo) XXX_DiscardUnknown()
func (*ProtocolInfo) XXX_Marshal ¶ added in v1.65.0
func (m *ProtocolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolInfo) XXX_Merge ¶ added in v1.65.0
func (m *ProtocolInfo) XXX_Merge(src proto.Message)
func (*ProtocolInfo) XXX_Size ¶ added in v1.65.0
func (m *ProtocolInfo) XXX_Size() int
func (*ProtocolInfo) XXX_Unmarshal ¶ added in v1.65.0
func (m *ProtocolInfo) XXX_Unmarshal(b []byte) error
type PruneData ¶
type PruneData struct { // 该叶子节点的所有父hash Hashs [][]byte `protobuf:"bytes,1,rep,name=hashs,proto3" json:"hashs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PruneData) Descriptor ¶
func (*PruneData) ProtoMessage ¶
func (*PruneData) ProtoMessage()
func (*PruneData) XXX_DiscardUnknown ¶
func (m *PruneData) XXX_DiscardUnknown()
func (*PruneData) XXX_Marshal ¶
func (*PruneData) XXX_Unmarshal ¶
type PublishTopicMsg ¶ added in v1.65.0
type PublishTopicMsg struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublishTopicMsg) Descriptor ¶ added in v1.65.0
func (*PublishTopicMsg) Descriptor() ([]byte, []int)
func (*PublishTopicMsg) GetMsg ¶ added in v1.65.0
func (m *PublishTopicMsg) GetMsg() []byte
func (*PublishTopicMsg) GetTopic ¶ added in v1.65.0
func (m *PublishTopicMsg) GetTopic() string
func (*PublishTopicMsg) ProtoMessage ¶ added in v1.65.0
func (*PublishTopicMsg) ProtoMessage()
func (*PublishTopicMsg) Reset ¶ added in v1.65.0
func (m *PublishTopicMsg) Reset()
func (*PublishTopicMsg) String ¶ added in v1.65.0
func (m *PublishTopicMsg) String() string
func (*PublishTopicMsg) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PublishTopicMsg) XXX_DiscardUnknown()
func (*PublishTopicMsg) XXX_Marshal ¶ added in v1.65.0
func (m *PublishTopicMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublishTopicMsg) XXX_Merge ¶ added in v1.65.0
func (m *PublishTopicMsg) XXX_Merge(src proto.Message)
func (*PublishTopicMsg) XXX_Size ¶ added in v1.65.0
func (m *PublishTopicMsg) XXX_Size() int
func (*PublishTopicMsg) XXX_Unmarshal ¶ added in v1.65.0
func (m *PublishTopicMsg) XXX_Unmarshal(b []byte) error
type PublishTopicMsgReply ¶ added in v1.65.0
type PublishTopicMsgReply struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublishTopicMsgReply) Descriptor ¶ added in v1.65.0
func (*PublishTopicMsgReply) Descriptor() ([]byte, []int)
func (*PublishTopicMsgReply) GetMsg ¶ added in v1.65.0
func (m *PublishTopicMsgReply) GetMsg() string
func (*PublishTopicMsgReply) GetStatus ¶ added in v1.65.0
func (m *PublishTopicMsgReply) GetStatus() bool
func (*PublishTopicMsgReply) GetTopic ¶ added in v1.65.0
func (m *PublishTopicMsgReply) GetTopic() string
func (*PublishTopicMsgReply) ProtoMessage ¶ added in v1.65.0
func (*PublishTopicMsgReply) ProtoMessage()
func (*PublishTopicMsgReply) Reset ¶ added in v1.65.0
func (m *PublishTopicMsgReply) Reset()
func (*PublishTopicMsgReply) String ¶ added in v1.65.0
func (m *PublishTopicMsgReply) String() string
func (*PublishTopicMsgReply) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PublishTopicMsgReply) XXX_DiscardUnknown()
func (*PublishTopicMsgReply) XXX_Marshal ¶ added in v1.65.0
func (m *PublishTopicMsgReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublishTopicMsgReply) XXX_Merge ¶ added in v1.65.0
func (m *PublishTopicMsgReply) XXX_Merge(src proto.Message)
func (*PublishTopicMsgReply) XXX_Size ¶ added in v1.65.0
func (m *PublishTopicMsgReply) XXX_Size() int
func (*PublishTopicMsgReply) XXX_Unmarshal ¶ added in v1.65.0
func (m *PublishTopicMsgReply) XXX_Unmarshal(b []byte) error
type PushSubscribeReq ¶ added in v1.65.0
type PushSubscribeReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"` Encode string `protobuf:"bytes,3,opt,name=encode,proto3" json:"encode,omitempty"` LastSequence int64 `protobuf:"varint,4,opt,name=lastSequence,proto3" json:"lastSequence,omitempty"` LastHeight int64 `protobuf:"varint,5,opt,name=lastHeight,proto3" json:"lastHeight,omitempty"` LastBlockHash string `protobuf:"bytes,6,opt,name=lastBlockHash,proto3" json:"lastBlockHash,omitempty"` // 0:代表区块;1:代表区块头信息;2:代表交易回执 Type int32 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` //允许订阅多个类型的交易回执 Contract map[string]bool `` /* 158-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushSubscribeReq) Descriptor ¶ added in v1.65.0
func (*PushSubscribeReq) Descriptor() ([]byte, []int)
func (*PushSubscribeReq) GetContract ¶ added in v1.65.0
func (m *PushSubscribeReq) GetContract() map[string]bool
func (*PushSubscribeReq) GetEncode ¶ added in v1.65.0
func (m *PushSubscribeReq) GetEncode() string
func (*PushSubscribeReq) GetLastBlockHash ¶ added in v1.65.0
func (m *PushSubscribeReq) GetLastBlockHash() string
func (*PushSubscribeReq) GetLastHeight ¶ added in v1.65.0
func (m *PushSubscribeReq) GetLastHeight() int64
func (*PushSubscribeReq) GetLastSequence ¶ added in v1.65.0
func (m *PushSubscribeReq) GetLastSequence() int64
func (*PushSubscribeReq) GetName ¶ added in v1.65.0
func (m *PushSubscribeReq) GetName() string
func (*PushSubscribeReq) GetType ¶ added in v1.65.0
func (m *PushSubscribeReq) GetType() int32
func (*PushSubscribeReq) GetURL ¶ added in v1.65.0
func (m *PushSubscribeReq) GetURL() string
func (*PushSubscribeReq) ProtoMessage ¶ added in v1.65.0
func (*PushSubscribeReq) ProtoMessage()
func (*PushSubscribeReq) Reset ¶ added in v1.65.0
func (m *PushSubscribeReq) Reset()
func (*PushSubscribeReq) String ¶ added in v1.65.0
func (m *PushSubscribeReq) String() string
func (*PushSubscribeReq) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PushSubscribeReq) XXX_DiscardUnknown()
func (*PushSubscribeReq) XXX_Marshal ¶ added in v1.65.0
func (m *PushSubscribeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushSubscribeReq) XXX_Merge ¶ added in v1.65.0
func (m *PushSubscribeReq) XXX_Merge(src proto.Message)
func (*PushSubscribeReq) XXX_Size ¶ added in v1.65.0
func (m *PushSubscribeReq) XXX_Size() int
func (*PushSubscribeReq) XXX_Unmarshal ¶ added in v1.65.0
func (m *PushSubscribeReq) XXX_Unmarshal(b []byte) error
type PushSubscribes ¶ added in v1.65.0
type PushSubscribes struct { Pushes []*PushSubscribeReq `protobuf:"bytes,1,rep,name=pushes,proto3" json:"pushes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushSubscribes) Descriptor ¶ added in v1.65.0
func (*PushSubscribes) Descriptor() ([]byte, []int)
func (*PushSubscribes) GetPushes ¶ added in v1.65.0
func (m *PushSubscribes) GetPushes() []*PushSubscribeReq
func (*PushSubscribes) ProtoMessage ¶ added in v1.65.0
func (*PushSubscribes) ProtoMessage()
func (*PushSubscribes) Reset ¶ added in v1.65.0
func (m *PushSubscribes) Reset()
func (*PushSubscribes) String ¶ added in v1.65.0
func (m *PushSubscribes) String() string
func (*PushSubscribes) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PushSubscribes) XXX_DiscardUnknown()
func (*PushSubscribes) XXX_Marshal ¶ added in v1.65.0
func (m *PushSubscribes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushSubscribes) XXX_Merge ¶ added in v1.65.0
func (m *PushSubscribes) XXX_Merge(src proto.Message)
func (*PushSubscribes) XXX_Size ¶ added in v1.65.0
func (m *PushSubscribes) XXX_Size() int
func (*PushSubscribes) XXX_Unmarshal ¶ added in v1.65.0
func (m *PushSubscribes) XXX_Unmarshal(b []byte) error
type PushWithStatus ¶ added in v1.65.0
type PushWithStatus struct { Push *PushSubscribeReq `protobuf:"bytes,1,opt,name=push,proto3" json:"push,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushWithStatus) Descriptor ¶ added in v1.65.0
func (*PushWithStatus) Descriptor() ([]byte, []int)
func (*PushWithStatus) GetPush ¶ added in v1.65.0
func (m *PushWithStatus) GetPush() *PushSubscribeReq
func (*PushWithStatus) GetStatus ¶ added in v1.65.0
func (m *PushWithStatus) GetStatus() int32
func (*PushWithStatus) ProtoMessage ¶ added in v1.65.0
func (*PushWithStatus) ProtoMessage()
func (*PushWithStatus) Reset ¶ added in v1.65.0
func (m *PushWithStatus) Reset()
func (*PushWithStatus) String ¶ added in v1.65.0
func (m *PushWithStatus) String() string
func (*PushWithStatus) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *PushWithStatus) XXX_DiscardUnknown()
func (*PushWithStatus) XXX_Marshal ¶ added in v1.65.0
func (m *PushWithStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushWithStatus) XXX_Merge ¶ added in v1.65.0
func (m *PushWithStatus) XXX_Merge(src proto.Message)
func (*PushWithStatus) XXX_Size ¶ added in v1.65.0
func (m *PushWithStatus) XXX_Size() int
func (*PushWithStatus) XXX_Unmarshal ¶ added in v1.65.0
func (m *PushWithStatus) XXX_Unmarshal(b []byte) error
type Query ¶
type Query struct { Execer []byte `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"` FuncName string `protobuf:"bytes,2,opt,name=funcName,proto3" json:"funcName,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Query) Descriptor ¶
func (*Query) GetFuncName ¶
func (*Query) GetPayload ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) XXX_DiscardUnknown ¶
func (m *Query) XXX_DiscardUnknown()
func (*Query) XXX_Marshal ¶
func (*Query) XXX_Unmarshal ¶
type QueryData ¶
QueryData 查询结构体
func (*QueryData) DecodeJSON ¶
DecodeJSON 编码成json格式
type RPC ¶
type RPC struct { // jrpc绑定地址 JrpcBindAddr string `json:"jrpcBindAddr,omitempty"` // grpc绑定地址 GrpcBindAddr string `json:"grpcBindAddr,omitempty"` // 白名单列表,允许访问的IP地址,默认是“*”,允许所有IP访问 Whitlist []string `json:"whitlist,omitempty"` Whitelist []string `json:"whitelist,omitempty"` // jrpc方法请求白名单,默认是“*”,允许访问所有RPC方法 JrpcFuncWhitelist []string `json:"jrpcFuncWhitelist,omitempty"` // grpc方法请求白名单,默认是“*”,允许访问所有RPC方法 GrpcFuncWhitelist []string `json:"grpcFuncWhitelist,omitempty"` // jrpc方法请求黑名单,禁止调用黑名单里配置的rpc方法,一般和白名单配合使用,默认是空 JrpcFuncBlacklist []string `json:"jrpcFuncBlacklist,omitempty"` // grpc方法请求黑名单,禁止调用黑名单里配置的rpc方法,一般和白名单配合使用,默认是空 GrpcFuncBlacklist []string `json:"grpcFuncBlacklist,omitempty"` // 是否开启https EnableTLS bool `json:"enableTLS,omitempty"` EnableTrace bool `json:"enableTrace,omitempty"` // 证书文件,证书和私钥文件可以用cli工具生成 CertFile string `json:"certFile,omitempty"` // 私钥文件 KeyFile string `json:"keyFile,omitempty"` //basic auth 用户名 JrpcUserName string `json:"jrpcUserName,omitempty"` //basic auth 用户密码 JrpcUserPasswd string `json:"jrpcUserPasswd,omitempty"` }
RPC 配置
type ReWriteRawTx ¶
type ReWriteRawTx struct { Tx string `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // bytes execer = 2; To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Expire string `protobuf:"bytes,4,opt,name=expire,proto3" json:"expire,omitempty"` Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReWriteRawTx) Descriptor ¶
func (*ReWriteRawTx) Descriptor() ([]byte, []int)
func (*ReWriteRawTx) GetExpire ¶
func (m *ReWriteRawTx) GetExpire() string
func (*ReWriteRawTx) GetFee ¶
func (m *ReWriteRawTx) GetFee() int64
func (*ReWriteRawTx) GetIndex ¶
func (m *ReWriteRawTx) GetIndex() int32
func (*ReWriteRawTx) GetTo ¶
func (m *ReWriteRawTx) GetTo() string
func (*ReWriteRawTx) GetTx ¶
func (m *ReWriteRawTx) GetTx() string
func (*ReWriteRawTx) ProtoMessage ¶
func (*ReWriteRawTx) ProtoMessage()
func (*ReWriteRawTx) Reset ¶
func (m *ReWriteRawTx) Reset()
func (*ReWriteRawTx) String ¶
func (m *ReWriteRawTx) String() string
func (*ReWriteRawTx) XXX_DiscardUnknown ¶
func (m *ReWriteRawTx) XXX_DiscardUnknown()
func (*ReWriteRawTx) XXX_Marshal ¶
func (m *ReWriteRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReWriteRawTx) XXX_Merge ¶
func (m *ReWriteRawTx) XXX_Merge(src proto.Message)
func (*ReWriteRawTx) XXX_Size ¶
func (m *ReWriteRawTx) XXX_Size() int
func (*ReWriteRawTx) XXX_Unmarshal ¶
func (m *ReWriteRawTx) XXX_Unmarshal(b []byte) error
type Receipt ¶
type Receipt struct { Ty int32 `protobuf:"varint,1,opt,name=ty,proto3" json:"ty,omitempty"` KV []*KeyValue `protobuf:"bytes,2,rep,name=KV,proto3" json:"KV,omitempty"` Logs []*ReceiptLog `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ty = 0 -> error Receipt ty = 1 -> CutFee //cut fee ,bug exec not ok ty = 2 -> exec ok
func (*Receipt) Descriptor ¶
func (*Receipt) GetLogs ¶
func (m *Receipt) GetLogs() []*ReceiptLog
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type ReceiptAccountBurn ¶
type ReceiptAccountBurn struct { Prev *Account `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *Account `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptAccountBurn) Descriptor ¶
func (*ReceiptAccountBurn) Descriptor() ([]byte, []int)
func (*ReceiptAccountBurn) GetCurrent ¶
func (m *ReceiptAccountBurn) GetCurrent() *Account
func (*ReceiptAccountBurn) GetPrev ¶
func (m *ReceiptAccountBurn) GetPrev() *Account
func (*ReceiptAccountBurn) ProtoMessage ¶
func (*ReceiptAccountBurn) ProtoMessage()
func (*ReceiptAccountBurn) Reset ¶
func (m *ReceiptAccountBurn) Reset()
func (*ReceiptAccountBurn) String ¶
func (m *ReceiptAccountBurn) String() string
func (*ReceiptAccountBurn) XXX_DiscardUnknown ¶
func (m *ReceiptAccountBurn) XXX_DiscardUnknown()
func (*ReceiptAccountBurn) XXX_Marshal ¶
func (m *ReceiptAccountBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptAccountBurn) XXX_Merge ¶
func (m *ReceiptAccountBurn) XXX_Merge(src proto.Message)
func (*ReceiptAccountBurn) XXX_Size ¶
func (m *ReceiptAccountBurn) XXX_Size() int
func (*ReceiptAccountBurn) XXX_Unmarshal ¶
func (m *ReceiptAccountBurn) XXX_Unmarshal(b []byte) error
type ReceiptAccountMint ¶
type ReceiptAccountMint struct { //铸币前 Prev *Account `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` //铸币后 Current *Account `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
铸币账户余额增加
func (*ReceiptAccountMint) Descriptor ¶
func (*ReceiptAccountMint) Descriptor() ([]byte, []int)
func (*ReceiptAccountMint) GetCurrent ¶
func (m *ReceiptAccountMint) GetCurrent() *Account
func (*ReceiptAccountMint) GetPrev ¶
func (m *ReceiptAccountMint) GetPrev() *Account
func (*ReceiptAccountMint) ProtoMessage ¶
func (*ReceiptAccountMint) ProtoMessage()
func (*ReceiptAccountMint) Reset ¶
func (m *ReceiptAccountMint) Reset()
func (*ReceiptAccountMint) String ¶
func (m *ReceiptAccountMint) String() string
func (*ReceiptAccountMint) XXX_DiscardUnknown ¶
func (m *ReceiptAccountMint) XXX_DiscardUnknown()
func (*ReceiptAccountMint) XXX_Marshal ¶
func (m *ReceiptAccountMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptAccountMint) XXX_Merge ¶
func (m *ReceiptAccountMint) XXX_Merge(src proto.Message)
func (*ReceiptAccountMint) XXX_Size ¶
func (m *ReceiptAccountMint) XXX_Size() int
func (*ReceiptAccountMint) XXX_Unmarshal ¶
func (m *ReceiptAccountMint) XXX_Unmarshal(b []byte) error
type ReceiptAccountTransfer ¶
type ReceiptAccountTransfer struct { //转移前 Prev *Account `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` //转移后 Current *Account `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
账户余额改变的一个交易回报(coins内)
func (*ReceiptAccountTransfer) Descriptor ¶
func (*ReceiptAccountTransfer) Descriptor() ([]byte, []int)
func (*ReceiptAccountTransfer) GetCurrent ¶
func (m *ReceiptAccountTransfer) GetCurrent() *Account
func (*ReceiptAccountTransfer) GetPrev ¶
func (m *ReceiptAccountTransfer) GetPrev() *Account
func (*ReceiptAccountTransfer) ProtoMessage ¶
func (*ReceiptAccountTransfer) ProtoMessage()
func (*ReceiptAccountTransfer) Reset ¶
func (m *ReceiptAccountTransfer) Reset()
func (*ReceiptAccountTransfer) String ¶
func (m *ReceiptAccountTransfer) String() string
func (*ReceiptAccountTransfer) XXX_DiscardUnknown ¶
func (m *ReceiptAccountTransfer) XXX_DiscardUnknown()
func (*ReceiptAccountTransfer) XXX_Marshal ¶
func (m *ReceiptAccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptAccountTransfer) XXX_Merge ¶
func (m *ReceiptAccountTransfer) XXX_Merge(src proto.Message)
func (*ReceiptAccountTransfer) XXX_Size ¶
func (m *ReceiptAccountTransfer) XXX_Size() int
func (*ReceiptAccountTransfer) XXX_Unmarshal ¶
func (m *ReceiptAccountTransfer) XXX_Unmarshal(b []byte) error
type ReceiptCheckTxList ¶
type ReceiptCheckTxList struct { Errs []string `protobuf:"bytes,1,rep,name=errs,proto3" json:"errs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptCheckTxList) Descriptor ¶
func (*ReceiptCheckTxList) Descriptor() ([]byte, []int)
func (*ReceiptCheckTxList) GetErrs ¶
func (m *ReceiptCheckTxList) GetErrs() []string
func (*ReceiptCheckTxList) ProtoMessage ¶
func (*ReceiptCheckTxList) ProtoMessage()
func (*ReceiptCheckTxList) Reset ¶
func (m *ReceiptCheckTxList) Reset()
func (*ReceiptCheckTxList) String ¶
func (m *ReceiptCheckTxList) String() string
func (*ReceiptCheckTxList) XXX_DiscardUnknown ¶
func (m *ReceiptCheckTxList) XXX_DiscardUnknown()
func (*ReceiptCheckTxList) XXX_Marshal ¶
func (m *ReceiptCheckTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptCheckTxList) XXX_Merge ¶
func (m *ReceiptCheckTxList) XXX_Merge(src proto.Message)
func (*ReceiptCheckTxList) XXX_Size ¶
func (m *ReceiptCheckTxList) XXX_Size() int
func (*ReceiptCheckTxList) XXX_Unmarshal ¶
func (m *ReceiptCheckTxList) XXX_Unmarshal(b []byte) error
type ReceiptConfig ¶
type ReceiptConfig struct { Prev *ConfigItem `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *ConfigItem `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptConfig) Descriptor ¶
func (*ReceiptConfig) Descriptor() ([]byte, []int)
func (*ReceiptConfig) GetCurrent ¶
func (m *ReceiptConfig) GetCurrent() *ConfigItem
func (*ReceiptConfig) GetPrev ¶
func (m *ReceiptConfig) GetPrev() *ConfigItem
func (*ReceiptConfig) ProtoMessage ¶
func (*ReceiptConfig) ProtoMessage()
func (*ReceiptConfig) Reset ¶
func (m *ReceiptConfig) Reset()
func (*ReceiptConfig) String ¶
func (m *ReceiptConfig) String() string
func (*ReceiptConfig) XXX_DiscardUnknown ¶
func (m *ReceiptConfig) XXX_DiscardUnknown()
func (*ReceiptConfig) XXX_Marshal ¶
func (m *ReceiptConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptConfig) XXX_Merge ¶
func (m *ReceiptConfig) XXX_Merge(src proto.Message)
func (*ReceiptConfig) XXX_Size ¶
func (m *ReceiptConfig) XXX_Size() int
func (*ReceiptConfig) XXX_Unmarshal ¶
func (m *ReceiptConfig) XXX_Unmarshal(b []byte) error
type ReceiptData ¶
type ReceiptData struct { Ty int32 `protobuf:"varint,1,opt,name=ty,proto3" json:"ty,omitempty"` Logs []*ReceiptLog `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptData) DecodeReceiptLog ¶
func (r *ReceiptData) DecodeReceiptLog(execer []byte) (*ReceiptDataResult, error)
DecodeReceiptLog 编码回执数据
func (*ReceiptData) Descriptor ¶
func (*ReceiptData) Descriptor() ([]byte, []int)
func (*ReceiptData) GetLogs ¶
func (m *ReceiptData) GetLogs() []*ReceiptLog
func (*ReceiptData) GetTy ¶
func (m *ReceiptData) GetTy() int32
func (*ReceiptData) OutputReceiptDetails ¶
func (r *ReceiptData) OutputReceiptDetails(execer []byte, logger log.Logger)
OutputReceiptDetails 输出回执数据详情
func (*ReceiptData) ProtoMessage ¶
func (*ReceiptData) ProtoMessage()
func (*ReceiptData) Reset ¶
func (m *ReceiptData) Reset()
func (*ReceiptData) String ¶
func (m *ReceiptData) String() string
func (*ReceiptData) XXX_DiscardUnknown ¶
func (m *ReceiptData) XXX_DiscardUnknown()
func (*ReceiptData) XXX_Marshal ¶
func (m *ReceiptData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptData) XXX_Merge ¶
func (m *ReceiptData) XXX_Merge(src proto.Message)
func (*ReceiptData) XXX_Size ¶
func (m *ReceiptData) XXX_Size() int
func (*ReceiptData) XXX_Unmarshal ¶
func (m *ReceiptData) XXX_Unmarshal(b []byte) error
type ReceiptDataResult ¶
type ReceiptDataResult struct { Ty int32 `json:"ty"` TyName string `json:"tyname"` Logs []*ReceiptLogResult `json:"logs"` }
ReceiptDataResult 回执数据
type ReceiptExecAccountTransfer ¶
type ReceiptExecAccountTransfer struct { //合约地址 ExecAddr string `protobuf:"bytes,1,opt,name=execAddr,proto3" json:"execAddr,omitempty"` //转移前 Prev *Account `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` //转移后 Current *Account `protobuf:"bytes,3,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
账户余额改变的一个交易回报(合约内)
func (*ReceiptExecAccountTransfer) Descriptor ¶
func (*ReceiptExecAccountTransfer) Descriptor() ([]byte, []int)
func (*ReceiptExecAccountTransfer) GetCurrent ¶
func (m *ReceiptExecAccountTransfer) GetCurrent() *Account
func (*ReceiptExecAccountTransfer) GetExecAddr ¶
func (m *ReceiptExecAccountTransfer) GetExecAddr() string
func (*ReceiptExecAccountTransfer) GetPrev ¶
func (m *ReceiptExecAccountTransfer) GetPrev() *Account
func (*ReceiptExecAccountTransfer) ProtoMessage ¶
func (*ReceiptExecAccountTransfer) ProtoMessage()
func (*ReceiptExecAccountTransfer) Reset ¶
func (m *ReceiptExecAccountTransfer) Reset()
func (*ReceiptExecAccountTransfer) String ¶
func (m *ReceiptExecAccountTransfer) String() string
func (*ReceiptExecAccountTransfer) XXX_DiscardUnknown ¶
func (m *ReceiptExecAccountTransfer) XXX_DiscardUnknown()
func (*ReceiptExecAccountTransfer) XXX_Marshal ¶
func (m *ReceiptExecAccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptExecAccountTransfer) XXX_Merge ¶
func (m *ReceiptExecAccountTransfer) XXX_Merge(src proto.Message)
func (*ReceiptExecAccountTransfer) XXX_Size ¶
func (m *ReceiptExecAccountTransfer) XXX_Size() int
func (*ReceiptExecAccountTransfer) XXX_Unmarshal ¶
func (m *ReceiptExecAccountTransfer) XXX_Unmarshal(b []byte) error
type ReceiptLog ¶
type ReceiptLog struct { Ty int32 `protobuf:"varint,1,opt,name=ty,proto3" json:"ty,omitempty"` Log []byte `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptLog) Descriptor ¶
func (*ReceiptLog) Descriptor() ([]byte, []int)
func (*ReceiptLog) GetLog ¶
func (m *ReceiptLog) GetLog() []byte
func (*ReceiptLog) GetTy ¶
func (m *ReceiptLog) GetTy() int32
func (*ReceiptLog) ProtoMessage ¶
func (*ReceiptLog) ProtoMessage()
func (*ReceiptLog) Reset ¶
func (m *ReceiptLog) Reset()
func (*ReceiptLog) String ¶
func (m *ReceiptLog) String() string
func (*ReceiptLog) XXX_DiscardUnknown ¶
func (m *ReceiptLog) XXX_DiscardUnknown()
func (*ReceiptLog) XXX_Marshal ¶
func (m *ReceiptLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptLog) XXX_Merge ¶
func (m *ReceiptLog) XXX_Merge(src proto.Message)
func (*ReceiptLog) XXX_Size ¶
func (m *ReceiptLog) XXX_Size() int
func (*ReceiptLog) XXX_Unmarshal ¶
func (m *ReceiptLog) XXX_Unmarshal(b []byte) error
type ReceiptLogResult ¶
type ReceiptLogResult struct { Ty int32 `json:"ty"` TyName string `json:"tyname"` Log interface{} `json:"log"` RawLog string `json:"rawlog"` }
ReceiptLogResult 回执log数据
type Receipts ¶
type Receipts struct { Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Receipts) Descriptor ¶
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶
func (*Receipts) XXX_Unmarshal ¶
type RemoveTopic ¶ added in v1.65.0
type RemoveTopic struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveTopic) Descriptor ¶ added in v1.65.0
func (*RemoveTopic) Descriptor() ([]byte, []int)
func (*RemoveTopic) GetModule ¶ added in v1.65.0
func (m *RemoveTopic) GetModule() string
func (*RemoveTopic) GetTopic ¶ added in v1.65.0
func (m *RemoveTopic) GetTopic() string
func (*RemoveTopic) ProtoMessage ¶ added in v1.65.0
func (*RemoveTopic) ProtoMessage()
func (*RemoveTopic) Reset ¶ added in v1.65.0
func (m *RemoveTopic) Reset()
func (*RemoveTopic) String ¶ added in v1.65.0
func (m *RemoveTopic) String() string
func (*RemoveTopic) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *RemoveTopic) XXX_DiscardUnknown()
func (*RemoveTopic) XXX_Marshal ¶ added in v1.65.0
func (m *RemoveTopic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveTopic) XXX_Merge ¶ added in v1.65.0
func (m *RemoveTopic) XXX_Merge(src proto.Message)
func (*RemoveTopic) XXX_Size ¶ added in v1.65.0
func (m *RemoveTopic) XXX_Size() int
func (*RemoveTopic) XXX_Unmarshal ¶ added in v1.65.0
func (m *RemoveTopic) XXX_Unmarshal(b []byte) error
type RemoveTopicReply ¶ added in v1.65.0
type RemoveTopicReply struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveTopicReply) Descriptor ¶ added in v1.65.0
func (*RemoveTopicReply) Descriptor() ([]byte, []int)
func (*RemoveTopicReply) GetMsg ¶ added in v1.65.0
func (m *RemoveTopicReply) GetMsg() string
func (*RemoveTopicReply) GetStatus ¶ added in v1.65.0
func (m *RemoveTopicReply) GetStatus() bool
func (*RemoveTopicReply) GetTopic ¶ added in v1.65.0
func (m *RemoveTopicReply) GetTopic() string
func (*RemoveTopicReply) ProtoMessage ¶ added in v1.65.0
func (*RemoveTopicReply) ProtoMessage()
func (*RemoveTopicReply) Reset ¶ added in v1.65.0
func (m *RemoveTopicReply) Reset()
func (*RemoveTopicReply) String ¶ added in v1.65.0
func (m *RemoveTopicReply) String() string
func (*RemoveTopicReply) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *RemoveTopicReply) XXX_DiscardUnknown()
func (*RemoveTopicReply) XXX_Marshal ¶ added in v1.65.0
func (m *RemoveTopicReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveTopicReply) XXX_Merge ¶ added in v1.65.0
func (m *RemoveTopicReply) XXX_Merge(src proto.Message)
func (*RemoveTopicReply) XXX_Size ¶ added in v1.65.0
func (m *RemoveTopicReply) XXX_Size() int
func (*RemoveTopicReply) XXX_Unmarshal ¶ added in v1.65.0
func (m *RemoveTopicReply) XXX_Unmarshal(b []byte) error
type Reply ¶
type Reply struct { IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Reply) Descriptor ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) XXX_DiscardUnknown ¶
func (m *Reply) XXX_DiscardUnknown()
func (*Reply) XXX_Marshal ¶
func (*Reply) XXX_Unmarshal ¶
type ReplyBlockHeight ¶
type ReplyBlockHeight struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyBlockHeight) Descriptor ¶
func (*ReplyBlockHeight) Descriptor() ([]byte, []int)
func (*ReplyBlockHeight) GetHeight ¶
func (m *ReplyBlockHeight) GetHeight() int64
func (*ReplyBlockHeight) ProtoMessage ¶
func (*ReplyBlockHeight) ProtoMessage()
func (*ReplyBlockHeight) Reset ¶
func (m *ReplyBlockHeight) Reset()
func (*ReplyBlockHeight) String ¶
func (m *ReplyBlockHeight) String() string
func (*ReplyBlockHeight) XXX_DiscardUnknown ¶
func (m *ReplyBlockHeight) XXX_DiscardUnknown()
func (*ReplyBlockHeight) XXX_Marshal ¶
func (m *ReplyBlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyBlockHeight) XXX_Merge ¶
func (m *ReplyBlockHeight) XXX_Merge(src proto.Message)
func (*ReplyBlockHeight) XXX_Size ¶
func (m *ReplyBlockHeight) XXX_Size() int
func (*ReplyBlockHeight) XXX_Unmarshal ¶
func (m *ReplyBlockHeight) XXX_Unmarshal(b []byte) error
type ReplyCheckTxsExist ¶ added in v1.65.1
type ReplyCheckTxsExist struct { //对应请求序列存在标识数组,存在则true,否则false ExistFlags []bool `protobuf:"varint,1,rep,packed,name=existFlags,proto3" json:"existFlags,omitempty"` //存在情况的总个数 ExistCount uint32 `protobuf:"varint,2,opt,name=existCount,proto3" json:"existCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyCheckTxsExist) Descriptor ¶ added in v1.65.1
func (*ReplyCheckTxsExist) Descriptor() ([]byte, []int)
func (*ReplyCheckTxsExist) GetExistCount ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) GetExistCount() uint32
func (*ReplyCheckTxsExist) GetExistFlags ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) GetExistFlags() []bool
func (*ReplyCheckTxsExist) ProtoMessage ¶ added in v1.65.1
func (*ReplyCheckTxsExist) ProtoMessage()
func (*ReplyCheckTxsExist) Reset ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) Reset()
func (*ReplyCheckTxsExist) String ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) String() string
func (*ReplyCheckTxsExist) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) XXX_DiscardUnknown()
func (*ReplyCheckTxsExist) XXX_Marshal ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyCheckTxsExist) XXX_Merge ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) XXX_Merge(src proto.Message)
func (*ReplyCheckTxsExist) XXX_Size ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) XXX_Size() int
func (*ReplyCheckTxsExist) XXX_Unmarshal ¶ added in v1.65.1
func (m *ReplyCheckTxsExist) XXX_Unmarshal(b []byte) error
type ReplyConfig ¶
type ReplyConfig struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyConfig) Descriptor ¶
func (*ReplyConfig) Descriptor() ([]byte, []int)
func (*ReplyConfig) GetKey ¶
func (m *ReplyConfig) GetKey() string
func (*ReplyConfig) GetValue ¶
func (m *ReplyConfig) GetValue() string
func (*ReplyConfig) ProtoMessage ¶
func (*ReplyConfig) ProtoMessage()
func (*ReplyConfig) Reset ¶
func (m *ReplyConfig) Reset()
func (*ReplyConfig) String ¶
func (m *ReplyConfig) String() string
func (*ReplyConfig) XXX_DiscardUnknown ¶
func (m *ReplyConfig) XXX_DiscardUnknown()
func (*ReplyConfig) XXX_Marshal ¶
func (m *ReplyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyConfig) XXX_Merge ¶
func (m *ReplyConfig) XXX_Merge(src proto.Message)
func (*ReplyConfig) XXX_Size ¶
func (m *ReplyConfig) XXX_Size() int
func (*ReplyConfig) XXX_Unmarshal ¶
func (m *ReplyConfig) XXX_Unmarshal(b []byte) error
type ReplyGetExecBalance ¶
type ReplyGetExecBalance struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` AmountFrozen int64 `protobuf:"varint,2,opt,name=amountFrozen,proto3" json:"amountFrozen,omitempty"` AmountActive int64 `protobuf:"varint,3,opt,name=amountActive,proto3" json:"amountActive,omitempty"` NextKey []byte `protobuf:"bytes,4,opt,name=nextKey,proto3" json:"nextKey,omitempty"` Items []*ExecBalanceItem `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询symbol在合约中的代币总额应答
func (*ReplyGetExecBalance) AddItem ¶
func (t *ReplyGetExecBalance) AddItem(execAddr, value []byte)
AddItem 添加item
func (*ReplyGetExecBalance) Descriptor ¶
func (*ReplyGetExecBalance) Descriptor() ([]byte, []int)
func (*ReplyGetExecBalance) GetAmount ¶
func (m *ReplyGetExecBalance) GetAmount() int64
func (*ReplyGetExecBalance) GetAmountActive ¶
func (m *ReplyGetExecBalance) GetAmountActive() int64
func (*ReplyGetExecBalance) GetAmountFrozen ¶
func (m *ReplyGetExecBalance) GetAmountFrozen() int64
func (*ReplyGetExecBalance) GetItems ¶
func (m *ReplyGetExecBalance) GetItems() []*ExecBalanceItem
func (*ReplyGetExecBalance) GetNextKey ¶
func (m *ReplyGetExecBalance) GetNextKey() []byte
func (*ReplyGetExecBalance) ProtoMessage ¶
func (*ReplyGetExecBalance) ProtoMessage()
func (*ReplyGetExecBalance) Reset ¶
func (m *ReplyGetExecBalance) Reset()
func (*ReplyGetExecBalance) String ¶
func (m *ReplyGetExecBalance) String() string
func (*ReplyGetExecBalance) XXX_DiscardUnknown ¶
func (m *ReplyGetExecBalance) XXX_DiscardUnknown()
func (*ReplyGetExecBalance) XXX_Marshal ¶
func (m *ReplyGetExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyGetExecBalance) XXX_Merge ¶
func (m *ReplyGetExecBalance) XXX_Merge(src proto.Message)
func (*ReplyGetExecBalance) XXX_Size ¶
func (m *ReplyGetExecBalance) XXX_Size() int
func (*ReplyGetExecBalance) XXX_Unmarshal ¶
func (m *ReplyGetExecBalance) XXX_Unmarshal(b []byte) error
type ReplyGetTotalCoins ¶
type ReplyGetTotalCoins struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` NextKey []byte `protobuf:"bytes,4,opt,name=nextKey,proto3" json:"nextKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询symbol代币总额应答
func (*ReplyGetTotalCoins) Descriptor ¶
func (*ReplyGetTotalCoins) Descriptor() ([]byte, []int)
func (*ReplyGetTotalCoins) GetAmount ¶
func (m *ReplyGetTotalCoins) GetAmount() int64
func (*ReplyGetTotalCoins) GetCount ¶
func (m *ReplyGetTotalCoins) GetCount() int64
func (*ReplyGetTotalCoins) GetNextKey ¶
func (m *ReplyGetTotalCoins) GetNextKey() []byte
func (*ReplyGetTotalCoins) GetNum ¶
func (m *ReplyGetTotalCoins) GetNum() int64
func (*ReplyGetTotalCoins) IterateRangeByStateHash ¶
func (t *ReplyGetTotalCoins) IterateRangeByStateHash(key, value []byte) bool
IterateRangeByStateHash 迭代查找
func (*ReplyGetTotalCoins) ProtoMessage ¶
func (*ReplyGetTotalCoins) ProtoMessage()
func (*ReplyGetTotalCoins) Reset ¶
func (m *ReplyGetTotalCoins) Reset()
func (*ReplyGetTotalCoins) String ¶
func (m *ReplyGetTotalCoins) String() string
func (*ReplyGetTotalCoins) XXX_DiscardUnknown ¶
func (m *ReplyGetTotalCoins) XXX_DiscardUnknown()
func (*ReplyGetTotalCoins) XXX_Marshal ¶
func (m *ReplyGetTotalCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyGetTotalCoins) XXX_Merge ¶
func (m *ReplyGetTotalCoins) XXX_Merge(src proto.Message)
func (*ReplyGetTotalCoins) XXX_Size ¶
func (m *ReplyGetTotalCoins) XXX_Size() int
func (*ReplyGetTotalCoins) XXX_Unmarshal ¶
func (m *ReplyGetTotalCoins) XXX_Unmarshal(b []byte) error
type ReplyHash ¶
type ReplyHash struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyHash) Descriptor ¶
func (*ReplyHash) ProtoMessage ¶
func (*ReplyHash) ProtoMessage()
func (*ReplyHash) XXX_DiscardUnknown ¶
func (m *ReplyHash) XXX_DiscardUnknown()
func (*ReplyHash) XXX_Marshal ¶
func (*ReplyHash) XXX_Unmarshal ¶
type ReplyHashes ¶
type ReplyHashes struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyHashes) Descriptor ¶
func (*ReplyHashes) Descriptor() ([]byte, []int)
func (*ReplyHashes) GetHashes ¶
func (m *ReplyHashes) GetHashes() [][]byte
func (*ReplyHashes) ProtoMessage ¶
func (*ReplyHashes) ProtoMessage()
func (*ReplyHashes) Reset ¶
func (m *ReplyHashes) Reset()
func (*ReplyHashes) String ¶
func (m *ReplyHashes) String() string
func (*ReplyHashes) XXX_DiscardUnknown ¶
func (m *ReplyHashes) XXX_DiscardUnknown()
func (*ReplyHashes) XXX_Marshal ¶
func (m *ReplyHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyHashes) XXX_Merge ¶
func (m *ReplyHashes) XXX_Merge(src proto.Message)
func (*ReplyHashes) XXX_Size ¶
func (m *ReplyHashes) XXX_Size() int
func (*ReplyHashes) XXX_Unmarshal ¶
func (m *ReplyHashes) XXX_Unmarshal(b []byte) error
type ReplyHeightByTitle ¶
type ReplyHeightByTitle struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Items []*BlockInfo `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyHeightByTitle) Descriptor ¶
func (*ReplyHeightByTitle) Descriptor() ([]byte, []int)
func (*ReplyHeightByTitle) GetItems ¶
func (m *ReplyHeightByTitle) GetItems() []*BlockInfo
func (*ReplyHeightByTitle) GetTitle ¶
func (m *ReplyHeightByTitle) GetTitle() string
func (*ReplyHeightByTitle) ProtoMessage ¶
func (*ReplyHeightByTitle) ProtoMessage()
func (*ReplyHeightByTitle) Reset ¶
func (m *ReplyHeightByTitle) Reset()
func (*ReplyHeightByTitle) String ¶
func (m *ReplyHeightByTitle) String() string
func (*ReplyHeightByTitle) XXX_DiscardUnknown ¶
func (m *ReplyHeightByTitle) XXX_DiscardUnknown()
func (*ReplyHeightByTitle) XXX_Marshal ¶
func (m *ReplyHeightByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyHeightByTitle) XXX_Merge ¶
func (m *ReplyHeightByTitle) XXX_Merge(src proto.Message)
func (*ReplyHeightByTitle) XXX_Size ¶
func (m *ReplyHeightByTitle) XXX_Size() int
func (*ReplyHeightByTitle) XXX_Unmarshal ¶
func (m *ReplyHeightByTitle) XXX_Unmarshal(b []byte) error
type ReplyProperFee ¶
type ReplyProperFee struct { ProperFee int64 `protobuf:"varint,1,opt,name=properFee,proto3" json:"properFee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyProperFee) Descriptor ¶
func (*ReplyProperFee) Descriptor() ([]byte, []int)
func (*ReplyProperFee) GetProperFee ¶
func (m *ReplyProperFee) GetProperFee() int64
func (*ReplyProperFee) ProtoMessage ¶
func (*ReplyProperFee) ProtoMessage()
func (*ReplyProperFee) Reset ¶
func (m *ReplyProperFee) Reset()
func (*ReplyProperFee) String ¶
func (m *ReplyProperFee) String() string
func (*ReplyProperFee) XXX_DiscardUnknown ¶
func (m *ReplyProperFee) XXX_DiscardUnknown()
func (*ReplyProperFee) XXX_Marshal ¶
func (m *ReplyProperFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyProperFee) XXX_Merge ¶
func (m *ReplyProperFee) XXX_Merge(src proto.Message)
func (*ReplyProperFee) XXX_Size ¶
func (m *ReplyProperFee) XXX_Size() int
func (*ReplyProperFee) XXX_Unmarshal ¶
func (m *ReplyProperFee) XXX_Unmarshal(b []byte) error
type ReplySeed ¶
type ReplySeed struct { Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySeed) Descriptor ¶
func (*ReplySeed) ProtoMessage ¶
func (*ReplySeed) ProtoMessage()
func (*ReplySeed) XXX_DiscardUnknown ¶
func (m *ReplySeed) XXX_DiscardUnknown()
func (*ReplySeed) XXX_Marshal ¶
func (*ReplySeed) XXX_Unmarshal ¶
type ReplySignRawTx ¶
type ReplySignRawTx struct { TxHex string `protobuf:"bytes,1,opt,name=txHex,proto3" json:"txHex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySignRawTx) Descriptor ¶
func (*ReplySignRawTx) Descriptor() ([]byte, []int)
func (*ReplySignRawTx) GetTxHex ¶
func (m *ReplySignRawTx) GetTxHex() string
func (*ReplySignRawTx) ProtoMessage ¶
func (*ReplySignRawTx) ProtoMessage()
func (*ReplySignRawTx) Reset ¶
func (m *ReplySignRawTx) Reset()
func (*ReplySignRawTx) String ¶
func (m *ReplySignRawTx) String() string
func (*ReplySignRawTx) XXX_DiscardUnknown ¶
func (m *ReplySignRawTx) XXX_DiscardUnknown()
func (*ReplySignRawTx) XXX_Marshal ¶
func (m *ReplySignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySignRawTx) XXX_Merge ¶
func (m *ReplySignRawTx) XXX_Merge(src proto.Message)
func (*ReplySignRawTx) XXX_Size ¶
func (m *ReplySignRawTx) XXX_Size() int
func (*ReplySignRawTx) XXX_Unmarshal ¶
func (m *ReplySignRawTx) XXX_Unmarshal(b []byte) error
type ReplyString ¶
type ReplyString struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyString) Descriptor ¶
func (*ReplyString) Descriptor() ([]byte, []int)
func (*ReplyString) GetData ¶
func (m *ReplyString) GetData() string
func (*ReplyString) ProtoMessage ¶
func (*ReplyString) ProtoMessage()
func (*ReplyString) Reset ¶
func (m *ReplyString) Reset()
func (*ReplyString) String ¶
func (m *ReplyString) String() string
func (*ReplyString) XXX_DiscardUnknown ¶
func (m *ReplyString) XXX_DiscardUnknown()
func (*ReplyString) XXX_Marshal ¶
func (m *ReplyString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyString) XXX_Merge ¶
func (m *ReplyString) XXX_Merge(src proto.Message)
func (*ReplyString) XXX_Size ¶
func (m *ReplyString) XXX_Size() int
func (*ReplyString) XXX_Unmarshal ¶
func (m *ReplyString) XXX_Unmarshal(b []byte) error
type ReplyStrings ¶
type ReplyStrings struct { Datas []string `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyStrings) Descriptor ¶
func (*ReplyStrings) Descriptor() ([]byte, []int)
func (*ReplyStrings) GetDatas ¶
func (m *ReplyStrings) GetDatas() []string
func (*ReplyStrings) ProtoMessage ¶
func (*ReplyStrings) ProtoMessage()
func (*ReplyStrings) Reset ¶
func (m *ReplyStrings) Reset()
func (*ReplyStrings) String ¶
func (m *ReplyStrings) String() string
func (*ReplyStrings) XXX_DiscardUnknown ¶
func (m *ReplyStrings) XXX_DiscardUnknown()
func (*ReplyStrings) XXX_Marshal ¶
func (m *ReplyStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStrings) XXX_Merge ¶
func (m *ReplyStrings) XXX_Merge(src proto.Message)
func (*ReplyStrings) XXX_Size ¶
func (m *ReplyStrings) XXX_Size() int
func (*ReplyStrings) XXX_Unmarshal ¶
func (m *ReplyStrings) XXX_Unmarshal(b []byte) error
type ReplySubscribePush ¶ added in v1.65.0
type ReplySubscribePush struct { IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySubscribePush) Descriptor ¶ added in v1.65.0
func (*ReplySubscribePush) Descriptor() ([]byte, []int)
func (*ReplySubscribePush) GetIsOk ¶ added in v1.65.0
func (m *ReplySubscribePush) GetIsOk() bool
func (*ReplySubscribePush) GetMsg ¶ added in v1.65.0
func (m *ReplySubscribePush) GetMsg() string
func (*ReplySubscribePush) ProtoMessage ¶ added in v1.65.0
func (*ReplySubscribePush) ProtoMessage()
func (*ReplySubscribePush) Reset ¶ added in v1.65.0
func (m *ReplySubscribePush) Reset()
func (*ReplySubscribePush) String ¶ added in v1.65.0
func (m *ReplySubscribePush) String() string
func (*ReplySubscribePush) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ReplySubscribePush) XXX_DiscardUnknown()
func (*ReplySubscribePush) XXX_Marshal ¶ added in v1.65.0
func (m *ReplySubscribePush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySubscribePush) XXX_Merge ¶ added in v1.65.0
func (m *ReplySubscribePush) XXX_Merge(src proto.Message)
func (*ReplySubscribePush) XXX_Size ¶ added in v1.65.0
func (m *ReplySubscribePush) XXX_Size() int
func (*ReplySubscribePush) XXX_Unmarshal ¶ added in v1.65.0
func (m *ReplySubscribePush) XXX_Unmarshal(b []byte) error
type ReplyTxInfo ¶
type ReplyTxInfo struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Assets []*Asset `protobuf:"bytes,4,rep,name=assets,proto3" json:"assets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTxInfo) Descriptor ¶
func (*ReplyTxInfo) Descriptor() ([]byte, []int)
func (*ReplyTxInfo) GetAssets ¶
func (m *ReplyTxInfo) GetAssets() []*Asset
func (*ReplyTxInfo) GetHash ¶
func (m *ReplyTxInfo) GetHash() []byte
func (*ReplyTxInfo) GetHeight ¶
func (m *ReplyTxInfo) GetHeight() int64
func (*ReplyTxInfo) GetIndex ¶
func (m *ReplyTxInfo) GetIndex() int64
func (*ReplyTxInfo) ProtoMessage ¶
func (*ReplyTxInfo) ProtoMessage()
func (*ReplyTxInfo) Reset ¶
func (m *ReplyTxInfo) Reset()
func (*ReplyTxInfo) String ¶
func (m *ReplyTxInfo) String() string
func (*ReplyTxInfo) XXX_DiscardUnknown ¶
func (m *ReplyTxInfo) XXX_DiscardUnknown()
func (*ReplyTxInfo) XXX_Marshal ¶
func (m *ReplyTxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTxInfo) XXX_Merge ¶
func (m *ReplyTxInfo) XXX_Merge(src proto.Message)
func (*ReplyTxInfo) XXX_Size ¶
func (m *ReplyTxInfo) XXX_Size() int
func (*ReplyTxInfo) XXX_Unmarshal ¶
func (m *ReplyTxInfo) XXX_Unmarshal(b []byte) error
type ReplyTxInfos ¶
type ReplyTxInfos struct { TxInfos []*ReplyTxInfo `protobuf:"bytes,1,rep,name=txInfos,proto3" json:"txInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTxInfos) Descriptor ¶
func (*ReplyTxInfos) Descriptor() ([]byte, []int)
func (*ReplyTxInfos) GetTxInfos ¶
func (m *ReplyTxInfos) GetTxInfos() []*ReplyTxInfo
func (*ReplyTxInfos) ProtoMessage ¶
func (*ReplyTxInfos) ProtoMessage()
func (*ReplyTxInfos) Reset ¶
func (m *ReplyTxInfos) Reset()
func (*ReplyTxInfos) String ¶
func (m *ReplyTxInfos) String() string
func (*ReplyTxInfos) XXX_DiscardUnknown ¶
func (m *ReplyTxInfos) XXX_DiscardUnknown()
func (*ReplyTxInfos) XXX_Marshal ¶
func (m *ReplyTxInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTxInfos) XXX_Merge ¶
func (m *ReplyTxInfos) XXX_Merge(src proto.Message)
func (*ReplyTxInfos) XXX_Size ¶
func (m *ReplyTxInfos) XXX_Size() int
func (*ReplyTxInfos) XXX_Unmarshal ¶
func (m *ReplyTxInfos) XXX_Unmarshal(b []byte) error
type ReplyTxList ¶
type ReplyTxList struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTxList) Descriptor ¶
func (*ReplyTxList) Descriptor() ([]byte, []int)
func (*ReplyTxList) GetTxs ¶
func (m *ReplyTxList) GetTxs() []*Transaction
func (*ReplyTxList) ProtoMessage ¶
func (*ReplyTxList) ProtoMessage()
func (*ReplyTxList) Reset ¶
func (m *ReplyTxList) Reset()
func (*ReplyTxList) String ¶
func (m *ReplyTxList) String() string
func (*ReplyTxList) XXX_DiscardUnknown ¶
func (m *ReplyTxList) XXX_DiscardUnknown()
func (*ReplyTxList) XXX_Marshal ¶
func (m *ReplyTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTxList) XXX_Merge ¶
func (m *ReplyTxList) XXX_Merge(src proto.Message)
func (*ReplyTxList) XXX_Size ¶
func (m *ReplyTxList) XXX_Size() int
func (*ReplyTxList) XXX_Unmarshal ¶
func (m *ReplyTxList) XXX_Unmarshal(b []byte) error
type ReportErrEvent ¶
type ReportErrEvent struct { Frommodule string `protobuf:"bytes,1,opt,name=frommodule,proto3" json:"frommodule,omitempty"` Tomodule string `protobuf:"bytes,2,opt,name=tomodule,proto3" json:"tomodule,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReportErrEvent) Descriptor ¶
func (*ReportErrEvent) Descriptor() ([]byte, []int)
func (*ReportErrEvent) GetError ¶
func (m *ReportErrEvent) GetError() string
func (*ReportErrEvent) GetFrommodule ¶
func (m *ReportErrEvent) GetFrommodule() string
func (*ReportErrEvent) GetTomodule ¶
func (m *ReportErrEvent) GetTomodule() string
func (*ReportErrEvent) ProtoMessage ¶
func (*ReportErrEvent) ProtoMessage()
func (*ReportErrEvent) Reset ¶
func (m *ReportErrEvent) Reset()
func (*ReportErrEvent) String ¶
func (m *ReportErrEvent) String() string
func (*ReportErrEvent) XXX_DiscardUnknown ¶
func (m *ReportErrEvent) XXX_DiscardUnknown()
func (*ReportErrEvent) XXX_Marshal ¶
func (m *ReportErrEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportErrEvent) XXX_Merge ¶
func (m *ReportErrEvent) XXX_Merge(src proto.Message)
func (*ReportErrEvent) XXX_Size ¶
func (m *ReportErrEvent) XXX_Size() int
func (*ReportErrEvent) XXX_Unmarshal ¶
func (m *ReportErrEvent) XXX_Unmarshal(b []byte) error
type ReqAccountList ¶
type ReqAccountList struct { WithoutBalance bool `protobuf:"varint,1,opt,name=withoutBalance,proto3" json:"withoutBalance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqAccountList) Descriptor ¶
func (*ReqAccountList) Descriptor() ([]byte, []int)
func (*ReqAccountList) GetWithoutBalance ¶
func (m *ReqAccountList) GetWithoutBalance() bool
func (*ReqAccountList) ProtoMessage ¶
func (*ReqAccountList) ProtoMessage()
func (*ReqAccountList) Reset ¶
func (m *ReqAccountList) Reset()
func (*ReqAccountList) String ¶
func (m *ReqAccountList) String() string
func (*ReqAccountList) XXX_DiscardUnknown ¶
func (m *ReqAccountList) XXX_DiscardUnknown()
func (*ReqAccountList) XXX_Marshal ¶
func (m *ReqAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAccountList) XXX_Merge ¶
func (m *ReqAccountList) XXX_Merge(src proto.Message)
func (*ReqAccountList) XXX_Size ¶
func (m *ReqAccountList) XXX_Size() int
func (*ReqAccountList) XXX_Unmarshal ¶
func (m *ReqAccountList) XXX_Unmarshal(b []byte) error
type ReqAddr ¶
type ReqAddr struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //表示取所有/from/to/其他的hash列表 Flag int32 `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int64 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqAddr) Descriptor ¶
func (*ReqAddr) GetDirection ¶
func (*ReqAddr) ProtoMessage ¶
func (*ReqAddr) ProtoMessage()
func (*ReqAddr) XXX_DiscardUnknown ¶
func (m *ReqAddr) XXX_DiscardUnknown()
func (*ReqAddr) XXX_Marshal ¶
func (*ReqAddr) XXX_Unmarshal ¶
type ReqAddrs ¶
type ReqAddrs struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqAddrs) Descriptor ¶
func (*ReqAddrs) ProtoMessage ¶
func (*ReqAddrs) ProtoMessage()
func (*ReqAddrs) XXX_DiscardUnknown ¶
func (m *ReqAddrs) XXX_DiscardUnknown()
func (*ReqAddrs) XXX_Marshal ¶
func (*ReqAddrs) XXX_Unmarshal ¶
type ReqAllExecBalance ¶
type ReqAllExecBalance struct { //地址列表 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //执行器名称 Execer string `protobuf:"bytes,2,opt,name=execer,proto3" json:"execer,omitempty"` StateHash string `protobuf:"bytes,3,opt,name=stateHash,proto3" json:"stateHash,omitempty"` AssetExec string `protobuf:"bytes,4,opt,name=asset_exec,json=assetExec,proto3" json:"asset_exec,omitempty"` AssetSymbol string `protobuf:"bytes,5,opt,name=asset_symbol,json=assetSymbol,proto3" json:"asset_symbol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqAllExecBalance) Descriptor ¶
func (*ReqAllExecBalance) Descriptor() ([]byte, []int)
func (*ReqAllExecBalance) GetAddr ¶
func (m *ReqAllExecBalance) GetAddr() string
func (*ReqAllExecBalance) GetAssetExec ¶
func (m *ReqAllExecBalance) GetAssetExec() string
func (*ReqAllExecBalance) GetAssetSymbol ¶
func (m *ReqAllExecBalance) GetAssetSymbol() string
func (*ReqAllExecBalance) GetExecer ¶
func (m *ReqAllExecBalance) GetExecer() string
func (*ReqAllExecBalance) GetStateHash ¶
func (m *ReqAllExecBalance) GetStateHash() string
func (*ReqAllExecBalance) ProtoMessage ¶
func (*ReqAllExecBalance) ProtoMessage()
func (*ReqAllExecBalance) Reset ¶
func (m *ReqAllExecBalance) Reset()
func (*ReqAllExecBalance) String ¶
func (m *ReqAllExecBalance) String() string
func (*ReqAllExecBalance) XXX_DiscardUnknown ¶
func (m *ReqAllExecBalance) XXX_DiscardUnknown()
func (*ReqAllExecBalance) XXX_Marshal ¶
func (m *ReqAllExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAllExecBalance) XXX_Merge ¶
func (m *ReqAllExecBalance) XXX_Merge(src proto.Message)
func (*ReqAllExecBalance) XXX_Size ¶
func (m *ReqAllExecBalance) XXX_Size() int
func (*ReqAllExecBalance) XXX_Unmarshal ¶
func (m *ReqAllExecBalance) XXX_Unmarshal(b []byte) error
type ReqBalance ¶
type ReqBalance struct { //地址列表 Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` //执行器名称 Execer string `protobuf:"bytes,2,opt,name=execer,proto3" json:"execer,omitempty"` StateHash string `protobuf:"bytes,3,opt,name=stateHash,proto3" json:"stateHash,omitempty"` AssetExec string `protobuf:"bytes,4,opt,name=asset_exec,json=assetExec,proto3" json:"asset_exec,omitempty"` AssetSymbol string `protobuf:"bytes,5,opt,name=asset_symbol,json=assetSymbol,proto3" json:"asset_symbol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询一个地址列表在某个执行器中余额
func (*ReqBalance) Descriptor ¶
func (*ReqBalance) Descriptor() ([]byte, []int)
func (*ReqBalance) GetAddresses ¶
func (m *ReqBalance) GetAddresses() []string
func (*ReqBalance) GetAssetExec ¶
func (m *ReqBalance) GetAssetExec() string
func (*ReqBalance) GetAssetSymbol ¶
func (m *ReqBalance) GetAssetSymbol() string
func (*ReqBalance) GetExecer ¶
func (m *ReqBalance) GetExecer() string
func (*ReqBalance) GetStateHash ¶
func (m *ReqBalance) GetStateHash() string
func (*ReqBalance) ProtoMessage ¶
func (*ReqBalance) ProtoMessage()
func (*ReqBalance) Reset ¶
func (m *ReqBalance) Reset()
func (*ReqBalance) String ¶
func (m *ReqBalance) String() string
func (*ReqBalance) XXX_DiscardUnknown ¶
func (m *ReqBalance) XXX_DiscardUnknown()
func (*ReqBalance) XXX_Marshal ¶
func (m *ReqBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBalance) XXX_Merge ¶
func (m *ReqBalance) XXX_Merge(src proto.Message)
func (*ReqBalance) XXX_Size ¶
func (m *ReqBalance) XXX_Size() int
func (*ReqBalance) XXX_Unmarshal ¶
func (m *ReqBalance) XXX_Unmarshal(b []byte) error
type ReqBlocks ¶
type ReqBlocks struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` IsDetail bool `protobuf:"varint,3,opt,name=isDetail,proto3" json:"isDetail,omitempty"` Pid []string `protobuf:"bytes,4,rep,name=pid,proto3" json:"pid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取区块信息
start : 获取区块的开始高度 end :获取区块的结束高度 Isdetail : 是否需要获取区块的详细信息 pid : peer列表
func (*ReqBlocks) Descriptor ¶
func (*ReqBlocks) GetIsDetail ¶
func (*ReqBlocks) ProtoMessage ¶
func (*ReqBlocks) ProtoMessage()
func (*ReqBlocks) XXX_DiscardUnknown ¶
func (m *ReqBlocks) XXX_DiscardUnknown()
func (*ReqBlocks) XXX_Marshal ¶
func (*ReqBlocks) XXX_Unmarshal ¶
type ReqCheckTxsExist ¶ added in v1.65.1
type ReqCheckTxsExist struct { TxHashes [][]byte `protobuf:"bytes,1,rep,name=txHashes,proto3" json:"txHashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
指定交易哈希,查找是否存在
func (*ReqCheckTxsExist) Descriptor ¶ added in v1.65.1
func (*ReqCheckTxsExist) Descriptor() ([]byte, []int)
func (*ReqCheckTxsExist) GetTxHashes ¶ added in v1.65.1
func (m *ReqCheckTxsExist) GetTxHashes() [][]byte
func (*ReqCheckTxsExist) ProtoMessage ¶ added in v1.65.1
func (*ReqCheckTxsExist) ProtoMessage()
func (*ReqCheckTxsExist) Reset ¶ added in v1.65.1
func (m *ReqCheckTxsExist) Reset()
func (*ReqCheckTxsExist) String ¶ added in v1.65.1
func (m *ReqCheckTxsExist) String() string
func (*ReqCheckTxsExist) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *ReqCheckTxsExist) XXX_DiscardUnknown()
func (*ReqCheckTxsExist) XXX_Marshal ¶ added in v1.65.1
func (m *ReqCheckTxsExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCheckTxsExist) XXX_Merge ¶ added in v1.65.1
func (m *ReqCheckTxsExist) XXX_Merge(src proto.Message)
func (*ReqCheckTxsExist) XXX_Size ¶ added in v1.65.1
func (m *ReqCheckTxsExist) XXX_Size() int
func (*ReqCheckTxsExist) XXX_Unmarshal ¶ added in v1.65.1
func (m *ReqCheckTxsExist) XXX_Unmarshal(b []byte) error
type ReqChunkRecords ¶ added in v1.65.0
type ReqChunkRecords struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` IsDetail bool `protobuf:"varint,3,opt,name=isDetail,proto3" json:"isDetail,omitempty"` Pid []string `protobuf:"bytes,4,rep,name=pid,proto3" json:"pid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取ChunkRecord信息
start : 获取Chunk的开始高度 end :获取Chunk的结束高度 Isdetail : 是否需要获取所有Chunk Record 信息,false时候获取到chunkNum--->chunkhash的KV对,true获取全部 pid : peer列表
func (*ReqChunkRecords) Descriptor ¶ added in v1.65.0
func (*ReqChunkRecords) Descriptor() ([]byte, []int)
func (*ReqChunkRecords) GetEnd ¶ added in v1.65.0
func (m *ReqChunkRecords) GetEnd() int64
func (*ReqChunkRecords) GetIsDetail ¶ added in v1.65.0
func (m *ReqChunkRecords) GetIsDetail() bool
func (*ReqChunkRecords) GetPid ¶ added in v1.65.0
func (m *ReqChunkRecords) GetPid() []string
func (*ReqChunkRecords) GetStart ¶ added in v1.65.0
func (m *ReqChunkRecords) GetStart() int64
func (*ReqChunkRecords) ProtoMessage ¶ added in v1.65.0
func (*ReqChunkRecords) ProtoMessage()
func (*ReqChunkRecords) Reset ¶ added in v1.65.0
func (m *ReqChunkRecords) Reset()
func (*ReqChunkRecords) String ¶ added in v1.65.0
func (m *ReqChunkRecords) String() string
func (*ReqChunkRecords) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ReqChunkRecords) XXX_DiscardUnknown()
func (*ReqChunkRecords) XXX_Marshal ¶ added in v1.65.0
func (m *ReqChunkRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqChunkRecords) XXX_Merge ¶ added in v1.65.0
func (m *ReqChunkRecords) XXX_Merge(src proto.Message)
func (*ReqChunkRecords) XXX_Size ¶ added in v1.65.0
func (m *ReqChunkRecords) XXX_Size() int
func (*ReqChunkRecords) XXX_Unmarshal ¶ added in v1.65.0
func (m *ReqChunkRecords) XXX_Unmarshal(b []byte) error
type ReqDecodeRawTransaction ¶
type ReqDecodeRawTransaction struct { TxHex string `protobuf:"bytes,1,opt,name=txHex,proto3" json:"txHex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqDecodeRawTransaction) Descriptor ¶
func (*ReqDecodeRawTransaction) Descriptor() ([]byte, []int)
func (*ReqDecodeRawTransaction) GetTxHex ¶
func (m *ReqDecodeRawTransaction) GetTxHex() string
func (*ReqDecodeRawTransaction) ProtoMessage ¶
func (*ReqDecodeRawTransaction) ProtoMessage()
func (*ReqDecodeRawTransaction) Reset ¶
func (m *ReqDecodeRawTransaction) Reset()
func (*ReqDecodeRawTransaction) String ¶
func (m *ReqDecodeRawTransaction) String() string
func (*ReqDecodeRawTransaction) XXX_DiscardUnknown ¶
func (m *ReqDecodeRawTransaction) XXX_DiscardUnknown()
func (*ReqDecodeRawTransaction) XXX_Marshal ¶
func (m *ReqDecodeRawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqDecodeRawTransaction) XXX_Merge ¶
func (m *ReqDecodeRawTransaction) XXX_Merge(src proto.Message)
func (*ReqDecodeRawTransaction) XXX_Size ¶
func (m *ReqDecodeRawTransaction) XXX_Size() int
func (*ReqDecodeRawTransaction) XXX_Unmarshal ¶
func (m *ReqDecodeRawTransaction) XXX_Unmarshal(b []byte) error
type ReqGetAccount ¶ added in v1.65.0
type ReqGetAccount struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据label获取账户地址
func (*ReqGetAccount) Descriptor ¶ added in v1.65.0
func (*ReqGetAccount) Descriptor() ([]byte, []int)
func (*ReqGetAccount) GetLabel ¶ added in v1.65.0
func (m *ReqGetAccount) GetLabel() string
func (*ReqGetAccount) ProtoMessage ¶ added in v1.65.0
func (*ReqGetAccount) ProtoMessage()
func (*ReqGetAccount) Reset ¶ added in v1.65.0
func (m *ReqGetAccount) Reset()
func (*ReqGetAccount) String ¶ added in v1.65.0
func (m *ReqGetAccount) String() string
func (*ReqGetAccount) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *ReqGetAccount) XXX_DiscardUnknown()
func (*ReqGetAccount) XXX_Marshal ¶ added in v1.65.0
func (m *ReqGetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqGetAccount) XXX_Merge ¶ added in v1.65.0
func (m *ReqGetAccount) XXX_Merge(src proto.Message)
func (*ReqGetAccount) XXX_Size ¶ added in v1.65.0
func (m *ReqGetAccount) XXX_Size() int
func (*ReqGetAccount) XXX_Unmarshal ¶ added in v1.65.0
func (m *ReqGetAccount) XXX_Unmarshal(b []byte) error
type ReqGetExecBalance ¶
type ReqGetExecBalance struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` StateHash []byte `protobuf:"bytes,2,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Addr []byte `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` ExecAddr []byte `protobuf:"bytes,4,opt,name=execAddr,proto3" json:"execAddr,omitempty"` Execer string `protobuf:"bytes,5,opt,name=execer,proto3" json:"execer,omitempty"` Count int64 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"` NextKey []byte `protobuf:"bytes,7,opt,name=nextKey,proto3" json:"nextKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询symbol在合约中的代币总额,如果execAddr为空,则为查询symbol在所有合约中的代币总额
func (*ReqGetExecBalance) Descriptor ¶
func (*ReqGetExecBalance) Descriptor() ([]byte, []int)
func (*ReqGetExecBalance) GetAddr ¶
func (m *ReqGetExecBalance) GetAddr() []byte
func (*ReqGetExecBalance) GetCount ¶
func (m *ReqGetExecBalance) GetCount() int64
func (*ReqGetExecBalance) GetExecAddr ¶
func (m *ReqGetExecBalance) GetExecAddr() []byte
func (*ReqGetExecBalance) GetExecer ¶
func (m *ReqGetExecBalance) GetExecer() string
func (*ReqGetExecBalance) GetNextKey ¶
func (m *ReqGetExecBalance) GetNextKey() []byte
func (*ReqGetExecBalance) GetStateHash ¶
func (m *ReqGetExecBalance) GetStateHash() []byte
func (*ReqGetExecBalance) GetSymbol ¶
func (m *ReqGetExecBalance) GetSymbol() string
func (*ReqGetExecBalance) ProtoMessage ¶
func (*ReqGetExecBalance) ProtoMessage()
func (*ReqGetExecBalance) Reset ¶
func (m *ReqGetExecBalance) Reset()
func (*ReqGetExecBalance) String ¶
func (m *ReqGetExecBalance) String() string
func (*ReqGetExecBalance) XXX_DiscardUnknown ¶
func (m *ReqGetExecBalance) XXX_DiscardUnknown()
func (*ReqGetExecBalance) XXX_Marshal ¶
func (m *ReqGetExecBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqGetExecBalance) XXX_Merge ¶
func (m *ReqGetExecBalance) XXX_Merge(src proto.Message)
func (*ReqGetExecBalance) XXX_Size ¶
func (m *ReqGetExecBalance) XXX_Size() int
func (*ReqGetExecBalance) XXX_Unmarshal ¶
func (m *ReqGetExecBalance) XXX_Unmarshal(b []byte) error
type ReqGetMempool ¶
type ReqGetMempool struct { IsAll bool `protobuf:"varint,1,opt,name=isAll,proto3" json:"isAll,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqGetMempool) Descriptor ¶
func (*ReqGetMempool) Descriptor() ([]byte, []int)
func (*ReqGetMempool) GetIsAll ¶
func (m *ReqGetMempool) GetIsAll() bool
func (*ReqGetMempool) ProtoMessage ¶
func (*ReqGetMempool) ProtoMessage()
func (*ReqGetMempool) Reset ¶
func (m *ReqGetMempool) Reset()
func (*ReqGetMempool) String ¶
func (m *ReqGetMempool) String() string
func (*ReqGetMempool) XXX_DiscardUnknown ¶
func (m *ReqGetMempool) XXX_DiscardUnknown()
func (*ReqGetMempool) XXX_Marshal ¶
func (m *ReqGetMempool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqGetMempool) XXX_Merge ¶
func (m *ReqGetMempool) XXX_Merge(src proto.Message)
func (*ReqGetMempool) XXX_Size ¶
func (m *ReqGetMempool) XXX_Size() int
func (*ReqGetMempool) XXX_Unmarshal ¶
func (m *ReqGetMempool) XXX_Unmarshal(b []byte) error
type ReqGetTotalCoins ¶
type ReqGetTotalCoins struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` StateHash []byte `protobuf:"bytes,2,opt,name=stateHash,proto3" json:"stateHash,omitempty"` StartKey []byte `protobuf:"bytes,3,opt,name=startKey,proto3" json:"startKey,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Execer string `protobuf:"bytes,5,opt,name=execer,proto3" json:"execer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询symbol代币总额
func (*ReqGetTotalCoins) Descriptor ¶
func (*ReqGetTotalCoins) Descriptor() ([]byte, []int)
func (*ReqGetTotalCoins) GetCount ¶
func (m *ReqGetTotalCoins) GetCount() int64
func (*ReqGetTotalCoins) GetExecer ¶
func (m *ReqGetTotalCoins) GetExecer() string
func (*ReqGetTotalCoins) GetStartKey ¶
func (m *ReqGetTotalCoins) GetStartKey() []byte
func (*ReqGetTotalCoins) GetStateHash ¶
func (m *ReqGetTotalCoins) GetStateHash() []byte
func (*ReqGetTotalCoins) GetSymbol ¶
func (m *ReqGetTotalCoins) GetSymbol() string
func (*ReqGetTotalCoins) ProtoMessage ¶
func (*ReqGetTotalCoins) ProtoMessage()
func (*ReqGetTotalCoins) Reset ¶
func (m *ReqGetTotalCoins) Reset()
func (*ReqGetTotalCoins) String ¶
func (m *ReqGetTotalCoins) String() string
func (*ReqGetTotalCoins) XXX_DiscardUnknown ¶
func (m *ReqGetTotalCoins) XXX_DiscardUnknown()
func (*ReqGetTotalCoins) XXX_Marshal ¶
func (m *ReqGetTotalCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqGetTotalCoins) XXX_Merge ¶
func (m *ReqGetTotalCoins) XXX_Merge(src proto.Message)
func (*ReqGetTotalCoins) XXX_Size ¶
func (m *ReqGetTotalCoins) XXX_Size() int
func (*ReqGetTotalCoins) XXX_Unmarshal ¶
func (m *ReqGetTotalCoins) XXX_Unmarshal(b []byte) error
type ReqHash ¶
type ReqHash struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Upgrade bool `protobuf:"varint,2,opt,name=upgrade,proto3" json:"upgrade,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqHash) Descriptor ¶
func (*ReqHash) GetUpgrade ¶
func (*ReqHash) ProtoMessage ¶
func (*ReqHash) ProtoMessage()
func (*ReqHash) XXX_DiscardUnknown ¶
func (m *ReqHash) XXX_DiscardUnknown()
func (*ReqHash) XXX_Marshal ¶
func (*ReqHash) XXX_Unmarshal ¶
type ReqHashes ¶
type ReqHashes struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqHashes) Descriptor ¶
func (*ReqHashes) ProtoMessage ¶
func (*ReqHashes) ProtoMessage()
func (*ReqHashes) XXX_DiscardUnknown ¶
func (m *ReqHashes) XXX_DiscardUnknown()
func (*ReqHashes) XXX_Marshal ¶
func (*ReqHashes) XXX_Unmarshal ¶
type ReqHeightByTitle ¶
type ReqHeightByTitle struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过指定title以及height翻页获取拥有此title交易的区块高度列表
func (*ReqHeightByTitle) Descriptor ¶
func (*ReqHeightByTitle) Descriptor() ([]byte, []int)
func (*ReqHeightByTitle) GetCount ¶
func (m *ReqHeightByTitle) GetCount() int32
func (*ReqHeightByTitle) GetDirection ¶
func (m *ReqHeightByTitle) GetDirection() int32
func (*ReqHeightByTitle) GetHeight ¶
func (m *ReqHeightByTitle) GetHeight() int64
func (*ReqHeightByTitle) GetTitle ¶
func (m *ReqHeightByTitle) GetTitle() string
func (*ReqHeightByTitle) ProtoMessage ¶
func (*ReqHeightByTitle) ProtoMessage()
func (*ReqHeightByTitle) Reset ¶
func (m *ReqHeightByTitle) Reset()
func (*ReqHeightByTitle) String ¶
func (m *ReqHeightByTitle) String() string
func (*ReqHeightByTitle) XXX_DiscardUnknown ¶
func (m *ReqHeightByTitle) XXX_DiscardUnknown()
func (*ReqHeightByTitle) XXX_Marshal ¶
func (m *ReqHeightByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqHeightByTitle) XXX_Merge ¶
func (m *ReqHeightByTitle) XXX_Merge(src proto.Message)
func (*ReqHeightByTitle) XXX_Size ¶
func (m *ReqHeightByTitle) XXX_Size() int
func (*ReqHeightByTitle) XXX_Unmarshal ¶
func (m *ReqHeightByTitle) XXX_Unmarshal(b []byte) error
type ReqInt ¶
type ReqInt struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqInt) Descriptor ¶
func (*ReqInt) ProtoMessage ¶
func (*ReqInt) ProtoMessage()
func (*ReqInt) XXX_DiscardUnknown ¶
func (m *ReqInt) XXX_DiscardUnknown()
func (*ReqInt) XXX_Marshal ¶
func (*ReqInt) XXX_Unmarshal ¶
type ReqKey ¶
type ReqKey struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqKey) Descriptor ¶
func (*ReqKey) ProtoMessage ¶
func (*ReqKey) ProtoMessage()
func (*ReqKey) XXX_DiscardUnknown ¶
func (m *ReqKey) XXX_DiscardUnknown()
func (*ReqKey) XXX_Marshal ¶
func (*ReqKey) XXX_Unmarshal ¶
type ReqModifyConfig ¶
type ReqModifyConfig struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Modifier string `protobuf:"bytes,4,opt,name=modifier,proto3" json:"modifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqModifyConfig) Descriptor ¶
func (*ReqModifyConfig) Descriptor() ([]byte, []int)
func (*ReqModifyConfig) GetKey ¶
func (m *ReqModifyConfig) GetKey() string
func (*ReqModifyConfig) GetModifier ¶
func (m *ReqModifyConfig) GetModifier() string
func (*ReqModifyConfig) GetOp ¶
func (m *ReqModifyConfig) GetOp() string
func (*ReqModifyConfig) GetValue ¶
func (m *ReqModifyConfig) GetValue() string
func (*ReqModifyConfig) ProtoMessage ¶
func (*ReqModifyConfig) ProtoMessage()
func (*ReqModifyConfig) Reset ¶
func (m *ReqModifyConfig) Reset()
func (*ReqModifyConfig) String ¶
func (m *ReqModifyConfig) String() string
func (*ReqModifyConfig) XXX_DiscardUnknown ¶
func (m *ReqModifyConfig) XXX_DiscardUnknown()
func (*ReqModifyConfig) XXX_Marshal ¶
func (m *ReqModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqModifyConfig) XXX_Merge ¶
func (m *ReqModifyConfig) XXX_Merge(src proto.Message)
func (*ReqModifyConfig) XXX_Size ¶
func (m *ReqModifyConfig) XXX_Size() int
func (*ReqModifyConfig) XXX_Unmarshal ¶
func (m *ReqModifyConfig) XXX_Unmarshal(b []byte) error
type ReqNewAccount ¶
type ReqNewAccount struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqNewAccount) Descriptor ¶
func (*ReqNewAccount) Descriptor() ([]byte, []int)
func (*ReqNewAccount) GetLabel ¶
func (m *ReqNewAccount) GetLabel() string
func (*ReqNewAccount) ProtoMessage ¶
func (*ReqNewAccount) ProtoMessage()
func (*ReqNewAccount) Reset ¶
func (m *ReqNewAccount) Reset()
func (*ReqNewAccount) String ¶
func (m *ReqNewAccount) String() string
func (*ReqNewAccount) XXX_DiscardUnknown ¶
func (m *ReqNewAccount) XXX_DiscardUnknown()
func (*ReqNewAccount) XXX_Marshal ¶
func (m *ReqNewAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqNewAccount) XXX_Merge ¶
func (m *ReqNewAccount) XXX_Merge(src proto.Message)
func (*ReqNewAccount) XXX_Size ¶
func (m *ReqNewAccount) XXX_Size() int
func (*ReqNewAccount) XXX_Unmarshal ¶
func (m *ReqNewAccount) XXX_Unmarshal(b []byte) error
type ReqNil ¶
type ReqNil struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqNil) Descriptor ¶
func (*ReqNil) ProtoMessage ¶
func (*ReqNil) ProtoMessage()
func (*ReqNil) XXX_DiscardUnknown ¶
func (m *ReqNil) XXX_DiscardUnknown()
func (*ReqNil) XXX_Marshal ¶
func (*ReqNil) XXX_Unmarshal ¶
type ReqParaTxByHeight ¶
type ReqParaTxByHeight struct { Items []int64 `protobuf:"varint,1,rep,packed,name=items,proto3" json:"items,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过高度列表和title获取平行链交易
func (*ReqParaTxByHeight) Descriptor ¶
func (*ReqParaTxByHeight) Descriptor() ([]byte, []int)
func (*ReqParaTxByHeight) GetItems ¶
func (m *ReqParaTxByHeight) GetItems() []int64
func (*ReqParaTxByHeight) GetTitle ¶
func (m *ReqParaTxByHeight) GetTitle() string
func (*ReqParaTxByHeight) ProtoMessage ¶
func (*ReqParaTxByHeight) ProtoMessage()
func (*ReqParaTxByHeight) Reset ¶
func (m *ReqParaTxByHeight) Reset()
func (*ReqParaTxByHeight) String ¶
func (m *ReqParaTxByHeight) String() string
func (*ReqParaTxByHeight) XXX_DiscardUnknown ¶
func (m *ReqParaTxByHeight) XXX_DiscardUnknown()
func (*ReqParaTxByHeight) XXX_Marshal ¶
func (m *ReqParaTxByHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqParaTxByHeight) XXX_Merge ¶
func (m *ReqParaTxByHeight) XXX_Merge(src proto.Message)
func (*ReqParaTxByHeight) XXX_Size ¶
func (m *ReqParaTxByHeight) XXX_Size() int
func (*ReqParaTxByHeight) XXX_Unmarshal ¶
func (m *ReqParaTxByHeight) XXX_Unmarshal(b []byte) error
type ReqParaTxByTitle ¶
type ReqParaTxByTitle struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` IsSeq bool `protobuf:"varint,4,opt,name=isSeq,proto3" json:"isSeq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过seq区间和title请求平行链的交易
func (*ReqParaTxByTitle) Descriptor ¶
func (*ReqParaTxByTitle) Descriptor() ([]byte, []int)
func (*ReqParaTxByTitle) GetEnd ¶
func (m *ReqParaTxByTitle) GetEnd() int64
func (*ReqParaTxByTitle) GetIsSeq ¶
func (m *ReqParaTxByTitle) GetIsSeq() bool
func (*ReqParaTxByTitle) GetStart ¶
func (m *ReqParaTxByTitle) GetStart() int64
func (*ReqParaTxByTitle) GetTitle ¶
func (m *ReqParaTxByTitle) GetTitle() string
func (*ReqParaTxByTitle) ProtoMessage ¶
func (*ReqParaTxByTitle) ProtoMessage()
func (*ReqParaTxByTitle) Reset ¶
func (m *ReqParaTxByTitle) Reset()
func (*ReqParaTxByTitle) String ¶
func (m *ReqParaTxByTitle) String() string
func (*ReqParaTxByTitle) XXX_DiscardUnknown ¶
func (m *ReqParaTxByTitle) XXX_DiscardUnknown()
func (*ReqParaTxByTitle) XXX_Marshal ¶
func (m *ReqParaTxByTitle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqParaTxByTitle) XXX_Merge ¶
func (m *ReqParaTxByTitle) XXX_Merge(src proto.Message)
func (*ReqParaTxByTitle) XXX_Size ¶
func (m *ReqParaTxByTitle) XXX_Size() int
func (*ReqParaTxByTitle) XXX_Unmarshal ¶
func (m *ReqParaTxByTitle) XXX_Unmarshal(b []byte) error
type ReqPeers ¶ added in v1.65.1
type ReqPeers struct { ReferKey []byte `protobuf:"bytes,1,opt,name=referKey,proto3" json:"referKey,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqPeers) Descriptor ¶ added in v1.65.1
func (*ReqPeers) GetReferKey ¶ added in v1.65.1
func (*ReqPeers) ProtoMessage ¶ added in v1.65.1
func (*ReqPeers) ProtoMessage()
func (*ReqPeers) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *ReqPeers) XXX_DiscardUnknown()
func (*ReqPeers) XXX_Marshal ¶ added in v1.65.1
func (*ReqPeers) XXX_Unmarshal ¶ added in v1.65.1
type ReqPrivkeysFile ¶
type ReqPrivkeysFile struct { FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqPrivkeysFile) Descriptor ¶
func (*ReqPrivkeysFile) Descriptor() ([]byte, []int)
func (*ReqPrivkeysFile) GetFileName ¶
func (m *ReqPrivkeysFile) GetFileName() string
func (*ReqPrivkeysFile) GetPasswd ¶
func (m *ReqPrivkeysFile) GetPasswd() string
func (*ReqPrivkeysFile) ProtoMessage ¶
func (*ReqPrivkeysFile) ProtoMessage()
func (*ReqPrivkeysFile) Reset ¶
func (m *ReqPrivkeysFile) Reset()
func (*ReqPrivkeysFile) String ¶
func (m *ReqPrivkeysFile) String() string
func (*ReqPrivkeysFile) XXX_DiscardUnknown ¶
func (m *ReqPrivkeysFile) XXX_DiscardUnknown()
func (*ReqPrivkeysFile) XXX_Marshal ¶
func (m *ReqPrivkeysFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqPrivkeysFile) XXX_Merge ¶
func (m *ReqPrivkeysFile) XXX_Merge(src proto.Message)
func (*ReqPrivkeysFile) XXX_Size ¶
func (m *ReqPrivkeysFile) XXX_Size() int
func (*ReqPrivkeysFile) XXX_Unmarshal ¶
func (m *ReqPrivkeysFile) XXX_Unmarshal(b []byte) error
type ReqProperFee ¶
type ReqProperFee struct { TxCount int32 `protobuf:"varint,1,opt,name=txCount,proto3" json:"txCount,omitempty"` TxSize int32 `protobuf:"varint,2,opt,name=txSize,proto3" json:"txSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqProperFee) Descriptor ¶
func (*ReqProperFee) Descriptor() ([]byte, []int)
func (*ReqProperFee) GetTxCount ¶
func (m *ReqProperFee) GetTxCount() int32
func (*ReqProperFee) GetTxSize ¶
func (m *ReqProperFee) GetTxSize() int32
func (*ReqProperFee) ProtoMessage ¶
func (*ReqProperFee) ProtoMessage()
func (*ReqProperFee) Reset ¶
func (m *ReqProperFee) Reset()
func (*ReqProperFee) String ¶
func (m *ReqProperFee) String() string
func (*ReqProperFee) XXX_DiscardUnknown ¶
func (m *ReqProperFee) XXX_DiscardUnknown()
func (*ReqProperFee) XXX_Marshal ¶
func (m *ReqProperFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqProperFee) XXX_Merge ¶
func (m *ReqProperFee) XXX_Merge(src proto.Message)
func (*ReqProperFee) XXX_Size ¶
func (m *ReqProperFee) XXX_Size() int
func (*ReqProperFee) XXX_Unmarshal ¶
func (m *ReqProperFee) XXX_Unmarshal(b []byte) error
type ReqRandHash ¶
type ReqRandHash struct { ExecName string `protobuf:"bytes,1,opt,name=execName,proto3" json:"execName,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` BlockNum int64 `protobuf:"varint,3,opt,name=blockNum,proto3" json:"blockNum,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqRandHash) Descriptor ¶
func (*ReqRandHash) Descriptor() ([]byte, []int)
func (*ReqRandHash) GetBlockNum ¶
func (m *ReqRandHash) GetBlockNum() int64
func (*ReqRandHash) GetExecName ¶
func (m *ReqRandHash) GetExecName() string
func (*ReqRandHash) GetHash ¶
func (m *ReqRandHash) GetHash() []byte
func (*ReqRandHash) GetHeight ¶
func (m *ReqRandHash) GetHeight() int64
func (*ReqRandHash) ProtoMessage ¶
func (*ReqRandHash) ProtoMessage()
func (*ReqRandHash) Reset ¶
func (m *ReqRandHash) Reset()
func (*ReqRandHash) String ¶
func (m *ReqRandHash) String() string
func (*ReqRandHash) XXX_DiscardUnknown ¶
func (m *ReqRandHash) XXX_DiscardUnknown()
func (*ReqRandHash) XXX_Marshal ¶
func (m *ReqRandHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqRandHash) XXX_Merge ¶
func (m *ReqRandHash) XXX_Merge(src proto.Message)
func (*ReqRandHash) XXX_Size ¶
func (m *ReqRandHash) XXX_Size() int
func (*ReqRandHash) XXX_Unmarshal ¶
func (m *ReqRandHash) XXX_Unmarshal(b []byte) error
type ReqSignRawTx ¶
type ReqSignRawTx struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Privkey string `protobuf:"bytes,2,opt,name=privkey,proto3" json:"privkey,omitempty"` TxHex string `protobuf:"bytes,3,opt,name=txHex,proto3" json:"txHex,omitempty"` Expire string `protobuf:"bytes,4,opt,name=expire,proto3" json:"expire,omitempty"` Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` // 签名的模式类型 // 0:普通交易 // 1:隐私交易 // int32 mode = 6; Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` Fee int64 `protobuf:"varint,8,opt,name=fee,proto3" json:"fee,omitempty"` // bytes newExecer = 9; NewToAddr string `protobuf:"bytes,10,opt,name=newToAddr,proto3" json:"newToAddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqSignRawTx) Descriptor ¶
func (*ReqSignRawTx) Descriptor() ([]byte, []int)
func (*ReqSignRawTx) GetAddr ¶
func (m *ReqSignRawTx) GetAddr() string
func (*ReqSignRawTx) GetExpire ¶
func (m *ReqSignRawTx) GetExpire() string
func (*ReqSignRawTx) GetFee ¶
func (m *ReqSignRawTx) GetFee() int64
func (*ReqSignRawTx) GetIndex ¶
func (m *ReqSignRawTx) GetIndex() int32
func (*ReqSignRawTx) GetNewToAddr ¶
func (m *ReqSignRawTx) GetNewToAddr() string
func (*ReqSignRawTx) GetPrivkey ¶
func (m *ReqSignRawTx) GetPrivkey() string
func (*ReqSignRawTx) GetToken ¶
func (m *ReqSignRawTx) GetToken() string
func (*ReqSignRawTx) GetTxHex ¶
func (m *ReqSignRawTx) GetTxHex() string
func (*ReqSignRawTx) ProtoMessage ¶
func (*ReqSignRawTx) ProtoMessage()
func (*ReqSignRawTx) Reset ¶
func (m *ReqSignRawTx) Reset()
func (*ReqSignRawTx) String ¶
func (m *ReqSignRawTx) String() string
func (*ReqSignRawTx) XXX_DiscardUnknown ¶
func (m *ReqSignRawTx) XXX_DiscardUnknown()
func (*ReqSignRawTx) XXX_Marshal ¶
func (m *ReqSignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSignRawTx) XXX_Merge ¶
func (m *ReqSignRawTx) XXX_Merge(src proto.Message)
func (*ReqSignRawTx) XXX_Size ¶
func (m *ReqSignRawTx) XXX_Size() int
func (*ReqSignRawTx) XXX_Unmarshal ¶
func (m *ReqSignRawTx) XXX_Unmarshal(b []byte) error
type ReqString ¶
type ReqString struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqString) Descriptor ¶
func (*ReqString) ProtoMessage ¶
func (*ReqString) ProtoMessage()
func (*ReqString) XXX_DiscardUnknown ¶
func (m *ReqString) XXX_DiscardUnknown()
func (*ReqString) XXX_Marshal ¶
func (*ReqString) XXX_Unmarshal ¶
type ReqTokenFinishCreate ¶
type ReqTokenFinishCreate struct { FinisherAddr string `protobuf:"bytes,1,opt,name=finisher_addr,json=finisherAddr,proto3" json:"finisher_addr,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` OwnerAddr string `protobuf:"bytes,3,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTokenFinishCreate) Descriptor ¶
func (*ReqTokenFinishCreate) Descriptor() ([]byte, []int)
func (*ReqTokenFinishCreate) GetFinisherAddr ¶
func (m *ReqTokenFinishCreate) GetFinisherAddr() string
func (*ReqTokenFinishCreate) GetOwnerAddr ¶
func (m *ReqTokenFinishCreate) GetOwnerAddr() string
func (*ReqTokenFinishCreate) GetSymbol ¶
func (m *ReqTokenFinishCreate) GetSymbol() string
func (*ReqTokenFinishCreate) ProtoMessage ¶
func (*ReqTokenFinishCreate) ProtoMessage()
func (*ReqTokenFinishCreate) Reset ¶
func (m *ReqTokenFinishCreate) Reset()
func (*ReqTokenFinishCreate) String ¶
func (m *ReqTokenFinishCreate) String() string
func (*ReqTokenFinishCreate) XXX_DiscardUnknown ¶
func (m *ReqTokenFinishCreate) XXX_DiscardUnknown()
func (*ReqTokenFinishCreate) XXX_Marshal ¶
func (m *ReqTokenFinishCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTokenFinishCreate) XXX_Merge ¶
func (m *ReqTokenFinishCreate) XXX_Merge(src proto.Message)
func (*ReqTokenFinishCreate) XXX_Size ¶
func (m *ReqTokenFinishCreate) XXX_Size() int
func (*ReqTokenFinishCreate) XXX_Unmarshal ¶
func (m *ReqTokenFinishCreate) XXX_Unmarshal(b []byte) error
type ReqTokenPreCreate ¶
type ReqTokenPreCreate struct { CreatorAddr string `protobuf:"bytes,1,opt,name=creator_addr,json=creatorAddr,proto3" json:"creator_addr,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` OwnerAddr string `protobuf:"bytes,5,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` Total int64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` Price int64 `protobuf:"varint,7,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTokenPreCreate) Descriptor ¶
func (*ReqTokenPreCreate) Descriptor() ([]byte, []int)
func (*ReqTokenPreCreate) GetCreatorAddr ¶
func (m *ReqTokenPreCreate) GetCreatorAddr() string
func (*ReqTokenPreCreate) GetIntroduction ¶
func (m *ReqTokenPreCreate) GetIntroduction() string
func (*ReqTokenPreCreate) GetName ¶
func (m *ReqTokenPreCreate) GetName() string
func (*ReqTokenPreCreate) GetOwnerAddr ¶
func (m *ReqTokenPreCreate) GetOwnerAddr() string
func (*ReqTokenPreCreate) GetPrice ¶
func (m *ReqTokenPreCreate) GetPrice() int64
func (*ReqTokenPreCreate) GetSymbol ¶
func (m *ReqTokenPreCreate) GetSymbol() string
func (*ReqTokenPreCreate) GetTotal ¶
func (m *ReqTokenPreCreate) GetTotal() int64
func (*ReqTokenPreCreate) ProtoMessage ¶
func (*ReqTokenPreCreate) ProtoMessage()
func (*ReqTokenPreCreate) Reset ¶
func (m *ReqTokenPreCreate) Reset()
func (*ReqTokenPreCreate) String ¶
func (m *ReqTokenPreCreate) String() string
func (*ReqTokenPreCreate) XXX_DiscardUnknown ¶
func (m *ReqTokenPreCreate) XXX_DiscardUnknown()
func (*ReqTokenPreCreate) XXX_Marshal ¶
func (m *ReqTokenPreCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTokenPreCreate) XXX_Merge ¶
func (m *ReqTokenPreCreate) XXX_Merge(src proto.Message)
func (*ReqTokenPreCreate) XXX_Size ¶
func (m *ReqTokenPreCreate) XXX_Size() int
func (*ReqTokenPreCreate) XXX_Unmarshal ¶
func (m *ReqTokenPreCreate) XXX_Unmarshal(b []byte) error
type ReqTokenRevokeCreate ¶
type ReqTokenRevokeCreate struct { RevokerAddr string `protobuf:"bytes,1,opt,name=revoker_addr,json=revokerAddr,proto3" json:"revoker_addr,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` OwnerAddr string `protobuf:"bytes,3,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTokenRevokeCreate) Descriptor ¶
func (*ReqTokenRevokeCreate) Descriptor() ([]byte, []int)
func (*ReqTokenRevokeCreate) GetOwnerAddr ¶
func (m *ReqTokenRevokeCreate) GetOwnerAddr() string
func (*ReqTokenRevokeCreate) GetRevokerAddr ¶
func (m *ReqTokenRevokeCreate) GetRevokerAddr() string
func (*ReqTokenRevokeCreate) GetSymbol ¶
func (m *ReqTokenRevokeCreate) GetSymbol() string
func (*ReqTokenRevokeCreate) ProtoMessage ¶
func (*ReqTokenRevokeCreate) ProtoMessage()
func (*ReqTokenRevokeCreate) Reset ¶
func (m *ReqTokenRevokeCreate) Reset()
func (*ReqTokenRevokeCreate) String ¶
func (m *ReqTokenRevokeCreate) String() string
func (*ReqTokenRevokeCreate) XXX_DiscardUnknown ¶
func (m *ReqTokenRevokeCreate) XXX_DiscardUnknown()
func (*ReqTokenRevokeCreate) XXX_Marshal ¶
func (m *ReqTokenRevokeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTokenRevokeCreate) XXX_Merge ¶
func (m *ReqTokenRevokeCreate) XXX_Merge(src proto.Message)
func (*ReqTokenRevokeCreate) XXX_Size ¶
func (m *ReqTokenRevokeCreate) XXX_Size() int
func (*ReqTokenRevokeCreate) XXX_Unmarshal ¶
func (m *ReqTokenRevokeCreate) XXX_Unmarshal(b []byte) error
type ReqTxHashList ¶
type ReqTxHashList struct { Hashes []string `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` IsShortHash bool `protobuf:"varint,2,opt,name=isShortHash,proto3" json:"isShortHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
通过交易hash获取交易列表,需要区分是短hash还是全hash值
func (*ReqTxHashList) Descriptor ¶
func (*ReqTxHashList) Descriptor() ([]byte, []int)
func (*ReqTxHashList) GetHashes ¶
func (m *ReqTxHashList) GetHashes() []string
func (*ReqTxHashList) GetIsShortHash ¶
func (m *ReqTxHashList) GetIsShortHash() bool
func (*ReqTxHashList) ProtoMessage ¶
func (*ReqTxHashList) ProtoMessage()
func (*ReqTxHashList) Reset ¶
func (m *ReqTxHashList) Reset()
func (*ReqTxHashList) String ¶
func (m *ReqTxHashList) String() string
func (*ReqTxHashList) XXX_DiscardUnknown ¶
func (m *ReqTxHashList) XXX_DiscardUnknown()
func (*ReqTxHashList) XXX_Marshal ¶
func (m *ReqTxHashList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTxHashList) XXX_Merge ¶
func (m *ReqTxHashList) XXX_Merge(src proto.Message)
func (*ReqTxHashList) XXX_Size ¶
func (m *ReqTxHashList) XXX_Size() int
func (*ReqTxHashList) XXX_Unmarshal ¶
func (m *ReqTxHashList) XXX_Unmarshal(b []byte) error
type ReqTxList ¶
type ReqTxList struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTxList) Descriptor ¶
func (*ReqTxList) ProtoMessage ¶
func (*ReqTxList) ProtoMessage()
func (*ReqTxList) XXX_DiscardUnknown ¶
func (m *ReqTxList) XXX_DiscardUnknown()
func (*ReqTxList) XXX_Marshal ¶
func (*ReqTxList) XXX_Unmarshal ¶
type ReqWalletImportPrivkey ¶
type ReqWalletImportPrivkey struct { // bitcoin 的私钥格式 Privkey string `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqWalletImportPrivkey) Descriptor ¶
func (*ReqWalletImportPrivkey) Descriptor() ([]byte, []int)
func (*ReqWalletImportPrivkey) GetLabel ¶
func (m *ReqWalletImportPrivkey) GetLabel() string
func (*ReqWalletImportPrivkey) GetPrivkey ¶
func (m *ReqWalletImportPrivkey) GetPrivkey() string
func (*ReqWalletImportPrivkey) ProtoMessage ¶
func (*ReqWalletImportPrivkey) ProtoMessage()
func (*ReqWalletImportPrivkey) Reset ¶
func (m *ReqWalletImportPrivkey) Reset()
func (*ReqWalletImportPrivkey) String ¶
func (m *ReqWalletImportPrivkey) String() string
func (*ReqWalletImportPrivkey) XXX_DiscardUnknown ¶
func (m *ReqWalletImportPrivkey) XXX_DiscardUnknown()
func (*ReqWalletImportPrivkey) XXX_Marshal ¶
func (m *ReqWalletImportPrivkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletImportPrivkey) XXX_Merge ¶
func (m *ReqWalletImportPrivkey) XXX_Merge(src proto.Message)
func (*ReqWalletImportPrivkey) XXX_Size ¶
func (m *ReqWalletImportPrivkey) XXX_Size() int
func (*ReqWalletImportPrivkey) XXX_Unmarshal ¶
func (m *ReqWalletImportPrivkey) XXX_Unmarshal(b []byte) error
type ReqWalletMergeBalance ¶
type ReqWalletMergeBalance struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqWalletMergeBalance) Descriptor ¶
func (*ReqWalletMergeBalance) Descriptor() ([]byte, []int)
func (*ReqWalletMergeBalance) GetTo ¶
func (m *ReqWalletMergeBalance) GetTo() string
func (*ReqWalletMergeBalance) ProtoMessage ¶
func (*ReqWalletMergeBalance) ProtoMessage()
func (*ReqWalletMergeBalance) Reset ¶
func (m *ReqWalletMergeBalance) Reset()
func (*ReqWalletMergeBalance) String ¶
func (m *ReqWalletMergeBalance) String() string
func (*ReqWalletMergeBalance) XXX_DiscardUnknown ¶
func (m *ReqWalletMergeBalance) XXX_DiscardUnknown()
func (*ReqWalletMergeBalance) XXX_Marshal ¶
func (m *ReqWalletMergeBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletMergeBalance) XXX_Merge ¶
func (m *ReqWalletMergeBalance) XXX_Merge(src proto.Message)
func (*ReqWalletMergeBalance) XXX_Size ¶
func (m *ReqWalletMergeBalance) XXX_Size() int
func (*ReqWalletMergeBalance) XXX_Unmarshal ¶
func (m *ReqWalletMergeBalance) XXX_Unmarshal(b []byte) error
type ReqWalletSendToAddress ¶
type ReqWalletSendToAddress struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` IsToken bool `protobuf:"varint,5,opt,name=isToken,proto3" json:"isToken,omitempty"` TokenSymbol string `protobuf:"bytes,6,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
发送交易
from : 打出地址 to :接受地址 amount : 转账额度 note :转账备注
func (*ReqWalletSendToAddress) Descriptor ¶
func (*ReqWalletSendToAddress) Descriptor() ([]byte, []int)
func (*ReqWalletSendToAddress) GetAmount ¶
func (m *ReqWalletSendToAddress) GetAmount() int64
func (*ReqWalletSendToAddress) GetFrom ¶
func (m *ReqWalletSendToAddress) GetFrom() string
func (*ReqWalletSendToAddress) GetIsToken ¶
func (m *ReqWalletSendToAddress) GetIsToken() bool
func (*ReqWalletSendToAddress) GetNote ¶
func (m *ReqWalletSendToAddress) GetNote() string
func (*ReqWalletSendToAddress) GetTo ¶
func (m *ReqWalletSendToAddress) GetTo() string
func (*ReqWalletSendToAddress) GetTokenSymbol ¶
func (m *ReqWalletSendToAddress) GetTokenSymbol() string
func (*ReqWalletSendToAddress) ProtoMessage ¶
func (*ReqWalletSendToAddress) ProtoMessage()
func (*ReqWalletSendToAddress) Reset ¶
func (m *ReqWalletSendToAddress) Reset()
func (*ReqWalletSendToAddress) String ¶
func (m *ReqWalletSendToAddress) String() string
func (*ReqWalletSendToAddress) XXX_DiscardUnknown ¶
func (m *ReqWalletSendToAddress) XXX_DiscardUnknown()
func (*ReqWalletSendToAddress) XXX_Marshal ¶
func (m *ReqWalletSendToAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletSendToAddress) XXX_Merge ¶
func (m *ReqWalletSendToAddress) XXX_Merge(src proto.Message)
func (*ReqWalletSendToAddress) XXX_Size ¶
func (m *ReqWalletSendToAddress) XXX_Size() int
func (*ReqWalletSendToAddress) XXX_Unmarshal ¶
func (m *ReqWalletSendToAddress) XXX_Unmarshal(b []byte) error
type ReqWalletSetFee ¶
type ReqWalletSetFee struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqWalletSetFee) Descriptor ¶
func (*ReqWalletSetFee) Descriptor() ([]byte, []int)
func (*ReqWalletSetFee) GetAmount ¶
func (m *ReqWalletSetFee) GetAmount() int64
func (*ReqWalletSetFee) ProtoMessage ¶
func (*ReqWalletSetFee) ProtoMessage()
func (*ReqWalletSetFee) Reset ¶
func (m *ReqWalletSetFee) Reset()
func (*ReqWalletSetFee) String ¶
func (m *ReqWalletSetFee) String() string
func (*ReqWalletSetFee) XXX_DiscardUnknown ¶
func (m *ReqWalletSetFee) XXX_DiscardUnknown()
func (*ReqWalletSetFee) XXX_Marshal ¶
func (m *ReqWalletSetFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletSetFee) XXX_Merge ¶
func (m *ReqWalletSetFee) XXX_Merge(src proto.Message)
func (*ReqWalletSetFee) XXX_Size ¶
func (m *ReqWalletSetFee) XXX_Size() int
func (*ReqWalletSetFee) XXX_Unmarshal ¶
func (m *ReqWalletSetFee) XXX_Unmarshal(b []byte) error
type ReqWalletSetLabel ¶
type ReqWalletSetLabel struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqWalletSetLabel) Descriptor ¶
func (*ReqWalletSetLabel) Descriptor() ([]byte, []int)
func (*ReqWalletSetLabel) GetAddr ¶
func (m *ReqWalletSetLabel) GetAddr() string
func (*ReqWalletSetLabel) GetLabel ¶
func (m *ReqWalletSetLabel) GetLabel() string
func (*ReqWalletSetLabel) ProtoMessage ¶
func (*ReqWalletSetLabel) ProtoMessage()
func (*ReqWalletSetLabel) Reset ¶
func (m *ReqWalletSetLabel) Reset()
func (*ReqWalletSetLabel) String ¶
func (m *ReqWalletSetLabel) String() string
func (*ReqWalletSetLabel) XXX_DiscardUnknown ¶
func (m *ReqWalletSetLabel) XXX_DiscardUnknown()
func (*ReqWalletSetLabel) XXX_Marshal ¶
func (m *ReqWalletSetLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletSetLabel) XXX_Merge ¶
func (m *ReqWalletSetLabel) XXX_Merge(src proto.Message)
func (*ReqWalletSetLabel) XXX_Size ¶
func (m *ReqWalletSetLabel) XXX_Size() int
func (*ReqWalletSetLabel) XXX_Unmarshal ¶
func (m *ReqWalletSetLabel) XXX_Unmarshal(b []byte) error
type ReqWalletSetPasswd ¶
type ReqWalletSetPasswd struct { OldPass string `protobuf:"bytes,1,opt,name=oldPass,proto3" json:"oldPass,omitempty"` NewPass string `protobuf:"bytes,2,opt,name=newPass,proto3" json:"newPass,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqWalletSetPasswd) Descriptor ¶
func (*ReqWalletSetPasswd) Descriptor() ([]byte, []int)
func (*ReqWalletSetPasswd) GetNewPass ¶
func (m *ReqWalletSetPasswd) GetNewPass() string
func (*ReqWalletSetPasswd) GetOldPass ¶
func (m *ReqWalletSetPasswd) GetOldPass() string
func (*ReqWalletSetPasswd) ProtoMessage ¶
func (*ReqWalletSetPasswd) ProtoMessage()
func (*ReqWalletSetPasswd) Reset ¶
func (m *ReqWalletSetPasswd) Reset()
func (*ReqWalletSetPasswd) String ¶
func (m *ReqWalletSetPasswd) String() string
func (*ReqWalletSetPasswd) XXX_DiscardUnknown ¶
func (m *ReqWalletSetPasswd) XXX_DiscardUnknown()
func (*ReqWalletSetPasswd) XXX_Marshal ¶
func (m *ReqWalletSetPasswd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletSetPasswd) XXX_Merge ¶
func (m *ReqWalletSetPasswd) XXX_Merge(src proto.Message)
func (*ReqWalletSetPasswd) XXX_Size ¶
func (m *ReqWalletSetPasswd) XXX_Size() int
func (*ReqWalletSetPasswd) XXX_Unmarshal ¶
func (m *ReqWalletSetPasswd) XXX_Unmarshal(b []byte) error
type ReqWalletTransactionList ¶
type ReqWalletTransactionList struct { FromTx []byte `protobuf:"bytes,1,opt,name=fromTx,proto3" json:"fromTx,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取钱包交易的详细信息
fromTx : []byte( Sprintf("%018d", height*100000 + index), 表示从高度 height 中的 index 开始获取交易列表; 第一次传参为空,获取最新的交易。) count :获取交易列表的个数。 direction :查找方式;0,上一页;1,下一页。
func (*ReqWalletTransactionList) Descriptor ¶
func (*ReqWalletTransactionList) Descriptor() ([]byte, []int)
func (*ReqWalletTransactionList) GetCount ¶
func (m *ReqWalletTransactionList) GetCount() int32
func (*ReqWalletTransactionList) GetDirection ¶
func (m *ReqWalletTransactionList) GetDirection() int32
func (*ReqWalletTransactionList) GetFromTx ¶
func (m *ReqWalletTransactionList) GetFromTx() []byte
func (*ReqWalletTransactionList) ProtoMessage ¶
func (*ReqWalletTransactionList) ProtoMessage()
func (*ReqWalletTransactionList) Reset ¶
func (m *ReqWalletTransactionList) Reset()
func (*ReqWalletTransactionList) String ¶
func (m *ReqWalletTransactionList) String() string
func (*ReqWalletTransactionList) XXX_DiscardUnknown ¶
func (m *ReqWalletTransactionList) XXX_DiscardUnknown()
func (*ReqWalletTransactionList) XXX_Marshal ¶
func (m *ReqWalletTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqWalletTransactionList) XXX_Merge ¶
func (m *ReqWalletTransactionList) XXX_Merge(src proto.Message)
func (*ReqWalletTransactionList) XXX_Size ¶
func (m *ReqWalletTransactionList) XXX_Size() int
func (*ReqWalletTransactionList) XXX_Unmarshal ¶
func (m *ReqWalletTransactionList) XXX_Unmarshal(b []byte) error
type Request ¶
type Request struct { // Types that are valid to be assigned to Value: // *Request_Client // *Request_Preprepare // *Request_Prepare // *Request_Commit // *Request_Checkpoint // *Request_Viewchange // *Request_Ack // *Request_Newview Value isRequest_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) GetAck ¶
func (m *Request) GetAck() *RequestAck
func (*Request) GetCheckpoint ¶
func (m *Request) GetCheckpoint() *RequestCheckpoint
func (*Request) GetClient ¶
func (m *Request) GetClient() *RequestClient
func (*Request) GetCommit ¶
func (m *Request) GetCommit() *RequestCommit
func (*Request) GetNewview ¶
func (m *Request) GetNewview() *RequestNewView
func (*Request) GetPrepare ¶
func (m *Request) GetPrepare() *RequestPrepare
func (*Request) GetPreprepare ¶
func (m *Request) GetPreprepare() *RequestPrePrepare
func (*Request) GetViewchange ¶
func (m *Request) GetViewchange() *RequestViewChange
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_OneofWrappers ¶
func (*Request) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Request) XXX_Unmarshal ¶
type RequestAck ¶
type RequestAck struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Replica uint32 `protobuf:"varint,2,opt,name=replica,proto3" json:"replica,omitempty"` Viewchanger uint32 `protobuf:"varint,3,opt,name=viewchanger,proto3" json:"viewchanger,omitempty"` Digest []byte `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestAck) Descriptor ¶
func (*RequestAck) Descriptor() ([]byte, []int)
func (*RequestAck) GetDigest ¶
func (m *RequestAck) GetDigest() []byte
func (*RequestAck) GetReplica ¶
func (m *RequestAck) GetReplica() uint32
func (*RequestAck) GetView ¶
func (m *RequestAck) GetView() uint32
func (*RequestAck) GetViewchanger ¶
func (m *RequestAck) GetViewchanger() uint32
func (*RequestAck) ProtoMessage ¶
func (*RequestAck) ProtoMessage()
func (*RequestAck) Reset ¶
func (m *RequestAck) Reset()
func (*RequestAck) String ¶
func (m *RequestAck) String() string
func (*RequestAck) XXX_DiscardUnknown ¶
func (m *RequestAck) XXX_DiscardUnknown()
func (*RequestAck) XXX_Marshal ¶
func (m *RequestAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestAck) XXX_Merge ¶
func (m *RequestAck) XXX_Merge(src proto.Message)
func (*RequestAck) XXX_Size ¶
func (m *RequestAck) XXX_Size() int
func (*RequestAck) XXX_Unmarshal ¶
func (m *RequestAck) XXX_Unmarshal(b []byte) error
type RequestCheckpoint ¶
type RequestCheckpoint struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` Replica uint32 `protobuf:"varint,3,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestCheckpoint) Descriptor ¶
func (*RequestCheckpoint) Descriptor() ([]byte, []int)
func (*RequestCheckpoint) GetDigest ¶
func (m *RequestCheckpoint) GetDigest() []byte
func (*RequestCheckpoint) GetReplica ¶
func (m *RequestCheckpoint) GetReplica() uint32
func (*RequestCheckpoint) GetSequence ¶
func (m *RequestCheckpoint) GetSequence() uint32
func (*RequestCheckpoint) ProtoMessage ¶
func (*RequestCheckpoint) ProtoMessage()
func (*RequestCheckpoint) Reset ¶
func (m *RequestCheckpoint) Reset()
func (*RequestCheckpoint) String ¶
func (m *RequestCheckpoint) String() string
func (*RequestCheckpoint) XXX_DiscardUnknown ¶
func (m *RequestCheckpoint) XXX_DiscardUnknown()
func (*RequestCheckpoint) XXX_Marshal ¶
func (m *RequestCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCheckpoint) XXX_Merge ¶
func (m *RequestCheckpoint) XXX_Merge(src proto.Message)
func (*RequestCheckpoint) XXX_Size ¶
func (m *RequestCheckpoint) XXX_Size() int
func (*RequestCheckpoint) XXX_Unmarshal ¶
func (m *RequestCheckpoint) XXX_Unmarshal(b []byte) error
type RequestClient ¶
type RequestClient struct { Op *Operation `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestClient) Descriptor ¶
func (*RequestClient) Descriptor() ([]byte, []int)
func (*RequestClient) GetClient ¶
func (m *RequestClient) GetClient() string
func (*RequestClient) GetOp ¶
func (m *RequestClient) GetOp() *Operation
func (*RequestClient) GetTimestamp ¶
func (m *RequestClient) GetTimestamp() string
func (*RequestClient) ProtoMessage ¶
func (*RequestClient) ProtoMessage()
func (*RequestClient) Reset ¶
func (m *RequestClient) Reset()
func (*RequestClient) String ¶
func (m *RequestClient) String() string
func (*RequestClient) XXX_DiscardUnknown ¶
func (m *RequestClient) XXX_DiscardUnknown()
func (*RequestClient) XXX_Marshal ¶
func (m *RequestClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestClient) XXX_Merge ¶
func (m *RequestClient) XXX_Merge(src proto.Message)
func (*RequestClient) XXX_Size ¶
func (m *RequestClient) XXX_Size() int
func (*RequestClient) XXX_Unmarshal ¶
func (m *RequestClient) XXX_Unmarshal(b []byte) error
type RequestCommit ¶
type RequestCommit struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` Replica uint32 `protobuf:"varint,3,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestCommit) Descriptor ¶
func (*RequestCommit) Descriptor() ([]byte, []int)
func (*RequestCommit) GetReplica ¶
func (m *RequestCommit) GetReplica() uint32
func (*RequestCommit) GetSequence ¶
func (m *RequestCommit) GetSequence() uint32
func (*RequestCommit) GetView ¶
func (m *RequestCommit) GetView() uint32
func (*RequestCommit) ProtoMessage ¶
func (*RequestCommit) ProtoMessage()
func (*RequestCommit) Reset ¶
func (m *RequestCommit) Reset()
func (*RequestCommit) String ¶
func (m *RequestCommit) String() string
func (*RequestCommit) XXX_DiscardUnknown ¶
func (m *RequestCommit) XXX_DiscardUnknown()
func (*RequestCommit) XXX_Marshal ¶
func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCommit) XXX_Merge ¶
func (m *RequestCommit) XXX_Merge(src proto.Message)
func (*RequestCommit) XXX_Size ¶
func (m *RequestCommit) XXX_Size() int
func (*RequestCommit) XXX_Unmarshal ¶
func (m *RequestCommit) XXX_Unmarshal(b []byte) error
type RequestNewView ¶
type RequestNewView struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Viewchanges []*ViewChange `protobuf:"bytes,2,rep,name=viewchanges,proto3" json:"viewchanges,omitempty"` Summaries []*Summary `protobuf:"bytes,4,rep,name=summaries,proto3" json:"summaries,omitempty"` Replica uint32 `protobuf:"varint,5,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestNewView) Descriptor ¶
func (*RequestNewView) Descriptor() ([]byte, []int)
func (*RequestNewView) GetReplica ¶
func (m *RequestNewView) GetReplica() uint32
func (*RequestNewView) GetSummaries ¶
func (m *RequestNewView) GetSummaries() []*Summary
func (*RequestNewView) GetView ¶
func (m *RequestNewView) GetView() uint32
func (*RequestNewView) GetViewchanges ¶
func (m *RequestNewView) GetViewchanges() []*ViewChange
func (*RequestNewView) ProtoMessage ¶
func (*RequestNewView) ProtoMessage()
func (*RequestNewView) Reset ¶
func (m *RequestNewView) Reset()
func (*RequestNewView) String ¶
func (m *RequestNewView) String() string
func (*RequestNewView) XXX_DiscardUnknown ¶
func (m *RequestNewView) XXX_DiscardUnknown()
func (*RequestNewView) XXX_Marshal ¶
func (m *RequestNewView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestNewView) XXX_Merge ¶
func (m *RequestNewView) XXX_Merge(src proto.Message)
func (*RequestNewView) XXX_Size ¶
func (m *RequestNewView) XXX_Size() int
func (*RequestNewView) XXX_Unmarshal ¶
func (m *RequestNewView) XXX_Unmarshal(b []byte) error
type RequestPrePrepare ¶
type RequestPrePrepare struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` Replica uint32 `protobuf:"varint,4,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestPrePrepare) Descriptor ¶
func (*RequestPrePrepare) Descriptor() ([]byte, []int)
func (*RequestPrePrepare) GetDigest ¶
func (m *RequestPrePrepare) GetDigest() []byte
func (*RequestPrePrepare) GetReplica ¶
func (m *RequestPrePrepare) GetReplica() uint32
func (*RequestPrePrepare) GetSequence ¶
func (m *RequestPrePrepare) GetSequence() uint32
func (*RequestPrePrepare) GetView ¶
func (m *RequestPrePrepare) GetView() uint32
func (*RequestPrePrepare) ProtoMessage ¶
func (*RequestPrePrepare) ProtoMessage()
func (*RequestPrePrepare) Reset ¶
func (m *RequestPrePrepare) Reset()
func (*RequestPrePrepare) String ¶
func (m *RequestPrePrepare) String() string
func (*RequestPrePrepare) XXX_DiscardUnknown ¶
func (m *RequestPrePrepare) XXX_DiscardUnknown()
func (*RequestPrePrepare) XXX_Marshal ¶
func (m *RequestPrePrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestPrePrepare) XXX_Merge ¶
func (m *RequestPrePrepare) XXX_Merge(src proto.Message)
func (*RequestPrePrepare) XXX_Size ¶
func (m *RequestPrePrepare) XXX_Size() int
func (*RequestPrePrepare) XXX_Unmarshal ¶
func (m *RequestPrePrepare) XXX_Unmarshal(b []byte) error
type RequestPrepare ¶
type RequestPrepare struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` Replica uint32 `protobuf:"varint,4,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestPrepare) Descriptor ¶
func (*RequestPrepare) Descriptor() ([]byte, []int)
func (*RequestPrepare) GetDigest ¶
func (m *RequestPrepare) GetDigest() []byte
func (*RequestPrepare) GetReplica ¶
func (m *RequestPrepare) GetReplica() uint32
func (*RequestPrepare) GetSequence ¶
func (m *RequestPrepare) GetSequence() uint32
func (*RequestPrepare) GetView ¶
func (m *RequestPrepare) GetView() uint32
func (*RequestPrepare) ProtoMessage ¶
func (*RequestPrepare) ProtoMessage()
func (*RequestPrepare) Reset ¶
func (m *RequestPrepare) Reset()
func (*RequestPrepare) String ¶
func (m *RequestPrepare) String() string
func (*RequestPrepare) XXX_DiscardUnknown ¶
func (m *RequestPrepare) XXX_DiscardUnknown()
func (*RequestPrepare) XXX_Marshal ¶
func (m *RequestPrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestPrepare) XXX_Merge ¶
func (m *RequestPrepare) XXX_Merge(src proto.Message)
func (*RequestPrepare) XXX_Size ¶
func (m *RequestPrepare) XXX_Size() int
func (*RequestPrepare) XXX_Unmarshal ¶
func (m *RequestPrepare) XXX_Unmarshal(b []byte) error
type RequestViewChange ¶
type RequestViewChange struct { View uint32 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` Checkpoints []*Checkpoint `protobuf:"bytes,3,rep,name=checkpoints,proto3" json:"checkpoints,omitempty"` Preps []*Entry `protobuf:"bytes,4,rep,name=preps,proto3" json:"preps,omitempty"` Prepreps []*Entry `protobuf:"bytes,5,rep,name=prepreps,proto3" json:"prepreps,omitempty"` Replica uint32 `protobuf:"varint,6,opt,name=replica,proto3" json:"replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestViewChange) Descriptor ¶
func (*RequestViewChange) Descriptor() ([]byte, []int)
func (*RequestViewChange) GetCheckpoints ¶
func (m *RequestViewChange) GetCheckpoints() []*Checkpoint
func (*RequestViewChange) GetPrepreps ¶
func (m *RequestViewChange) GetPrepreps() []*Entry
func (*RequestViewChange) GetPreps ¶
func (m *RequestViewChange) GetPreps() []*Entry
func (*RequestViewChange) GetReplica ¶
func (m *RequestViewChange) GetReplica() uint32
func (*RequestViewChange) GetSequence ¶
func (m *RequestViewChange) GetSequence() uint32
func (*RequestViewChange) GetView ¶
func (m *RequestViewChange) GetView() uint32
func (*RequestViewChange) ProtoMessage ¶
func (*RequestViewChange) ProtoMessage()
func (*RequestViewChange) Reset ¶
func (m *RequestViewChange) Reset()
func (*RequestViewChange) String ¶
func (m *RequestViewChange) String() string
func (*RequestViewChange) XXX_DiscardUnknown ¶
func (m *RequestViewChange) XXX_DiscardUnknown()
func (*RequestViewChange) XXX_Marshal ¶
func (m *RequestViewChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestViewChange) XXX_Merge ¶
func (m *RequestViewChange) XXX_Merge(src proto.Message)
func (*RequestViewChange) XXX_Size ¶
func (m *RequestViewChange) XXX_Size() int
func (*RequestViewChange) XXX_Unmarshal ¶
func (m *RequestViewChange) XXX_Unmarshal(b []byte) error
type Request_Ack ¶
type Request_Ack struct {
Ack *RequestAck `protobuf:"bytes,7,opt,name=ack,proto3,oneof"`
}
type Request_Checkpoint ¶
type Request_Checkpoint struct {
Checkpoint *RequestCheckpoint `protobuf:"bytes,5,opt,name=checkpoint,proto3,oneof"`
}
type Request_Client ¶
type Request_Client struct {
Client *RequestClient `protobuf:"bytes,1,opt,name=client,proto3,oneof"`
}
type Request_Commit ¶
type Request_Commit struct {
Commit *RequestCommit `protobuf:"bytes,4,opt,name=commit,proto3,oneof"`
}
type Request_Newview ¶
type Request_Newview struct {
Newview *RequestNewView `protobuf:"bytes,8,opt,name=newview,proto3,oneof"`
}
type Request_Prepare ¶
type Request_Prepare struct {
Prepare *RequestPrepare `protobuf:"bytes,3,opt,name=prepare,proto3,oneof"`
}
type Request_Preprepare ¶
type Request_Preprepare struct {
Preprepare *RequestPrePrepare `protobuf:"bytes,2,opt,name=preprepare,proto3,oneof"`
}
type Request_Viewchange ¶
type Request_Viewchange struct {
Viewchange *RequestViewChange `protobuf:"bytes,6,opt,name=viewchange,proto3,oneof"`
}
type Result ¶
type Result struct { Value *Block `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Result) Descriptor ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) XXX_DiscardUnknown ¶
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶
func (*Result) XXX_Unmarshal ¶
type RingSignature ¶
type RingSignature struct { Items []*RingSignatureItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
环签名类型时,签名字段存储的环签名信息
func (*RingSignature) Descriptor ¶
func (*RingSignature) Descriptor() ([]byte, []int)
func (*RingSignature) GetItems ¶
func (m *RingSignature) GetItems() []*RingSignatureItem
func (*RingSignature) ProtoMessage ¶
func (*RingSignature) ProtoMessage()
func (*RingSignature) Reset ¶
func (m *RingSignature) Reset()
func (*RingSignature) String ¶
func (m *RingSignature) String() string
func (*RingSignature) XXX_DiscardUnknown ¶
func (m *RingSignature) XXX_DiscardUnknown()
func (*RingSignature) XXX_Marshal ¶
func (m *RingSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RingSignature) XXX_Merge ¶
func (m *RingSignature) XXX_Merge(src proto.Message)
func (*RingSignature) XXX_Size ¶
func (m *RingSignature) XXX_Size() int
func (*RingSignature) XXX_Unmarshal ¶
func (m *RingSignature) XXX_Unmarshal(b []byte) error
type RingSignatureItem ¶
type RingSignatureItem struct { Pubkey [][]byte `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"` Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
环签名中的一组签名数据
func (*RingSignatureItem) Descriptor ¶
func (*RingSignatureItem) Descriptor() ([]byte, []int)
func (*RingSignatureItem) GetPubkey ¶
func (m *RingSignatureItem) GetPubkey() [][]byte
func (*RingSignatureItem) GetSignature ¶
func (m *RingSignatureItem) GetSignature() [][]byte
func (*RingSignatureItem) ProtoMessage ¶
func (*RingSignatureItem) ProtoMessage()
func (*RingSignatureItem) Reset ¶
func (m *RingSignatureItem) Reset()
func (*RingSignatureItem) String ¶
func (m *RingSignatureItem) String() string
func (*RingSignatureItem) XXX_DiscardUnknown ¶
func (m *RingSignatureItem) XXX_DiscardUnknown()
func (*RingSignatureItem) XXX_Marshal ¶
func (m *RingSignatureItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RingSignatureItem) XXX_Merge ¶
func (m *RingSignatureItem) XXX_Merge(src proto.Message)
func (*RingSignatureItem) XXX_Size ¶
func (m *RingSignatureItem) XXX_Size() int
func (*RingSignatureItem) XXX_Unmarshal ¶
func (m *RingSignatureItem) XXX_Unmarshal(b []byte) error
type SaveSeedByPw ¶
type SaveSeedByPw struct { Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
存储钱包的种子
seed : 钱包种子 passwd :钱包密码
func (*SaveSeedByPw) Descriptor ¶
func (*SaveSeedByPw) Descriptor() ([]byte, []int)
func (*SaveSeedByPw) GetPasswd ¶
func (m *SaveSeedByPw) GetPasswd() string
func (*SaveSeedByPw) GetSeed ¶
func (m *SaveSeedByPw) GetSeed() string
func (*SaveSeedByPw) ProtoMessage ¶
func (*SaveSeedByPw) ProtoMessage()
func (*SaveSeedByPw) Reset ¶
func (m *SaveSeedByPw) Reset()
func (*SaveSeedByPw) String ¶
func (m *SaveSeedByPw) String() string
func (*SaveSeedByPw) XXX_DiscardUnknown ¶
func (m *SaveSeedByPw) XXX_DiscardUnknown()
func (*SaveSeedByPw) XXX_Marshal ¶
func (m *SaveSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveSeedByPw) XXX_Merge ¶
func (m *SaveSeedByPw) XXX_Merge(src proto.Message)
func (*SaveSeedByPw) XXX_Size ¶
func (m *SaveSeedByPw) XXX_Size() int
func (*SaveSeedByPw) XXX_Unmarshal ¶
func (m *SaveSeedByPw) XXX_Unmarshal(b []byte) error
type ServerTime ¶ added in v1.65.1
type ServerTime struct { CurrentTimestamp int64 `protobuf:"varint,1,opt,name=currentTimestamp,proto3" json:"currentTimestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServerTime) Descriptor ¶ added in v1.65.1
func (*ServerTime) Descriptor() ([]byte, []int)
func (*ServerTime) GetCurrentTimestamp ¶ added in v1.65.1
func (m *ServerTime) GetCurrentTimestamp() int64
func (*ServerTime) ProtoMessage ¶ added in v1.65.1
func (*ServerTime) ProtoMessage()
func (*ServerTime) Reset ¶ added in v1.65.1
func (m *ServerTime) Reset()
func (*ServerTime) String ¶ added in v1.65.1
func (m *ServerTime) String() string
func (*ServerTime) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *ServerTime) XXX_DiscardUnknown()
func (*ServerTime) XXX_Marshal ¶ added in v1.65.1
func (m *ServerTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerTime) XXX_Merge ¶ added in v1.65.1
func (m *ServerTime) XXX_Merge(src proto.Message)
func (*ServerTime) XXX_Size ¶ added in v1.65.1
func (m *ServerTime) XXX_Size() int
func (*ServerTime) XXX_Unmarshal ¶ added in v1.65.1
func (m *ServerTime) XXX_Unmarshal(b []byte) error
type Signature ¶
type Signature struct { Ty int32 `protobuf:"varint,1,opt,name=ty,proto3" json:"ty,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` //当ty为5时,格式应该用RingSignature去解析 Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
对于一个交易组中的交易,要么全部成功,要么全部失败 这个要好好设计一下 最好交易构成一个链条[prevhash].独立的交易构成链条 只要这个组中有一个执行是出错的,那么就执行不成功 三种签名支持 ty = 1 -> secp256k1 ty = 2 -> ed25519 ty = 3 -> sm2 ty = 4 -> OnetimeED25519 ty = 5 -> RingBaseonED25519
func (*Signature) Descriptor ¶
func (*Signature) GetSignature ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
type Store ¶
type Store struct { // 数据存储格式名称,目前支持mavl,kvdb,kvmvcc,mpt Name string `json:"name,omitempty"` // 数据存储驱动类别,目前支持leveldb,goleveldb,memdb,gobadgerdb,ssdb,pegasus Driver string `json:"driver,omitempty"` // 数据文件存储路径 DbPath string `json:"dbPath,omitempty"` // Cache大小 DbCache int32 `json:"dbCache,omitempty"` // 数据库版本 LocalDBVersion string `json:"localdbVersion,omitempty"` // 数据库版本 StoreDBVersion string `json:"storedbVersion,omitempty"` }
Store 配置
type StoreDel ¶
type StoreDel struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreDel) Descriptor ¶
func (*StoreDel) GetStateHash ¶
func (*StoreDel) ProtoMessage ¶
func (*StoreDel) ProtoMessage()
func (*StoreDel) XXX_DiscardUnknown ¶
func (m *StoreDel) XXX_DiscardUnknown()
func (*StoreDel) XXX_Marshal ¶
func (*StoreDel) XXX_Unmarshal ¶
type StoreGet ¶
type StoreGet struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreGet) Descriptor ¶
func (*StoreGet) GetStateHash ¶
func (*StoreGet) ProtoMessage ¶
func (*StoreGet) ProtoMessage()
func (*StoreGet) XXX_DiscardUnknown ¶
func (m *StoreGet) XXX_DiscardUnknown()
func (*StoreGet) XXX_Marshal ¶
func (*StoreGet) XXX_Unmarshal ¶
type StoreList ¶
type StoreList struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` Start []byte `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End []byte `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` Suffix []byte `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"` Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` Mode int64 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreList) Descriptor ¶
func (*StoreList) GetStateHash ¶
func (*StoreList) ProtoMessage ¶
func (*StoreList) ProtoMessage()
func (*StoreList) XXX_DiscardUnknown ¶
func (m *StoreList) XXX_DiscardUnknown()
func (*StoreList) XXX_Marshal ¶
func (*StoreList) XXX_Unmarshal ¶
type StoreListReply ¶
type StoreListReply struct { Start []byte `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End []byte `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` Suffix []byte `protobuf:"bytes,3,opt,name=suffix,proto3" json:"suffix,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Num int64 `protobuf:"varint,5,opt,name=num,proto3" json:"num,omitempty"` Mode int64 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"` NextKey []byte `protobuf:"bytes,7,opt,name=nextKey,proto3" json:"nextKey,omitempty"` Keys [][]byte `protobuf:"bytes,8,rep,name=keys,proto3" json:"keys,omitempty"` Values [][]byte `protobuf:"bytes,9,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreListReply) Descriptor ¶
func (*StoreListReply) Descriptor() ([]byte, []int)
func (*StoreListReply) GetCount ¶
func (m *StoreListReply) GetCount() int64
func (*StoreListReply) GetEnd ¶
func (m *StoreListReply) GetEnd() []byte
func (*StoreListReply) GetKeys ¶
func (m *StoreListReply) GetKeys() [][]byte
func (*StoreListReply) GetMode ¶
func (m *StoreListReply) GetMode() int64
func (*StoreListReply) GetNextKey ¶
func (m *StoreListReply) GetNextKey() []byte
func (*StoreListReply) GetNum ¶
func (m *StoreListReply) GetNum() int64
func (*StoreListReply) GetStart ¶
func (m *StoreListReply) GetStart() []byte
func (*StoreListReply) GetSuffix ¶
func (m *StoreListReply) GetSuffix() []byte
func (*StoreListReply) GetValues ¶
func (m *StoreListReply) GetValues() [][]byte
func (*StoreListReply) ProtoMessage ¶
func (*StoreListReply) ProtoMessage()
func (*StoreListReply) Reset ¶
func (m *StoreListReply) Reset()
func (*StoreListReply) String ¶
func (m *StoreListReply) String() string
func (*StoreListReply) XXX_DiscardUnknown ¶
func (m *StoreListReply) XXX_DiscardUnknown()
func (*StoreListReply) XXX_Marshal ¶
func (m *StoreListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreListReply) XXX_Merge ¶
func (m *StoreListReply) XXX_Merge(src proto.Message)
func (*StoreListReply) XXX_Size ¶
func (m *StoreListReply) XXX_Size() int
func (*StoreListReply) XXX_Unmarshal ¶
func (m *StoreListReply) XXX_Unmarshal(b []byte) error
type StoreNode ¶
type StoreNode struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` LeftHash []byte `protobuf:"bytes,3,opt,name=leftHash,proto3" json:"leftHash,omitempty"` RightHash []byte `protobuf:"bytes,4,opt,name=rightHash,proto3" json:"rightHash,omitempty"` Height int32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Size int32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreNode) Descriptor ¶
func (*StoreNode) GetLeftHash ¶
func (*StoreNode) GetRightHash ¶
func (*StoreNode) ProtoMessage ¶
func (*StoreNode) ProtoMessage()
func (*StoreNode) XXX_DiscardUnknown ¶
func (m *StoreNode) XXX_DiscardUnknown()
func (*StoreNode) XXX_Marshal ¶
func (*StoreNode) XXX_Unmarshal ¶
type StoreReplyValue ¶
type StoreReplyValue struct { Values [][]byte `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreReplyValue) Descriptor ¶
func (*StoreReplyValue) Descriptor() ([]byte, []int)
func (*StoreReplyValue) GetValues ¶
func (m *StoreReplyValue) GetValues() [][]byte
func (*StoreReplyValue) ProtoMessage ¶
func (*StoreReplyValue) ProtoMessage()
func (*StoreReplyValue) Reset ¶
func (m *StoreReplyValue) Reset()
func (*StoreReplyValue) String ¶
func (m *StoreReplyValue) String() string
func (*StoreReplyValue) XXX_DiscardUnknown ¶
func (m *StoreReplyValue) XXX_DiscardUnknown()
func (*StoreReplyValue) XXX_Marshal ¶
func (m *StoreReplyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreReplyValue) XXX_Merge ¶
func (m *StoreReplyValue) XXX_Merge(src proto.Message)
func (*StoreReplyValue) XXX_Size ¶
func (m *StoreReplyValue) XXX_Size() int
func (*StoreReplyValue) XXX_Unmarshal ¶
func (m *StoreReplyValue) XXX_Unmarshal(b []byte) error
type StoreSet ¶
type StoreSet struct { StateHash []byte `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"` KV []*KeyValue `protobuf:"bytes,2,rep,name=KV,proto3" json:"KV,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreSet) Descriptor ¶
func (*StoreSet) GetStateHash ¶
func (*StoreSet) ProtoMessage ¶
func (*StoreSet) ProtoMessage()
func (*StoreSet) XXX_DiscardUnknown ¶
func (m *StoreSet) XXX_DiscardUnknown()
func (*StoreSet) XXX_Marshal ¶
func (*StoreSet) XXX_Unmarshal ¶
type StoreSetWithSync ¶
type StoreSetWithSync struct { Storeset *StoreSet `protobuf:"bytes,1,opt,name=storeset,proto3" json:"storeset,omitempty"` Sync bool `protobuf:"varint,2,opt,name=sync,proto3" json:"sync,omitempty"` Upgrade bool `protobuf:"varint,3,opt,name=upgrade,proto3" json:"upgrade,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreSetWithSync) Descriptor ¶
func (*StoreSetWithSync) Descriptor() ([]byte, []int)
func (*StoreSetWithSync) GetStoreset ¶
func (m *StoreSetWithSync) GetStoreset() *StoreSet
func (*StoreSetWithSync) GetSync ¶
func (m *StoreSetWithSync) GetSync() bool
func (*StoreSetWithSync) GetUpgrade ¶
func (m *StoreSetWithSync) GetUpgrade() bool
func (*StoreSetWithSync) ProtoMessage ¶
func (*StoreSetWithSync) ProtoMessage()
func (*StoreSetWithSync) Reset ¶
func (m *StoreSetWithSync) Reset()
func (*StoreSetWithSync) String ¶
func (m *StoreSetWithSync) String() string
func (*StoreSetWithSync) XXX_DiscardUnknown ¶
func (m *StoreSetWithSync) XXX_DiscardUnknown()
func (*StoreSetWithSync) XXX_Marshal ¶
func (m *StoreSetWithSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreSetWithSync) XXX_Merge ¶
func (m *StoreSetWithSync) XXX_Merge(src proto.Message)
func (*StoreSetWithSync) XXX_Size ¶
func (m *StoreSetWithSync) XXX_Size() int
func (*StoreSetWithSync) XXX_Unmarshal ¶
func (m *StoreSetWithSync) XXX_Unmarshal(b []byte) error
type StoreValuePool ¶
type StoreValuePool struct { Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
用于存储db Pool数据的Value
func (*StoreValuePool) Descriptor ¶
func (*StoreValuePool) Descriptor() ([]byte, []int)
func (*StoreValuePool) GetValues ¶
func (m *StoreValuePool) GetValues() [][]byte
func (*StoreValuePool) ProtoMessage ¶
func (*StoreValuePool) ProtoMessage()
func (*StoreValuePool) Reset ¶
func (m *StoreValuePool) Reset()
func (*StoreValuePool) String ¶
func (m *StoreValuePool) String() string
func (*StoreValuePool) XXX_DiscardUnknown ¶
func (m *StoreValuePool) XXX_DiscardUnknown()
func (*StoreValuePool) XXX_Marshal ¶
func (m *StoreValuePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreValuePool) XXX_Merge ¶
func (m *StoreValuePool) XXX_Merge(src proto.Message)
func (*StoreValuePool) XXX_Size ¶
func (m *StoreValuePool) XXX_Size() int
func (*StoreValuePool) XXX_Unmarshal ¶
func (m *StoreValuePool) XXX_Unmarshal(b []byte) error
type StringConfig ¶
type StringConfig struct { Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringConfig) Descriptor ¶
func (*StringConfig) Descriptor() ([]byte, []int)
func (*StringConfig) GetValue ¶
func (m *StringConfig) GetValue() string
func (*StringConfig) ProtoMessage ¶
func (*StringConfig) ProtoMessage()
func (*StringConfig) Reset ¶
func (m *StringConfig) Reset()
func (*StringConfig) String ¶
func (m *StringConfig) String() string
func (*StringConfig) XXX_DiscardUnknown ¶
func (m *StringConfig) XXX_DiscardUnknown()
func (*StringConfig) XXX_Marshal ¶
func (m *StringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringConfig) XXX_Merge ¶
func (m *StringConfig) XXX_Merge(src proto.Message)
func (*StringConfig) XXX_Size ¶
func (m *StringConfig) XXX_Size() int
func (*StringConfig) XXX_Unmarshal ¶
func (m *StringConfig) XXX_Unmarshal(b []byte) error
type SubTopic ¶ added in v1.65.0
type SubTopic struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubTopic) Descriptor ¶ added in v1.65.0
func (*SubTopic) ProtoMessage ¶ added in v1.65.0
func (*SubTopic) ProtoMessage()
func (*SubTopic) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *SubTopic) XXX_DiscardUnknown()
func (*SubTopic) XXX_Marshal ¶ added in v1.65.0
func (*SubTopic) XXX_Unmarshal ¶ added in v1.65.0
type SubTopicReply ¶ added in v1.65.0
type SubTopicReply struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubTopicReply) Descriptor ¶ added in v1.65.0
func (*SubTopicReply) Descriptor() ([]byte, []int)
func (*SubTopicReply) GetMsg ¶ added in v1.65.0
func (m *SubTopicReply) GetMsg() string
func (*SubTopicReply) GetStatus ¶ added in v1.65.0
func (m *SubTopicReply) GetStatus() bool
func (*SubTopicReply) ProtoMessage ¶ added in v1.65.0
func (*SubTopicReply) ProtoMessage()
func (*SubTopicReply) Reset ¶ added in v1.65.0
func (m *SubTopicReply) Reset()
func (*SubTopicReply) String ¶ added in v1.65.0
func (m *SubTopicReply) String() string
func (*SubTopicReply) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *SubTopicReply) XXX_DiscardUnknown()
func (*SubTopicReply) XXX_Marshal ¶ added in v1.65.0
func (m *SubTopicReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubTopicReply) XXX_Merge ¶ added in v1.65.0
func (m *SubTopicReply) XXX_Merge(src proto.Message)
func (*SubTopicReply) XXX_Size ¶ added in v1.65.0
func (m *SubTopicReply) XXX_Size() int
func (*SubTopicReply) XXX_Unmarshal ¶ added in v1.65.0
func (m *SubTopicReply) XXX_Unmarshal(b []byte) error
type Summary ¶
type Summary struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Summary) Descriptor ¶
func (*Summary) GetSequence ¶
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) XXX_DiscardUnknown ¶
func (m *Summary) XXX_DiscardUnknown()
func (*Summary) XXX_Marshal ¶
func (*Summary) XXX_Unmarshal ¶
type TimeStatus ¶
type TimeStatus struct { NtpTime string `protobuf:"bytes,1,opt,name=ntpTime,proto3" json:"ntpTime,omitempty"` LocalTime string `protobuf:"bytes,2,opt,name=localTime,proto3" json:"localTime,omitempty"` Diff int64 `protobuf:"varint,3,opt,name=diff,proto3" json:"diff,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TimeStatus) Descriptor ¶
func (*TimeStatus) Descriptor() ([]byte, []int)
func (*TimeStatus) GetDiff ¶
func (m *TimeStatus) GetDiff() int64
func (*TimeStatus) GetLocalTime ¶
func (m *TimeStatus) GetLocalTime() string
func (*TimeStatus) GetNtpTime ¶
func (m *TimeStatus) GetNtpTime() string
func (*TimeStatus) ProtoMessage ¶
func (*TimeStatus) ProtoMessage()
func (*TimeStatus) Reset ¶
func (m *TimeStatus) Reset()
func (*TimeStatus) String ¶
func (m *TimeStatus) String() string
func (*TimeStatus) XXX_DiscardUnknown ¶
func (m *TimeStatus) XXX_DiscardUnknown()
func (*TimeStatus) XXX_Marshal ¶
func (m *TimeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeStatus) XXX_Merge ¶
func (m *TimeStatus) XXX_Merge(src proto.Message)
func (*TimeStatus) XXX_Size ¶
func (m *TimeStatus) XXX_Size() int
func (*TimeStatus) XXX_Unmarshal ¶
func (m *TimeStatus) XXX_Unmarshal(b []byte) error
type TopicData ¶ added in v1.65.0
type TopicData struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 接收topic消息
func (*TopicData) Descriptor ¶ added in v1.65.0
func (*TopicData) ProtoMessage ¶ added in v1.65.0
func (*TopicData) ProtoMessage()
func (*TopicData) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *TopicData) XXX_DiscardUnknown()
func (*TopicData) XXX_Marshal ¶ added in v1.65.0
func (*TopicData) XXX_Unmarshal ¶ added in v1.65.0
type TopicList ¶ added in v1.65.0
type TopicList struct { Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TopicList) Descriptor ¶ added in v1.65.0
func (*TopicList) ProtoMessage ¶ added in v1.65.0
func (*TopicList) ProtoMessage()
func (*TopicList) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *TopicList) XXX_DiscardUnknown()
func (*TopicList) XXX_Marshal ¶ added in v1.65.0
func (*TopicList) XXX_Unmarshal ¶ added in v1.65.0
type TotalAmount ¶
type TotalAmount struct { // 统计的总数 Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TotalAmount) Descriptor ¶
func (*TotalAmount) Descriptor() ([]byte, []int)
func (*TotalAmount) GetTotal ¶
func (m *TotalAmount) GetTotal() int64
func (*TotalAmount) ProtoMessage ¶
func (*TotalAmount) ProtoMessage()
func (*TotalAmount) Reset ¶
func (m *TotalAmount) Reset()
func (*TotalAmount) String ¶
func (m *TotalAmount) String() string
func (*TotalAmount) XXX_DiscardUnknown ¶
func (m *TotalAmount) XXX_DiscardUnknown()
func (*TotalAmount) XXX_Marshal ¶
func (m *TotalAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalAmount) XXX_Merge ¶
func (m *TotalAmount) XXX_Merge(src proto.Message)
func (*TotalAmount) XXX_Size ¶
func (m *TotalAmount) XXX_Size() int
func (*TotalAmount) XXX_Unmarshal ¶
func (m *TotalAmount) XXX_Unmarshal(b []byte) error
type TotalFee ¶
type TotalFee struct { Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` TxCount int64 `protobuf:"varint,2,opt,name=txCount,proto3" json:"txCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
手续费
func (*TotalFee) Descriptor ¶
func (*TotalFee) GetTxCount ¶
func (*TotalFee) ProtoMessage ¶
func (*TotalFee) ProtoMessage()
func (*TotalFee) XXX_DiscardUnknown ¶
func (m *TotalFee) XXX_DiscardUnknown()
func (*TotalFee) XXX_Marshal ¶
func (*TotalFee) XXX_Unmarshal ¶
type Transaction ¶
type Transaction struct { Execer []byte `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` Expire int64 `protobuf:"varint,5,opt,name=expire,proto3" json:"expire,omitempty"` //随机ID,可以防止payload 相同的时候,交易重复 Nonce int64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` //对方地址,如果没有对方地址,可以为空 To string `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"` GroupCount int32 `protobuf:"varint,8,opt,name=groupCount,proto3" json:"groupCount,omitempty"` Header []byte `protobuf:"bytes,9,opt,name=header,proto3" json:"header,omitempty"` Next []byte `protobuf:"bytes,10,opt,name=next,proto3" json:"next,omitempty"` ChainID int32 `protobuf:"varint,11,opt,name=chainID,proto3" json:"chainID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func CacheToTxs ¶
func CacheToTxs(caches []*TransactionCache) (txs []*Transaction)
CacheToTxs 从缓存中获取交易信息
func CallCreateTransaction ¶
func CallCreateTransaction(execName, action string, param Message) (*Transaction, error)
CallCreateTransaction 创建一个交易
func CreateFormatTx ¶
func CreateFormatTx(c *Chain33Config, execName string, payload []byte) (*Transaction, error)
CreateFormatTx 构造交易信息
func FormatTx ¶
func FormatTx(c *Chain33Config, execName string, tx *Transaction) (*Transaction, error)
FormatTx 格式化tx交易
func TransactionSort ¶
func TransactionSort(rawtxs []*Transaction) []*Transaction
TransactionSort 对主链以及平行链交易分类 构造一个map用于临时存储各个子链的交易, 按照title分类,主链交易的title设置成main 并对map按照title进行排序,不然每次遍历map顺序会不一致
func (*Transaction) ActionName ¶
func (tx *Transaction) ActionName() string
ActionName 获取tx交易的Actionname
func (*Transaction) Amount ¶
func (tx *Transaction) Amount() (int64, error)
Amount 解析tx的payload获取amount值
func (*Transaction) Check ¶
func (tx *Transaction) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
Check 交易检测
func (*Transaction) Clone ¶
func (tx *Transaction) Clone() *Transaction
Clone copytx := proto.Clone(tx).(*Transaction) too slow
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) FullHash ¶
func (tx *Transaction) FullHash() []byte
FullHash 交易的fullhash包含交易的签名信息
func (*Transaction) GetChainID ¶ added in v1.65.1
func (m *Transaction) GetChainID() int32
func (*Transaction) GetExecer ¶
func (m *Transaction) GetExecer() []byte
func (*Transaction) GetExpire ¶
func (m *Transaction) GetExpire() int64
func (*Transaction) GetFee ¶
func (m *Transaction) GetFee() int64
func (*Transaction) GetGroupCount ¶
func (m *Transaction) GetGroupCount() int32
func (*Transaction) GetHeader ¶
func (m *Transaction) GetHeader() []byte
func (*Transaction) GetNext ¶
func (m *Transaction) GetNext() []byte
func (*Transaction) GetNonce ¶
func (m *Transaction) GetNonce() int64
func (*Transaction) GetPayload ¶
func (m *Transaction) GetPayload() []byte
func (*Transaction) GetRealFee ¶
func (tx *Transaction) GetRealFee(minFee int64) (int64, error)
GetRealFee 获取交易真实费用
func (*Transaction) GetRealToAddr ¶
func (tx *Transaction) GetRealToAddr() string
GetRealToAddr 解析tx的payload获取real to值
func (*Transaction) GetSignature ¶
func (m *Transaction) GetSignature() *Signature
func (*Transaction) GetTo ¶
func (m *Transaction) GetTo() string
func (*Transaction) GetTxGroup ¶
func (tx *Transaction) GetTxGroup() (*Transactions, error)
GetTxGroup 交易组装成交易组格式
func (*Transaction) GetViewFromToAddr ¶
func (tx *Transaction) GetViewFromToAddr() (string, string)
GetViewFromToAddr 解析tx的payload获取view from to 值
func (*Transaction) Hash ¶
func (tx *Transaction) Hash() []byte
Hash 交易的hash不包含header的值,引入tx group的概念后,做了修改
func (*Transaction) HashSign ¶
func (tx *Transaction) HashSign() []byte
HashSign hash 不包含签名,用户通过修改签名无法重新发送交易
func (*Transaction) IsExpire ¶
func (tx *Transaction) IsExpire(cfg *Chain33Config, height, blocktime int64) bool
IsExpire 交易是否过期
func (*Transaction) IsWithdraw ¶
func (tx *Transaction) IsWithdraw() bool
IsWithdraw 判断交易是withdraw交易,需要做from和to地址的swap,方便上层客户理解
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) SetExpire ¶
func (tx *Transaction) SetExpire(cfg *Chain33Config, expire time.Duration)
SetExpire 设置交易过期时间
func (*Transaction) SetRealFee ¶
func (tx *Transaction) SetRealFee(minFee int64) error
SetRealFee 设置交易真实费用
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionCache ¶
type TransactionCache struct { *Transaction // contains filtered or unexported fields }
TransactionCache 交易缓存结构
func NewTransactionCache ¶
func NewTransactionCache(tx *Transaction) *TransactionCache
NewTransactionCache new交易缓存
func TxCacheGet ¶
func TxCacheGet(tx *Transaction) (*TransactionCache, bool)
TxCacheGet 某些交易的cache 加入缓存中,防止重复进行解析或者计算
func TxsToCache ¶
func TxsToCache(txs []*Transaction) (caches []*TransactionCache)
TxsToCache 缓存交易信息
func (*TransactionCache) Check ¶
func (tx *TransactionCache) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
Check 交易缓存中交易组合费用的检测
func (*TransactionCache) GetPayloadValue ¶
func (tx *TransactionCache) GetPayloadValue() (plname string, payload reflect.Value, plerr error)
GetPayloadValue 设置payload 的cache
func (*TransactionCache) GetTotalFee ¶
func (tx *TransactionCache) GetTotalFee(minFee int64) (int64, error)
GetTotalFee 获取交易真实费用
func (*TransactionCache) GetTxGroup ¶
func (tx *TransactionCache) GetTxGroup() (*Transactions, error)
GetTxGroup 获取交易组
func (*TransactionCache) SetPayloadValue ¶
func (tx *TransactionCache) SetPayloadValue(plname string, payload reflect.Value, plerr error)
SetPayloadValue 设置payload 的cache
type TransactionDetail ¶
type TransactionDetail struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Receipt *ReceiptData `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` Proofs [][]byte `protobuf:"bytes,3,rep,name=proofs,proto3" json:"proofs,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Blocktime int64 `protobuf:"varint,6,opt,name=blocktime,proto3" json:"blocktime,omitempty"` Amount int64 `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"` Fromaddr string `protobuf:"bytes,8,opt,name=fromaddr,proto3" json:"fromaddr,omitempty"` ActionName string `protobuf:"bytes,9,opt,name=actionName,proto3" json:"actionName,omitempty"` Assets []*Asset `protobuf:"bytes,10,rep,name=assets,proto3" json:"assets,omitempty"` TxProofs []*TxProof `protobuf:"bytes,11,rep,name=txProofs,proto3" json:"txProofs,omitempty"` FullHash []byte `protobuf:"bytes,12,opt,name=fullHash,proto3" json:"fullHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionDetail) Descriptor ¶
func (*TransactionDetail) Descriptor() ([]byte, []int)
func (*TransactionDetail) GetActionName ¶
func (m *TransactionDetail) GetActionName() string
func (*TransactionDetail) GetAmount ¶
func (m *TransactionDetail) GetAmount() int64
func (*TransactionDetail) GetAssets ¶
func (m *TransactionDetail) GetAssets() []*Asset
func (*TransactionDetail) GetBlocktime ¶
func (m *TransactionDetail) GetBlocktime() int64
func (*TransactionDetail) GetFromaddr ¶
func (m *TransactionDetail) GetFromaddr() string
func (*TransactionDetail) GetFullHash ¶
func (m *TransactionDetail) GetFullHash() []byte
func (*TransactionDetail) GetHeight ¶
func (m *TransactionDetail) GetHeight() int64
func (*TransactionDetail) GetIndex ¶
func (m *TransactionDetail) GetIndex() int64
func (*TransactionDetail) GetProofs ¶
func (m *TransactionDetail) GetProofs() [][]byte
func (*TransactionDetail) GetReceipt ¶
func (m *TransactionDetail) GetReceipt() *ReceiptData
func (*TransactionDetail) GetTx ¶
func (m *TransactionDetail) GetTx() *Transaction
func (*TransactionDetail) GetTxProofs ¶
func (m *TransactionDetail) GetTxProofs() []*TxProof
func (*TransactionDetail) ProtoMessage ¶
func (*TransactionDetail) ProtoMessage()
func (*TransactionDetail) Reset ¶
func (m *TransactionDetail) Reset()
func (*TransactionDetail) String ¶
func (m *TransactionDetail) String() string
func (*TransactionDetail) XXX_DiscardUnknown ¶
func (m *TransactionDetail) XXX_DiscardUnknown()
func (*TransactionDetail) XXX_Marshal ¶
func (m *TransactionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionDetail) XXX_Merge ¶
func (m *TransactionDetail) XXX_Merge(src proto.Message)
func (*TransactionDetail) XXX_Size ¶
func (m *TransactionDetail) XXX_Size() int
func (*TransactionDetail) XXX_Unmarshal ¶
func (m *TransactionDetail) XXX_Unmarshal(b []byte) error
type TransactionDetails ¶
type TransactionDetails struct { Txs []*TransactionDetail `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionDetails) Descriptor ¶
func (*TransactionDetails) Descriptor() ([]byte, []int)
func (*TransactionDetails) GetTxs ¶
func (m *TransactionDetails) GetTxs() []*TransactionDetail
func (*TransactionDetails) ProtoMessage ¶
func (*TransactionDetails) ProtoMessage()
func (*TransactionDetails) Reset ¶
func (m *TransactionDetails) Reset()
func (*TransactionDetails) String ¶
func (m *TransactionDetails) String() string
func (*TransactionDetails) XXX_DiscardUnknown ¶
func (m *TransactionDetails) XXX_DiscardUnknown()
func (*TransactionDetails) XXX_Marshal ¶
func (m *TransactionDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionDetails) XXX_Merge ¶
func (m *TransactionDetails) XXX_Merge(src proto.Message)
func (*TransactionDetails) XXX_Size ¶
func (m *TransactionDetails) XXX_Size() int
func (*TransactionDetails) XXX_Unmarshal ¶
func (m *TransactionDetails) XXX_Unmarshal(b []byte) error
type Transactions ¶
type Transactions struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func CreateTxGroup ¶
func CreateTxGroup(txs []*Transaction, feeRate int64) (*Transactions, error)
CreateTxGroup 创建组交易, feeRate传入交易费率, 建议通过系统GetProperFee获取
func (*Transactions) Check ¶
func (txgroup *Transactions) Check(cfg *Chain33Config, height, minfee, maxFee int64) error
Check height == 0 的时候,不做检查
func (*Transactions) CheckWithFork ¶
func (txgroup *Transactions) CheckWithFork(cfg *Chain33Config, checkFork, paraFork bool, height, minfee, maxFee int64) error
CheckWithFork 和fork 无关的有个检查函数
func (*Transactions) Descriptor ¶
func (*Transactions) Descriptor() ([]byte, []int)
func (*Transactions) GetTxGroup ¶
func (txgroup *Transactions) GetTxGroup() *Transactions
GetTxGroup 获取交易组
func (*Transactions) GetTxs ¶
func (m *Transactions) GetTxs() []*Transaction
func (*Transactions) IsExpire ¶
func (txgroup *Transactions) IsExpire(cfg *Chain33Config, height, blocktime int64) bool
IsExpire 交易是否过期
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) RebuiltGroup ¶
func (txgroup *Transactions) RebuiltGroup()
RebuiltGroup 交易内容有变化时需要重新构建交易组
func (*Transactions) Reset ¶
func (m *Transactions) Reset()
func (*Transactions) SetExpire ¶
func (txgroup *Transactions) SetExpire(cfg *Chain33Config, n int, expire time.Duration)
SetExpire 设置交易组中交易的过期时间
func (*Transactions) String ¶
func (m *Transactions) String() string
func (*Transactions) Tx ¶
func (txgroup *Transactions) Tx() *Transaction
Tx 这比用于检查的交易,包含了所有的交易。 主要是为了兼容原来的设计
func (*Transactions) XXX_DiscardUnknown ¶
func (m *Transactions) XXX_DiscardUnknown()
func (*Transactions) XXX_Marshal ¶
func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transactions) XXX_Merge ¶
func (m *Transactions) XXX_Merge(src proto.Message)
func (*Transactions) XXX_Size ¶
func (m *Transactions) XXX_Size() int
func (*Transactions) XXX_Unmarshal ¶
func (m *Transactions) XXX_Unmarshal(b []byte) error
type TxDetail ¶
type TxDetail struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Tx *Transaction `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` Receipt *ReceiptData `protobuf:"bytes,3,opt,name=receipt,proto3" json:"receipt,omitempty"` Proofs [][]byte `protobuf:"bytes,4,rep,name=proofs,proto3" json:"proofs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
交易的详情: index:本交易在block中索引值,用于proof的证明 tx:本交易内容 receipt:本交易在主链的执行回执 proofs:本交易hash在block中merkel中的路径
func (*TxDetail) Descriptor ¶
func (*TxDetail) GetReceipt ¶
func (m *TxDetail) GetReceipt() *ReceiptData
func (*TxDetail) GetTx ¶
func (m *TxDetail) GetTx() *Transaction
func (*TxDetail) ProtoMessage ¶
func (*TxDetail) ProtoMessage()
func (*TxDetail) XXX_DiscardUnknown ¶
func (m *TxDetail) XXX_DiscardUnknown()
func (*TxDetail) XXX_Marshal ¶
func (*TxDetail) XXX_Unmarshal ¶
type TxGroup ¶
type TxGroup interface { Tx() *Transaction GetTxGroup() (*Transactions, error) CheckSign() bool }
TxGroup 交易组的接口,Transactions 和 Transaction 都符合这个接口
type TxHash ¶
type TxHash struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxHash) Descriptor ¶
func (*TxHash) ProtoMessage ¶
func (*TxHash) ProtoMessage()
func (*TxHash) XXX_DiscardUnknown ¶
func (m *TxHash) XXX_DiscardUnknown()
func (*TxHash) XXX_Marshal ¶
func (*TxHash) XXX_Unmarshal ¶
type TxHashList ¶
type TxHashList struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Expire []int64 `protobuf:"varint,3,rep,packed,name=expire,proto3" json:"expire,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxHashList) Descriptor ¶
func (*TxHashList) Descriptor() ([]byte, []int)
func (*TxHashList) GetCount ¶
func (m *TxHashList) GetCount() int64
func (*TxHashList) GetExpire ¶
func (m *TxHashList) GetExpire() []int64
func (*TxHashList) GetHashes ¶
func (m *TxHashList) GetHashes() [][]byte
func (*TxHashList) ProtoMessage ¶
func (*TxHashList) ProtoMessage()
func (*TxHashList) Reset ¶
func (m *TxHashList) Reset()
func (*TxHashList) String ¶
func (m *TxHashList) String() string
func (*TxHashList) XXX_DiscardUnknown ¶
func (m *TxHashList) XXX_DiscardUnknown()
func (*TxHashList) XXX_Marshal ¶
func (m *TxHashList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxHashList) XXX_Merge ¶
func (m *TxHashList) XXX_Merge(src proto.Message)
func (*TxHashList) XXX_Size ¶
func (m *TxHashList) XXX_Size() int
func (*TxHashList) XXX_Unmarshal ¶
func (m *TxHashList) XXX_Unmarshal(b []byte) error
type TxHashWithReceiptType ¶ added in v1.65.1
type TxHashWithReceiptType struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Ty int32 `protobuf:"varint,2,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxHashWithReceiptType) Descriptor ¶ added in v1.65.1
func (*TxHashWithReceiptType) Descriptor() ([]byte, []int)
func (*TxHashWithReceiptType) GetHash ¶ added in v1.65.1
func (m *TxHashWithReceiptType) GetHash() []byte
func (*TxHashWithReceiptType) GetTy ¶ added in v1.65.1
func (m *TxHashWithReceiptType) GetTy() int32
func (*TxHashWithReceiptType) ProtoMessage ¶ added in v1.65.1
func (*TxHashWithReceiptType) ProtoMessage()
func (*TxHashWithReceiptType) Reset ¶ added in v1.65.1
func (m *TxHashWithReceiptType) Reset()
func (*TxHashWithReceiptType) String ¶ added in v1.65.1
func (m *TxHashWithReceiptType) String() string
func (*TxHashWithReceiptType) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *TxHashWithReceiptType) XXX_DiscardUnknown()
func (*TxHashWithReceiptType) XXX_Marshal ¶ added in v1.65.1
func (m *TxHashWithReceiptType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxHashWithReceiptType) XXX_Merge ¶ added in v1.65.1
func (m *TxHashWithReceiptType) XXX_Merge(src proto.Message)
func (*TxHashWithReceiptType) XXX_Size ¶ added in v1.65.1
func (m *TxHashWithReceiptType) XXX_Size() int
func (*TxHashWithReceiptType) XXX_Unmarshal ¶ added in v1.65.1
func (m *TxHashWithReceiptType) XXX_Unmarshal(b []byte) error
type TxProof ¶
type TxProof struct { Proofs [][]byte `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` RootHash []byte `protobuf:"bytes,3,opt,name=rootHash,proto3" json:"rootHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
使用多层merkle树之后的proof证明结构体
func (*TxProof) Descriptor ¶
func (*TxProof) GetRootHash ¶
func (*TxProof) ProtoMessage ¶
func (*TxProof) ProtoMessage()
func (*TxProof) XXX_DiscardUnknown ¶
func (m *TxProof) XXX_DiscardUnknown()
func (*TxProof) XXX_Marshal ¶
func (*TxProof) XXX_Unmarshal ¶
type TxReceipts4Subscribe ¶ added in v1.65.0
type TxReceipts4Subscribe struct { TxReceipts []*TxReceipts4SubscribePerBlk `protobuf:"bytes,1,rep,name=txReceipts,proto3" json:"txReceipts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxReceipts4Subscribe) Descriptor ¶ added in v1.65.0
func (*TxReceipts4Subscribe) Descriptor() ([]byte, []int)
func (*TxReceipts4Subscribe) GetTxReceipts ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) GetTxReceipts() []*TxReceipts4SubscribePerBlk
func (*TxReceipts4Subscribe) ProtoMessage ¶ added in v1.65.0
func (*TxReceipts4Subscribe) ProtoMessage()
func (*TxReceipts4Subscribe) Reset ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) Reset()
func (*TxReceipts4Subscribe) String ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) String() string
func (*TxReceipts4Subscribe) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) XXX_DiscardUnknown()
func (*TxReceipts4Subscribe) XXX_Marshal ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxReceipts4Subscribe) XXX_Merge ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) XXX_Merge(src proto.Message)
func (*TxReceipts4Subscribe) XXX_Size ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) XXX_Size() int
func (*TxReceipts4Subscribe) XXX_Unmarshal ¶ added in v1.65.0
func (m *TxReceipts4Subscribe) XXX_Unmarshal(b []byte) error
type TxReceipts4SubscribePerBlk ¶ added in v1.65.0
type TxReceipts4SubscribePerBlk struct { Tx []*Transaction `protobuf:"bytes,1,rep,name=tx,proto3" json:"tx,omitempty"` ReceiptData []*ReceiptData `protobuf:"bytes,2,rep,name=receiptData,proto3" json:"receiptData,omitempty"` // repeated KeyValue KV = 3; Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,5,opt,name=blockHash,proto3" json:"blockHash,omitempty"` ParentHash []byte `protobuf:"bytes,6,opt,name=parentHash,proto3" json:"parentHash,omitempty"` PreviousHash []byte `protobuf:"bytes,7,opt,name=previousHash,proto3" json:"previousHash,omitempty"` AddDelType int32 `protobuf:"varint,8,opt,name=addDelType,proto3" json:"addDelType,omitempty"` SeqNum int64 `protobuf:"varint,9,opt,name=seqNum,proto3" json:"seqNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxReceipts4SubscribePerBlk) Descriptor ¶ added in v1.65.0
func (*TxReceipts4SubscribePerBlk) Descriptor() ([]byte, []int)
func (*TxReceipts4SubscribePerBlk) GetAddDelType ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetAddDelType() int32
func (*TxReceipts4SubscribePerBlk) GetBlockHash ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetBlockHash() []byte
func (*TxReceipts4SubscribePerBlk) GetHeight ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetHeight() int64
func (*TxReceipts4SubscribePerBlk) GetParentHash ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetParentHash() []byte
func (*TxReceipts4SubscribePerBlk) GetPreviousHash ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetPreviousHash() []byte
func (*TxReceipts4SubscribePerBlk) GetReceiptData ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetReceiptData() []*ReceiptData
func (*TxReceipts4SubscribePerBlk) GetSeqNum ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetSeqNum() int64
func (*TxReceipts4SubscribePerBlk) GetTx ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) GetTx() []*Transaction
func (*TxReceipts4SubscribePerBlk) ProtoMessage ¶ added in v1.65.0
func (*TxReceipts4SubscribePerBlk) ProtoMessage()
func (*TxReceipts4SubscribePerBlk) Reset ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) Reset()
func (*TxReceipts4SubscribePerBlk) String ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) String() string
func (*TxReceipts4SubscribePerBlk) XXX_DiscardUnknown ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) XXX_DiscardUnknown()
func (*TxReceipts4SubscribePerBlk) XXX_Marshal ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxReceipts4SubscribePerBlk) XXX_Merge ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) XXX_Merge(src proto.Message)
func (*TxReceipts4SubscribePerBlk) XXX_Size ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) XXX_Size() int
func (*TxReceipts4SubscribePerBlk) XXX_Unmarshal ¶ added in v1.65.0
func (m *TxReceipts4SubscribePerBlk) XXX_Unmarshal(b []byte) error
type TxResult ¶
type TxResult struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Tx *Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` Receiptdate *ReceiptData `protobuf:"bytes,4,opt,name=receiptdate,proto3" json:"receiptdate,omitempty"` Blocktime int64 `protobuf:"varint,5,opt,name=blocktime,proto3" json:"blocktime,omitempty"` ActionName string `protobuf:"bytes,6,opt,name=actionName,proto3" json:"actionName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxResult) Descriptor ¶
func (*TxResult) GetActionName ¶
func (*TxResult) GetBlocktime ¶
func (*TxResult) GetReceiptdate ¶
func (m *TxResult) GetReceiptdate() *ReceiptData
func (*TxResult) GetTx ¶
func (m *TxResult) GetTx() *Transaction
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) XXX_DiscardUnknown ¶
func (m *TxResult) XXX_DiscardUnknown()
func (*TxResult) XXX_Marshal ¶
func (*TxResult) XXX_Unmarshal ¶
type TxResultPerBlock ¶ added in v1.65.1
type TxResultPerBlock struct { Items []*TxHashWithReceiptType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` ParentHash []byte `protobuf:"bytes,4,opt,name=parentHash,proto3" json:"parentHash,omitempty"` AddDelType int32 `protobuf:"varint,5,opt,name=addDelType,proto3" json:"addDelType,omitempty"` SeqNum int64 `protobuf:"varint,6,opt,name=seqNum,proto3" json:"seqNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxResultPerBlock) Descriptor ¶ added in v1.65.1
func (*TxResultPerBlock) Descriptor() ([]byte, []int)
func (*TxResultPerBlock) GetAddDelType ¶ added in v1.65.1
func (m *TxResultPerBlock) GetAddDelType() int32
func (*TxResultPerBlock) GetBlockHash ¶ added in v1.65.1
func (m *TxResultPerBlock) GetBlockHash() []byte
func (*TxResultPerBlock) GetHeight ¶ added in v1.65.1
func (m *TxResultPerBlock) GetHeight() int64
func (*TxResultPerBlock) GetItems ¶ added in v1.65.1
func (m *TxResultPerBlock) GetItems() []*TxHashWithReceiptType
func (*TxResultPerBlock) GetParentHash ¶ added in v1.65.1
func (m *TxResultPerBlock) GetParentHash() []byte
func (*TxResultPerBlock) GetSeqNum ¶ added in v1.65.1
func (m *TxResultPerBlock) GetSeqNum() int64
func (*TxResultPerBlock) ProtoMessage ¶ added in v1.65.1
func (*TxResultPerBlock) ProtoMessage()
func (*TxResultPerBlock) Reset ¶ added in v1.65.1
func (m *TxResultPerBlock) Reset()
func (*TxResultPerBlock) String ¶ added in v1.65.1
func (m *TxResultPerBlock) String() string
func (*TxResultPerBlock) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *TxResultPerBlock) XXX_DiscardUnknown()
func (*TxResultPerBlock) XXX_Marshal ¶ added in v1.65.1
func (m *TxResultPerBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxResultPerBlock) XXX_Merge ¶ added in v1.65.1
func (m *TxResultPerBlock) XXX_Merge(src proto.Message)
func (*TxResultPerBlock) XXX_Size ¶ added in v1.65.1
func (m *TxResultPerBlock) XXX_Size() int
func (*TxResultPerBlock) XXX_Unmarshal ¶ added in v1.65.1
func (m *TxResultPerBlock) XXX_Unmarshal(b []byte) error
type TxResultSeqs ¶ added in v1.65.1
type TxResultSeqs struct { Items []*TxResultPerBlock `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxResultSeqs) Descriptor ¶ added in v1.65.1
func (*TxResultSeqs) Descriptor() ([]byte, []int)
func (*TxResultSeqs) GetItems ¶ added in v1.65.1
func (m *TxResultSeqs) GetItems() []*TxResultPerBlock
func (*TxResultSeqs) ProtoMessage ¶ added in v1.65.1
func (*TxResultSeqs) ProtoMessage()
func (*TxResultSeqs) Reset ¶ added in v1.65.1
func (m *TxResultSeqs) Reset()
func (*TxResultSeqs) String ¶ added in v1.65.1
func (m *TxResultSeqs) String() string
func (*TxResultSeqs) XXX_DiscardUnknown ¶ added in v1.65.1
func (m *TxResultSeqs) XXX_DiscardUnknown()
func (*TxResultSeqs) XXX_Marshal ¶ added in v1.65.1
func (m *TxResultSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxResultSeqs) XXX_Merge ¶ added in v1.65.1
func (m *TxResultSeqs) XXX_Merge(src proto.Message)
func (*TxResultSeqs) XXX_Size ¶ added in v1.65.1
func (m *TxResultSeqs) XXX_Size() int
func (*TxResultSeqs) XXX_Unmarshal ¶ added in v1.65.1
func (m *TxResultSeqs) XXX_Unmarshal(b []byte) error
type UnimplementedChain33Server ¶
type UnimplementedChain33Server struct { }
UnimplementedChain33Server can be embedded to have forward compatible implementations.
func (*UnimplementedChain33Server) CloseQueue ¶
func (*UnimplementedChain33Server) CreateNoBalanceTransaction ¶
func (*UnimplementedChain33Server) CreateNoBalanceTransaction(ctx context.Context, req *NoBalanceTx) (*ReplySignRawTx, error)
func (*UnimplementedChain33Server) CreateNoBalanceTxs ¶
func (*UnimplementedChain33Server) CreateNoBalanceTxs(ctx context.Context, req *NoBalanceTxs) (*ReplySignRawTx, error)
func (*UnimplementedChain33Server) CreateRawTransaction ¶
func (*UnimplementedChain33Server) CreateRawTxGroup ¶
func (*UnimplementedChain33Server) CreateRawTxGroup(ctx context.Context, req *CreateTransactionGroup) (*UnsignTx, error)
func (*UnimplementedChain33Server) CreateTransaction ¶
func (*UnimplementedChain33Server) CreateTransaction(ctx context.Context, req *CreateTxIn) (*UnsignTx, error)
func (*UnimplementedChain33Server) DumpPrivkey ¶
func (*UnimplementedChain33Server) DumpPrivkey(ctx context.Context, req *ReqString) (*ReplyString, error)
func (*UnimplementedChain33Server) DumpPrivkeysFile ¶
func (*UnimplementedChain33Server) DumpPrivkeysFile(ctx context.Context, req *ReqPrivkeysFile) (*Reply, error)
func (*UnimplementedChain33Server) ExecWallet ¶
func (*UnimplementedChain33Server) ExecWallet(ctx context.Context, req *ChainExecutor) (*Reply, error)
func (*UnimplementedChain33Server) GenSeed ¶
func (*UnimplementedChain33Server) GenSeed(ctx context.Context, req *GenSeedLang) (*ReplySeed, error)
func (*UnimplementedChain33Server) GetAccount ¶ added in v1.65.0
func (*UnimplementedChain33Server) GetAccount(ctx context.Context, req *ReqGetAccount) (*WalletAccount, error)
func (*UnimplementedChain33Server) GetAccounts ¶
func (*UnimplementedChain33Server) GetAccounts(ctx context.Context, req *ReqNil) (*WalletAccounts, error)
func (*UnimplementedChain33Server) GetAddrOverview ¶
func (*UnimplementedChain33Server) GetAddrOverview(ctx context.Context, req *ReqAddr) (*AddrOverview, error)
func (*UnimplementedChain33Server) GetAllExecBalance ¶
func (*UnimplementedChain33Server) GetAllExecBalance(ctx context.Context, req *ReqAllExecBalance) (*AllExecBalance, error)
func (*UnimplementedChain33Server) GetBalance ¶
func (*UnimplementedChain33Server) GetBalance(ctx context.Context, req *ReqBalance) (*Accounts, error)
func (*UnimplementedChain33Server) GetBlockByHashes ¶
func (*UnimplementedChain33Server) GetBlockByHashes(ctx context.Context, req *ReqHashes) (*BlockDetails, error)
func (*UnimplementedChain33Server) GetBlockBySeq ¶
func (*UnimplementedChain33Server) GetBlockHash ¶
func (*UnimplementedChain33Server) GetBlockOverview ¶
func (*UnimplementedChain33Server) GetBlockOverview(ctx context.Context, req *ReqHash) (*BlockOverview, error)
func (*UnimplementedChain33Server) GetFatalFailure ¶
func (*UnimplementedChain33Server) GetHeaders ¶
func (*UnimplementedChain33Server) GetHexTxByHash ¶
func (*UnimplementedChain33Server) GetLastBlockSequence ¶
func (*UnimplementedChain33Server) GetLastHeader ¶
func (*UnimplementedChain33Server) GetLastMemPool ¶
func (*UnimplementedChain33Server) GetLastMemPool(ctx context.Context, req *ReqNil) (*ReplyTxList, error)
func (*UnimplementedChain33Server) GetMemPool ¶
func (*UnimplementedChain33Server) GetMemPool(ctx context.Context, req *ReqGetMempool) (*ReplyTxList, error)
func (*UnimplementedChain33Server) GetParaTxByHeight ¶
func (*UnimplementedChain33Server) GetParaTxByHeight(ctx context.Context, req *ReqParaTxByHeight) (*ParaTxDetails, error)
func (*UnimplementedChain33Server) GetParaTxByTitle ¶
func (*UnimplementedChain33Server) GetParaTxByTitle(ctx context.Context, req *ReqParaTxByTitle) (*ParaTxDetails, error)
func (*UnimplementedChain33Server) GetPeerInfo ¶
func (*UnimplementedChain33Server) GetPeerInfo(ctx context.Context, req *P2PGetPeerReq) (*PeerList, error)
func (*UnimplementedChain33Server) GetProperFee ¶
func (*UnimplementedChain33Server) GetProperFee(ctx context.Context, req *ReqProperFee) (*ReplyProperFee, error)
func (*UnimplementedChain33Server) GetSeed ¶
func (*UnimplementedChain33Server) GetSeed(ctx context.Context, req *GetSeedByPw) (*ReplySeed, error)
func (*UnimplementedChain33Server) GetSequenceByHash ¶
func (*UnimplementedChain33Server) GetServerTime ¶ added in v1.65.1
func (*UnimplementedChain33Server) GetServerTime(ctx context.Context, req *ReqNil) (*ServerTime, error)
func (*UnimplementedChain33Server) GetTransactionByAddr ¶
func (*UnimplementedChain33Server) GetTransactionByAddr(ctx context.Context, req *ReqAddr) (*ReplyTxInfos, error)
func (*UnimplementedChain33Server) GetTransactionByHashes ¶
func (*UnimplementedChain33Server) GetTransactionByHashes(ctx context.Context, req *ReqHashes) (*TransactionDetails, error)
func (*UnimplementedChain33Server) GetWalletStatus ¶
func (*UnimplementedChain33Server) GetWalletStatus(ctx context.Context, req *ReqNil) (*WalletStatus, error)
func (*UnimplementedChain33Server) ImportPrivkey ¶
func (*UnimplementedChain33Server) ImportPrivkey(ctx context.Context, req *ReqWalletImportPrivkey) (*WalletAccount, error)
func (*UnimplementedChain33Server) ImportPrivkeysFile ¶
func (*UnimplementedChain33Server) ImportPrivkeysFile(ctx context.Context, req *ReqPrivkeysFile) (*Reply, error)
func (*UnimplementedChain33Server) IsNtpClockSync ¶
func (*UnimplementedChain33Server) LoadParaTxByTitle ¶
func (*UnimplementedChain33Server) LoadParaTxByTitle(ctx context.Context, req *ReqHeightByTitle) (*ReplyHeightByTitle, error)
func (*UnimplementedChain33Server) MergeBalance ¶
func (*UnimplementedChain33Server) MergeBalance(ctx context.Context, req *ReqWalletMergeBalance) (*ReplyHashes, error)
func (*UnimplementedChain33Server) NetInfo ¶
func (*UnimplementedChain33Server) NetInfo(ctx context.Context, req *P2PGetNetInfoReq) (*NodeNetInfo, error)
func (*UnimplementedChain33Server) NewAccount ¶
func (*UnimplementedChain33Server) NewAccount(ctx context.Context, req *ReqNewAccount) (*WalletAccount, error)
func (*UnimplementedChain33Server) QueryChain ¶
func (*UnimplementedChain33Server) QueryChain(ctx context.Context, req *ChainExecutor) (*Reply, error)
func (*UnimplementedChain33Server) QueryConsensus ¶
func (*UnimplementedChain33Server) QueryConsensus(ctx context.Context, req *ChainExecutor) (*Reply, error)
func (*UnimplementedChain33Server) QueryRandNum ¶
func (*UnimplementedChain33Server) QueryRandNum(ctx context.Context, req *ReqRandHash) (*ReplyHash, error)
func (*UnimplementedChain33Server) QueryTransaction ¶
func (*UnimplementedChain33Server) QueryTransaction(ctx context.Context, req *ReqHash) (*TransactionDetail, error)
func (*UnimplementedChain33Server) SaveSeed ¶
func (*UnimplementedChain33Server) SaveSeed(ctx context.Context, req *SaveSeedByPw) (*Reply, error)
func (*UnimplementedChain33Server) SendToAddress ¶
func (*UnimplementedChain33Server) SendToAddress(ctx context.Context, req *ReqWalletSendToAddress) (*ReplyHash, error)
func (*UnimplementedChain33Server) SendTransaction ¶
func (*UnimplementedChain33Server) SendTransaction(ctx context.Context, req *Transaction) (*Reply, error)
func (*UnimplementedChain33Server) SendTransactionSync ¶ added in v1.65.1
func (*UnimplementedChain33Server) SendTransactionSync(ctx context.Context, req *Transaction) (*Reply, error)
func (*UnimplementedChain33Server) SetLabl ¶
func (*UnimplementedChain33Server) SetLabl(ctx context.Context, req *ReqWalletSetLabel) (*WalletAccount, error)
func (*UnimplementedChain33Server) SetPasswd ¶
func (*UnimplementedChain33Server) SetPasswd(ctx context.Context, req *ReqWalletSetPasswd) (*Reply, error)
func (*UnimplementedChain33Server) SetTxFee ¶
func (*UnimplementedChain33Server) SetTxFee(ctx context.Context, req *ReqWalletSetFee) (*Reply, error)
func (*UnimplementedChain33Server) SignRawTx ¶
func (*UnimplementedChain33Server) SignRawTx(ctx context.Context, req *ReqSignRawTx) (*ReplySignRawTx, error)
func (*UnimplementedChain33Server) UnLock ¶
func (*UnimplementedChain33Server) UnLock(ctx context.Context, req *WalletUnLock) (*Reply, error)
func (*UnimplementedChain33Server) Version ¶
func (*UnimplementedChain33Server) Version(ctx context.Context, req *ReqNil) (*VersionInfo, error)
func (*UnimplementedChain33Server) WalletTransactionList ¶
func (*UnimplementedChain33Server) WalletTransactionList(ctx context.Context, req *ReqWalletTransactionList) (*WalletTxDetails, error)
type UnimplementedP2PgserviceServer ¶
type UnimplementedP2PgserviceServer struct { }
UnimplementedP2PgserviceServer can be embedded to have forward compatible implementations.
func (*UnimplementedP2PgserviceServer) BroadCastBlock ¶
func (*UnimplementedP2PgserviceServer) BroadCastTx ¶
func (*UnimplementedP2PgserviceServer) CollectInPeers ¶
func (*UnimplementedP2PgserviceServer) CollectInPeers2 ¶
func (*UnimplementedP2PgserviceServer) CollectInPeers2(ctx context.Context, req *P2PPing) (*PeersReply, error)
func (*UnimplementedP2PgserviceServer) GetAddr ¶
func (*UnimplementedP2PgserviceServer) GetAddr(ctx context.Context, req *P2PGetAddr) (*P2PAddr, error)
func (*UnimplementedP2PgserviceServer) GetAddrList ¶
func (*UnimplementedP2PgserviceServer) GetAddrList(ctx context.Context, req *P2PGetAddr) (*P2PAddrList, error)
func (*UnimplementedP2PgserviceServer) GetBlocks ¶
func (*UnimplementedP2PgserviceServer) GetBlocks(ctx context.Context, req *P2PGetBlocks) (*P2PInv, error)
func (*UnimplementedP2PgserviceServer) GetData ¶
func (*UnimplementedP2PgserviceServer) GetData(req *P2PGetData, srv P2Pgservice_GetDataServer) error
func (*UnimplementedP2PgserviceServer) GetHeaders ¶
func (*UnimplementedP2PgserviceServer) GetHeaders(ctx context.Context, req *P2PGetHeaders) (*P2PHeaders, error)
func (*UnimplementedP2PgserviceServer) GetMemPool ¶
func (*UnimplementedP2PgserviceServer) GetMemPool(ctx context.Context, req *P2PGetMempool) (*P2PInv, error)
func (*UnimplementedP2PgserviceServer) GetPeerInfo ¶
func (*UnimplementedP2PgserviceServer) GetPeerInfo(ctx context.Context, req *P2PGetPeerInfo) (*P2PPeerInfo, error)
func (*UnimplementedP2PgserviceServer) ServerStreamRead ¶
func (*UnimplementedP2PgserviceServer) ServerStreamRead(srv P2Pgservice_ServerStreamReadServer) error
func (*UnimplementedP2PgserviceServer) ServerStreamSend ¶
func (*UnimplementedP2PgserviceServer) ServerStreamSend(req *P2PPing, srv P2Pgservice_ServerStreamSendServer) error
func (*UnimplementedP2PgserviceServer) SoftVersion ¶
func (*UnimplementedP2PgserviceServer) Version ¶
func (*UnimplementedP2PgserviceServer) Version(ctx context.Context, req *P2PVersion) (*P2PVerAck, error)
func (*UnimplementedP2PgserviceServer) Version2 ¶
func (*UnimplementedP2PgserviceServer) Version2(ctx context.Context, req *P2PVersion) (*P2PVersion, error)
type UnsignTx ¶
type UnsignTx struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnsignTx) Descriptor ¶
func (*UnsignTx) ProtoMessage ¶
func (*UnsignTx) ProtoMessage()
func (*UnsignTx) XXX_DiscardUnknown ¶
func (m *UnsignTx) XXX_DiscardUnknown()
func (*UnsignTx) XXX_Marshal ¶
func (*UnsignTx) XXX_Unmarshal ¶
type UpgradeMeta ¶
type UpgradeMeta struct { Starting bool `protobuf:"varint,1,opt,name=starting,proto3" json:"starting,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpgradeMeta) Descriptor ¶
func (*UpgradeMeta) Descriptor() ([]byte, []int)
func (*UpgradeMeta) GetHeight ¶
func (m *UpgradeMeta) GetHeight() int64
func (*UpgradeMeta) GetStarting ¶
func (m *UpgradeMeta) GetStarting() bool
func (*UpgradeMeta) GetVersion ¶
func (m *UpgradeMeta) GetVersion() string
func (*UpgradeMeta) ProtoMessage ¶
func (*UpgradeMeta) ProtoMessage()
func (*UpgradeMeta) Reset ¶
func (m *UpgradeMeta) Reset()
func (*UpgradeMeta) String ¶
func (m *UpgradeMeta) String() string
func (*UpgradeMeta) XXX_DiscardUnknown ¶
func (m *UpgradeMeta) XXX_DiscardUnknown()
func (*UpgradeMeta) XXX_Marshal ¶
func (m *UpgradeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeMeta) XXX_Merge ¶
func (m *UpgradeMeta) XXX_Merge(src proto.Message)
func (*UpgradeMeta) XXX_Size ¶
func (m *UpgradeMeta) XXX_Size() int
func (*UpgradeMeta) XXX_Unmarshal ¶
func (m *UpgradeMeta) XXX_Unmarshal(b []byte) error
type UserWrite ¶
type UserWrite struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserWrite) Descriptor ¶
func (*UserWrite) GetContent ¶
func (*UserWrite) ProtoMessage ¶
func (*UserWrite) ProtoMessage()
func (*UserWrite) XXX_DiscardUnknown ¶
func (m *UserWrite) XXX_DiscardUnknown()
func (*UserWrite) XXX_Marshal ¶
func (*UserWrite) XXX_Unmarshal ¶
type VersionInfo ¶
type VersionInfo struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` Chain33 string `protobuf:"bytes,3,opt,name=chain33,proto3" json:"chain33,omitempty"` LocalDb string `protobuf:"bytes,4,opt,name=localDb,proto3" json:"localDb,omitempty"` ChainID int32 `protobuf:"varint,5,opt,name=chainID,proto3" json:"chainID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* 当前软件版本信息
func (*VersionInfo) Descriptor ¶
func (*VersionInfo) Descriptor() ([]byte, []int)
func (*VersionInfo) GetApp ¶
func (m *VersionInfo) GetApp() string
func (*VersionInfo) GetChain33 ¶
func (m *VersionInfo) GetChain33() string
func (*VersionInfo) GetChainID ¶ added in v1.65.1
func (m *VersionInfo) GetChainID() int32
func (*VersionInfo) GetLocalDb ¶
func (m *VersionInfo) GetLocalDb() string
func (*VersionInfo) GetTitle ¶
func (m *VersionInfo) GetTitle() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) Reset ¶
func (m *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (m *VersionInfo) String() string
func (*VersionInfo) XXX_DiscardUnknown ¶
func (m *VersionInfo) XXX_DiscardUnknown()
func (*VersionInfo) XXX_Marshal ¶
func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionInfo) XXX_Merge ¶
func (m *VersionInfo) XXX_Merge(src proto.Message)
func (*VersionInfo) XXX_Size ¶
func (m *VersionInfo) XXX_Size() int
func (*VersionInfo) XXX_Unmarshal ¶
func (m *VersionInfo) XXX_Unmarshal(b []byte) error
type Versions ¶
type Versions struct { P2Pversion int32 `protobuf:"varint,1,opt,name=p2pversion,proto3" json:"p2pversion,omitempty"` Softversion string `protobuf:"bytes,2,opt,name=softversion,proto3" json:"softversion,omitempty"` Peername string `protobuf:"bytes,3,opt,name=peername,proto3" json:"peername,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* p2p 协议和软件版本
func (*Versions) Descriptor ¶
func (*Versions) GetP2Pversion ¶
func (*Versions) GetPeername ¶
func (*Versions) GetSoftversion ¶
func (*Versions) ProtoMessage ¶
func (*Versions) ProtoMessage()
func (*Versions) XXX_DiscardUnknown ¶
func (m *Versions) XXX_DiscardUnknown()
func (*Versions) XXX_Marshal ¶
func (*Versions) XXX_Unmarshal ¶
type ViewChange ¶
type ViewChange struct { Viewchanger uint32 `protobuf:"varint,1,opt,name=viewchanger,proto3" json:"viewchanger,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ViewChange) Descriptor ¶
func (*ViewChange) Descriptor() ([]byte, []int)
func (*ViewChange) GetDigest ¶
func (m *ViewChange) GetDigest() []byte
func (*ViewChange) GetViewchanger ¶
func (m *ViewChange) GetViewchanger() uint32
func (*ViewChange) ProtoMessage ¶
func (*ViewChange) ProtoMessage()
func (*ViewChange) Reset ¶
func (m *ViewChange) Reset()
func (*ViewChange) String ¶
func (m *ViewChange) String() string
func (*ViewChange) XXX_DiscardUnknown ¶
func (m *ViewChange) XXX_DiscardUnknown()
func (*ViewChange) XXX_Marshal ¶
func (m *ViewChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewChange) XXX_Merge ¶
func (m *ViewChange) XXX_Merge(src proto.Message)
func (*ViewChange) XXX_Size ¶
func (m *ViewChange) XXX_Size() int
func (*ViewChange) XXX_Unmarshal ¶
func (m *ViewChange) XXX_Unmarshal(b []byte) error
type Wallet ¶
type Wallet struct { // 交易发送最低手续费,单位0.00000001BTY(1e-8),默认100000,即0.001BTY MinFee int64 `json:"minFee,omitempty"` // walletdb驱动名 Driver string `json:"driver,omitempty"` // walletdb路径 DbPath string `json:"dbPath,omitempty"` // walletdb缓存大小 DbCache int32 `json:"dbCache,omitempty"` // 钱包发送交易签名方式 SignType string `json:"signType,omitempty"` CoinType string `json:"coinType,omitempty"` }
Wallet 配置
type WalletAccount ¶
type WalletAccount struct { Acc *Account `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WalletAccount) Descriptor ¶
func (*WalletAccount) Descriptor() ([]byte, []int)
func (*WalletAccount) GetAcc ¶
func (m *WalletAccount) GetAcc() *Account
func (*WalletAccount) GetLabel ¶
func (m *WalletAccount) GetLabel() string
func (*WalletAccount) ProtoMessage ¶
func (*WalletAccount) ProtoMessage()
func (*WalletAccount) Reset ¶
func (m *WalletAccount) Reset()
func (*WalletAccount) String ¶
func (m *WalletAccount) String() string
func (*WalletAccount) XXX_DiscardUnknown ¶
func (m *WalletAccount) XXX_DiscardUnknown()
func (*WalletAccount) XXX_Marshal ¶
func (m *WalletAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletAccount) XXX_Merge ¶
func (m *WalletAccount) XXX_Merge(src proto.Message)
func (*WalletAccount) XXX_Size ¶
func (m *WalletAccount) XXX_Size() int
func (*WalletAccount) XXX_Unmarshal ¶
func (m *WalletAccount) XXX_Unmarshal(b []byte) error
type WalletAccountStore ¶
type WalletAccountStore struct { Privkey string `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` TimeStamp string `protobuf:"bytes,4,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包模块存贮的账户信息
privkey : 账户地址对应的私钥 label :账户地址对应的标签 addr :账户地址 timeStamp :创建账户时的时标
func (*WalletAccountStore) Descriptor ¶
func (*WalletAccountStore) Descriptor() ([]byte, []int)
func (*WalletAccountStore) GetAddr ¶
func (m *WalletAccountStore) GetAddr() string
func (*WalletAccountStore) GetLabel ¶
func (m *WalletAccountStore) GetLabel() string
func (*WalletAccountStore) GetPrivkey ¶
func (m *WalletAccountStore) GetPrivkey() string
func (*WalletAccountStore) GetTimeStamp ¶
func (m *WalletAccountStore) GetTimeStamp() string
func (*WalletAccountStore) ProtoMessage ¶
func (*WalletAccountStore) ProtoMessage()
func (*WalletAccountStore) Reset ¶
func (m *WalletAccountStore) Reset()
func (*WalletAccountStore) String ¶
func (m *WalletAccountStore) String() string
func (*WalletAccountStore) XXX_DiscardUnknown ¶
func (m *WalletAccountStore) XXX_DiscardUnknown()
func (*WalletAccountStore) XXX_Marshal ¶
func (m *WalletAccountStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletAccountStore) XXX_Merge ¶
func (m *WalletAccountStore) XXX_Merge(src proto.Message)
func (*WalletAccountStore) XXX_Size ¶
func (m *WalletAccountStore) XXX_Size() int
func (*WalletAccountStore) XXX_Unmarshal ¶
func (m *WalletAccountStore) XXX_Unmarshal(b []byte) error
type WalletAccounts ¶
type WalletAccounts struct { Wallets []*WalletAccount `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WalletAccounts) Descriptor ¶
func (*WalletAccounts) Descriptor() ([]byte, []int)
func (*WalletAccounts) GetWallets ¶
func (m *WalletAccounts) GetWallets() []*WalletAccount
func (*WalletAccounts) ProtoMessage ¶
func (*WalletAccounts) ProtoMessage()
func (*WalletAccounts) Reset ¶
func (m *WalletAccounts) Reset()
func (*WalletAccounts) String ¶
func (m *WalletAccounts) String() string
func (*WalletAccounts) XXX_DiscardUnknown ¶
func (m *WalletAccounts) XXX_DiscardUnknown()
func (*WalletAccounts) XXX_Marshal ¶
func (m *WalletAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletAccounts) XXX_Merge ¶
func (m *WalletAccounts) XXX_Merge(src proto.Message)
func (*WalletAccounts) XXX_Size ¶
func (m *WalletAccounts) XXX_Size() int
func (*WalletAccounts) XXX_Unmarshal ¶
func (m *WalletAccounts) XXX_Unmarshal(b []byte) error
type WalletPwHash ¶
type WalletPwHash struct { PwHash []byte `protobuf:"bytes,1,opt,name=pwHash,proto3" json:"pwHash,omitempty"` Randstr string `protobuf:"bytes,2,opt,name=randstr,proto3" json:"randstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包模块通过一个随机值对钱包密码加密
pwHash : 对钱包密码和一个随机值组合进行哈希计算 randstr :对钱包密码加密的一个随机值
func (*WalletPwHash) Descriptor ¶
func (*WalletPwHash) Descriptor() ([]byte, []int)
func (*WalletPwHash) GetPwHash ¶
func (m *WalletPwHash) GetPwHash() []byte
func (*WalletPwHash) GetRandstr ¶
func (m *WalletPwHash) GetRandstr() string
func (*WalletPwHash) ProtoMessage ¶
func (*WalletPwHash) ProtoMessage()
func (*WalletPwHash) Reset ¶
func (m *WalletPwHash) Reset()
func (*WalletPwHash) String ¶
func (m *WalletPwHash) String() string
func (*WalletPwHash) XXX_DiscardUnknown ¶
func (m *WalletPwHash) XXX_DiscardUnknown()
func (*WalletPwHash) XXX_Marshal ¶
func (m *WalletPwHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletPwHash) XXX_Merge ¶
func (m *WalletPwHash) XXX_Merge(src proto.Message)
func (*WalletPwHash) XXX_Size ¶
func (m *WalletPwHash) XXX_Size() int
func (*WalletPwHash) XXX_Unmarshal ¶
func (m *WalletPwHash) XXX_Unmarshal(b []byte) error
type WalletStatus ¶
type WalletStatus struct { IsWalletLock bool `protobuf:"varint,1,opt,name=isWalletLock,proto3" json:"isWalletLock,omitempty"` IsAutoMining bool `protobuf:"varint,2,opt,name=isAutoMining,proto3" json:"isAutoMining,omitempty"` IsHasSeed bool `protobuf:"varint,3,opt,name=isHasSeed,proto3" json:"isHasSeed,omitempty"` IsTicketLock bool `protobuf:"varint,4,opt,name=isTicketLock,proto3" json:"isTicketLock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包当前的状态
isWalletLock : 钱包是否锁状态,true锁定,false解锁 isAutoMining :钱包是否开启挖矿功能,true开启挖矿,false关闭挖矿 isHasSeed : 钱包是否有种子,true已有,false没有 isTicketLock :钱包挖矿买票锁状态,true锁定,false解锁,只能用于挖矿转账
func (*WalletStatus) Descriptor ¶
func (*WalletStatus) Descriptor() ([]byte, []int)
func (*WalletStatus) GetIsAutoMining ¶
func (m *WalletStatus) GetIsAutoMining() bool
func (*WalletStatus) GetIsHasSeed ¶
func (m *WalletStatus) GetIsHasSeed() bool
func (*WalletStatus) GetIsTicketLock ¶
func (m *WalletStatus) GetIsTicketLock() bool
func (*WalletStatus) GetIsWalletLock ¶
func (m *WalletStatus) GetIsWalletLock() bool
func (*WalletStatus) ProtoMessage ¶
func (*WalletStatus) ProtoMessage()
func (*WalletStatus) Reset ¶
func (m *WalletStatus) Reset()
func (*WalletStatus) String ¶
func (m *WalletStatus) String() string
func (*WalletStatus) XXX_DiscardUnknown ¶
func (m *WalletStatus) XXX_DiscardUnknown()
func (*WalletStatus) XXX_Marshal ¶
func (m *WalletStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletStatus) XXX_Merge ¶
func (m *WalletStatus) XXX_Merge(src proto.Message)
func (*WalletStatus) XXX_Size ¶
func (m *WalletStatus) XXX_Size() int
func (*WalletStatus) XXX_Unmarshal ¶
func (m *WalletStatus) XXX_Unmarshal(b []byte) error
type WalletTxDetail ¶
type WalletTxDetail struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Receipt *ReceiptData `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` Blocktime int64 `protobuf:"varint,5,opt,name=blocktime,proto3" json:"blocktime,omitempty"` Amount int64 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` Fromaddr string `protobuf:"bytes,7,opt,name=fromaddr,proto3" json:"fromaddr,omitempty"` Txhash []byte `protobuf:"bytes,8,opt,name=txhash,proto3" json:"txhash,omitempty"` ActionName string `protobuf:"bytes,9,opt,name=actionName,proto3" json:"actionName,omitempty"` Payload []byte `protobuf:"bytes,10,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包模块存贮的tx交易详细信息
tx : tx交易信息 receipt :交易收据信息 height :交易所在的区块高度 index :交易所在区块中的索引 blocktime :交易所在区块的时标 amount :交易量 fromaddr :交易打出地址 txhash : 交易对应的哈希值 actionName :交易对应的函数调用 payload: 保存额外的一些信息,主要是给插件使用
func (*WalletTxDetail) Descriptor ¶
func (*WalletTxDetail) Descriptor() ([]byte, []int)
func (*WalletTxDetail) GetActionName ¶
func (m *WalletTxDetail) GetActionName() string
func (*WalletTxDetail) GetAmount ¶
func (m *WalletTxDetail) GetAmount() int64
func (*WalletTxDetail) GetBlocktime ¶
func (m *WalletTxDetail) GetBlocktime() int64
func (*WalletTxDetail) GetFromaddr ¶
func (m *WalletTxDetail) GetFromaddr() string
func (*WalletTxDetail) GetHeight ¶
func (m *WalletTxDetail) GetHeight() int64
func (*WalletTxDetail) GetIndex ¶
func (m *WalletTxDetail) GetIndex() int64
func (*WalletTxDetail) GetPayload ¶
func (m *WalletTxDetail) GetPayload() []byte
func (*WalletTxDetail) GetReceipt ¶
func (m *WalletTxDetail) GetReceipt() *ReceiptData
func (*WalletTxDetail) GetTx ¶
func (m *WalletTxDetail) GetTx() *Transaction
func (*WalletTxDetail) GetTxhash ¶
func (m *WalletTxDetail) GetTxhash() []byte
func (*WalletTxDetail) ProtoMessage ¶
func (*WalletTxDetail) ProtoMessage()
func (*WalletTxDetail) Reset ¶
func (m *WalletTxDetail) Reset()
func (*WalletTxDetail) String ¶
func (m *WalletTxDetail) String() string
func (*WalletTxDetail) XXX_DiscardUnknown ¶
func (m *WalletTxDetail) XXX_DiscardUnknown()
func (*WalletTxDetail) XXX_Marshal ¶
func (m *WalletTxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletTxDetail) XXX_Merge ¶
func (m *WalletTxDetail) XXX_Merge(src proto.Message)
func (*WalletTxDetail) XXX_Size ¶
func (m *WalletTxDetail) XXX_Size() int
func (*WalletTxDetail) XXX_Unmarshal ¶
func (m *WalletTxDetail) XXX_Unmarshal(b []byte) error
type WalletTxDetails ¶
type WalletTxDetails struct { TxDetails []*WalletTxDetail `protobuf:"bytes,1,rep,name=txDetails,proto3" json:"txDetails,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WalletTxDetails) Descriptor ¶
func (*WalletTxDetails) Descriptor() ([]byte, []int)
func (*WalletTxDetails) GetTxDetails ¶
func (m *WalletTxDetails) GetTxDetails() []*WalletTxDetail
func (*WalletTxDetails) ProtoMessage ¶
func (*WalletTxDetails) ProtoMessage()
func (*WalletTxDetails) Reset ¶
func (m *WalletTxDetails) Reset()
func (*WalletTxDetails) String ¶
func (m *WalletTxDetails) String() string
func (*WalletTxDetails) XXX_DiscardUnknown ¶
func (m *WalletTxDetails) XXX_DiscardUnknown()
func (*WalletTxDetails) XXX_Marshal ¶
func (m *WalletTxDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletTxDetails) XXX_Merge ¶
func (m *WalletTxDetails) XXX_Merge(src proto.Message)
func (*WalletTxDetails) XXX_Size ¶
func (m *WalletTxDetails) XXX_Size() int
func (*WalletTxDetails) XXX_Unmarshal ¶
func (m *WalletTxDetails) XXX_Unmarshal(b []byte) error
type WalletUnLock ¶
type WalletUnLock struct { Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd,omitempty"` Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` WalletOrTicket bool `protobuf:"varint,3,opt,name=walletOrTicket,proto3" json:"walletOrTicket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包解锁
passwd : 钱包密码 timeout :钱包解锁时间,0,一直解锁,非0值,超时之后继续锁定 walletOrTicket :解锁整个钱包还是只解锁挖矿买票功能,1只解锁挖矿买票,0解锁整个钱包
func (*WalletUnLock) Descriptor ¶
func (*WalletUnLock) Descriptor() ([]byte, []int)
func (*WalletUnLock) GetPasswd ¶
func (m *WalletUnLock) GetPasswd() string
func (*WalletUnLock) GetTimeout ¶
func (m *WalletUnLock) GetTimeout() int64
func (*WalletUnLock) GetWalletOrTicket ¶
func (m *WalletUnLock) GetWalletOrTicket() bool
func (*WalletUnLock) ProtoMessage ¶
func (*WalletUnLock) ProtoMessage()
func (*WalletUnLock) Reset ¶
func (m *WalletUnLock) Reset()
func (*WalletUnLock) String ¶
func (m *WalletUnLock) String() string
func (*WalletUnLock) XXX_DiscardUnknown ¶
func (m *WalletUnLock) XXX_DiscardUnknown()
func (*WalletUnLock) XXX_Marshal ¶
func (m *WalletUnLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WalletUnLock) XXX_Merge ¶
func (m *WalletUnLock) XXX_Merge(src proto.Message)
func (*WalletUnLock) XXX_Size ¶
func (m *WalletUnLock) XXX_Size() int
func (*WalletUnLock) XXX_Unmarshal ¶
func (m *WalletUnLock) XXX_Unmarshal(b []byte) error
Source Files ¶
- account.pb.go
- block.go
- blockchain.pb.go
- cfg.go
- common.pb.go
- config.go
- config_mver.go
- const.go
- db.pb.go
- defaultcfg.go
- doc.go
- error.go
- event.go
- executor.go
- executor.pb.go
- fork.go
- localkv.go
- p2p.pb.go
- p2pnext.pb.go
- pbft.pb.go
- push_tx_receipt.pb.go
- reflect.go
- rpc.pb.go
- statistic.pb.go
- time.go
- transaction.pb.go
- tx.go
- types.go
- wallet.pb.go
Directories ¶
Path | Synopsis |
---|---|
Package chaincfg 实现chain33的基础配置相关功能
|
Package chaincfg 实现chain33的基础配置相关功能 |
Package jsonpb provides marshaling and unmarshaling between protocol buffers and JSON.
|
Package jsonpb provides marshaling and unmarshaling between protocol buffers and JSON. |