Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAccountName() []byte
- func (m *Account) GetAddress() []byte
- func (m *Account) GetAllowance() int64
- func (m *Account) GetAsset() map[string]int64
- func (m *Account) GetAssetIssuedName() []byte
- func (m *Account) GetBalance() int64
- func (m *Account) GetCode() []byte
- func (m *Account) GetCreateTime() int64
- func (m *Account) GetFreeAssetNetUsage() map[string]int64
- func (m *Account) GetFreeNetUsage() int64
- func (m *Account) GetFrozen() []*Account_Frozen
- func (m *Account) GetFrozenSupply() []*Account_Frozen
- func (m *Account) GetIsCommittee() bool
- func (m *Account) GetIsWitness() bool
- func (m *Account) GetLatestAssetOperationTime() map[string]int64
- func (m *Account) GetLatestConsumeFreeTime() int64
- func (m *Account) GetLatestConsumeTime() int64
- func (m *Account) GetLatestOprationTime() int64
- func (m *Account) GetLatestWithdrawTime() int64
- func (m *Account) GetNetUsage() int64
- func (m *Account) GetType() AccountType
- func (m *Account) GetVotes() []*Vote
- 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 (dst *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountCreateContract
- func (*AccountCreateContract) Descriptor() ([]byte, []int)
- func (m *AccountCreateContract) GetAccountAddress() []byte
- func (m *AccountCreateContract) GetOwnerAddress() []byte
- func (m *AccountCreateContract) GetType() AccountType
- func (*AccountCreateContract) ProtoMessage()
- func (m *AccountCreateContract) Reset()
- func (m *AccountCreateContract) String() string
- func (m *AccountCreateContract) XXX_DiscardUnknown()
- func (m *AccountCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountCreateContract) XXX_Merge(src proto.Message)
- func (m *AccountCreateContract) XXX_Size() int
- func (m *AccountCreateContract) XXX_Unmarshal(b []byte) error
- type AccountId
- func (*AccountId) Descriptor() ([]byte, []int)
- func (m *AccountId) GetAddress() []byte
- func (m *AccountId) GetName() []byte
- func (*AccountId) ProtoMessage()
- func (m *AccountId) Reset()
- func (m *AccountId) String() string
- func (m *AccountId) XXX_DiscardUnknown()
- func (m *AccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountId) XXX_Merge(src proto.Message)
- func (m *AccountId) XXX_Size() int
- func (m *AccountId) XXX_Unmarshal(b []byte) error
- type AccountType
- type AccountUpdateContract
- func (*AccountUpdateContract) Descriptor() ([]byte, []int)
- func (m *AccountUpdateContract) GetAccountName() []byte
- func (m *AccountUpdateContract) GetOwnerAddress() []byte
- func (*AccountUpdateContract) ProtoMessage()
- func (m *AccountUpdateContract) Reset()
- func (m *AccountUpdateContract) String() string
- func (m *AccountUpdateContract) XXX_DiscardUnknown()
- func (m *AccountUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountUpdateContract) XXX_Merge(src proto.Message)
- func (m *AccountUpdateContract) XXX_Size() int
- func (m *AccountUpdateContract) XXX_Unmarshal(b []byte) error
- type Account_Frozen
- func (*Account_Frozen) Descriptor() ([]byte, []int)
- func (m *Account_Frozen) GetExpireTime() int64
- func (m *Account_Frozen) GetFrozenBalance() int64
- func (*Account_Frozen) ProtoMessage()
- func (m *Account_Frozen) Reset()
- func (m *Account_Frozen) String() string
- func (m *Account_Frozen) XXX_DiscardUnknown()
- func (m *Account_Frozen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Account_Frozen) XXX_Merge(src proto.Message)
- func (m *Account_Frozen) XXX_Size() int
- func (m *Account_Frozen) XXX_Unmarshal(b []byte) error
- type Acuthrity
- func (*Acuthrity) Descriptor() ([]byte, []int)
- func (m *Acuthrity) GetAccount() *AccountId
- func (m *Acuthrity) GetPermissionName() []byte
- func (*Acuthrity) ProtoMessage()
- func (m *Acuthrity) Reset()
- func (m *Acuthrity) String() string
- func (m *Acuthrity) XXX_DiscardUnknown()
- func (m *Acuthrity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acuthrity) XXX_Merge(src proto.Message)
- func (m *Acuthrity) XXX_Size() int
- func (m *Acuthrity) XXX_Unmarshal(b []byte) error
- type AssetIssueContract
- func (*AssetIssueContract) Descriptor() ([]byte, []int)
- func (m *AssetIssueContract) GetAbbr() []byte
- func (m *AssetIssueContract) GetDescription() []byte
- func (m *AssetIssueContract) GetEndTime() int64
- func (m *AssetIssueContract) GetFreeAssetNetLimit() int64
- func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply
- func (m *AssetIssueContract) GetName() []byte
- func (m *AssetIssueContract) GetNum() int32
- func (m *AssetIssueContract) GetOwnerAddress() []byte
- func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64
- func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64
- func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64
- func (m *AssetIssueContract) GetStartTime() int64
- func (m *AssetIssueContract) GetTotalSupply() int64
- func (m *AssetIssueContract) GetTrxNum() int32
- func (m *AssetIssueContract) GetUrl() []byte
- func (m *AssetIssueContract) GetVoteScore() int32
- func (*AssetIssueContract) ProtoMessage()
- func (m *AssetIssueContract) Reset()
- func (m *AssetIssueContract) String() string
- func (m *AssetIssueContract) XXX_DiscardUnknown()
- func (m *AssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssetIssueContract) XXX_Merge(src proto.Message)
- func (m *AssetIssueContract) XXX_Size() int
- func (m *AssetIssueContract) XXX_Unmarshal(b []byte) error
- type AssetIssueContract_FrozenSupply
- func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)
- func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64
- func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64
- func (*AssetIssueContract_FrozenSupply) ProtoMessage()
- func (m *AssetIssueContract_FrozenSupply) Reset()
- func (m *AssetIssueContract_FrozenSupply) String() string
- func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown()
- func (m *AssetIssueContract_FrozenSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssetIssueContract_FrozenSupply) XXX_Merge(src proto.Message)
- func (m *AssetIssueContract_FrozenSupply) XXX_Size() int
- func (m *AssetIssueContract_FrozenSupply) XXX_Unmarshal(b []byte) error
- type BackupMessage
- func (*BackupMessage) Descriptor() ([]byte, []int)
- func (m *BackupMessage) GetFlag() bool
- func (m *BackupMessage) GetPriority() int32
- func (*BackupMessage) ProtoMessage()
- func (m *BackupMessage) Reset()
- func (m *BackupMessage) String() string
- func (m *BackupMessage) XXX_DiscardUnknown()
- func (m *BackupMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BackupMessage) XXX_Merge(src proto.Message)
- func (m *BackupMessage) XXX_Size() int
- func (m *BackupMessage) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBlockHeader() *BlockHeader
- func (m *Block) GetTransactions() []*Transaction
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetRawData() *BlockHeaderRaw
- func (m *BlockHeader) GetWitnessSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) String() string
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BlockHeaderRaw
- func (*BlockHeaderRaw) Descriptor() ([]byte, []int)
- func (m *BlockHeaderRaw) GetNumber() int64
- func (m *BlockHeaderRaw) GetParentHash() []byte
- func (m *BlockHeaderRaw) GetTimestamp() int64
- func (m *BlockHeaderRaw) GetTxTrieRoot() []byte
- func (m *BlockHeaderRaw) GetWitnessAddress() []byte
- func (m *BlockHeaderRaw) GetWitnessId() int64
- func (*BlockHeaderRaw) ProtoMessage()
- func (m *BlockHeaderRaw) Reset()
- func (m *BlockHeaderRaw) String() string
- func (m *BlockHeaderRaw) XXX_DiscardUnknown()
- func (m *BlockHeaderRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeaderRaw) XXX_Merge(src proto.Message)
- func (m *BlockHeaderRaw) XXX_Size() int
- func (m *BlockHeaderRaw) XXX_Unmarshal(b []byte) error
- type BlockInventory
- func (*BlockInventory) Descriptor() ([]byte, []int)
- func (m *BlockInventory) GetIds() []*BlockInventory_BlockId
- func (m *BlockInventory) GetType() BlockInventory_Type
- func (*BlockInventory) ProtoMessage()
- func (m *BlockInventory) Reset()
- func (m *BlockInventory) String() string
- func (m *BlockInventory) XXX_DiscardUnknown()
- func (m *BlockInventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockInventory) XXX_Merge(src proto.Message)
- func (m *BlockInventory) XXX_Size() int
- func (m *BlockInventory) XXX_Unmarshal(b []byte) error
- type BlockInventory_BlockId
- func (*BlockInventory_BlockId) Descriptor() ([]byte, []int)
- func (m *BlockInventory_BlockId) GetHash() []byte
- func (m *BlockInventory_BlockId) GetNumber() int64
- func (*BlockInventory_BlockId) ProtoMessage()
- func (m *BlockInventory_BlockId) Reset()
- func (m *BlockInventory_BlockId) String() string
- func (m *BlockInventory_BlockId) XXX_DiscardUnknown()
- func (m *BlockInventory_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockInventory_BlockId) XXX_Merge(src proto.Message)
- func (m *BlockInventory_BlockId) XXX_Size() int
- func (m *BlockInventory_BlockId) XXX_Unmarshal(b []byte) error
- type BlockInventory_Type
- type ChainInventory
- func (*ChainInventory) Descriptor() ([]byte, []int)
- func (m *ChainInventory) GetIds() []*ChainInventory_BlockId
- func (m *ChainInventory) GetRemainNum() int64
- func (*ChainInventory) ProtoMessage()
- func (m *ChainInventory) Reset()
- func (m *ChainInventory) String() string
- func (m *ChainInventory) XXX_DiscardUnknown()
- func (m *ChainInventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChainInventory) XXX_Merge(src proto.Message)
- func (m *ChainInventory) XXX_Size() int
- func (m *ChainInventory) XXX_Unmarshal(b []byte) error
- type ChainInventory_BlockId
- func (*ChainInventory_BlockId) Descriptor() ([]byte, []int)
- func (m *ChainInventory_BlockId) GetHash() []byte
- func (m *ChainInventory_BlockId) GetNumber() int64
- func (*ChainInventory_BlockId) ProtoMessage()
- func (m *ChainInventory_BlockId) Reset()
- func (m *ChainInventory_BlockId) String() string
- func (m *ChainInventory_BlockId) XXX_DiscardUnknown()
- func (m *ChainInventory_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChainInventory_BlockId) XXX_Merge(src proto.Message)
- func (m *ChainInventory_BlockId) XXX_Size() int
- func (m *ChainInventory_BlockId) XXX_Unmarshal(b []byte) error
- type DeployContract
- func (*DeployContract) Descriptor() ([]byte, []int)
- func (m *DeployContract) GetOwnerAddress() []byte
- func (m *DeployContract) GetScript() []byte
- func (*DeployContract) ProtoMessage()
- func (m *DeployContract) Reset()
- func (m *DeployContract) String() string
- func (m *DeployContract) XXX_DiscardUnknown()
- func (m *DeployContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeployContract) XXX_Merge(src proto.Message)
- func (m *DeployContract) XXX_Size() int
- func (m *DeployContract) XXX_Unmarshal(b []byte) error
- type DisconnectMessage
- func (*DisconnectMessage) Descriptor() ([]byte, []int)
- func (m *DisconnectMessage) GetReason() ReasonCode
- func (*DisconnectMessage) ProtoMessage()
- func (m *DisconnectMessage) Reset()
- func (m *DisconnectMessage) String() string
- func (m *DisconnectMessage) XXX_DiscardUnknown()
- func (m *DisconnectMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DisconnectMessage) XXX_Merge(src proto.Message)
- func (m *DisconnectMessage) XXX_Size() int
- func (m *DisconnectMessage) XXX_Unmarshal(b []byte) error
- type DynamicProperties
- func (*DynamicProperties) Descriptor() ([]byte, []int)
- func (m *DynamicProperties) GetLastSolidityBlockNum() int64
- func (*DynamicProperties) ProtoMessage()
- func (m *DynamicProperties) Reset()
- func (m *DynamicProperties) String() string
- func (m *DynamicProperties) XXX_DiscardUnknown()
- func (m *DynamicProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DynamicProperties) XXX_Merge(src proto.Message)
- func (m *DynamicProperties) XXX_Size() int
- func (m *DynamicProperties) XXX_Unmarshal(b []byte) error
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) GetAddress() []byte
- func (m *Endpoint) GetNodeId() []byte
- func (m *Endpoint) GetPort() int32
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) String() string
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type FindNeighbours
- func (*FindNeighbours) Descriptor() ([]byte, []int)
- func (m *FindNeighbours) GetFrom() *Endpoint
- func (m *FindNeighbours) GetTargetId() []byte
- func (m *FindNeighbours) GetTimestamp() int64
- func (*FindNeighbours) ProtoMessage()
- func (m *FindNeighbours) Reset()
- func (m *FindNeighbours) String() string
- func (m *FindNeighbours) XXX_DiscardUnknown()
- func (m *FindNeighbours) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindNeighbours) XXX_Merge(src proto.Message)
- func (m *FindNeighbours) XXX_Size() int
- func (m *FindNeighbours) XXX_Unmarshal(b []byte) error
- type FreezeBalanceContract
- func (*FreezeBalanceContract) Descriptor() ([]byte, []int)
- func (m *FreezeBalanceContract) GetFrozenBalance() int64
- func (m *FreezeBalanceContract) GetFrozenDuration() int64
- func (m *FreezeBalanceContract) GetOwnerAddress() []byte
- func (*FreezeBalanceContract) ProtoMessage()
- func (m *FreezeBalanceContract) Reset()
- func (m *FreezeBalanceContract) String() string
- func (m *FreezeBalanceContract) XXX_DiscardUnknown()
- func (m *FreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FreezeBalanceContract) XXX_Merge(src proto.Message)
- func (m *FreezeBalanceContract) XXX_Size() int
- func (m *FreezeBalanceContract) XXX_Unmarshal(b []byte) error
- type HelloMessage
- func (*HelloMessage) Descriptor() ([]byte, []int)
- func (m *HelloMessage) GetFrom() *Endpoint
- func (m *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
- func (m *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
- func (m *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
- func (m *HelloMessage) GetTimestamp() int64
- func (m *HelloMessage) GetVersion() int32
- func (*HelloMessage) ProtoMessage()
- func (m *HelloMessage) Reset()
- func (m *HelloMessage) String() string
- func (m *HelloMessage) XXX_DiscardUnknown()
- func (m *HelloMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HelloMessage) XXX_Merge(src proto.Message)
- func (m *HelloMessage) XXX_Size() int
- func (m *HelloMessage) XXX_Unmarshal(b []byte) error
- type HelloMessage_BlockId
- func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)
- func (m *HelloMessage_BlockId) GetHash() []byte
- func (m *HelloMessage_BlockId) GetNumber() int64
- func (*HelloMessage_BlockId) ProtoMessage()
- func (m *HelloMessage_BlockId) Reset()
- func (m *HelloMessage_BlockId) String() string
- func (m *HelloMessage_BlockId) XXX_DiscardUnknown()
- func (m *HelloMessage_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HelloMessage_BlockId) XXX_Merge(src proto.Message)
- func (m *HelloMessage_BlockId) XXX_Size() int
- func (m *HelloMessage_BlockId) XXX_Unmarshal(b []byte) error
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)
- func (m *Inventory) GetIds() [][]byte
- func (m *Inventory) GetType() Inventory_InventoryType
- 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 (dst *Inventory) XXX_Merge(src proto.Message)
- func (m *Inventory) XXX_Size() int
- func (m *Inventory) XXX_Unmarshal(b []byte) error
- type InventoryItems
- func (*InventoryItems) Descriptor() ([]byte, []int)
- func (m *InventoryItems) GetItems() [][]byte
- func (m *InventoryItems) GetType() int32
- func (*InventoryItems) ProtoMessage()
- func (m *InventoryItems) Reset()
- func (m *InventoryItems) String() string
- func (m *InventoryItems) XXX_DiscardUnknown()
- func (m *InventoryItems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InventoryItems) XXX_Merge(src proto.Message)
- func (m *InventoryItems) XXX_Size() int
- func (m *InventoryItems) XXX_Unmarshal(b []byte) error
- type Inventory_InventoryType
- type Items
- func (*Items) Descriptor() ([]byte, []int)
- func (m *Items) GetBlockHeaders() []*BlockHeader
- func (m *Items) GetBlocks() []*Block
- func (m *Items) GetTransactions() []*Transaction
- func (m *Items) GetType() Items_ItemType
- func (*Items) ProtoMessage()
- func (m *Items) Reset()
- func (m *Items) String() string
- func (m *Items) XXX_DiscardUnknown()
- func (m *Items) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Items) XXX_Merge(src proto.Message)
- func (m *Items) XXX_Size() int
- func (m *Items) XXX_Unmarshal(b []byte) error
- type Items_ItemType
- type Neighbours
- func (*Neighbours) Descriptor() ([]byte, []int)
- func (m *Neighbours) GetFrom() *Endpoint
- func (m *Neighbours) GetNeighbours() []*Endpoint
- func (m *Neighbours) GetTimestamp() int64
- func (*Neighbours) ProtoMessage()
- func (m *Neighbours) Reset()
- func (m *Neighbours) String() string
- func (m *Neighbours) XXX_DiscardUnknown()
- func (m *Neighbours) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Neighbours) XXX_Merge(src proto.Message)
- func (m *Neighbours) XXX_Size() int
- func (m *Neighbours) XXX_Unmarshal(b []byte) error
- type ParticipateAssetIssueContract
- func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)
- func (m *ParticipateAssetIssueContract) GetAmount() int64
- func (m *ParticipateAssetIssueContract) GetAssetName() []byte
- func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte
- func (m *ParticipateAssetIssueContract) GetToAddress() []byte
- func (*ParticipateAssetIssueContract) ProtoMessage()
- func (m *ParticipateAssetIssueContract) Reset()
- func (m *ParticipateAssetIssueContract) String() string
- func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown()
- func (m *ParticipateAssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ParticipateAssetIssueContract) XXX_Merge(src proto.Message)
- func (m *ParticipateAssetIssueContract) XXX_Size() int
- func (m *ParticipateAssetIssueContract) XXX_Unmarshal(b []byte) error
- type Permision
- func (*Permision) Descriptor() ([]byte, []int)
- func (m *Permision) GetAccount() *AccountId
- func (*Permision) ProtoMessage()
- func (m *Permision) Reset()
- func (m *Permision) String() string
- func (m *Permision) XXX_DiscardUnknown()
- func (m *Permision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Permision) XXX_Merge(src proto.Message)
- func (m *Permision) XXX_Size() int
- func (m *Permision) XXX_Unmarshal(b []byte) error
- type PingMessage
- func (*PingMessage) Descriptor() ([]byte, []int)
- func (m *PingMessage) GetFrom() *Endpoint
- func (m *PingMessage) GetTimestamp() int64
- func (m *PingMessage) GetTo() *Endpoint
- func (m *PingMessage) GetVersion() int32
- func (*PingMessage) ProtoMessage()
- func (m *PingMessage) Reset()
- func (m *PingMessage) String() string
- func (m *PingMessage) XXX_DiscardUnknown()
- func (m *PingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingMessage) XXX_Merge(src proto.Message)
- func (m *PingMessage) XXX_Size() int
- func (m *PingMessage) XXX_Unmarshal(b []byte) error
- type PongMessage
- func (*PongMessage) Descriptor() ([]byte, []int)
- func (m *PongMessage) GetEcho() int32
- func (m *PongMessage) GetFrom() *Endpoint
- func (m *PongMessage) GetTimestamp() int64
- func (*PongMessage) ProtoMessage()
- func (m *PongMessage) Reset()
- func (m *PongMessage) String() string
- func (m *PongMessage) XXX_DiscardUnknown()
- func (m *PongMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PongMessage) XXX_Merge(src proto.Message)
- func (m *PongMessage) XXX_Size() int
- func (m *PongMessage) XXX_Unmarshal(b []byte) error
- type ReasonCode
- type TXInput
- func (*TXInput) Descriptor() ([]byte, []int)
- func (m *TXInput) GetRawData() *TXInputRaw
- func (m *TXInput) GetSignature() []byte
- func (*TXInput) ProtoMessage()
- func (m *TXInput) Reset()
- func (m *TXInput) String() string
- func (m *TXInput) XXX_DiscardUnknown()
- func (m *TXInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXInput) XXX_Merge(src proto.Message)
- func (m *TXInput) XXX_Size() int
- func (m *TXInput) XXX_Unmarshal(b []byte) error
- type TXInputRaw
- func (*TXInputRaw) Descriptor() ([]byte, []int)
- func (m *TXInputRaw) GetPubKey() []byte
- func (m *TXInputRaw) GetTxID() []byte
- func (m *TXInputRaw) GetVout() int64
- func (*TXInputRaw) ProtoMessage()
- func (m *TXInputRaw) Reset()
- func (m *TXInputRaw) String() string
- func (m *TXInputRaw) XXX_DiscardUnknown()
- func (m *TXInputRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXInputRaw) XXX_Merge(src proto.Message)
- func (m *TXInputRaw) XXX_Size() int
- func (m *TXInputRaw) XXX_Unmarshal(b []byte) error
- type TXOutput
- func (*TXOutput) Descriptor() ([]byte, []int)
- func (m *TXOutput) GetPubKeyHash() []byte
- func (m *TXOutput) GetValue() int64
- func (*TXOutput) ProtoMessage()
- func (m *TXOutput) Reset()
- func (m *TXOutput) String() string
- func (m *TXOutput) XXX_DiscardUnknown()
- func (m *TXOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXOutput) XXX_Merge(src proto.Message)
- func (m *TXOutput) XXX_Size() int
- func (m *TXOutput) XXX_Unmarshal(b []byte) error
- type TXOutputs
- func (*TXOutputs) Descriptor() ([]byte, []int)
- func (m *TXOutputs) GetOutputs() []*TXOutput
- func (*TXOutputs) ProtoMessage()
- func (m *TXOutputs) Reset()
- func (m *TXOutputs) String() string
- func (m *TXOutputs) XXX_DiscardUnknown()
- func (m *TXOutputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXOutputs) XXX_Merge(src proto.Message)
- func (m *TXOutputs) XXX_Size() int
- func (m *TXOutputs) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetRawData() *TransactionRaw
- func (m *Transaction) GetRet() []*Transaction_Result
- func (m *Transaction) GetSignature() [][]byte
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionInfo
- func (*TransactionInfo) Descriptor() ([]byte, []int)
- func (m *TransactionInfo) GetBlockNumber() int64
- func (m *TransactionInfo) GetBlockTimeStamp() int64
- func (m *TransactionInfo) GetFee() int64
- func (m *TransactionInfo) GetId() []byte
- func (*TransactionInfo) ProtoMessage()
- func (m *TransactionInfo) Reset()
- func (m *TransactionInfo) String() string
- func (m *TransactionInfo) XXX_DiscardUnknown()
- func (m *TransactionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionInfo) XXX_Merge(src proto.Message)
- func (m *TransactionInfo) XXX_Size() int
- func (m *TransactionInfo) XXX_Unmarshal(b []byte) error
- type TransactionRaw
- func (*TransactionRaw) Descriptor() ([]byte, []int)
- func (m *TransactionRaw) GetAuths() []*Acuthrity
- func (m *TransactionRaw) GetContract() []*Transaction_Contract
- func (m *TransactionRaw) GetData() []byte
- func (m *TransactionRaw) GetExpiration() int64
- func (m *TransactionRaw) GetRefBlockBytes() []byte
- func (m *TransactionRaw) GetRefBlockHash() []byte
- func (m *TransactionRaw) GetRefBlockNum() int64
- func (m *TransactionRaw) GetScripts() []byte
- func (m *TransactionRaw) GetTimestamp() int64
- func (*TransactionRaw) ProtoMessage()
- func (m *TransactionRaw) Reset()
- func (m *TransactionRaw) String() string
- func (m *TransactionRaw) XXX_DiscardUnknown()
- func (m *TransactionRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionRaw) XXX_Merge(src proto.Message)
- func (m *TransactionRaw) XXX_Size() int
- func (m *TransactionRaw) XXX_Unmarshal(b []byte) error
- type TransactionSign
- func (*TransactionSign) Descriptor() ([]byte, []int)
- func (m *TransactionSign) GetPrivateKey() []byte
- func (m *TransactionSign) GetTransaction() *Transaction
- func (*TransactionSign) ProtoMessage()
- func (m *TransactionSign) Reset()
- func (m *TransactionSign) String() string
- func (m *TransactionSign) XXX_DiscardUnknown()
- func (m *TransactionSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionSign) XXX_Merge(src proto.Message)
- func (m *TransactionSign) XXX_Size() int
- func (m *TransactionSign) XXX_Unmarshal(b []byte) error
- type Transaction_Contract
- func (*Transaction_Contract) Descriptor() ([]byte, []int)
- func (m *Transaction_Contract) GetContractName() []byte
- func (m *Transaction_Contract) GetParameter() *any.Any
- func (m *Transaction_Contract) GetProvider() []byte
- func (m *Transaction_Contract) GetType() Transaction_Contract_ContractType
- func (*Transaction_Contract) ProtoMessage()
- func (m *Transaction_Contract) Reset()
- func (m *Transaction_Contract) String() string
- func (m *Transaction_Contract) XXX_DiscardUnknown()
- func (m *Transaction_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction_Contract) XXX_Merge(src proto.Message)
- func (m *Transaction_Contract) XXX_Size() int
- func (m *Transaction_Contract) XXX_Unmarshal(b []byte) error
- type Transaction_Contract_ContractType
- type Transaction_Result
- func (*Transaction_Result) Descriptor() ([]byte, []int)
- func (m *Transaction_Result) GetFee() int64
- func (m *Transaction_Result) GetRet() Transaction_ResultCode
- func (*Transaction_Result) ProtoMessage()
- func (m *Transaction_Result) Reset()
- func (m *Transaction_Result) String() string
- func (m *Transaction_Result) XXX_DiscardUnknown()
- func (m *Transaction_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction_Result) XXX_Merge(src proto.Message)
- func (m *Transaction_Result) XXX_Size() int
- func (m *Transaction_Result) XXX_Unmarshal(b []byte) error
- type Transaction_ResultCode
- type Transactions
- func (*Transactions) Descriptor() ([]byte, []int)
- func (m *Transactions) GetTransactions() []*Transaction
- func (*Transactions) ProtoMessage()
- func (m *Transactions) Reset()
- func (m *Transactions) String() string
- func (m *Transactions) XXX_DiscardUnknown()
- func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transactions) XXX_Merge(src proto.Message)
- func (m *Transactions) XXX_Size() int
- func (m *Transactions) XXX_Unmarshal(b []byte) error
- type TransferAssetContract
- func (*TransferAssetContract) Descriptor() ([]byte, []int)
- func (m *TransferAssetContract) GetAmount() int64
- func (m *TransferAssetContract) GetAssetName() []byte
- func (m *TransferAssetContract) GetOwnerAddress() []byte
- func (m *TransferAssetContract) GetToAddress() []byte
- func (*TransferAssetContract) ProtoMessage()
- func (m *TransferAssetContract) Reset()
- func (m *TransferAssetContract) String() string
- func (m *TransferAssetContract) XXX_DiscardUnknown()
- func (m *TransferAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransferAssetContract) XXX_Merge(src proto.Message)
- func (m *TransferAssetContract) XXX_Size() int
- func (m *TransferAssetContract) XXX_Unmarshal(b []byte) error
- type TransferContract
- func (*TransferContract) Descriptor() ([]byte, []int)
- func (m *TransferContract) GetAmount() int64
- func (m *TransferContract) GetOwnerAddress() []byte
- func (m *TransferContract) GetToAddress() []byte
- func (*TransferContract) ProtoMessage()
- func (m *TransferContract) Reset()
- func (m *TransferContract) String() string
- func (m *TransferContract) XXX_DiscardUnknown()
- func (m *TransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransferContract) XXX_Merge(src proto.Message)
- func (m *TransferContract) XXX_Size() int
- func (m *TransferContract) XXX_Unmarshal(b []byte) error
- type UnfreezeAssetContract
- func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)
- func (m *UnfreezeAssetContract) GetOwnerAddress() []byte
- func (*UnfreezeAssetContract) ProtoMessage()
- func (m *UnfreezeAssetContract) Reset()
- func (m *UnfreezeAssetContract) String() string
- func (m *UnfreezeAssetContract) XXX_DiscardUnknown()
- func (m *UnfreezeAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeAssetContract) XXX_Merge(src proto.Message)
- func (m *UnfreezeAssetContract) XXX_Size() int
- func (m *UnfreezeAssetContract) XXX_Unmarshal(b []byte) error
- type UnfreezeBalanceContract
- func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)
- func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte
- func (*UnfreezeBalanceContract) ProtoMessage()
- func (m *UnfreezeBalanceContract) Reset()
- func (m *UnfreezeBalanceContract) String() string
- func (m *UnfreezeBalanceContract) XXX_DiscardUnknown()
- func (m *UnfreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeBalanceContract) XXX_Merge(src proto.Message)
- func (m *UnfreezeBalanceContract) XXX_Size() int
- func (m *UnfreezeBalanceContract) XXX_Unmarshal(b []byte) error
- type UpdateAssetContract
- func (*UpdateAssetContract) Descriptor() ([]byte, []int)
- func (m *UpdateAssetContract) GetDescription() []byte
- func (m *UpdateAssetContract) GetNewLimit() int64
- func (m *UpdateAssetContract) GetNewPublicLimit() int64
- func (m *UpdateAssetContract) GetOwnerAddress() []byte
- func (m *UpdateAssetContract) GetUrl() []byte
- func (*UpdateAssetContract) ProtoMessage()
- func (m *UpdateAssetContract) Reset()
- func (m *UpdateAssetContract) String() string
- func (m *UpdateAssetContract) XXX_DiscardUnknown()
- func (m *UpdateAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateAssetContract) XXX_Merge(src proto.Message)
- func (m *UpdateAssetContract) XXX_Size() int
- func (m *UpdateAssetContract) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetVoteAddress() []byte
- func (m *Vote) GetVoteCount() int64
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) String() string
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type VoteAssetContract
- func (*VoteAssetContract) Descriptor() ([]byte, []int)
- func (m *VoteAssetContract) GetCount() int32
- func (m *VoteAssetContract) GetOwnerAddress() []byte
- func (m *VoteAssetContract) GetSupport() bool
- func (m *VoteAssetContract) GetVoteAddress() [][]byte
- func (*VoteAssetContract) ProtoMessage()
- func (m *VoteAssetContract) Reset()
- func (m *VoteAssetContract) String() string
- func (m *VoteAssetContract) XXX_DiscardUnknown()
- func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VoteAssetContract) XXX_Merge(src proto.Message)
- func (m *VoteAssetContract) XXX_Size() int
- func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error
- type VoteWitnessContract
- func (*VoteWitnessContract) Descriptor() ([]byte, []int)
- func (m *VoteWitnessContract) GetOwnerAddress() []byte
- func (m *VoteWitnessContract) GetSupport() bool
- func (m *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
- func (*VoteWitnessContract) ProtoMessage()
- func (m *VoteWitnessContract) Reset()
- func (m *VoteWitnessContract) String() string
- func (m *VoteWitnessContract) XXX_DiscardUnknown()
- func (m *VoteWitnessContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VoteWitnessContract) XXX_Merge(src proto.Message)
- func (m *VoteWitnessContract) XXX_Size() int
- func (m *VoteWitnessContract) XXX_Unmarshal(b []byte) error
- type VoteWitnessContract_Vote
- func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)
- func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte
- func (m *VoteWitnessContract_Vote) GetVoteCount() int64
- func (*VoteWitnessContract_Vote) ProtoMessage()
- func (m *VoteWitnessContract_Vote) Reset()
- func (m *VoteWitnessContract_Vote) String() string
- func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown()
- func (m *VoteWitnessContract_Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VoteWitnessContract_Vote) XXX_Merge(src proto.Message)
- func (m *VoteWitnessContract_Vote) XXX_Size() int
- func (m *VoteWitnessContract_Vote) XXX_Unmarshal(b []byte) error
- type Votes
- func (*Votes) Descriptor() ([]byte, []int)
- func (m *Votes) GetAddress() []byte
- func (m *Votes) GetNewVotes() []*Vote
- func (m *Votes) GetOldVotes() []*Vote
- func (*Votes) ProtoMessage()
- func (m *Votes) Reset()
- func (m *Votes) String() string
- func (m *Votes) XXX_DiscardUnknown()
- func (m *Votes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Votes) XXX_Merge(src proto.Message)
- func (m *Votes) XXX_Size() int
- func (m *Votes) XXX_Unmarshal(b []byte) error
- type WithdrawBalanceContract
- func (*WithdrawBalanceContract) Descriptor() ([]byte, []int)
- func (m *WithdrawBalanceContract) GetOwnerAddress() []byte
- func (*WithdrawBalanceContract) ProtoMessage()
- func (m *WithdrawBalanceContract) Reset()
- func (m *WithdrawBalanceContract) String() string
- func (m *WithdrawBalanceContract) XXX_DiscardUnknown()
- func (m *WithdrawBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WithdrawBalanceContract) XXX_Merge(src proto.Message)
- func (m *WithdrawBalanceContract) XXX_Size() int
- func (m *WithdrawBalanceContract) XXX_Unmarshal(b []byte) error
- type Witness
- func (*Witness) Descriptor() ([]byte, []int)
- func (m *Witness) GetAddress() []byte
- func (m *Witness) GetIsJobs() bool
- func (m *Witness) GetLatestBlockNum() int64
- func (m *Witness) GetLatestSlotNum() int64
- func (m *Witness) GetPubKey() []byte
- func (m *Witness) GetTotalMissed() int64
- func (m *Witness) GetTotalProduced() int64
- func (m *Witness) GetUrl() string
- func (m *Witness) GetVoteCount() int64
- func (*Witness) ProtoMessage()
- func (m *Witness) Reset()
- func (m *Witness) String() string
- func (m *Witness) XXX_DiscardUnknown()
- func (m *Witness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Witness) XXX_Merge(src proto.Message)
- func (m *Witness) XXX_Size() int
- func (m *Witness) XXX_Unmarshal(b []byte) error
- type WitnessCreateContract
- func (*WitnessCreateContract) Descriptor() ([]byte, []int)
- func (m *WitnessCreateContract) GetOwnerAddress() []byte
- func (m *WitnessCreateContract) GetUrl() []byte
- func (*WitnessCreateContract) ProtoMessage()
- func (m *WitnessCreateContract) Reset()
- func (m *WitnessCreateContract) String() string
- func (m *WitnessCreateContract) XXX_DiscardUnknown()
- func (m *WitnessCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WitnessCreateContract) XXX_Merge(src proto.Message)
- func (m *WitnessCreateContract) XXX_Size() int
- func (m *WitnessCreateContract) XXX_Unmarshal(b []byte) error
- type WitnessUpdateContract
- func (*WitnessUpdateContract) Descriptor() ([]byte, []int)
- func (m *WitnessUpdateContract) GetOwnerAddress() []byte
- func (m *WitnessUpdateContract) GetUpdateUrl() []byte
- func (*WitnessUpdateContract) ProtoMessage()
- func (m *WitnessUpdateContract) Reset()
- func (m *WitnessUpdateContract) String() string
- func (m *WitnessUpdateContract) XXX_DiscardUnknown()
- func (m *WitnessUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WitnessUpdateContract) XXX_Merge(src proto.Message)
- func (m *WitnessUpdateContract) XXX_Size() int
- func (m *WitnessUpdateContract) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AccountType_name = map[int32]string{
0: "Normal",
1: "AssetIssue",
2: "Contract",
}
View Source
var AccountType_value = map[string]int32{
"Normal": 0,
"AssetIssue": 1,
"Contract": 2,
}
View Source
var BlockInventory_Type_name = map[int32]string{
0: "SYNC",
1: "ADVTISE",
2: "FETCH",
}
View Source
var BlockInventory_Type_value = map[string]int32{
"SYNC": 0,
"ADVTISE": 1,
"FETCH": 2,
}
View Source
var Inventory_InventoryType_name = map[int32]string{
0: "TRX",
1: "BLOCK",
}
View Source
var Inventory_InventoryType_value = map[string]int32{
"TRX": 0,
"BLOCK": 1,
}
View Source
var Items_ItemType_name = map[int32]string{
0: "ERR",
1: "TRX",
2: "BLOCK",
3: "BLOCKHEADER",
}
View Source
var Items_ItemType_value = map[string]int32{
"ERR": 0,
"TRX": 1,
"BLOCK": 2,
"BLOCKHEADER": 3,
}
View Source
var ReasonCode_name = map[int32]string{
0: "REQUESTED",
2: "BAD_PROTOCOL",
4: "TOO_MANY_PEERS",
5: "DUPLICATE_PEER",
6: "INCOMPATIBLE_PROTOCOL",
7: "NULL_IDENTITY",
8: "PEER_QUITING",
9: "UNEXPECTED_IDENTITY",
10: "LOCAL_IDENTITY",
11: "PING_TIMEOUT",
16: "USER_REASON",
17: "RESET",
18: "SYNC_FAIL",
19: "FETCH_FAIL",
20: "BAD_TX",
21: "BAD_BLOCK",
22: "FORKED",
23: "UNLINKABLE",
24: "INCOMPATIBLE_VERSION",
25: "INCOMPATIBLE_CHAIN",
32: "TIME_OUT",
33: "CONNECT_FAIL",
34: "TOO_MANY_PEERS_WITH_SAME_IP",
255: "UNKNOWN",
}
View Source
var ReasonCode_value = map[string]int32{
"REQUESTED": 0,
"BAD_PROTOCOL": 2,
"TOO_MANY_PEERS": 4,
"DUPLICATE_PEER": 5,
"INCOMPATIBLE_PROTOCOL": 6,
"NULL_IDENTITY": 7,
"PEER_QUITING": 8,
"UNEXPECTED_IDENTITY": 9,
"LOCAL_IDENTITY": 10,
"PING_TIMEOUT": 11,
"USER_REASON": 16,
"RESET": 17,
"SYNC_FAIL": 18,
"FETCH_FAIL": 19,
"BAD_TX": 20,
"BAD_BLOCK": 21,
"FORKED": 22,
"UNLINKABLE": 23,
"INCOMPATIBLE_VERSION": 24,
"INCOMPATIBLE_CHAIN": 25,
"TIME_OUT": 32,
"CONNECT_FAIL": 33,
"TOO_MANY_PEERS_WITH_SAME_IP": 34,
"UNKNOWN": 255,
}
View Source
var Transaction_Contract_ContractType_name = map[int32]string{
0: "AccountCreateContract",
1: "TransferContract",
2: "TransferAssetContract",
3: "VoteAssetContract",
4: "VoteWitnessContract",
5: "WitnessCreateContract",
6: "AssetIssueContract",
7: "DeployContract",
8: "WitnessUpdateContract",
9: "ParticipateAssetIssueContract",
10: "AccountUpdateContract",
11: "FreezeBalanceContract",
12: "UnfreezeBalanceContract",
13: "WithdrawBalanceContract",
14: "UnfreezeAssetContract",
15: "UpdateAssetContract",
20: "CustomContract",
}
View Source
var Transaction_Contract_ContractType_value = map[string]int32{
"AccountCreateContract": 0,
"TransferContract": 1,
"TransferAssetContract": 2,
"VoteAssetContract": 3,
"VoteWitnessContract": 4,
"WitnessCreateContract": 5,
"AssetIssueContract": 6,
"DeployContract": 7,
"WitnessUpdateContract": 8,
"ParticipateAssetIssueContract": 9,
"AccountUpdateContract": 10,
"FreezeBalanceContract": 11,
"UnfreezeBalanceContract": 12,
"WithdrawBalanceContract": 13,
"UnfreezeAssetContract": 14,
"UpdateAssetContract": 15,
"CustomContract": 20,
}
View Source
var Transaction_ResultCode_name = map[int32]string{
0: "SUCESS",
1: "FAILED",
}
View Source
var Transaction_ResultCode_value = map[string]int32{
"SUCESS": 0,
"FAILED": 1,
}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` // the create address Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // the trx balance Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` // the votes Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` // the other asset owned by this account Asset map[string]int64 `` /* 152-byte string literal not displayed */ // latest asset operation time // the frozen balance Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` // bandwidth, get from frozen NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` // this account create time CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // this last operation time, including transfer, voting and so on. //FIXME fix grammar LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` // witness block producing allowance Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` // last withdraw time LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` // not used so far Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` // frozen asset(for asset issuer) FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` // asset_issued_name AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` LatestAssetOperationTime map[string]int64 `` /* 227-byte string literal not displayed */ FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` FreeAssetNetUsage map[string]int64 `` /* 206-byte string literal not displayed */ LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` LatestConsumeFreeTime int64 `` /* 130-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Account
func (*Account) Descriptor ¶
func (*Account) GetAccountName ¶
func (*Account) GetAddress ¶
func (*Account) GetAllowance ¶
func (*Account) GetAssetIssuedName ¶
func (*Account) GetBalance ¶
func (*Account) GetCreateTime ¶
func (*Account) GetFreeAssetNetUsage ¶
func (*Account) GetFreeNetUsage ¶
func (*Account) GetFrozen ¶
func (m *Account) GetFrozen() []*Account_Frozen
func (*Account) GetFrozenSupply ¶
func (m *Account) GetFrozenSupply() []*Account_Frozen
func (*Account) GetIsCommittee ¶
func (*Account) GetIsWitness ¶
func (*Account) GetLatestAssetOperationTime ¶
func (*Account) GetLatestConsumeFreeTime ¶
func (*Account) GetLatestConsumeTime ¶
func (*Account) GetLatestOprationTime ¶
func (*Account) GetLatestWithdrawTime ¶
func (*Account) GetNetUsage ¶
func (*Account) GetType ¶
func (m *Account) GetType() AccountType
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountCreateContract ¶
type AccountCreateContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountCreateContract) Descriptor ¶
func (*AccountCreateContract) Descriptor() ([]byte, []int)
func (*AccountCreateContract) GetAccountAddress ¶
func (m *AccountCreateContract) GetAccountAddress() []byte
func (*AccountCreateContract) GetOwnerAddress ¶
func (m *AccountCreateContract) GetOwnerAddress() []byte
func (*AccountCreateContract) GetType ¶
func (m *AccountCreateContract) GetType() AccountType
func (*AccountCreateContract) ProtoMessage ¶
func (*AccountCreateContract) ProtoMessage()
func (*AccountCreateContract) Reset ¶
func (m *AccountCreateContract) Reset()
func (*AccountCreateContract) String ¶
func (m *AccountCreateContract) String() string
func (*AccountCreateContract) XXX_DiscardUnknown ¶
func (m *AccountCreateContract) XXX_DiscardUnknown()
func (*AccountCreateContract) XXX_Marshal ¶
func (m *AccountCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCreateContract) XXX_Merge ¶
func (dst *AccountCreateContract) XXX_Merge(src proto.Message)
func (*AccountCreateContract) XXX_Size ¶
func (m *AccountCreateContract) XXX_Size() int
func (*AccountCreateContract) XXX_Unmarshal ¶
func (m *AccountCreateContract) XXX_Unmarshal(b []byte) error
type AccountId ¶
type AccountId struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AccountId, (name, address) use name, (null, address) use address, (name, null) use name,
func (*AccountId) Descriptor ¶
func (*AccountId) GetAddress ¶
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) XXX_DiscardUnknown ¶
func (m *AccountId) XXX_DiscardUnknown()
func (*AccountId) XXX_Marshal ¶
func (*AccountId) XXX_Unmarshal ¶
type AccountType ¶
type AccountType int32
const ( AccountType_Normal AccountType = 0 AccountType_AssetIssue AccountType = 1 AccountType_Contract AccountType = 2 )
func (AccountType) EnumDescriptor ¶
func (AccountType) EnumDescriptor() ([]byte, []int)
func (AccountType) String ¶
func (x AccountType) String() string
type AccountUpdateContract ¶
type AccountUpdateContract struct { AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
update account name if the account has no name.
func (*AccountUpdateContract) Descriptor ¶
func (*AccountUpdateContract) Descriptor() ([]byte, []int)
func (*AccountUpdateContract) GetAccountName ¶
func (m *AccountUpdateContract) GetAccountName() []byte
func (*AccountUpdateContract) GetOwnerAddress ¶
func (m *AccountUpdateContract) GetOwnerAddress() []byte
func (*AccountUpdateContract) ProtoMessage ¶
func (*AccountUpdateContract) ProtoMessage()
func (*AccountUpdateContract) Reset ¶
func (m *AccountUpdateContract) Reset()
func (*AccountUpdateContract) String ¶
func (m *AccountUpdateContract) String() string
func (*AccountUpdateContract) XXX_DiscardUnknown ¶
func (m *AccountUpdateContract) XXX_DiscardUnknown()
func (*AccountUpdateContract) XXX_Marshal ¶
func (m *AccountUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUpdateContract) XXX_Merge ¶
func (dst *AccountUpdateContract) XXX_Merge(src proto.Message)
func (*AccountUpdateContract) XXX_Size ¶
func (m *AccountUpdateContract) XXX_Size() int
func (*AccountUpdateContract) XXX_Unmarshal ¶
func (m *AccountUpdateContract) XXX_Unmarshal(b []byte) error
type Account_Frozen ¶
type Account_Frozen struct { // the frozen trx balance FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the expire time ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
frozen balance
func (*Account_Frozen) Descriptor ¶
func (*Account_Frozen) Descriptor() ([]byte, []int)
func (*Account_Frozen) GetExpireTime ¶
func (m *Account_Frozen) GetExpireTime() int64
func (*Account_Frozen) GetFrozenBalance ¶
func (m *Account_Frozen) GetFrozenBalance() int64
func (*Account_Frozen) ProtoMessage ¶
func (*Account_Frozen) ProtoMessage()
func (*Account_Frozen) Reset ¶
func (m *Account_Frozen) Reset()
func (*Account_Frozen) String ¶
func (m *Account_Frozen) String() string
func (*Account_Frozen) XXX_DiscardUnknown ¶
func (m *Account_Frozen) XXX_DiscardUnknown()
func (*Account_Frozen) XXX_Marshal ¶
func (m *Account_Frozen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Account_Frozen) XXX_Merge ¶
func (dst *Account_Frozen) XXX_Merge(src proto.Message)
func (*Account_Frozen) XXX_Size ¶
func (m *Account_Frozen) XXX_Size() int
func (*Account_Frozen) XXX_Unmarshal ¶
func (m *Account_Frozen) XXX_Unmarshal(b []byte) error
type Acuthrity ¶
type Acuthrity struct { Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FIXME authority?
func (*Acuthrity) Descriptor ¶
func (*Acuthrity) GetAccount ¶
func (*Acuthrity) GetPermissionName ¶
func (*Acuthrity) ProtoMessage ¶
func (*Acuthrity) ProtoMessage()
func (*Acuthrity) XXX_DiscardUnknown ¶
func (m *Acuthrity) XXX_DiscardUnknown()
func (*Acuthrity) XXX_Marshal ¶
func (*Acuthrity) XXX_Unmarshal ¶
type AssetIssueContract ¶
type AssetIssueContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Abbr []byte `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"` TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` FrozenSupply []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` TrxNum int32 `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty"` Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` StartTime int64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` VoteScore int32 `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty"` Description []byte `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"` Url []byte `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty"` FreeAssetNetLimit int64 `protobuf:"varint,22,opt,name=free_asset_net_limit,json=freeAssetNetLimit,proto3" json:"free_asset_net_limit,omitempty"` PublicFreeAssetNetLimit int64 `` /* 138-byte string literal not displayed */ PublicFreeAssetNetUsage int64 `` /* 138-byte string literal not displayed */ PublicLatestFreeNetTime int64 `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetIssueContract) Descriptor ¶
func (*AssetIssueContract) Descriptor() ([]byte, []int)
func (*AssetIssueContract) GetAbbr ¶
func (m *AssetIssueContract) GetAbbr() []byte
func (*AssetIssueContract) GetDescription ¶
func (m *AssetIssueContract) GetDescription() []byte
func (*AssetIssueContract) GetEndTime ¶
func (m *AssetIssueContract) GetEndTime() int64
func (*AssetIssueContract) GetFreeAssetNetLimit ¶
func (m *AssetIssueContract) GetFreeAssetNetLimit() int64
func (*AssetIssueContract) GetFrozenSupply ¶
func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply
func (*AssetIssueContract) GetName ¶
func (m *AssetIssueContract) GetName() []byte
func (*AssetIssueContract) GetNum ¶
func (m *AssetIssueContract) GetNum() int32
func (*AssetIssueContract) GetOwnerAddress ¶
func (m *AssetIssueContract) GetOwnerAddress() []byte
func (*AssetIssueContract) GetPublicFreeAssetNetLimit ¶
func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64
func (*AssetIssueContract) GetPublicFreeAssetNetUsage ¶
func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64
func (*AssetIssueContract) GetPublicLatestFreeNetTime ¶
func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64
func (*AssetIssueContract) GetStartTime ¶
func (m *AssetIssueContract) GetStartTime() int64
func (*AssetIssueContract) GetTotalSupply ¶
func (m *AssetIssueContract) GetTotalSupply() int64
func (*AssetIssueContract) GetTrxNum ¶
func (m *AssetIssueContract) GetTrxNum() int32
func (*AssetIssueContract) GetUrl ¶
func (m *AssetIssueContract) GetUrl() []byte
func (*AssetIssueContract) GetVoteScore ¶
func (m *AssetIssueContract) GetVoteScore() int32
func (*AssetIssueContract) ProtoMessage ¶
func (*AssetIssueContract) ProtoMessage()
func (*AssetIssueContract) Reset ¶
func (m *AssetIssueContract) Reset()
func (*AssetIssueContract) String ¶
func (m *AssetIssueContract) String() string
func (*AssetIssueContract) XXX_DiscardUnknown ¶
func (m *AssetIssueContract) XXX_DiscardUnknown()
func (*AssetIssueContract) XXX_Marshal ¶
func (m *AssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetIssueContract) XXX_Merge ¶
func (dst *AssetIssueContract) XXX_Merge(src proto.Message)
func (*AssetIssueContract) XXX_Size ¶
func (m *AssetIssueContract) XXX_Size() int
func (*AssetIssueContract) XXX_Unmarshal ¶
func (m *AssetIssueContract) XXX_Unmarshal(b []byte) error
type AssetIssueContract_FrozenSupply ¶
type AssetIssueContract_FrozenSupply struct { FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetIssueContract_FrozenSupply) Descriptor ¶
func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)
func (*AssetIssueContract_FrozenSupply) GetFrozenAmount ¶
func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64
func (*AssetIssueContract_FrozenSupply) GetFrozenDays ¶
func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64
func (*AssetIssueContract_FrozenSupply) ProtoMessage ¶
func (*AssetIssueContract_FrozenSupply) ProtoMessage()
func (*AssetIssueContract_FrozenSupply) Reset ¶
func (m *AssetIssueContract_FrozenSupply) Reset()
func (*AssetIssueContract_FrozenSupply) String ¶
func (m *AssetIssueContract_FrozenSupply) String() string
func (*AssetIssueContract_FrozenSupply) XXX_DiscardUnknown ¶
func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown()
func (*AssetIssueContract_FrozenSupply) XXX_Marshal ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetIssueContract_FrozenSupply) XXX_Merge ¶
func (dst *AssetIssueContract_FrozenSupply) XXX_Merge(src proto.Message)
func (*AssetIssueContract_FrozenSupply) XXX_Size ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Size() int
func (*AssetIssueContract_FrozenSupply) XXX_Unmarshal ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Unmarshal(b []byte) error
type BackupMessage ¶
type BackupMessage struct { Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupMessage) Descriptor ¶
func (*BackupMessage) Descriptor() ([]byte, []int)
func (*BackupMessage) GetFlag ¶
func (m *BackupMessage) GetFlag() bool
func (*BackupMessage) GetPriority ¶
func (m *BackupMessage) GetPriority() int32
func (*BackupMessage) ProtoMessage ¶
func (*BackupMessage) ProtoMessage()
func (*BackupMessage) Reset ¶
func (m *BackupMessage) Reset()
func (*BackupMessage) String ¶
func (m *BackupMessage) String() string
func (*BackupMessage) XXX_DiscardUnknown ¶
func (m *BackupMessage) XXX_DiscardUnknown()
func (*BackupMessage) XXX_Marshal ¶
func (m *BackupMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupMessage) XXX_Merge ¶
func (dst *BackupMessage) XXX_Merge(src proto.Message)
func (*BackupMessage) XXX_Size ¶
func (m *BackupMessage) XXX_Size() int
func (*BackupMessage) XXX_Unmarshal ¶
func (m *BackupMessage) XXX_Unmarshal(b []byte) error
type Block ¶
type Block struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
block
func (*Block) Descriptor ¶
func (*Block) GetBlockHeader ¶
func (m *Block) GetBlockHeader() *BlockHeader
func (*Block) GetTransactions ¶
func (m *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockHeader ¶
type BlockHeader struct { RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetRawData ¶
func (m *BlockHeader) GetRawData() *BlockHeaderRaw
func (*BlockHeader) GetWitnessSignature ¶
func (m *BlockHeader) GetWitnessSignature() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (dst *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BlockHeaderRaw ¶
type BlockHeaderRaw struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` // bytes nonce = 5; // bytes difficulty = 6; Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeaderRaw) Descriptor ¶
func (*BlockHeaderRaw) Descriptor() ([]byte, []int)
func (*BlockHeaderRaw) GetNumber ¶
func (m *BlockHeaderRaw) GetNumber() int64
func (*BlockHeaderRaw) GetParentHash ¶
func (m *BlockHeaderRaw) GetParentHash() []byte
func (*BlockHeaderRaw) GetTimestamp ¶
func (m *BlockHeaderRaw) GetTimestamp() int64
func (*BlockHeaderRaw) GetTxTrieRoot ¶
func (m *BlockHeaderRaw) GetTxTrieRoot() []byte
func (*BlockHeaderRaw) GetWitnessAddress ¶
func (m *BlockHeaderRaw) GetWitnessAddress() []byte
func (*BlockHeaderRaw) GetWitnessId ¶
func (m *BlockHeaderRaw) GetWitnessId() int64
func (*BlockHeaderRaw) ProtoMessage ¶
func (*BlockHeaderRaw) ProtoMessage()
func (*BlockHeaderRaw) Reset ¶
func (m *BlockHeaderRaw) Reset()
func (*BlockHeaderRaw) String ¶
func (m *BlockHeaderRaw) String() string
func (*BlockHeaderRaw) XXX_DiscardUnknown ¶
func (m *BlockHeaderRaw) XXX_DiscardUnknown()
func (*BlockHeaderRaw) XXX_Marshal ¶
func (m *BlockHeaderRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeaderRaw) XXX_Merge ¶
func (dst *BlockHeaderRaw) XXX_Merge(src proto.Message)
func (*BlockHeaderRaw) XXX_Size ¶
func (m *BlockHeaderRaw) XXX_Size() int
func (*BlockHeaderRaw) XXX_Unmarshal ¶
func (m *BlockHeaderRaw) XXX_Unmarshal(b []byte) error
type BlockInventory ¶
type BlockInventory struct { Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Inventory
func (*BlockInventory) Descriptor ¶
func (*BlockInventory) Descriptor() ([]byte, []int)
func (*BlockInventory) GetIds ¶
func (m *BlockInventory) GetIds() []*BlockInventory_BlockId
func (*BlockInventory) GetType ¶
func (m *BlockInventory) GetType() BlockInventory_Type
func (*BlockInventory) ProtoMessage ¶
func (*BlockInventory) ProtoMessage()
func (*BlockInventory) Reset ¶
func (m *BlockInventory) Reset()
func (*BlockInventory) String ¶
func (m *BlockInventory) String() string
func (*BlockInventory) XXX_DiscardUnknown ¶
func (m *BlockInventory) XXX_DiscardUnknown()
func (*BlockInventory) XXX_Marshal ¶
func (m *BlockInventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockInventory) XXX_Merge ¶
func (dst *BlockInventory) XXX_Merge(src proto.Message)
func (*BlockInventory) XXX_Size ¶
func (m *BlockInventory) XXX_Size() int
func (*BlockInventory) XXX_Unmarshal ¶
func (m *BlockInventory) XXX_Unmarshal(b []byte) error
type BlockInventory_BlockId ¶
type BlockInventory_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockInventory_BlockId) Descriptor ¶
func (*BlockInventory_BlockId) Descriptor() ([]byte, []int)
func (*BlockInventory_BlockId) GetHash ¶
func (m *BlockInventory_BlockId) GetHash() []byte
func (*BlockInventory_BlockId) GetNumber ¶
func (m *BlockInventory_BlockId) GetNumber() int64
func (*BlockInventory_BlockId) ProtoMessage ¶
func (*BlockInventory_BlockId) ProtoMessage()
func (*BlockInventory_BlockId) Reset ¶
func (m *BlockInventory_BlockId) Reset()
func (*BlockInventory_BlockId) String ¶
func (m *BlockInventory_BlockId) String() string
func (*BlockInventory_BlockId) XXX_DiscardUnknown ¶
func (m *BlockInventory_BlockId) XXX_DiscardUnknown()
func (*BlockInventory_BlockId) XXX_Marshal ¶
func (m *BlockInventory_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockInventory_BlockId) XXX_Merge ¶
func (dst *BlockInventory_BlockId) XXX_Merge(src proto.Message)
func (*BlockInventory_BlockId) XXX_Size ¶
func (m *BlockInventory_BlockId) XXX_Size() int
func (*BlockInventory_BlockId) XXX_Unmarshal ¶
func (m *BlockInventory_BlockId) XXX_Unmarshal(b []byte) error
type BlockInventory_Type ¶
type BlockInventory_Type int32
const ( BlockInventory_SYNC BlockInventory_Type = 0 BlockInventory_ADVTISE BlockInventory_Type = 1 BlockInventory_FETCH BlockInventory_Type = 2 )
func (BlockInventory_Type) EnumDescriptor ¶
func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)
func (BlockInventory_Type) String ¶
func (x BlockInventory_Type) String() string
type ChainInventory ¶
type ChainInventory struct { Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainInventory) Descriptor ¶
func (*ChainInventory) Descriptor() ([]byte, []int)
func (*ChainInventory) GetIds ¶
func (m *ChainInventory) GetIds() []*ChainInventory_BlockId
func (*ChainInventory) GetRemainNum ¶
func (m *ChainInventory) GetRemainNum() int64
func (*ChainInventory) ProtoMessage ¶
func (*ChainInventory) ProtoMessage()
func (*ChainInventory) Reset ¶
func (m *ChainInventory) Reset()
func (*ChainInventory) String ¶
func (m *ChainInventory) String() string
func (*ChainInventory) XXX_DiscardUnknown ¶
func (m *ChainInventory) XXX_DiscardUnknown()
func (*ChainInventory) XXX_Marshal ¶
func (m *ChainInventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainInventory) XXX_Merge ¶
func (dst *ChainInventory) XXX_Merge(src proto.Message)
func (*ChainInventory) XXX_Size ¶
func (m *ChainInventory) XXX_Size() int
func (*ChainInventory) XXX_Unmarshal ¶
func (m *ChainInventory) XXX_Unmarshal(b []byte) error
type ChainInventory_BlockId ¶
type ChainInventory_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainInventory_BlockId) Descriptor ¶
func (*ChainInventory_BlockId) Descriptor() ([]byte, []int)
func (*ChainInventory_BlockId) GetHash ¶
func (m *ChainInventory_BlockId) GetHash() []byte
func (*ChainInventory_BlockId) GetNumber ¶
func (m *ChainInventory_BlockId) GetNumber() int64
func (*ChainInventory_BlockId) ProtoMessage ¶
func (*ChainInventory_BlockId) ProtoMessage()
func (*ChainInventory_BlockId) Reset ¶
func (m *ChainInventory_BlockId) Reset()
func (*ChainInventory_BlockId) String ¶
func (m *ChainInventory_BlockId) String() string
func (*ChainInventory_BlockId) XXX_DiscardUnknown ¶
func (m *ChainInventory_BlockId) XXX_DiscardUnknown()
func (*ChainInventory_BlockId) XXX_Marshal ¶
func (m *ChainInventory_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainInventory_BlockId) XXX_Merge ¶
func (dst *ChainInventory_BlockId) XXX_Merge(src proto.Message)
func (*ChainInventory_BlockId) XXX_Size ¶
func (m *ChainInventory_BlockId) XXX_Size() int
func (*ChainInventory_BlockId) XXX_Unmarshal ¶
func (m *ChainInventory_BlockId) XXX_Unmarshal(b []byte) error
type DeployContract ¶
type DeployContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeployContract) Descriptor ¶
func (*DeployContract) Descriptor() ([]byte, []int)
func (*DeployContract) GetOwnerAddress ¶
func (m *DeployContract) GetOwnerAddress() []byte
func (*DeployContract) GetScript ¶
func (m *DeployContract) GetScript() []byte
func (*DeployContract) ProtoMessage ¶
func (*DeployContract) ProtoMessage()
func (*DeployContract) Reset ¶
func (m *DeployContract) Reset()
func (*DeployContract) String ¶
func (m *DeployContract) String() string
func (*DeployContract) XXX_DiscardUnknown ¶
func (m *DeployContract) XXX_DiscardUnknown()
func (*DeployContract) XXX_Marshal ¶
func (m *DeployContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployContract) XXX_Merge ¶
func (dst *DeployContract) XXX_Merge(src proto.Message)
func (*DeployContract) XXX_Size ¶
func (m *DeployContract) XXX_Size() int
func (*DeployContract) XXX_Unmarshal ¶
func (m *DeployContract) XXX_Unmarshal(b []byte) error
type DisconnectMessage ¶
type DisconnectMessage struct { Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DisconnectMessage) Descriptor ¶
func (*DisconnectMessage) Descriptor() ([]byte, []int)
func (*DisconnectMessage) GetReason ¶
func (m *DisconnectMessage) GetReason() ReasonCode
func (*DisconnectMessage) ProtoMessage ¶
func (*DisconnectMessage) ProtoMessage()
func (*DisconnectMessage) Reset ¶
func (m *DisconnectMessage) Reset()
func (*DisconnectMessage) String ¶
func (m *DisconnectMessage) String() string
func (*DisconnectMessage) XXX_DiscardUnknown ¶
func (m *DisconnectMessage) XXX_DiscardUnknown()
func (*DisconnectMessage) XXX_Marshal ¶
func (m *DisconnectMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisconnectMessage) XXX_Merge ¶
func (dst *DisconnectMessage) XXX_Merge(src proto.Message)
func (*DisconnectMessage) XXX_Size ¶
func (m *DisconnectMessage) XXX_Size() int
func (*DisconnectMessage) XXX_Unmarshal ¶
func (m *DisconnectMessage) XXX_Unmarshal(b []byte) error
type DynamicProperties ¶
type DynamicProperties struct { LastSolidityBlockNum int64 `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DynamicProperties
func (*DynamicProperties) Descriptor ¶
func (*DynamicProperties) Descriptor() ([]byte, []int)
func (*DynamicProperties) GetLastSolidityBlockNum ¶
func (m *DynamicProperties) GetLastSolidityBlockNum() int64
func (*DynamicProperties) ProtoMessage ¶
func (*DynamicProperties) ProtoMessage()
func (*DynamicProperties) Reset ¶
func (m *DynamicProperties) Reset()
func (*DynamicProperties) String ¶
func (m *DynamicProperties) String() string
func (*DynamicProperties) XXX_DiscardUnknown ¶
func (m *DynamicProperties) XXX_DiscardUnknown()
func (*DynamicProperties) XXX_Marshal ¶
func (m *DynamicProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicProperties) XXX_Merge ¶
func (dst *DynamicProperties) XXX_Merge(src proto.Message)
func (*DynamicProperties) XXX_Size ¶
func (m *DynamicProperties) XXX_Size() int
func (*DynamicProperties) XXX_Unmarshal ¶
func (m *DynamicProperties) XXX_Unmarshal(b []byte) error
type Endpoint ¶
type Endpoint struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` NodeId []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetAddress ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type FindNeighbours ¶
type FindNeighbours struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` TargetId []byte `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindNeighbours) Descriptor ¶
func (*FindNeighbours) Descriptor() ([]byte, []int)
func (*FindNeighbours) GetFrom ¶
func (m *FindNeighbours) GetFrom() *Endpoint
func (*FindNeighbours) GetTargetId ¶
func (m *FindNeighbours) GetTargetId() []byte
func (*FindNeighbours) GetTimestamp ¶
func (m *FindNeighbours) GetTimestamp() int64
func (*FindNeighbours) ProtoMessage ¶
func (*FindNeighbours) ProtoMessage()
func (*FindNeighbours) Reset ¶
func (m *FindNeighbours) Reset()
func (*FindNeighbours) String ¶
func (m *FindNeighbours) String() string
func (*FindNeighbours) XXX_DiscardUnknown ¶
func (m *FindNeighbours) XXX_DiscardUnknown()
func (*FindNeighbours) XXX_Marshal ¶
func (m *FindNeighbours) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindNeighbours) XXX_Merge ¶
func (dst *FindNeighbours) XXX_Merge(src proto.Message)
func (*FindNeighbours) XXX_Size ¶
func (m *FindNeighbours) XXX_Size() int
func (*FindNeighbours) XXX_Unmarshal ¶
func (m *FindNeighbours) XXX_Unmarshal(b []byte) error
type FreezeBalanceContract ¶
type FreezeBalanceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FreezeBalanceContract) Descriptor ¶
func (*FreezeBalanceContract) Descriptor() ([]byte, []int)
func (*FreezeBalanceContract) GetFrozenBalance ¶
func (m *FreezeBalanceContract) GetFrozenBalance() int64
func (*FreezeBalanceContract) GetFrozenDuration ¶
func (m *FreezeBalanceContract) GetFrozenDuration() int64
func (*FreezeBalanceContract) GetOwnerAddress ¶
func (m *FreezeBalanceContract) GetOwnerAddress() []byte
func (*FreezeBalanceContract) ProtoMessage ¶
func (*FreezeBalanceContract) ProtoMessage()
func (*FreezeBalanceContract) Reset ¶
func (m *FreezeBalanceContract) Reset()
func (*FreezeBalanceContract) String ¶
func (m *FreezeBalanceContract) String() string
func (*FreezeBalanceContract) XXX_DiscardUnknown ¶
func (m *FreezeBalanceContract) XXX_DiscardUnknown()
func (*FreezeBalanceContract) XXX_Marshal ¶
func (m *FreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreezeBalanceContract) XXX_Merge ¶
func (dst *FreezeBalanceContract) XXX_Merge(src proto.Message)
func (*FreezeBalanceContract) XXX_Size ¶
func (m *FreezeBalanceContract) XXX_Size() int
func (*FreezeBalanceContract) XXX_Unmarshal ¶
func (m *FreezeBalanceContract) XXX_Unmarshal(b []byte) error
type HelloMessage ¶
type HelloMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HelloMessage) Descriptor ¶
func (*HelloMessage) Descriptor() ([]byte, []int)
func (*HelloMessage) GetFrom ¶
func (m *HelloMessage) GetFrom() *Endpoint
func (*HelloMessage) GetGenesisBlockId ¶
func (m *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetHeadBlockId ¶
func (m *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetSolidBlockId ¶
func (m *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetTimestamp ¶
func (m *HelloMessage) GetTimestamp() int64
func (*HelloMessage) GetVersion ¶
func (m *HelloMessage) GetVersion() int32
func (*HelloMessage) ProtoMessage ¶
func (*HelloMessage) ProtoMessage()
func (*HelloMessage) Reset ¶
func (m *HelloMessage) Reset()
func (*HelloMessage) String ¶
func (m *HelloMessage) String() string
func (*HelloMessage) XXX_DiscardUnknown ¶
func (m *HelloMessage) XXX_DiscardUnknown()
func (*HelloMessage) XXX_Marshal ¶
func (m *HelloMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloMessage) XXX_Merge ¶
func (dst *HelloMessage) XXX_Merge(src proto.Message)
func (*HelloMessage) XXX_Size ¶
func (m *HelloMessage) XXX_Size() int
func (*HelloMessage) XXX_Unmarshal ¶
func (m *HelloMessage) XXX_Unmarshal(b []byte) error
type HelloMessage_BlockId ¶
type HelloMessage_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HelloMessage_BlockId) Descriptor ¶
func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)
func (*HelloMessage_BlockId) GetHash ¶
func (m *HelloMessage_BlockId) GetHash() []byte
func (*HelloMessage_BlockId) GetNumber ¶
func (m *HelloMessage_BlockId) GetNumber() int64
func (*HelloMessage_BlockId) ProtoMessage ¶
func (*HelloMessage_BlockId) ProtoMessage()
func (*HelloMessage_BlockId) Reset ¶
func (m *HelloMessage_BlockId) Reset()
func (*HelloMessage_BlockId) String ¶
func (m *HelloMessage_BlockId) String() string
func (*HelloMessage_BlockId) XXX_DiscardUnknown ¶
func (m *HelloMessage_BlockId) XXX_DiscardUnknown()
func (*HelloMessage_BlockId) XXX_Marshal ¶
func (m *HelloMessage_BlockId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloMessage_BlockId) XXX_Merge ¶
func (dst *HelloMessage_BlockId) XXX_Merge(src proto.Message)
func (*HelloMessage_BlockId) XXX_Size ¶
func (m *HelloMessage_BlockId) XXX_Size() int
func (*HelloMessage_BlockId) XXX_Unmarshal ¶
func (m *HelloMessage_BlockId) XXX_Unmarshal(b []byte) error
type Inventory ¶
type Inventory struct { Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Inventory) Descriptor ¶
func (*Inventory) GetType ¶
func (m *Inventory) GetType() Inventory_InventoryType
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) XXX_DiscardUnknown ¶
func (m *Inventory) XXX_DiscardUnknown()
func (*Inventory) XXX_Marshal ¶
func (*Inventory) XXX_Unmarshal ¶
type InventoryItems ¶
type InventoryItems struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InventoryItems) Descriptor ¶
func (*InventoryItems) Descriptor() ([]byte, []int)
func (*InventoryItems) GetItems ¶
func (m *InventoryItems) GetItems() [][]byte
func (*InventoryItems) GetType ¶
func (m *InventoryItems) GetType() int32
func (*InventoryItems) ProtoMessage ¶
func (*InventoryItems) ProtoMessage()
func (*InventoryItems) Reset ¶
func (m *InventoryItems) Reset()
func (*InventoryItems) String ¶
func (m *InventoryItems) String() string
func (*InventoryItems) XXX_DiscardUnknown ¶
func (m *InventoryItems) XXX_DiscardUnknown()
func (*InventoryItems) XXX_Marshal ¶
func (m *InventoryItems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InventoryItems) XXX_Merge ¶
func (dst *InventoryItems) XXX_Merge(src proto.Message)
func (*InventoryItems) XXX_Size ¶
func (m *InventoryItems) XXX_Size() int
func (*InventoryItems) XXX_Unmarshal ¶
func (m *InventoryItems) XXX_Unmarshal(b []byte) error
type Inventory_InventoryType ¶
type Inventory_InventoryType int32
const ( Inventory_TRX Inventory_InventoryType = 0 Inventory_BLOCK Inventory_InventoryType = 1 )
func (Inventory_InventoryType) EnumDescriptor ¶
func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)
func (Inventory_InventoryType) String ¶
func (x Inventory_InventoryType) String() string
type Items ¶
type Items struct { Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Items) Descriptor ¶
func (*Items) GetBlockHeaders ¶
func (m *Items) GetBlockHeaders() []*BlockHeader
func (*Items) GetTransactions ¶
func (m *Items) GetTransactions() []*Transaction
func (*Items) GetType ¶
func (m *Items) GetType() Items_ItemType
func (*Items) ProtoMessage ¶
func (*Items) ProtoMessage()
func (*Items) XXX_DiscardUnknown ¶
func (m *Items) XXX_DiscardUnknown()
func (*Items) XXX_Marshal ¶
func (*Items) XXX_Unmarshal ¶
type Items_ItemType ¶
type Items_ItemType int32
const ( Items_ERR Items_ItemType = 0 Items_TRX Items_ItemType = 1 Items_BLOCK Items_ItemType = 2 Items_BLOCKHEADER Items_ItemType = 3 )
func (Items_ItemType) EnumDescriptor ¶
func (Items_ItemType) EnumDescriptor() ([]byte, []int)
func (Items_ItemType) String ¶
func (x Items_ItemType) String() string
type Neighbours ¶
type Neighbours struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Neighbours) Descriptor ¶
func (*Neighbours) Descriptor() ([]byte, []int)
func (*Neighbours) GetFrom ¶
func (m *Neighbours) GetFrom() *Endpoint
func (*Neighbours) GetNeighbours ¶
func (m *Neighbours) GetNeighbours() []*Endpoint
func (*Neighbours) GetTimestamp ¶
func (m *Neighbours) GetTimestamp() int64
func (*Neighbours) ProtoMessage ¶
func (*Neighbours) ProtoMessage()
func (*Neighbours) Reset ¶
func (m *Neighbours) Reset()
func (*Neighbours) String ¶
func (m *Neighbours) String() string
func (*Neighbours) XXX_DiscardUnknown ¶
func (m *Neighbours) XXX_DiscardUnknown()
func (*Neighbours) XXX_Marshal ¶
func (m *Neighbours) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Neighbours) XXX_Merge ¶
func (dst *Neighbours) XXX_Merge(src proto.Message)
func (*Neighbours) XXX_Size ¶
func (m *Neighbours) XXX_Size() int
func (*Neighbours) XXX_Unmarshal ¶
func (m *Neighbours) XXX_Unmarshal(b []byte) error
type ParticipateAssetIssueContract ¶
type ParticipateAssetIssueContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParticipateAssetIssueContract) Descriptor ¶
func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)
func (*ParticipateAssetIssueContract) GetAmount ¶
func (m *ParticipateAssetIssueContract) GetAmount() int64
func (*ParticipateAssetIssueContract) GetAssetName ¶
func (m *ParticipateAssetIssueContract) GetAssetName() []byte
func (*ParticipateAssetIssueContract) GetOwnerAddress ¶
func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte
func (*ParticipateAssetIssueContract) GetToAddress ¶
func (m *ParticipateAssetIssueContract) GetToAddress() []byte
func (*ParticipateAssetIssueContract) ProtoMessage ¶
func (*ParticipateAssetIssueContract) ProtoMessage()
func (*ParticipateAssetIssueContract) Reset ¶
func (m *ParticipateAssetIssueContract) Reset()
func (*ParticipateAssetIssueContract) String ¶
func (m *ParticipateAssetIssueContract) String() string
func (*ParticipateAssetIssueContract) XXX_DiscardUnknown ¶
func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown()
func (*ParticipateAssetIssueContract) XXX_Marshal ¶
func (m *ParticipateAssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParticipateAssetIssueContract) XXX_Merge ¶
func (dst *ParticipateAssetIssueContract) XXX_Merge(src proto.Message)
func (*ParticipateAssetIssueContract) XXX_Size ¶
func (m *ParticipateAssetIssueContract) XXX_Size() int
func (*ParticipateAssetIssueContract) XXX_Unmarshal ¶
func (m *ParticipateAssetIssueContract) XXX_Unmarshal(b []byte) error
type Permision ¶
type Permision struct { Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FIXME permission
func (*Permision) Descriptor ¶
func (*Permision) GetAccount ¶
func (*Permision) ProtoMessage ¶
func (*Permision) ProtoMessage()
func (*Permision) XXX_DiscardUnknown ¶
func (m *Permision) XXX_DiscardUnknown()
func (*Permision) XXX_Marshal ¶
func (*Permision) XXX_Unmarshal ¶
type PingMessage ¶
type PingMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingMessage) Descriptor ¶
func (*PingMessage) Descriptor() ([]byte, []int)
func (*PingMessage) GetFrom ¶
func (m *PingMessage) GetFrom() *Endpoint
func (*PingMessage) GetTimestamp ¶
func (m *PingMessage) GetTimestamp() int64
func (*PingMessage) GetTo ¶
func (m *PingMessage) GetTo() *Endpoint
func (*PingMessage) GetVersion ¶
func (m *PingMessage) GetVersion() int32
func (*PingMessage) ProtoMessage ¶
func (*PingMessage) ProtoMessage()
func (*PingMessage) Reset ¶
func (m *PingMessage) Reset()
func (*PingMessage) String ¶
func (m *PingMessage) String() string
func (*PingMessage) XXX_DiscardUnknown ¶
func (m *PingMessage) XXX_DiscardUnknown()
func (*PingMessage) XXX_Marshal ¶
func (m *PingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingMessage) XXX_Merge ¶
func (dst *PingMessage) XXX_Merge(src proto.Message)
func (*PingMessage) XXX_Size ¶
func (m *PingMessage) XXX_Size() int
func (*PingMessage) XXX_Unmarshal ¶
func (m *PingMessage) XXX_Unmarshal(b []byte) error
type PongMessage ¶
type PongMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Echo int32 `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PongMessage) Descriptor ¶
func (*PongMessage) Descriptor() ([]byte, []int)
func (*PongMessage) GetEcho ¶
func (m *PongMessage) GetEcho() int32
func (*PongMessage) GetFrom ¶
func (m *PongMessage) GetFrom() *Endpoint
func (*PongMessage) GetTimestamp ¶
func (m *PongMessage) GetTimestamp() int64
func (*PongMessage) ProtoMessage ¶
func (*PongMessage) ProtoMessage()
func (*PongMessage) Reset ¶
func (m *PongMessage) Reset()
func (*PongMessage) String ¶
func (m *PongMessage) String() string
func (*PongMessage) XXX_DiscardUnknown ¶
func (m *PongMessage) XXX_DiscardUnknown()
func (*PongMessage) XXX_Marshal ¶
func (m *PongMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PongMessage) XXX_Merge ¶
func (dst *PongMessage) XXX_Merge(src proto.Message)
func (*PongMessage) XXX_Size ¶
func (m *PongMessage) XXX_Size() int
func (*PongMessage) XXX_Unmarshal ¶
func (m *PongMessage) XXX_Unmarshal(b []byte) error
type ReasonCode ¶
type ReasonCode int32
const ( ReasonCode_REQUESTED ReasonCode = 0 ReasonCode_BAD_PROTOCOL ReasonCode = 2 ReasonCode_TOO_MANY_PEERS ReasonCode = 4 ReasonCode_DUPLICATE_PEER ReasonCode = 5 ReasonCode_INCOMPATIBLE_PROTOCOL ReasonCode = 6 ReasonCode_NULL_IDENTITY ReasonCode = 7 ReasonCode_PEER_QUITING ReasonCode = 8 ReasonCode_UNEXPECTED_IDENTITY ReasonCode = 9 ReasonCode_LOCAL_IDENTITY ReasonCode = 10 ReasonCode_PING_TIMEOUT ReasonCode = 11 ReasonCode_USER_REASON ReasonCode = 16 ReasonCode_RESET ReasonCode = 17 ReasonCode_SYNC_FAIL ReasonCode = 18 ReasonCode_FETCH_FAIL ReasonCode = 19 ReasonCode_BAD_TX ReasonCode = 20 ReasonCode_BAD_BLOCK ReasonCode = 21 ReasonCode_FORKED ReasonCode = 22 ReasonCode_UNLINKABLE ReasonCode = 23 ReasonCode_INCOMPATIBLE_VERSION ReasonCode = 24 ReasonCode_INCOMPATIBLE_CHAIN ReasonCode = 25 ReasonCode_TIME_OUT ReasonCode = 32 ReasonCode_CONNECT_FAIL ReasonCode = 33 ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 ReasonCode_UNKNOWN ReasonCode = 255 )
func (ReasonCode) EnumDescriptor ¶
func (ReasonCode) EnumDescriptor() ([]byte, []int)
func (ReasonCode) String ¶
func (x ReasonCode) String() string
type TXInput ¶
type TXInput struct { RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXInput) Descriptor ¶
func (*TXInput) GetRawData ¶
func (m *TXInput) GetRawData() *TXInputRaw
func (*TXInput) GetSignature ¶
func (*TXInput) ProtoMessage ¶
func (*TXInput) ProtoMessage()
func (*TXInput) XXX_DiscardUnknown ¶
func (m *TXInput) XXX_DiscardUnknown()
func (*TXInput) XXX_Marshal ¶
func (*TXInput) XXX_Unmarshal ¶
type TXInputRaw ¶
type TXInputRaw struct { TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXInputRaw) Descriptor ¶
func (*TXInputRaw) Descriptor() ([]byte, []int)
func (*TXInputRaw) GetPubKey ¶
func (m *TXInputRaw) GetPubKey() []byte
func (*TXInputRaw) GetTxID ¶
func (m *TXInputRaw) GetTxID() []byte
func (*TXInputRaw) GetVout ¶
func (m *TXInputRaw) GetVout() int64
func (*TXInputRaw) ProtoMessage ¶
func (*TXInputRaw) ProtoMessage()
func (*TXInputRaw) Reset ¶
func (m *TXInputRaw) Reset()
func (*TXInputRaw) String ¶
func (m *TXInputRaw) String() string
func (*TXInputRaw) XXX_DiscardUnknown ¶
func (m *TXInputRaw) XXX_DiscardUnknown()
func (*TXInputRaw) XXX_Marshal ¶
func (m *TXInputRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TXInputRaw) XXX_Merge ¶
func (dst *TXInputRaw) XXX_Merge(src proto.Message)
func (*TXInputRaw) XXX_Size ¶
func (m *TXInputRaw) XXX_Size() int
func (*TXInputRaw) XXX_Unmarshal ¶
func (m *TXInputRaw) XXX_Unmarshal(b []byte) error
type TXOutput ¶
type TXOutput struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXOutput) Descriptor ¶
func (*TXOutput) GetPubKeyHash ¶
func (*TXOutput) ProtoMessage ¶
func (*TXOutput) ProtoMessage()
func (*TXOutput) XXX_DiscardUnknown ¶
func (m *TXOutput) XXX_DiscardUnknown()
func (*TXOutput) XXX_Marshal ¶
func (*TXOutput) XXX_Unmarshal ¶
type TXOutputs ¶
type TXOutputs struct { Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXOutputs) Descriptor ¶
func (*TXOutputs) GetOutputs ¶
func (*TXOutputs) ProtoMessage ¶
func (*TXOutputs) ProtoMessage()
func (*TXOutputs) XXX_DiscardUnknown ¶
func (m *TXOutputs) XXX_DiscardUnknown()
func (*TXOutputs) XXX_Marshal ¶
func (*TXOutputs) XXX_Unmarshal ¶
type Transaction ¶
type Transaction struct { RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` // only support size = 1, repeated list here for muti-sig extension Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetRawData ¶
func (m *Transaction) GetRawData() *TransactionRaw
func (*Transaction) GetRet ¶
func (m *Transaction) GetRet() []*Transaction_Result
func (*Transaction) GetSignature ¶
func (m *Transaction) GetSignature() [][]byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
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 (dst *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 TransactionInfo ¶
type TransactionInfo struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionInfo) Descriptor ¶
func (*TransactionInfo) Descriptor() ([]byte, []int)
func (*TransactionInfo) GetBlockNumber ¶
func (m *TransactionInfo) GetBlockNumber() int64
func (*TransactionInfo) GetBlockTimeStamp ¶
func (m *TransactionInfo) GetBlockTimeStamp() int64
func (*TransactionInfo) GetFee ¶
func (m *TransactionInfo) GetFee() int64
func (*TransactionInfo) GetId ¶
func (m *TransactionInfo) GetId() []byte
func (*TransactionInfo) ProtoMessage ¶
func (*TransactionInfo) ProtoMessage()
func (*TransactionInfo) Reset ¶
func (m *TransactionInfo) Reset()
func (*TransactionInfo) String ¶
func (m *TransactionInfo) String() string
func (*TransactionInfo) XXX_DiscardUnknown ¶
func (m *TransactionInfo) XXX_DiscardUnknown()
func (*TransactionInfo) XXX_Marshal ¶
func (m *TransactionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionInfo) XXX_Merge ¶
func (dst *TransactionInfo) XXX_Merge(src proto.Message)
func (*TransactionInfo) XXX_Size ¶
func (m *TransactionInfo) XXX_Size() int
func (*TransactionInfo) XXX_Unmarshal ¶
func (m *TransactionInfo) XXX_Unmarshal(b []byte) error
type TransactionRaw ¶
type TransactionRaw struct { RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` Auths []*Acuthrity `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` // data not used Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` // only support size = 1, repeated list here for extension Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` // scripts not used Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionRaw) Descriptor ¶
func (*TransactionRaw) Descriptor() ([]byte, []int)
func (*TransactionRaw) GetAuths ¶
func (m *TransactionRaw) GetAuths() []*Acuthrity
func (*TransactionRaw) GetContract ¶
func (m *TransactionRaw) GetContract() []*Transaction_Contract
func (*TransactionRaw) GetData ¶
func (m *TransactionRaw) GetData() []byte
func (*TransactionRaw) GetExpiration ¶
func (m *TransactionRaw) GetExpiration() int64
func (*TransactionRaw) GetRefBlockBytes ¶
func (m *TransactionRaw) GetRefBlockBytes() []byte
func (*TransactionRaw) GetRefBlockHash ¶
func (m *TransactionRaw) GetRefBlockHash() []byte
func (*TransactionRaw) GetRefBlockNum ¶
func (m *TransactionRaw) GetRefBlockNum() int64
func (*TransactionRaw) GetScripts ¶
func (m *TransactionRaw) GetScripts() []byte
func (*TransactionRaw) GetTimestamp ¶
func (m *TransactionRaw) GetTimestamp() int64
func (*TransactionRaw) ProtoMessage ¶
func (*TransactionRaw) ProtoMessage()
func (*TransactionRaw) Reset ¶
func (m *TransactionRaw) Reset()
func (*TransactionRaw) String ¶
func (m *TransactionRaw) String() string
func (*TransactionRaw) XXX_DiscardUnknown ¶
func (m *TransactionRaw) XXX_DiscardUnknown()
func (*TransactionRaw) XXX_Marshal ¶
func (m *TransactionRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionRaw) XXX_Merge ¶
func (dst *TransactionRaw) XXX_Merge(src proto.Message)
func (*TransactionRaw) XXX_Size ¶
func (m *TransactionRaw) XXX_Size() int
func (*TransactionRaw) XXX_Unmarshal ¶
func (m *TransactionRaw) XXX_Unmarshal(b []byte) error
type TransactionSign ¶
type TransactionSign struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionSign) Descriptor ¶
func (*TransactionSign) Descriptor() ([]byte, []int)
func (*TransactionSign) GetPrivateKey ¶
func (m *TransactionSign) GetPrivateKey() []byte
func (*TransactionSign) GetTransaction ¶
func (m *TransactionSign) GetTransaction() *Transaction
func (*TransactionSign) ProtoMessage ¶
func (*TransactionSign) ProtoMessage()
func (*TransactionSign) Reset ¶
func (m *TransactionSign) Reset()
func (*TransactionSign) String ¶
func (m *TransactionSign) String() string
func (*TransactionSign) XXX_DiscardUnknown ¶
func (m *TransactionSign) XXX_DiscardUnknown()
func (*TransactionSign) XXX_Marshal ¶
func (m *TransactionSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionSign) XXX_Merge ¶
func (dst *TransactionSign) XXX_Merge(src proto.Message)
func (*TransactionSign) XXX_Size ¶
func (m *TransactionSign) XXX_Size() int
func (*TransactionSign) XXX_Unmarshal ¶
func (m *TransactionSign) XXX_Unmarshal(b []byte) error
type Transaction_Contract ¶
type Transaction_Contract struct { Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` Parameter *any.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction_Contract) Descriptor ¶
func (*Transaction_Contract) Descriptor() ([]byte, []int)
func (*Transaction_Contract) GetContractName ¶
func (m *Transaction_Contract) GetContractName() []byte
func (*Transaction_Contract) GetParameter ¶
func (m *Transaction_Contract) GetParameter() *any.Any
func (*Transaction_Contract) GetProvider ¶
func (m *Transaction_Contract) GetProvider() []byte
func (*Transaction_Contract) GetType ¶
func (m *Transaction_Contract) GetType() Transaction_Contract_ContractType
func (*Transaction_Contract) ProtoMessage ¶
func (*Transaction_Contract) ProtoMessage()
func (*Transaction_Contract) Reset ¶
func (m *Transaction_Contract) Reset()
func (*Transaction_Contract) String ¶
func (m *Transaction_Contract) String() string
func (*Transaction_Contract) XXX_DiscardUnknown ¶
func (m *Transaction_Contract) XXX_DiscardUnknown()
func (*Transaction_Contract) XXX_Marshal ¶
func (m *Transaction_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction_Contract) XXX_Merge ¶
func (dst *Transaction_Contract) XXX_Merge(src proto.Message)
func (*Transaction_Contract) XXX_Size ¶
func (m *Transaction_Contract) XXX_Size() int
func (*Transaction_Contract) XXX_Unmarshal ¶
func (m *Transaction_Contract) XXX_Unmarshal(b []byte) error
type Transaction_Contract_ContractType ¶
type Transaction_Contract_ContractType int32
const ( Transaction_Contract_AccountCreateContract Transaction_Contract_ContractType = 0 Transaction_Contract_TransferContract Transaction_Contract_ContractType = 1 Transaction_Contract_TransferAssetContract Transaction_Contract_ContractType = 2 Transaction_Contract_VoteAssetContract Transaction_Contract_ContractType = 3 Transaction_Contract_VoteWitnessContract Transaction_Contract_ContractType = 4 Transaction_Contract_WitnessCreateContract Transaction_Contract_ContractType = 5 Transaction_Contract_AssetIssueContract Transaction_Contract_ContractType = 6 Transaction_Contract_DeployContract Transaction_Contract_ContractType = 7 Transaction_Contract_WitnessUpdateContract Transaction_Contract_ContractType = 8 Transaction_Contract_ParticipateAssetIssueContract Transaction_Contract_ContractType = 9 Transaction_Contract_AccountUpdateContract Transaction_Contract_ContractType = 10 Transaction_Contract_FreezeBalanceContract Transaction_Contract_ContractType = 11 Transaction_Contract_UnfreezeBalanceContract Transaction_Contract_ContractType = 12 Transaction_Contract_WithdrawBalanceContract Transaction_Contract_ContractType = 13 Transaction_Contract_UnfreezeAssetContract Transaction_Contract_ContractType = 14 Transaction_Contract_UpdateAssetContract Transaction_Contract_ContractType = 15 Transaction_Contract_CustomContract Transaction_Contract_ContractType = 20 )
func (Transaction_Contract_ContractType) EnumDescriptor ¶
func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int)
func (Transaction_Contract_ContractType) String ¶
func (x Transaction_Contract_ContractType) String() string
type Transaction_Result ¶
type Transaction_Result struct { Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction_Result) Descriptor ¶
func (*Transaction_Result) Descriptor() ([]byte, []int)
func (*Transaction_Result) GetFee ¶
func (m *Transaction_Result) GetFee() int64
func (*Transaction_Result) GetRet ¶
func (m *Transaction_Result) GetRet() Transaction_ResultCode
func (*Transaction_Result) ProtoMessage ¶
func (*Transaction_Result) ProtoMessage()
func (*Transaction_Result) Reset ¶
func (m *Transaction_Result) Reset()
func (*Transaction_Result) String ¶
func (m *Transaction_Result) String() string
func (*Transaction_Result) XXX_DiscardUnknown ¶
func (m *Transaction_Result) XXX_DiscardUnknown()
func (*Transaction_Result) XXX_Marshal ¶
func (m *Transaction_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction_Result) XXX_Merge ¶
func (dst *Transaction_Result) XXX_Merge(src proto.Message)
func (*Transaction_Result) XXX_Size ¶
func (m *Transaction_Result) XXX_Size() int
func (*Transaction_Result) XXX_Unmarshal ¶
func (m *Transaction_Result) XXX_Unmarshal(b []byte) error
type Transaction_ResultCode ¶
type Transaction_ResultCode int32
const ( Transaction_Result_SUCESS Transaction_ResultCode = 0 Transaction_Result_FAILED Transaction_ResultCode = 1 )
func (Transaction_ResultCode) EnumDescriptor ¶
func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)
func (Transaction_ResultCode) String ¶
func (x Transaction_ResultCode) String() string
type Transactions ¶
type Transactions struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transactions) Descriptor ¶
func (*Transactions) Descriptor() ([]byte, []int)
func (*Transactions) GetTransactions ¶
func (m *Transactions) GetTransactions() []*Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) Reset ¶
func (m *Transactions) Reset()
func (*Transactions) String ¶
func (m *Transactions) String() string
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 (dst *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 TransferAssetContract ¶
type TransferAssetContract struct { AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferAssetContract) Descriptor ¶
func (*TransferAssetContract) Descriptor() ([]byte, []int)
func (*TransferAssetContract) GetAmount ¶
func (m *TransferAssetContract) GetAmount() int64
func (*TransferAssetContract) GetAssetName ¶
func (m *TransferAssetContract) GetAssetName() []byte
func (*TransferAssetContract) GetOwnerAddress ¶
func (m *TransferAssetContract) GetOwnerAddress() []byte
func (*TransferAssetContract) GetToAddress ¶
func (m *TransferAssetContract) GetToAddress() []byte
func (*TransferAssetContract) ProtoMessage ¶
func (*TransferAssetContract) ProtoMessage()
func (*TransferAssetContract) Reset ¶
func (m *TransferAssetContract) Reset()
func (*TransferAssetContract) String ¶
func (m *TransferAssetContract) String() string
func (*TransferAssetContract) XXX_DiscardUnknown ¶
func (m *TransferAssetContract) XXX_DiscardUnknown()
func (*TransferAssetContract) XXX_Marshal ¶
func (m *TransferAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferAssetContract) XXX_Merge ¶
func (dst *TransferAssetContract) XXX_Merge(src proto.Message)
func (*TransferAssetContract) XXX_Size ¶
func (m *TransferAssetContract) XXX_Size() int
func (*TransferAssetContract) XXX_Unmarshal ¶
func (m *TransferAssetContract) XXX_Unmarshal(b []byte) error
type TransferContract ¶
type TransferContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,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 (*TransferContract) Descriptor ¶
func (*TransferContract) Descriptor() ([]byte, []int)
func (*TransferContract) GetAmount ¶
func (m *TransferContract) GetAmount() int64
func (*TransferContract) GetOwnerAddress ¶
func (m *TransferContract) GetOwnerAddress() []byte
func (*TransferContract) GetToAddress ¶
func (m *TransferContract) GetToAddress() []byte
func (*TransferContract) ProtoMessage ¶
func (*TransferContract) ProtoMessage()
func (*TransferContract) Reset ¶
func (m *TransferContract) Reset()
func (*TransferContract) String ¶
func (m *TransferContract) String() string
func (*TransferContract) XXX_DiscardUnknown ¶
func (m *TransferContract) XXX_DiscardUnknown()
func (*TransferContract) XXX_Marshal ¶
func (m *TransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferContract) XXX_Merge ¶
func (dst *TransferContract) XXX_Merge(src proto.Message)
func (*TransferContract) XXX_Size ¶
func (m *TransferContract) XXX_Size() int
func (*TransferContract) XXX_Unmarshal ¶
func (m *TransferContract) XXX_Unmarshal(b []byte) error
type UnfreezeAssetContract ¶
type UnfreezeAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeAssetContract) Descriptor ¶
func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)
func (*UnfreezeAssetContract) GetOwnerAddress ¶
func (m *UnfreezeAssetContract) GetOwnerAddress() []byte
func (*UnfreezeAssetContract) ProtoMessage ¶
func (*UnfreezeAssetContract) ProtoMessage()
func (*UnfreezeAssetContract) Reset ¶
func (m *UnfreezeAssetContract) Reset()
func (*UnfreezeAssetContract) String ¶
func (m *UnfreezeAssetContract) String() string
func (*UnfreezeAssetContract) XXX_DiscardUnknown ¶
func (m *UnfreezeAssetContract) XXX_DiscardUnknown()
func (*UnfreezeAssetContract) XXX_Marshal ¶
func (m *UnfreezeAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeAssetContract) XXX_Merge ¶
func (dst *UnfreezeAssetContract) XXX_Merge(src proto.Message)
func (*UnfreezeAssetContract) XXX_Size ¶
func (m *UnfreezeAssetContract) XXX_Size() int
func (*UnfreezeAssetContract) XXX_Unmarshal ¶
func (m *UnfreezeAssetContract) XXX_Unmarshal(b []byte) error
type UnfreezeBalanceContract ¶
type UnfreezeBalanceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeBalanceContract) Descriptor ¶
func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)
func (*UnfreezeBalanceContract) GetOwnerAddress ¶
func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte
func (*UnfreezeBalanceContract) ProtoMessage ¶
func (*UnfreezeBalanceContract) ProtoMessage()
func (*UnfreezeBalanceContract) Reset ¶
func (m *UnfreezeBalanceContract) Reset()
func (*UnfreezeBalanceContract) String ¶
func (m *UnfreezeBalanceContract) String() string
func (*UnfreezeBalanceContract) XXX_DiscardUnknown ¶
func (m *UnfreezeBalanceContract) XXX_DiscardUnknown()
func (*UnfreezeBalanceContract) XXX_Marshal ¶
func (m *UnfreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeBalanceContract) XXX_Merge ¶
func (dst *UnfreezeBalanceContract) XXX_Merge(src proto.Message)
func (*UnfreezeBalanceContract) XXX_Size ¶
func (m *UnfreezeBalanceContract) XXX_Size() int
func (*UnfreezeBalanceContract) XXX_Unmarshal ¶
func (m *UnfreezeBalanceContract) XXX_Unmarshal(b []byte) error
type UpdateAssetContract ¶
type UpdateAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAssetContract) Descriptor ¶
func (*UpdateAssetContract) Descriptor() ([]byte, []int)
func (*UpdateAssetContract) GetDescription ¶
func (m *UpdateAssetContract) GetDescription() []byte
func (*UpdateAssetContract) GetNewLimit ¶
func (m *UpdateAssetContract) GetNewLimit() int64
func (*UpdateAssetContract) GetNewPublicLimit ¶
func (m *UpdateAssetContract) GetNewPublicLimit() int64
func (*UpdateAssetContract) GetOwnerAddress ¶
func (m *UpdateAssetContract) GetOwnerAddress() []byte
func (*UpdateAssetContract) GetUrl ¶
func (m *UpdateAssetContract) GetUrl() []byte
func (*UpdateAssetContract) ProtoMessage ¶
func (*UpdateAssetContract) ProtoMessage()
func (*UpdateAssetContract) Reset ¶
func (m *UpdateAssetContract) Reset()
func (*UpdateAssetContract) String ¶
func (m *UpdateAssetContract) String() string
func (*UpdateAssetContract) XXX_DiscardUnknown ¶
func (m *UpdateAssetContract) XXX_DiscardUnknown()
func (*UpdateAssetContract) XXX_Marshal ¶
func (m *UpdateAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAssetContract) XXX_Merge ¶
func (dst *UpdateAssetContract) XXX_Merge(src proto.Message)
func (*UpdateAssetContract) XXX_Size ¶
func (m *UpdateAssetContract) XXX_Size() int
func (*UpdateAssetContract) XXX_Unmarshal ¶
func (m *UpdateAssetContract) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct { // the super rep address VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` // the vote num to this super rep. VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
vote message
func (*Vote) Descriptor ¶
func (*Vote) GetVoteAddress ¶
func (*Vote) GetVoteCount ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type VoteAssetContract ¶
type VoteAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteAssetContract) Descriptor ¶
func (*VoteAssetContract) Descriptor() ([]byte, []int)
func (*VoteAssetContract) GetCount ¶
func (m *VoteAssetContract) GetCount() int32
func (*VoteAssetContract) GetOwnerAddress ¶
func (m *VoteAssetContract) GetOwnerAddress() []byte
func (*VoteAssetContract) GetSupport ¶
func (m *VoteAssetContract) GetSupport() bool
func (*VoteAssetContract) GetVoteAddress ¶
func (m *VoteAssetContract) GetVoteAddress() [][]byte
func (*VoteAssetContract) ProtoMessage ¶
func (*VoteAssetContract) ProtoMessage()
func (*VoteAssetContract) Reset ¶
func (m *VoteAssetContract) Reset()
func (*VoteAssetContract) String ¶
func (m *VoteAssetContract) String() string
func (*VoteAssetContract) XXX_DiscardUnknown ¶
func (m *VoteAssetContract) XXX_DiscardUnknown()
func (*VoteAssetContract) XXX_Marshal ¶
func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteAssetContract) XXX_Merge ¶
func (dst *VoteAssetContract) XXX_Merge(src proto.Message)
func (*VoteAssetContract) XXX_Size ¶
func (m *VoteAssetContract) XXX_Size() int
func (*VoteAssetContract) XXX_Unmarshal ¶
func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error
type VoteWitnessContract ¶
type VoteWitnessContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteWitnessContract) Descriptor ¶
func (*VoteWitnessContract) Descriptor() ([]byte, []int)
func (*VoteWitnessContract) GetOwnerAddress ¶
func (m *VoteWitnessContract) GetOwnerAddress() []byte
func (*VoteWitnessContract) GetSupport ¶
func (m *VoteWitnessContract) GetSupport() bool
func (*VoteWitnessContract) GetVotes ¶
func (m *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
func (*VoteWitnessContract) ProtoMessage ¶
func (*VoteWitnessContract) ProtoMessage()
func (*VoteWitnessContract) Reset ¶
func (m *VoteWitnessContract) Reset()
func (*VoteWitnessContract) String ¶
func (m *VoteWitnessContract) String() string
func (*VoteWitnessContract) XXX_DiscardUnknown ¶
func (m *VoteWitnessContract) XXX_DiscardUnknown()
func (*VoteWitnessContract) XXX_Marshal ¶
func (m *VoteWitnessContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteWitnessContract) XXX_Merge ¶
func (dst *VoteWitnessContract) XXX_Merge(src proto.Message)
func (*VoteWitnessContract) XXX_Size ¶
func (m *VoteWitnessContract) XXX_Size() int
func (*VoteWitnessContract) XXX_Unmarshal ¶
func (m *VoteWitnessContract) XXX_Unmarshal(b []byte) error
type VoteWitnessContract_Vote ¶
type VoteWitnessContract_Vote struct { VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteWitnessContract_Vote) Descriptor ¶
func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)
func (*VoteWitnessContract_Vote) GetVoteAddress ¶
func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte
func (*VoteWitnessContract_Vote) GetVoteCount ¶
func (m *VoteWitnessContract_Vote) GetVoteCount() int64
func (*VoteWitnessContract_Vote) ProtoMessage ¶
func (*VoteWitnessContract_Vote) ProtoMessage()
func (*VoteWitnessContract_Vote) Reset ¶
func (m *VoteWitnessContract_Vote) Reset()
func (*VoteWitnessContract_Vote) String ¶
func (m *VoteWitnessContract_Vote) String() string
func (*VoteWitnessContract_Vote) XXX_DiscardUnknown ¶
func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown()
func (*VoteWitnessContract_Vote) XXX_Marshal ¶
func (m *VoteWitnessContract_Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteWitnessContract_Vote) XXX_Merge ¶
func (dst *VoteWitnessContract_Vote) XXX_Merge(src proto.Message)
func (*VoteWitnessContract_Vote) XXX_Size ¶
func (m *VoteWitnessContract_Vote) XXX_Size() int
func (*VoteWitnessContract_Vote) XXX_Unmarshal ¶
func (m *VoteWitnessContract_Vote) XXX_Unmarshal(b []byte) error
type Votes ¶
type Votes struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Vote Change
func (*Votes) Descriptor ¶
func (*Votes) GetAddress ¶
func (*Votes) GetNewVotes ¶
func (*Votes) GetOldVotes ¶
func (*Votes) ProtoMessage ¶
func (*Votes) ProtoMessage()
func (*Votes) XXX_DiscardUnknown ¶
func (m *Votes) XXX_DiscardUnknown()
func (*Votes) XXX_Marshal ¶
func (*Votes) XXX_Unmarshal ¶
type WithdrawBalanceContract ¶
type WithdrawBalanceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WithdrawBalanceContract) Descriptor ¶
func (*WithdrawBalanceContract) Descriptor() ([]byte, []int)
func (*WithdrawBalanceContract) GetOwnerAddress ¶
func (m *WithdrawBalanceContract) GetOwnerAddress() []byte
func (*WithdrawBalanceContract) ProtoMessage ¶
func (*WithdrawBalanceContract) ProtoMessage()
func (*WithdrawBalanceContract) Reset ¶
func (m *WithdrawBalanceContract) Reset()
func (*WithdrawBalanceContract) String ¶
func (m *WithdrawBalanceContract) String() string
func (*WithdrawBalanceContract) XXX_DiscardUnknown ¶
func (m *WithdrawBalanceContract) XXX_DiscardUnknown()
func (*WithdrawBalanceContract) XXX_Marshal ¶
func (m *WithdrawBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawBalanceContract) XXX_Merge ¶
func (dst *WithdrawBalanceContract) XXX_Merge(src proto.Message)
func (*WithdrawBalanceContract) XXX_Size ¶
func (m *WithdrawBalanceContract) XXX_Size() int
func (*WithdrawBalanceContract) XXX_Unmarshal ¶
func (m *WithdrawBalanceContract) XXX_Unmarshal(b []byte) error
type Witness ¶
type Witness struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Witness
func (*Witness) Descriptor ¶
func (*Witness) GetAddress ¶
func (*Witness) GetLatestBlockNum ¶
func (*Witness) GetLatestSlotNum ¶
func (*Witness) GetTotalMissed ¶
func (*Witness) GetTotalProduced ¶
func (*Witness) GetVoteCount ¶
func (*Witness) ProtoMessage ¶
func (*Witness) ProtoMessage()
func (*Witness) XXX_DiscardUnknown ¶
func (m *Witness) XXX_DiscardUnknown()
func (*Witness) XXX_Marshal ¶
func (*Witness) XXX_Unmarshal ¶
type WitnessCreateContract ¶
type WitnessCreateContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WitnessCreateContract) Descriptor ¶
func (*WitnessCreateContract) Descriptor() ([]byte, []int)
func (*WitnessCreateContract) GetOwnerAddress ¶
func (m *WitnessCreateContract) GetOwnerAddress() []byte
func (*WitnessCreateContract) GetUrl ¶
func (m *WitnessCreateContract) GetUrl() []byte
func (*WitnessCreateContract) ProtoMessage ¶
func (*WitnessCreateContract) ProtoMessage()
func (*WitnessCreateContract) Reset ¶
func (m *WitnessCreateContract) Reset()
func (*WitnessCreateContract) String ¶
func (m *WitnessCreateContract) String() string
func (*WitnessCreateContract) XXX_DiscardUnknown ¶
func (m *WitnessCreateContract) XXX_DiscardUnknown()
func (*WitnessCreateContract) XXX_Marshal ¶
func (m *WitnessCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WitnessCreateContract) XXX_Merge ¶
func (dst *WitnessCreateContract) XXX_Merge(src proto.Message)
func (*WitnessCreateContract) XXX_Size ¶
func (m *WitnessCreateContract) XXX_Size() int
func (*WitnessCreateContract) XXX_Unmarshal ¶
func (m *WitnessCreateContract) XXX_Unmarshal(b []byte) error
type WitnessUpdateContract ¶
type WitnessUpdateContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WitnessUpdateContract) Descriptor ¶
func (*WitnessUpdateContract) Descriptor() ([]byte, []int)
func (*WitnessUpdateContract) GetOwnerAddress ¶
func (m *WitnessUpdateContract) GetOwnerAddress() []byte
func (*WitnessUpdateContract) GetUpdateUrl ¶
func (m *WitnessUpdateContract) GetUpdateUrl() []byte
func (*WitnessUpdateContract) ProtoMessage ¶
func (*WitnessUpdateContract) ProtoMessage()
func (*WitnessUpdateContract) Reset ¶
func (m *WitnessUpdateContract) Reset()
func (*WitnessUpdateContract) String ¶
func (m *WitnessUpdateContract) String() string
func (*WitnessUpdateContract) XXX_DiscardUnknown ¶
func (m *WitnessUpdateContract) XXX_DiscardUnknown()
func (*WitnessUpdateContract) XXX_Marshal ¶
func (m *WitnessUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WitnessUpdateContract) XXX_Merge ¶
func (dst *WitnessUpdateContract) XXX_Merge(src proto.Message)
func (*WitnessUpdateContract) XXX_Size ¶
func (m *WitnessUpdateContract) XXX_Size() int
func (*WitnessUpdateContract) XXX_Unmarshal ¶
func (m *WitnessUpdateContract) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.