Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertPubKeys(validatorsPubKeys map[uint32][][]byte) map[uint32]*PubKeys
- func GetBody(bodyHandler data.BodyHandler) (*block.Body, error)
- func GetHeaderBytesAndType(marshaller marshal.Marshalizer, headerHandler data.HeaderHandler) ([]byte, core.HeaderType, error)
- type Accounts
- func (*Accounts) Descriptor() ([]byte, []int)
- func (this *Accounts) Equal(that interface{}) bool
- func (m *Accounts) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount
- func (m *Accounts) GetBlockTimestamp() uint64
- func (m *Accounts) GetShardID() uint32
- func (this *Accounts) GoString() string
- func (m *Accounts) Marshal() (dAtA []byte, err error)
- func (m *Accounts) MarshalTo(dAtA []byte) (int, error)
- func (m *Accounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Accounts) ProtoMessage()
- func (m *Accounts) Reset()
- func (m *Accounts) Size() (n int)
- func (this *Accounts) String() string
- func (m *Accounts) Unmarshal(dAtA []byte) error
- func (m *Accounts) XXX_DiscardUnknown()
- func (m *Accounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Accounts) XXX_Merge(src proto.Message)
- func (m *Accounts) XXX_Size() int
- func (m *Accounts) XXX_Unmarshal(b []byte) error
- type BlockData
- func (*BlockData) Descriptor() ([]byte, []int)
- func (this *BlockData) Equal(that interface{}) bool
- func (m *BlockData) GetBody() *block.Body
- func (m *BlockData) GetHeaderBytes() []byte
- func (m *BlockData) GetHeaderHash() []byte
- func (m *BlockData) GetHeaderType() string
- func (m *BlockData) GetIntraShardMiniBlocks() []*block.MiniBlock
- func (m *BlockData) GetShardID() uint32
- func (this *BlockData) GoString() string
- func (m *BlockData) Marshal() (dAtA []byte, err error)
- func (m *BlockData) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockData) ProtoMessage()
- func (m *BlockData) Reset()
- func (m *BlockData) Size() (n int)
- func (this *BlockData) String() string
- func (m *BlockData) Unmarshal(dAtA []byte) error
- func (m *BlockData) XXX_DiscardUnknown()
- func (m *BlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockData) XXX_Merge(src proto.Message)
- func (m *BlockData) XXX_Size() int
- func (m *BlockData) XXX_Unmarshal(b []byte) error
- type FeeInfo
- func (*FeeInfo) Descriptor() ([]byte, []int)
- func (this *FeeInfo) Equal(that interface{}) bool
- func (m *FeeInfo) GetFee() *math_big.Int
- func (m *FeeInfo) GetGasUsed() uint64
- func (m *FeeInfo) GetInitialPaidFee() *math_big.Int
- func (this *FeeInfo) GoString() string
- func (m *FeeInfo) Marshal() (dAtA []byte, err error)
- func (m *FeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeInfo) ProtoMessage()
- func (m *FeeInfo) Reset()
- func (f *FeeInfo) SetFee(fee *big.Int)
- func (f *FeeInfo) SetGasUsed(gasUsed uint64)
- func (f *FeeInfo) SetInitialPaidFee(fee *big.Int)
- func (m *FeeInfo) Size() (n int)
- func (this *FeeInfo) String() string
- func (m *FeeInfo) Unmarshal(dAtA []byte) error
- func (m *FeeInfo) XXX_DiscardUnknown()
- func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeInfo) XXX_Merge(src proto.Message)
- func (m *FeeInfo) XXX_Size() int
- func (m *FeeInfo) XXX_Unmarshal(b []byte) error
- type FinalizedBlock
- func (*FinalizedBlock) Descriptor() ([]byte, []int)
- func (this *FinalizedBlock) Equal(that interface{}) bool
- func (m *FinalizedBlock) GetHeaderHash() []byte
- func (m *FinalizedBlock) GetShardID() uint32
- func (this *FinalizedBlock) GoString() string
- func (m *FinalizedBlock) Marshal() (dAtA []byte, err error)
- func (m *FinalizedBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *FinalizedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FinalizedBlock) ProtoMessage()
- func (m *FinalizedBlock) Reset()
- func (m *FinalizedBlock) Size() (n int)
- func (this *FinalizedBlock) String() string
- func (m *FinalizedBlock) Unmarshal(dAtA []byte) error
- func (m *FinalizedBlock) XXX_DiscardUnknown()
- func (m *FinalizedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinalizedBlock) XXX_Merge(src proto.Message)
- func (m *FinalizedBlock) XXX_Size() int
- func (m *FinalizedBlock) XXX_Unmarshal(b []byte) error
- type HeaderDataWithBody
- type HeaderGasConsumption
- func (*HeaderGasConsumption) Descriptor() ([]byte, []int)
- func (this *HeaderGasConsumption) Equal(that interface{}) bool
- func (m *HeaderGasConsumption) GetGasPenalized() uint64
- func (m *HeaderGasConsumption) GetGasProvided() uint64
- func (m *HeaderGasConsumption) GetGasRefunded() uint64
- func (m *HeaderGasConsumption) GetMaxGasPerBlock() uint64
- func (this *HeaderGasConsumption) GoString() string
- func (m *HeaderGasConsumption) Marshal() (dAtA []byte, err error)
- func (m *HeaderGasConsumption) MarshalTo(dAtA []byte) (int, error)
- func (m *HeaderGasConsumption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HeaderGasConsumption) ProtoMessage()
- func (m *HeaderGasConsumption) Reset()
- func (m *HeaderGasConsumption) Size() (n int)
- func (this *HeaderGasConsumption) String() string
- func (m *HeaderGasConsumption) Unmarshal(dAtA []byte) error
- func (m *HeaderGasConsumption) XXX_DiscardUnknown()
- func (m *HeaderGasConsumption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderGasConsumption) XXX_Merge(src proto.Message)
- func (m *HeaderGasConsumption) XXX_Size() int
- func (m *HeaderGasConsumption) XXX_Unmarshal(b []byte) error
- type LogData
- func (*LogData) Descriptor() ([]byte, []int)
- func (this *LogData) Equal(that interface{}) bool
- func (m *LogData) GetLog() *transaction.Log
- func (m *LogData) GetTxHash() string
- func (this *LogData) GoString() string
- func (m *LogData) Marshal() (dAtA []byte, err error)
- func (m *LogData) MarshalTo(dAtA []byte) (int, error)
- func (m *LogData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogData) ProtoMessage()
- func (m *LogData) Reset()
- func (m *LogData) Size() (n int)
- func (this *LogData) String() string
- func (m *LogData) Unmarshal(dAtA []byte) error
- func (m *LogData) XXX_DiscardUnknown()
- func (m *LogData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogData) XXX_Merge(src proto.Message)
- func (m *LogData) XXX_Size() int
- func (m *LogData) XXX_Unmarshal(b []byte) error
- type OutportBlock
- func (*OutportBlock) Descriptor() ([]byte, []int)
- func (this *OutportBlock) Equal(that interface{}) bool
- func (m *OutportBlock) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount
- func (m *OutportBlock) GetBlockData() *BlockData
- func (m *OutportBlock) GetHeaderGasConsumption() *HeaderGasConsumption
- func (m *OutportBlock) GetHighestFinalBlockHash() []byte
- func (m *OutportBlock) GetHighestFinalBlockNonce() uint64
- func (m *OutportBlock) GetNotarizedHeadersHashes() []string
- func (m *OutportBlock) GetNumberOfShards() uint32
- func (m *OutportBlock) GetShardID() uint32
- func (m *OutportBlock) GetSignersIndexes() []uint64
- func (m *OutportBlock) GetTransactionPool() *TransactionPool
- func (this *OutportBlock) GoString() string
- func (m *OutportBlock) Marshal() (dAtA []byte, err error)
- func (m *OutportBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *OutportBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutportBlock) ProtoMessage()
- func (m *OutportBlock) Reset()
- func (m *OutportBlock) Size() (n int)
- func (this *OutportBlock) String() string
- func (m *OutportBlock) Unmarshal(dAtA []byte) error
- func (m *OutportBlock) XXX_DiscardUnknown()
- func (m *OutportBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutportBlock) XXX_Merge(src proto.Message)
- func (m *OutportBlock) XXX_Size() int
- func (m *OutportBlock) XXX_Unmarshal(b []byte) error
- type OutportBlockWithHeader
- type OutportBlockWithHeaderAndBody
- type OutportConfig
- func (*OutportConfig) Descriptor() ([]byte, []int)
- func (this *OutportConfig) Equal(that interface{}) bool
- func (m *OutportConfig) GetIsInImportDBMode() bool
- func (m *OutportConfig) GetShardID() uint32
- func (this *OutportConfig) GoString() string
- func (m *OutportConfig) Marshal() (dAtA []byte, err error)
- func (m *OutportConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OutportConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutportConfig) ProtoMessage()
- func (m *OutportConfig) Reset()
- func (m *OutportConfig) Size() (n int)
- func (this *OutportConfig) String() string
- func (m *OutportConfig) Unmarshal(dAtA []byte) error
- func (m *OutportConfig) XXX_DiscardUnknown()
- func (m *OutportConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutportConfig) XXX_Merge(src proto.Message)
- func (m *OutportConfig) XXX_Size() int
- func (m *OutportConfig) XXX_Unmarshal(b []byte) error
- type PubKeys
- func (*PubKeys) Descriptor() ([]byte, []int)
- func (this *PubKeys) Equal(that interface{}) bool
- func (m *PubKeys) GetKeys() [][]byte
- func (this *PubKeys) GoString() string
- func (m *PubKeys) Marshal() (dAtA []byte, err error)
- func (m *PubKeys) MarshalTo(dAtA []byte) (int, error)
- func (m *PubKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PubKeys) ProtoMessage()
- func (m *PubKeys) Reset()
- func (m *PubKeys) Size() (n int)
- func (this *PubKeys) String() string
- func (m *PubKeys) Unmarshal(dAtA []byte) error
- func (m *PubKeys) XXX_DiscardUnknown()
- func (m *PubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PubKeys) XXX_Merge(src proto.Message)
- func (m *PubKeys) XXX_Size() int
- func (m *PubKeys) XXX_Unmarshal(b []byte) error
- type RewardInfo
- func (*RewardInfo) Descriptor() ([]byte, []int)
- func (this *RewardInfo) Equal(that interface{}) bool
- func (m *RewardInfo) GetExecutionOrder() uint32
- func (m *RewardInfo) GetReward() *rewardTx.RewardTx
- func (r *RewardInfo) GetTxHandler() data.TransactionHandler
- func (this *RewardInfo) GoString() string
- func (m *RewardInfo) Marshal() (dAtA []byte, err error)
- func (m *RewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardInfo) ProtoMessage()
- func (m *RewardInfo) Reset()
- func (r *RewardInfo) SetExecutionOrder(order uint32)
- func (m *RewardInfo) Size() (n int)
- func (this *RewardInfo) String() string
- func (m *RewardInfo) Unmarshal(dAtA []byte) error
- func (m *RewardInfo) XXX_DiscardUnknown()
- func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardInfo) XXX_Merge(src proto.Message)
- func (m *RewardInfo) XXX_Size() int
- func (m *RewardInfo) XXX_Unmarshal(b []byte) error
- type RoundInfo
- func (*RoundInfo) Descriptor() ([]byte, []int)
- func (this *RoundInfo) Equal(that interface{}) bool
- func (m *RoundInfo) GetBlockWasProposed() bool
- func (m *RoundInfo) GetEpoch() uint32
- func (m *RoundInfo) GetRound() uint64
- func (m *RoundInfo) GetShardId() uint32
- func (m *RoundInfo) GetSignersIndexes() []uint64
- func (m *RoundInfo) GetTimestamp() uint64
- func (this *RoundInfo) GoString() string
- func (m *RoundInfo) Marshal() (dAtA []byte, err error)
- func (m *RoundInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RoundInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoundInfo) ProtoMessage()
- func (m *RoundInfo) Reset()
- func (m *RoundInfo) Size() (n int)
- func (this *RoundInfo) String() string
- func (m *RoundInfo) Unmarshal(dAtA []byte) error
- func (m *RoundInfo) XXX_DiscardUnknown()
- func (m *RoundInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoundInfo) XXX_Merge(src proto.Message)
- func (m *RoundInfo) XXX_Size() int
- func (m *RoundInfo) XXX_Unmarshal(b []byte) error
- type RoundsInfo
- func (*RoundsInfo) Descriptor() ([]byte, []int)
- func (this *RoundsInfo) Equal(that interface{}) bool
- func (m *RoundsInfo) GetRoundsInfo() []*RoundInfo
- func (m *RoundsInfo) GetShardID() uint32
- func (this *RoundsInfo) GoString() string
- func (m *RoundsInfo) Marshal() (dAtA []byte, err error)
- func (m *RoundsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RoundsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoundsInfo) ProtoMessage()
- func (m *RoundsInfo) Reset()
- func (m *RoundsInfo) Size() (n int)
- func (this *RoundsInfo) String() string
- func (m *RoundsInfo) Unmarshal(dAtA []byte) error
- func (m *RoundsInfo) XXX_DiscardUnknown()
- func (m *RoundsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoundsInfo) XXX_Merge(src proto.Message)
- func (m *RoundsInfo) XXX_Size() int
- func (m *RoundsInfo) XXX_Unmarshal(b []byte) error
- type SCRInfo
- func (*SCRInfo) Descriptor() ([]byte, []int)
- func (this *SCRInfo) Equal(that interface{}) bool
- func (m *SCRInfo) GetExecutionOrder() uint32
- func (m *SCRInfo) GetFeeInfo() *FeeInfo
- func (m *SCRInfo) GetSmartContractResult() *smartContractResult.SmartContractResult
- func (s *SCRInfo) GetTxHandler() data.TransactionHandler
- func (this *SCRInfo) GoString() string
- func (m *SCRInfo) Marshal() (dAtA []byte, err error)
- func (m *SCRInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SCRInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SCRInfo) ProtoMessage()
- func (m *SCRInfo) Reset()
- func (s *SCRInfo) SetExecutionOrder(order uint32)
- func (m *SCRInfo) Size() (n int)
- func (this *SCRInfo) String() string
- func (m *SCRInfo) Unmarshal(dAtA []byte) error
- func (m *SCRInfo) XXX_DiscardUnknown()
- func (m *SCRInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SCRInfo) XXX_Merge(src proto.Message)
- func (m *SCRInfo) XXX_Size() int
- func (m *SCRInfo) XXX_Unmarshal(b []byte) error
- type Shard
- func (*Shard) Descriptor() ([]byte, []int)
- func (this *Shard) Equal(that interface{}) bool
- func (m *Shard) GetShardID() uint32
- func (this *Shard) GoString() string
- func (m *Shard) Marshal() (dAtA []byte, err error)
- func (m *Shard) MarshalTo(dAtA []byte) (int, error)
- func (m *Shard) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Shard) ProtoMessage()
- func (m *Shard) Reset()
- func (m *Shard) Size() (n int)
- func (this *Shard) String() string
- func (m *Shard) Unmarshal(dAtA []byte) error
- func (m *Shard) XXX_DiscardUnknown()
- func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Shard) XXX_Merge(src proto.Message)
- func (m *Shard) XXX_Size() int
- func (m *Shard) XXX_Unmarshal(b []byte) error
- type StatusInfo
- type TransactionPool
- func (*TransactionPool) Descriptor() ([]byte, []int)
- func (this *TransactionPool) Equal(that interface{}) bool
- func (m *TransactionPool) GetInvalidTxs() map[string]*TxInfo
- func (m *TransactionPool) GetLogs() []*LogData
- func (m *TransactionPool) GetReceipts() map[string]*receipt.Receipt
- func (m *TransactionPool) GetRewards() map[string]*RewardInfo
- func (m *TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock() []string
- func (m *TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock() []string
- func (m *TransactionPool) GetSmartContractResults() map[string]*SCRInfo
- func (m *TransactionPool) GetTransactions() map[string]*TxInfo
- func (this *TransactionPool) GoString() string
- func (m *TransactionPool) Marshal() (dAtA []byte, err error)
- func (m *TransactionPool) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionPool) ProtoMessage()
- func (m *TransactionPool) Reset()
- func (m *TransactionPool) Size() (n int)
- func (this *TransactionPool) String() string
- func (m *TransactionPool) Unmarshal(dAtA []byte) error
- func (m *TransactionPool) XXX_DiscardUnknown()
- func (m *TransactionPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionPool) XXX_Merge(src proto.Message)
- func (m *TransactionPool) XXX_Size() int
- func (m *TransactionPool) XXX_Unmarshal(b []byte) error
- type TxInfo
- func (*TxInfo) Descriptor() ([]byte, []int)
- func (this *TxInfo) Equal(that interface{}) bool
- func (m *TxInfo) GetExecutionOrder() uint32
- func (m *TxInfo) GetFeeInfo() *FeeInfo
- func (m *TxInfo) GetTransaction() *transaction.Transaction
- func (t *TxInfo) GetTxHandler() data.TransactionHandler
- func (this *TxInfo) GoString() string
- func (m *TxInfo) Marshal() (dAtA []byte, err error)
- func (m *TxInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TxInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxInfo) ProtoMessage()
- func (m *TxInfo) Reset()
- func (t *TxInfo) SetExecutionOrder(order uint32)
- func (m *TxInfo) Size() (n int)
- func (this *TxInfo) String() string
- func (m *TxInfo) Unmarshal(dAtA []byte) error
- func (m *TxInfo) XXX_DiscardUnknown()
- func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInfo) XXX_Merge(src proto.Message)
- func (m *TxInfo) XXX_Size() int
- func (m *TxInfo) XXX_Unmarshal(b []byte) error
- type ValidatorRatingInfo
- func (*ValidatorRatingInfo) Descriptor() ([]byte, []int)
- func (this *ValidatorRatingInfo) Equal(that interface{}) bool
- func (m *ValidatorRatingInfo) GetPublicKey() string
- func (m *ValidatorRatingInfo) GetRating() float32
- func (this *ValidatorRatingInfo) GoString() string
- func (m *ValidatorRatingInfo) Marshal() (dAtA []byte, err error)
- func (m *ValidatorRatingInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorRatingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorRatingInfo) ProtoMessage()
- func (m *ValidatorRatingInfo) Reset()
- func (m *ValidatorRatingInfo) Size() (n int)
- func (this *ValidatorRatingInfo) String() string
- func (m *ValidatorRatingInfo) Unmarshal(dAtA []byte) error
- func (m *ValidatorRatingInfo) XXX_DiscardUnknown()
- func (m *ValidatorRatingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorRatingInfo) XXX_Merge(src proto.Message)
- func (m *ValidatorRatingInfo) XXX_Size() int
- func (m *ValidatorRatingInfo) XXX_Unmarshal(b []byte) error
- type ValidatorsPubKeys
- func (*ValidatorsPubKeys) Descriptor() ([]byte, []int)
- func (this *ValidatorsPubKeys) Equal(that interface{}) bool
- func (m *ValidatorsPubKeys) GetEpoch() uint32
- func (m *ValidatorsPubKeys) GetShardID() uint32
- func (m *ValidatorsPubKeys) GetShardValidatorsPubKeys() map[uint32]*PubKeys
- func (this *ValidatorsPubKeys) GoString() string
- func (m *ValidatorsPubKeys) Marshal() (dAtA []byte, err error)
- func (m *ValidatorsPubKeys) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorsPubKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorsPubKeys) ProtoMessage()
- func (m *ValidatorsPubKeys) Reset()
- func (m *ValidatorsPubKeys) Size() (n int)
- func (this *ValidatorsPubKeys) String() string
- func (m *ValidatorsPubKeys) Unmarshal(dAtA []byte) error
- func (m *ValidatorsPubKeys) XXX_DiscardUnknown()
- func (m *ValidatorsPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorsPubKeys) XXX_Merge(src proto.Message)
- func (m *ValidatorsPubKeys) XXX_Size() int
- func (m *ValidatorsPubKeys) XXX_Unmarshal(b []byte) error
- type ValidatorsRating
- func (*ValidatorsRating) Descriptor() ([]byte, []int)
- func (this *ValidatorsRating) Equal(that interface{}) bool
- func (m *ValidatorsRating) GetEpoch() uint32
- func (m *ValidatorsRating) GetShardID() uint32
- func (m *ValidatorsRating) GetValidatorsRatingInfo() []*ValidatorRatingInfo
- func (this *ValidatorsRating) GoString() string
- func (m *ValidatorsRating) Marshal() (dAtA []byte, err error)
- func (m *ValidatorsRating) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorsRating) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorsRating) ProtoMessage()
- func (m *ValidatorsRating) Reset()
- func (m *ValidatorsRating) Size() (n int)
- func (this *ValidatorsRating) String() string
- func (m *ValidatorsRating) Unmarshal(dAtA []byte) error
- func (m *ValidatorsRating) XXX_DiscardUnknown()
- func (m *ValidatorsRating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorsRating) XXX_Merge(src proto.Message)
- func (m *ValidatorsRating) XXX_Size() int
- func (m *ValidatorsRating) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // TopicSaveBlock is the topic that triggers a block saving TopicSaveBlock = "SaveBlock" // TopicRevertIndexedBlock is the topic that triggers a reverting of an indexed block TopicRevertIndexedBlock = "RevertIndexedBlock" // TopicSaveRoundsInfo is the topic that triggers the saving of rounds info TopicSaveRoundsInfo = "SaveRoundsInfo" // TopicSaveValidatorsPubKeys is the topic that triggers the saving of validators' public keys TopicSaveValidatorsPubKeys = "SaveValidatorsPubKeys" // TopicSaveValidatorsRating is the topic that triggers the saving of the validators' rating TopicSaveValidatorsRating = "SaveValidatorsRating" // TopicSaveAccounts is the topic that triggers the saving of accounts TopicSaveAccounts = "SaveAccounts" // TopicFinalizedBlock is the topic that triggers the handling of a finalized block TopicFinalizedBlock = "FinalizedBlock" // TopicSettings is the topic that triggers the sending of node settings TopicSettings = "Settings" )
Variables ¶
Functions ¶
func ConvertPubKeys ¶ added in v0.0.9
ConvertPubKeys converts a map<shard, validators> into a map<shard, validatorsProtoMessage>
func GetBody ¶ added in v0.0.9
func GetBody(bodyHandler data.BodyHandler) (*block.Body, error)
GetBody converts the BodyHandler interface to Body struct
func GetHeaderBytesAndType ¶ added in v0.0.9
func GetHeaderBytesAndType(marshaller marshal.Marshalizer, headerHandler data.HeaderHandler) ([]byte, core.HeaderType, error)
GetHeaderBytesAndType returns the marshalled header bytes along with header type, if known
Types ¶
type Accounts ¶ added in v0.0.9
type Accounts struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` BlockTimestamp uint64 `protobuf:"varint,2,opt,name=BlockTimestamp,proto3" json:"blockTimestamp"` AlteredAccounts map[string]*alteredAccount.AlteredAccount `` /* 171-byte string literal not displayed */ }
func (*Accounts) Descriptor ¶ added in v0.0.9
func (*Accounts) GetAlteredAccounts ¶ added in v0.0.9
func (m *Accounts) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount
func (*Accounts) GetBlockTimestamp ¶ added in v0.0.9
func (*Accounts) GetShardID ¶ added in v0.0.9
func (*Accounts) MarshalToSizedBuffer ¶ added in v0.0.9
func (*Accounts) ProtoMessage ¶ added in v0.0.9
func (*Accounts) ProtoMessage()
func (*Accounts) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *Accounts) XXX_DiscardUnknown()
func (*Accounts) XXX_Marshal ¶ added in v0.0.9
func (*Accounts) XXX_Unmarshal ¶ added in v0.0.9
type BlockData ¶ added in v0.0.9
type BlockData struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID,omitempty"` HeaderBytes []byte `protobuf:"bytes,2,opt,name=HeaderBytes,proto3" json:"headerBytes,omitempty"` HeaderType string `protobuf:"bytes,3,opt,name=HeaderType,proto3" json:"headerType,omitempty"` HeaderHash []byte `protobuf:"bytes,4,opt,name=HeaderHash,proto3" json:"headerHash,omitempty"` Body *block.Body `protobuf:"bytes,5,opt,name=Body,proto3" json:"body,omitempty"` IntraShardMiniBlocks []*block.MiniBlock `protobuf:"bytes,6,rep,name=IntraShardMiniBlocks,proto3" json:"intraShardMiniBlocks,omitempty"` }
func (*BlockData) Descriptor ¶ added in v0.0.9
func (*BlockData) GetHeaderBytes ¶ added in v0.0.9
func (*BlockData) GetHeaderHash ¶ added in v0.0.9
func (*BlockData) GetHeaderType ¶ added in v0.0.9
func (*BlockData) GetIntraShardMiniBlocks ¶ added in v0.1.0
func (*BlockData) GetShardID ¶ added in v0.1.0
func (*BlockData) MarshalToSizedBuffer ¶ added in v0.0.9
func (*BlockData) ProtoMessage ¶ added in v0.0.9
func (*BlockData) ProtoMessage()
func (*BlockData) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *BlockData) XXX_DiscardUnknown()
func (*BlockData) XXX_Marshal ¶ added in v0.0.9
func (*BlockData) XXX_Unmarshal ¶ added in v0.0.9
type FeeInfo ¶
type FeeInfo struct { GasUsed uint64 `protobuf:"varint,1,opt,name=GasUsed,proto3" json:"gasUsed"` Fee *math_big.Int `` /* 137-byte string literal not displayed */ InitialPaidFee *math_big.Int `` /* 159-byte string literal not displayed */ }
func (*FeeInfo) Descriptor ¶ added in v0.0.9
func (*FeeInfo) GetGasUsed ¶ added in v0.0.9
func (*FeeInfo) GetInitialPaidFee ¶ added in v0.0.9
func (*FeeInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (*FeeInfo) ProtoMessage ¶ added in v0.0.9
func (*FeeInfo) ProtoMessage()
func (*FeeInfo) SetGasUsed ¶ added in v0.0.9
SetGasUsed sets the used gas
func (*FeeInfo) SetInitialPaidFee ¶ added in v0.0.9
SetInitialPaidFee sets the initial paid fee
func (*FeeInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *FeeInfo) XXX_DiscardUnknown()
func (*FeeInfo) XXX_Marshal ¶ added in v0.0.9
func (*FeeInfo) XXX_Unmarshal ¶ added in v0.0.9
type FinalizedBlock ¶ added in v0.0.9
type FinalizedBlock struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` HeaderHash []byte `protobuf:"bytes,2,opt,name=HeaderHash,proto3" json:"headerHash"` }
func (*FinalizedBlock) Descriptor ¶ added in v0.0.9
func (*FinalizedBlock) Descriptor() ([]byte, []int)
func (*FinalizedBlock) Equal ¶ added in v0.0.9
func (this *FinalizedBlock) Equal(that interface{}) bool
func (*FinalizedBlock) GetHeaderHash ¶ added in v0.0.9
func (m *FinalizedBlock) GetHeaderHash() []byte
func (*FinalizedBlock) GetShardID ¶ added in v0.1.0
func (m *FinalizedBlock) GetShardID() uint32
func (*FinalizedBlock) GoString ¶ added in v0.0.9
func (this *FinalizedBlock) GoString() string
func (*FinalizedBlock) Marshal ¶ added in v0.0.9
func (m *FinalizedBlock) Marshal() (dAtA []byte, err error)
func (*FinalizedBlock) MarshalTo ¶ added in v0.0.9
func (m *FinalizedBlock) MarshalTo(dAtA []byte) (int, error)
func (*FinalizedBlock) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *FinalizedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FinalizedBlock) ProtoMessage ¶ added in v0.0.9
func (*FinalizedBlock) ProtoMessage()
func (*FinalizedBlock) Reset ¶ added in v0.0.9
func (m *FinalizedBlock) Reset()
func (*FinalizedBlock) Size ¶ added in v0.0.9
func (m *FinalizedBlock) Size() (n int)
func (*FinalizedBlock) String ¶ added in v0.0.9
func (this *FinalizedBlock) String() string
func (*FinalizedBlock) Unmarshal ¶ added in v0.0.9
func (m *FinalizedBlock) Unmarshal(dAtA []byte) error
func (*FinalizedBlock) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *FinalizedBlock) XXX_DiscardUnknown()
func (*FinalizedBlock) XXX_Marshal ¶ added in v0.0.9
func (m *FinalizedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinalizedBlock) XXX_Merge ¶ added in v0.0.9
func (m *FinalizedBlock) XXX_Merge(src proto.Message)
func (*FinalizedBlock) XXX_Size ¶ added in v0.0.9
func (m *FinalizedBlock) XXX_Size() int
func (*FinalizedBlock) XXX_Unmarshal ¶ added in v0.0.9
func (m *FinalizedBlock) XXX_Unmarshal(b []byte) error
type HeaderDataWithBody ¶ added in v0.0.9
type HeaderDataWithBody struct { Body data.BodyHandler Header data.HeaderHandler IntraShardMiniBlocks []*block.MiniBlock HeaderHash []byte }
HeaderDataWithBody holds header and body data
type HeaderGasConsumption ¶
type HeaderGasConsumption struct { GasProvided uint64 `protobuf:"varint,1,opt,name=GasProvided,proto3" json:"gasProvided"` GasRefunded uint64 `protobuf:"varint,2,opt,name=GasRefunded,proto3" json:"gasRefunded"` GasPenalized uint64 `protobuf:"varint,3,opt,name=GasPenalized,proto3" json:"gasPenalized"` MaxGasPerBlock uint64 `protobuf:"varint,4,opt,name=MaxGasPerBlock,proto3" json:"maxGasPerBlock"` }
func (*HeaderGasConsumption) Descriptor ¶ added in v0.0.9
func (*HeaderGasConsumption) Descriptor() ([]byte, []int)
func (*HeaderGasConsumption) Equal ¶ added in v0.0.9
func (this *HeaderGasConsumption) Equal(that interface{}) bool
func (*HeaderGasConsumption) GetGasPenalized ¶ added in v0.0.9
func (m *HeaderGasConsumption) GetGasPenalized() uint64
func (*HeaderGasConsumption) GetGasProvided ¶ added in v0.0.9
func (m *HeaderGasConsumption) GetGasProvided() uint64
func (*HeaderGasConsumption) GetGasRefunded ¶ added in v0.0.9
func (m *HeaderGasConsumption) GetGasRefunded() uint64
func (*HeaderGasConsumption) GetMaxGasPerBlock ¶ added in v0.0.9
func (m *HeaderGasConsumption) GetMaxGasPerBlock() uint64
func (*HeaderGasConsumption) GoString ¶ added in v0.0.9
func (this *HeaderGasConsumption) GoString() string
func (*HeaderGasConsumption) Marshal ¶ added in v0.0.9
func (m *HeaderGasConsumption) Marshal() (dAtA []byte, err error)
func (*HeaderGasConsumption) MarshalTo ¶ added in v0.0.9
func (m *HeaderGasConsumption) MarshalTo(dAtA []byte) (int, error)
func (*HeaderGasConsumption) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *HeaderGasConsumption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HeaderGasConsumption) ProtoMessage ¶ added in v0.0.9
func (*HeaderGasConsumption) ProtoMessage()
func (*HeaderGasConsumption) Reset ¶ added in v0.0.9
func (m *HeaderGasConsumption) Reset()
func (*HeaderGasConsumption) Size ¶ added in v0.0.9
func (m *HeaderGasConsumption) Size() (n int)
func (*HeaderGasConsumption) String ¶ added in v0.0.9
func (this *HeaderGasConsumption) String() string
func (*HeaderGasConsumption) Unmarshal ¶ added in v0.0.9
func (m *HeaderGasConsumption) Unmarshal(dAtA []byte) error
func (*HeaderGasConsumption) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *HeaderGasConsumption) XXX_DiscardUnknown()
func (*HeaderGasConsumption) XXX_Marshal ¶ added in v0.0.9
func (m *HeaderGasConsumption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderGasConsumption) XXX_Merge ¶ added in v0.0.9
func (m *HeaderGasConsumption) XXX_Merge(src proto.Message)
func (*HeaderGasConsumption) XXX_Size ¶ added in v0.0.9
func (m *HeaderGasConsumption) XXX_Size() int
func (*HeaderGasConsumption) XXX_Unmarshal ¶ added in v0.0.9
func (m *HeaderGasConsumption) XXX_Unmarshal(b []byte) error
type LogData ¶ added in v0.0.9
type LogData struct { TxHash string `protobuf:"bytes,1,opt,name=TxHash,proto3" json:"txHash"` Log *transaction.Log `protobuf:"bytes,2,opt,name=Log,proto3" json:"log"` }
func (*LogData) Descriptor ¶ added in v0.0.9
func (*LogData) GetLog ¶ added in v0.0.9
func (m *LogData) GetLog() *transaction.Log
func (*LogData) MarshalToSizedBuffer ¶ added in v0.0.9
func (*LogData) ProtoMessage ¶ added in v0.0.9
func (*LogData) ProtoMessage()
func (*LogData) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *LogData) XXX_DiscardUnknown()
func (*LogData) XXX_Marshal ¶ added in v0.0.9
func (*LogData) XXX_Unmarshal ¶ added in v0.0.9
type OutportBlock ¶ added in v0.0.9
type OutportBlock struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID,omitempty"` BlockData *BlockData `protobuf:"bytes,2,opt,name=BlockData,proto3" json:"blockData,omitempty"` TransactionPool *TransactionPool `protobuf:"bytes,3,opt,name=TransactionPool,proto3" json:"transactionPool,omitempty"` HeaderGasConsumption *HeaderGasConsumption `protobuf:"bytes,4,opt,name=HeaderGasConsumption,proto3" json:"headerGasConsumption,omitempty"` AlteredAccounts map[string]*alteredAccount.AlteredAccount `` /* 171-byte string literal not displayed */ NotarizedHeadersHashes []string `protobuf:"bytes,6,rep,name=NotarizedHeadersHashes,proto3" json:"notarizedHeadersHashes,omitempty"` NumberOfShards uint32 `protobuf:"varint,7,opt,name=NumberOfShards,proto3" json:"numberOfShards"` SignersIndexes []uint64 `protobuf:"varint,8,rep,packed,name=SignersIndexes,proto3" json:"signersIndexes,omitempty"` HighestFinalBlockNonce uint64 `protobuf:"varint,9,opt,name=HighestFinalBlockNonce,proto3" json:"highestFinalBlockNonce"` HighestFinalBlockHash []byte `protobuf:"bytes,10,opt,name=HighestFinalBlockHash,proto3" json:"highestFinalBlockHash,omitempty"` }
func (*OutportBlock) Descriptor ¶ added in v0.0.9
func (*OutportBlock) Descriptor() ([]byte, []int)
func (*OutportBlock) Equal ¶ added in v0.0.9
func (this *OutportBlock) Equal(that interface{}) bool
func (*OutportBlock) GetAlteredAccounts ¶ added in v0.0.9
func (m *OutportBlock) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount
func (*OutportBlock) GetBlockData ¶ added in v0.0.9
func (m *OutportBlock) GetBlockData() *BlockData
func (*OutportBlock) GetHeaderGasConsumption ¶ added in v0.0.9
func (m *OutportBlock) GetHeaderGasConsumption() *HeaderGasConsumption
func (*OutportBlock) GetHighestFinalBlockHash ¶ added in v0.0.9
func (m *OutportBlock) GetHighestFinalBlockHash() []byte
func (*OutportBlock) GetHighestFinalBlockNonce ¶ added in v0.0.9
func (m *OutportBlock) GetHighestFinalBlockNonce() uint64
func (*OutportBlock) GetNotarizedHeadersHashes ¶ added in v0.0.9
func (m *OutportBlock) GetNotarizedHeadersHashes() []string
func (*OutportBlock) GetNumberOfShards ¶ added in v0.0.9
func (m *OutportBlock) GetNumberOfShards() uint32
func (*OutportBlock) GetShardID ¶ added in v0.1.0
func (m *OutportBlock) GetShardID() uint32
func (*OutportBlock) GetSignersIndexes ¶ added in v0.0.9
func (m *OutportBlock) GetSignersIndexes() []uint64
func (*OutportBlock) GetTransactionPool ¶ added in v0.0.9
func (m *OutportBlock) GetTransactionPool() *TransactionPool
func (*OutportBlock) GoString ¶ added in v0.0.9
func (this *OutportBlock) GoString() string
func (*OutportBlock) Marshal ¶ added in v0.0.9
func (m *OutportBlock) Marshal() (dAtA []byte, err error)
func (*OutportBlock) MarshalTo ¶ added in v0.0.9
func (m *OutportBlock) MarshalTo(dAtA []byte) (int, error)
func (*OutportBlock) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *OutportBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutportBlock) ProtoMessage ¶ added in v0.0.9
func (*OutportBlock) ProtoMessage()
func (*OutportBlock) Reset ¶ added in v0.0.9
func (m *OutportBlock) Reset()
func (*OutportBlock) Size ¶ added in v0.0.9
func (m *OutportBlock) Size() (n int)
func (*OutportBlock) String ¶ added in v0.0.9
func (this *OutportBlock) String() string
func (*OutportBlock) Unmarshal ¶ added in v0.0.9
func (m *OutportBlock) Unmarshal(dAtA []byte) error
func (*OutportBlock) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *OutportBlock) XXX_DiscardUnknown()
func (*OutportBlock) XXX_Marshal ¶ added in v0.0.9
func (m *OutportBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutportBlock) XXX_Merge ¶ added in v0.0.9
func (m *OutportBlock) XXX_Merge(src proto.Message)
func (*OutportBlock) XXX_Size ¶ added in v0.0.9
func (m *OutportBlock) XXX_Size() int
func (*OutportBlock) XXX_Unmarshal ¶ added in v0.0.9
func (m *OutportBlock) XXX_Unmarshal(b []byte) error
type OutportBlockWithHeader ¶ added in v0.0.9
type OutportBlockWithHeader struct { *OutportBlock Header data.HeaderHandler }
OutportBlockWithHeader will extend the OutportBlock structure
type OutportBlockWithHeaderAndBody ¶ added in v0.0.9
type OutportBlockWithHeaderAndBody struct { *OutportBlock HeaderDataWithBody *HeaderDataWithBody }
OutportBlockWithHeaderAndBody is a wrapper for OutportBlock used for outport handler
type OutportConfig ¶ added in v0.1.0
type OutportConfig struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` IsInImportDBMode bool `protobuf:"varint,2,opt,name=IsInImportDBMode,proto3" json:"isInImportDBMode"` }
func (*OutportConfig) Descriptor ¶ added in v0.1.0
func (*OutportConfig) Descriptor() ([]byte, []int)
func (*OutportConfig) Equal ¶ added in v0.1.0
func (this *OutportConfig) Equal(that interface{}) bool
func (*OutportConfig) GetIsInImportDBMode ¶ added in v0.1.0
func (m *OutportConfig) GetIsInImportDBMode() bool
func (*OutportConfig) GetShardID ¶ added in v0.1.0
func (m *OutportConfig) GetShardID() uint32
func (*OutportConfig) GoString ¶ added in v0.1.0
func (this *OutportConfig) GoString() string
func (*OutportConfig) Marshal ¶ added in v0.1.0
func (m *OutportConfig) Marshal() (dAtA []byte, err error)
func (*OutportConfig) MarshalTo ¶ added in v0.1.0
func (m *OutportConfig) MarshalTo(dAtA []byte) (int, error)
func (*OutportConfig) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *OutportConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutportConfig) ProtoMessage ¶ added in v0.1.0
func (*OutportConfig) ProtoMessage()
func (*OutportConfig) Reset ¶ added in v0.1.0
func (m *OutportConfig) Reset()
func (*OutportConfig) Size ¶ added in v0.1.0
func (m *OutportConfig) Size() (n int)
func (*OutportConfig) String ¶ added in v0.1.0
func (this *OutportConfig) String() string
func (*OutportConfig) Unmarshal ¶ added in v0.1.0
func (m *OutportConfig) Unmarshal(dAtA []byte) error
func (*OutportConfig) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *OutportConfig) XXX_DiscardUnknown()
func (*OutportConfig) XXX_Marshal ¶ added in v0.1.0
func (m *OutportConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutportConfig) XXX_Merge ¶ added in v0.1.0
func (m *OutportConfig) XXX_Merge(src proto.Message)
func (*OutportConfig) XXX_Size ¶ added in v0.1.0
func (m *OutportConfig) XXX_Size() int
func (*OutportConfig) XXX_Unmarshal ¶ added in v0.1.0
func (m *OutportConfig) XXX_Unmarshal(b []byte) error
type PubKeys ¶ added in v0.0.9
type PubKeys struct {
Keys [][]byte `protobuf:"bytes,1,rep,name=Keys,proto3" json:"keys,omitempty"`
}
func (*PubKeys) Descriptor ¶ added in v0.0.9
func (*PubKeys) MarshalToSizedBuffer ¶ added in v0.0.9
func (*PubKeys) ProtoMessage ¶ added in v0.0.9
func (*PubKeys) ProtoMessage()
func (*PubKeys) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *PubKeys) XXX_DiscardUnknown()
func (*PubKeys) XXX_Marshal ¶ added in v0.0.9
func (*PubKeys) XXX_Unmarshal ¶ added in v0.0.9
type RewardInfo ¶ added in v0.0.9
type RewardInfo struct { Reward *rewardTx.RewardTx `protobuf:"bytes,1,opt,name=Reward,proto3" json:"reward,omitempty"` ExecutionOrder uint32 `protobuf:"varint,2,opt,name=ExecutionOrder,proto3" json:"executionOrder"` }
func (*RewardInfo) Descriptor ¶ added in v0.0.9
func (*RewardInfo) Descriptor() ([]byte, []int)
func (*RewardInfo) Equal ¶ added in v0.0.9
func (this *RewardInfo) Equal(that interface{}) bool
func (*RewardInfo) GetExecutionOrder ¶ added in v0.0.9
func (m *RewardInfo) GetExecutionOrder() uint32
func (*RewardInfo) GetReward ¶ added in v0.0.9
func (m *RewardInfo) GetReward() *rewardTx.RewardTx
func (*RewardInfo) GetTxHandler ¶ added in v0.0.9
func (r *RewardInfo) GetTxHandler() data.TransactionHandler
GetTxHandler returns tx handler
func (*RewardInfo) GoString ¶ added in v0.0.9
func (this *RewardInfo) GoString() string
func (*RewardInfo) Marshal ¶ added in v0.0.9
func (m *RewardInfo) Marshal() (dAtA []byte, err error)
func (*RewardInfo) MarshalTo ¶ added in v0.0.9
func (m *RewardInfo) MarshalTo(dAtA []byte) (int, error)
func (*RewardInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardInfo) ProtoMessage ¶ added in v0.0.9
func (*RewardInfo) ProtoMessage()
func (*RewardInfo) Reset ¶ added in v0.0.9
func (m *RewardInfo) Reset()
func (*RewardInfo) SetExecutionOrder ¶ added in v0.0.9
func (r *RewardInfo) SetExecutionOrder(order uint32)
SetExecutionOrder sets execution order
func (*RewardInfo) Size ¶ added in v0.0.9
func (m *RewardInfo) Size() (n int)
func (*RewardInfo) String ¶ added in v0.0.9
func (this *RewardInfo) String() string
func (*RewardInfo) Unmarshal ¶ added in v0.0.9
func (m *RewardInfo) Unmarshal(dAtA []byte) error
func (*RewardInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *RewardInfo) XXX_DiscardUnknown()
func (*RewardInfo) XXX_Marshal ¶ added in v0.0.9
func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardInfo) XXX_Merge ¶ added in v0.0.9
func (m *RewardInfo) XXX_Merge(src proto.Message)
func (*RewardInfo) XXX_Size ¶ added in v0.0.9
func (m *RewardInfo) XXX_Size() int
func (*RewardInfo) XXX_Unmarshal ¶ added in v0.0.9
func (m *RewardInfo) XXX_Unmarshal(b []byte) error
type RoundInfo ¶
type RoundInfo struct { Round uint64 `protobuf:"varint,1,opt,name=Round,proto3" json:"round"` SignersIndexes []uint64 `protobuf:"varint,2,rep,packed,name=SignersIndexes,proto3" json:"signersIndexes"` BlockWasProposed bool `protobuf:"varint,3,opt,name=BlockWasProposed,proto3" json:"blockWasProposed"` ShardId uint32 `protobuf:"varint,4,opt,name=ShardId,proto3" json:"shardId"` Epoch uint32 `protobuf:"varint,5,opt,name=Epoch,proto3" json:"epoch"` Timestamp uint64 `protobuf:"varint,6,opt,name=Timestamp,proto3" json:"timestamp"` }
func (*RoundInfo) Descriptor ¶ added in v0.0.9
func (*RoundInfo) GetBlockWasProposed ¶ added in v0.0.9
func (*RoundInfo) GetShardId ¶ added in v0.0.9
func (*RoundInfo) GetSignersIndexes ¶ added in v0.0.9
func (*RoundInfo) GetTimestamp ¶ added in v0.0.9
func (*RoundInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (*RoundInfo) ProtoMessage ¶ added in v0.0.9
func (*RoundInfo) ProtoMessage()
func (*RoundInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *RoundInfo) XXX_DiscardUnknown()
func (*RoundInfo) XXX_Marshal ¶ added in v0.0.9
func (*RoundInfo) XXX_Unmarshal ¶ added in v0.0.9
type RoundsInfo ¶ added in v0.0.9
type RoundsInfo struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` RoundsInfo []*RoundInfo `protobuf:"bytes,2,rep,name=RoundsInfo,proto3" json:"roundsInfo,omitempty"` }
func (*RoundsInfo) Descriptor ¶ added in v0.0.9
func (*RoundsInfo) Descriptor() ([]byte, []int)
func (*RoundsInfo) Equal ¶ added in v0.0.9
func (this *RoundsInfo) Equal(that interface{}) bool
func (*RoundsInfo) GetRoundsInfo ¶ added in v0.0.9
func (m *RoundsInfo) GetRoundsInfo() []*RoundInfo
func (*RoundsInfo) GetShardID ¶ added in v0.1.0
func (m *RoundsInfo) GetShardID() uint32
func (*RoundsInfo) GoString ¶ added in v0.0.9
func (this *RoundsInfo) GoString() string
func (*RoundsInfo) Marshal ¶ added in v0.0.9
func (m *RoundsInfo) Marshal() (dAtA []byte, err error)
func (*RoundsInfo) MarshalTo ¶ added in v0.0.9
func (m *RoundsInfo) MarshalTo(dAtA []byte) (int, error)
func (*RoundsInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *RoundsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RoundsInfo) ProtoMessage ¶ added in v0.0.9
func (*RoundsInfo) ProtoMessage()
func (*RoundsInfo) Reset ¶ added in v0.0.9
func (m *RoundsInfo) Reset()
func (*RoundsInfo) Size ¶ added in v0.0.9
func (m *RoundsInfo) Size() (n int)
func (*RoundsInfo) String ¶ added in v0.0.9
func (this *RoundsInfo) String() string
func (*RoundsInfo) Unmarshal ¶ added in v0.0.9
func (m *RoundsInfo) Unmarshal(dAtA []byte) error
func (*RoundsInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *RoundsInfo) XXX_DiscardUnknown()
func (*RoundsInfo) XXX_Marshal ¶ added in v0.0.9
func (m *RoundsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoundsInfo) XXX_Merge ¶ added in v0.0.9
func (m *RoundsInfo) XXX_Merge(src proto.Message)
func (*RoundsInfo) XXX_Size ¶ added in v0.0.9
func (m *RoundsInfo) XXX_Size() int
func (*RoundsInfo) XXX_Unmarshal ¶ added in v0.0.9
func (m *RoundsInfo) XXX_Unmarshal(b []byte) error
type SCRInfo ¶ added in v0.0.9
type SCRInfo struct { SmartContractResult *smartContractResult.SmartContractResult `protobuf:"bytes,1,opt,name=SmartContractResult,proto3" json:"smartContractResult,omitempty"` FeeInfo *FeeInfo `protobuf:"bytes,2,opt,name=FeeInfo,proto3" json:"feeInfo,omitempty"` ExecutionOrder uint32 `protobuf:"varint,3,opt,name=ExecutionOrder,proto3" json:"executionOrder"` }
func (*SCRInfo) Descriptor ¶ added in v0.0.9
func (*SCRInfo) GetExecutionOrder ¶ added in v0.0.9
func (*SCRInfo) GetFeeInfo ¶ added in v0.0.9
func (*SCRInfo) GetSmartContractResult ¶ added in v0.0.9
func (m *SCRInfo) GetSmartContractResult() *smartContractResult.SmartContractResult
func (*SCRInfo) GetTxHandler ¶ added in v0.0.9
func (s *SCRInfo) GetTxHandler() data.TransactionHandler
GetTxHandler returns tx handler
func (*SCRInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (*SCRInfo) ProtoMessage ¶ added in v0.0.9
func (*SCRInfo) ProtoMessage()
func (*SCRInfo) SetExecutionOrder ¶ added in v0.0.9
SetExecutionOrder sets execution order
func (*SCRInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *SCRInfo) XXX_DiscardUnknown()
func (*SCRInfo) XXX_Marshal ¶ added in v0.0.9
func (*SCRInfo) XXX_Unmarshal ¶ added in v0.0.9
type Shard ¶ added in v0.1.0
type Shard struct {
ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"`
}
func (*Shard) Descriptor ¶ added in v0.1.0
func (*Shard) GetShardID ¶ added in v0.1.0
func (*Shard) MarshalToSizedBuffer ¶ added in v0.1.0
func (*Shard) ProtoMessage ¶ added in v0.1.0
func (*Shard) ProtoMessage()
func (*Shard) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *Shard) XXX_DiscardUnknown()
func (*Shard) XXX_Marshal ¶ added in v0.1.0
func (*Shard) XXX_Unmarshal ¶ added in v0.1.0
type StatusInfo ¶ added in v0.1.0
type StatusInfo struct { CompletedEvent bool `json:"completedEvent"` ErrorEvent bool `json:"errorEvent"` Status string `json:"status"` }
StatusInfo holds the fields for the transaction status
type TransactionPool ¶ added in v0.0.9
type TransactionPool struct { Transactions map[string]*TxInfo `` /* 165-byte string literal not displayed */ SmartContractResults map[string]*SCRInfo `` /* 181-byte string literal not displayed */ Rewards map[string]*RewardInfo `` /* 155-byte string literal not displayed */ Receipts map[string]*receipt.Receipt `` /* 157-byte string literal not displayed */ InvalidTxs map[string]*TxInfo `` /* 161-byte string literal not displayed */ Logs []*LogData `protobuf:"bytes,6,rep,name=Logs,proto3" json:"logs,omitempty"` ScheduledExecutedSCRSHashesPrevBlock []string `protobuf:"bytes,7,rep,name=ScheduledExecutedSCRSHashesPrevBlock,proto3" json:"scheduledExecutedSCRSHashesPrevBlock,omitempty"` ScheduledExecutedInvalidTxsHashesPrevBlock []string `` /* 137-byte string literal not displayed */ }
func (*TransactionPool) Descriptor ¶ added in v0.0.9
func (*TransactionPool) Descriptor() ([]byte, []int)
func (*TransactionPool) Equal ¶ added in v0.0.9
func (this *TransactionPool) Equal(that interface{}) bool
func (*TransactionPool) GetInvalidTxs ¶ added in v0.0.9
func (m *TransactionPool) GetInvalidTxs() map[string]*TxInfo
func (*TransactionPool) GetLogs ¶ added in v0.0.9
func (m *TransactionPool) GetLogs() []*LogData
func (*TransactionPool) GetReceipts ¶ added in v0.0.9
func (m *TransactionPool) GetReceipts() map[string]*receipt.Receipt
func (*TransactionPool) GetRewards ¶ added in v0.0.9
func (m *TransactionPool) GetRewards() map[string]*RewardInfo
func (*TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock ¶ added in v0.0.9
func (m *TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock() []string
func (*TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock ¶ added in v0.0.9
func (m *TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock() []string
func (*TransactionPool) GetSmartContractResults ¶ added in v0.0.9
func (m *TransactionPool) GetSmartContractResults() map[string]*SCRInfo
func (*TransactionPool) GetTransactions ¶ added in v0.0.9
func (m *TransactionPool) GetTransactions() map[string]*TxInfo
func (*TransactionPool) GoString ¶ added in v0.0.9
func (this *TransactionPool) GoString() string
func (*TransactionPool) Marshal ¶ added in v0.0.9
func (m *TransactionPool) Marshal() (dAtA []byte, err error)
func (*TransactionPool) MarshalTo ¶ added in v0.0.9
func (m *TransactionPool) MarshalTo(dAtA []byte) (int, error)
func (*TransactionPool) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *TransactionPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionPool) ProtoMessage ¶ added in v0.0.9
func (*TransactionPool) ProtoMessage()
func (*TransactionPool) Reset ¶ added in v0.0.9
func (m *TransactionPool) Reset()
func (*TransactionPool) Size ¶ added in v0.0.9
func (m *TransactionPool) Size() (n int)
func (*TransactionPool) String ¶ added in v0.0.9
func (this *TransactionPool) String() string
func (*TransactionPool) Unmarshal ¶ added in v0.0.9
func (m *TransactionPool) Unmarshal(dAtA []byte) error
func (*TransactionPool) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *TransactionPool) XXX_DiscardUnknown()
func (*TransactionPool) XXX_Marshal ¶ added in v0.0.9
func (m *TransactionPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionPool) XXX_Merge ¶ added in v0.0.9
func (m *TransactionPool) XXX_Merge(src proto.Message)
func (*TransactionPool) XXX_Size ¶ added in v0.0.9
func (m *TransactionPool) XXX_Size() int
func (*TransactionPool) XXX_Unmarshal ¶ added in v0.0.9
func (m *TransactionPool) XXX_Unmarshal(b []byte) error
type TxInfo ¶ added in v0.0.9
type TxInfo struct { Transaction *transaction.Transaction `protobuf:"bytes,1,opt,name=Transaction,proto3" json:"transaction,omitempty"` FeeInfo *FeeInfo `protobuf:"bytes,2,opt,name=FeeInfo,proto3" json:"feeInfo,omitempty"` ExecutionOrder uint32 `protobuf:"varint,3,opt,name=ExecutionOrder,proto3" json:"executionOrder"` }
func (*TxInfo) Descriptor ¶ added in v0.0.9
func (*TxInfo) GetExecutionOrder ¶ added in v0.0.9
func (*TxInfo) GetFeeInfo ¶ added in v0.0.9
func (*TxInfo) GetTransaction ¶ added in v0.0.9
func (m *TxInfo) GetTransaction() *transaction.Transaction
func (*TxInfo) GetTxHandler ¶ added in v0.0.9
func (t *TxInfo) GetTxHandler() data.TransactionHandler
GetTxHandler returns tx handler
func (*TxInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (*TxInfo) ProtoMessage ¶ added in v0.0.9
func (*TxInfo) ProtoMessage()
func (*TxInfo) SetExecutionOrder ¶ added in v0.0.9
SetExecutionOrder sets execution order
func (*TxInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *TxInfo) XXX_DiscardUnknown()
func (*TxInfo) XXX_Marshal ¶ added in v0.0.9
func (*TxInfo) XXX_Unmarshal ¶ added in v0.0.9
type ValidatorRatingInfo ¶
type ValidatorRatingInfo struct { PublicKey string `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"publicKey"` Rating float32 `protobuf:"fixed32,2,opt,name=Rating,proto3" json:"rating"` }
func (*ValidatorRatingInfo) Descriptor ¶ added in v0.0.9
func (*ValidatorRatingInfo) Descriptor() ([]byte, []int)
func (*ValidatorRatingInfo) Equal ¶ added in v0.0.9
func (this *ValidatorRatingInfo) Equal(that interface{}) bool
func (*ValidatorRatingInfo) GetPublicKey ¶ added in v0.0.9
func (m *ValidatorRatingInfo) GetPublicKey() string
func (*ValidatorRatingInfo) GetRating ¶ added in v0.0.9
func (m *ValidatorRatingInfo) GetRating() float32
func (*ValidatorRatingInfo) GoString ¶ added in v0.0.9
func (this *ValidatorRatingInfo) GoString() string
func (*ValidatorRatingInfo) Marshal ¶ added in v0.0.9
func (m *ValidatorRatingInfo) Marshal() (dAtA []byte, err error)
func (*ValidatorRatingInfo) MarshalTo ¶ added in v0.0.9
func (m *ValidatorRatingInfo) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorRatingInfo) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *ValidatorRatingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorRatingInfo) ProtoMessage ¶ added in v0.0.9
func (*ValidatorRatingInfo) ProtoMessage()
func (*ValidatorRatingInfo) Reset ¶ added in v0.0.9
func (m *ValidatorRatingInfo) Reset()
func (*ValidatorRatingInfo) Size ¶ added in v0.0.9
func (m *ValidatorRatingInfo) Size() (n int)
func (*ValidatorRatingInfo) String ¶ added in v0.0.9
func (this *ValidatorRatingInfo) String() string
func (*ValidatorRatingInfo) Unmarshal ¶ added in v0.0.9
func (m *ValidatorRatingInfo) Unmarshal(dAtA []byte) error
func (*ValidatorRatingInfo) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *ValidatorRatingInfo) XXX_DiscardUnknown()
func (*ValidatorRatingInfo) XXX_Marshal ¶ added in v0.0.9
func (m *ValidatorRatingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorRatingInfo) XXX_Merge ¶ added in v0.0.9
func (m *ValidatorRatingInfo) XXX_Merge(src proto.Message)
func (*ValidatorRatingInfo) XXX_Size ¶ added in v0.0.9
func (m *ValidatorRatingInfo) XXX_Size() int
func (*ValidatorRatingInfo) XXX_Unmarshal ¶ added in v0.0.9
func (m *ValidatorRatingInfo) XXX_Unmarshal(b []byte) error
type ValidatorsPubKeys ¶ added in v0.0.9
type ValidatorsPubKeys struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` ShardValidatorsPubKeys map[uint32]*PubKeys `` /* 181-byte string literal not displayed */ Epoch uint32 `protobuf:"varint,3,opt,name=Epoch,proto3" json:"epoch"` }
func (*ValidatorsPubKeys) Descriptor ¶ added in v0.0.9
func (*ValidatorsPubKeys) Descriptor() ([]byte, []int)
func (*ValidatorsPubKeys) Equal ¶ added in v0.0.9
func (this *ValidatorsPubKeys) Equal(that interface{}) bool
func (*ValidatorsPubKeys) GetEpoch ¶ added in v0.0.9
func (m *ValidatorsPubKeys) GetEpoch() uint32
func (*ValidatorsPubKeys) GetShardID ¶ added in v0.1.0
func (m *ValidatorsPubKeys) GetShardID() uint32
func (*ValidatorsPubKeys) GetShardValidatorsPubKeys ¶ added in v0.0.9
func (m *ValidatorsPubKeys) GetShardValidatorsPubKeys() map[uint32]*PubKeys
func (*ValidatorsPubKeys) GoString ¶ added in v0.0.9
func (this *ValidatorsPubKeys) GoString() string
func (*ValidatorsPubKeys) Marshal ¶ added in v0.0.9
func (m *ValidatorsPubKeys) Marshal() (dAtA []byte, err error)
func (*ValidatorsPubKeys) MarshalTo ¶ added in v0.0.9
func (m *ValidatorsPubKeys) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorsPubKeys) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *ValidatorsPubKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorsPubKeys) ProtoMessage ¶ added in v0.0.9
func (*ValidatorsPubKeys) ProtoMessage()
func (*ValidatorsPubKeys) Reset ¶ added in v0.0.9
func (m *ValidatorsPubKeys) Reset()
func (*ValidatorsPubKeys) Size ¶ added in v0.0.9
func (m *ValidatorsPubKeys) Size() (n int)
func (*ValidatorsPubKeys) String ¶ added in v0.0.9
func (this *ValidatorsPubKeys) String() string
func (*ValidatorsPubKeys) Unmarshal ¶ added in v0.0.9
func (m *ValidatorsPubKeys) Unmarshal(dAtA []byte) error
func (*ValidatorsPubKeys) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *ValidatorsPubKeys) XXX_DiscardUnknown()
func (*ValidatorsPubKeys) XXX_Marshal ¶ added in v0.0.9
func (m *ValidatorsPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorsPubKeys) XXX_Merge ¶ added in v0.0.9
func (m *ValidatorsPubKeys) XXX_Merge(src proto.Message)
func (*ValidatorsPubKeys) XXX_Size ¶ added in v0.0.9
func (m *ValidatorsPubKeys) XXX_Size() int
func (*ValidatorsPubKeys) XXX_Unmarshal ¶ added in v0.0.9
func (m *ValidatorsPubKeys) XXX_Unmarshal(b []byte) error
type ValidatorsRating ¶ added in v0.0.9
type ValidatorsRating struct { ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"` Epoch uint32 `protobuf:"varint,2,opt,name=Epoch,proto3" json:"epoch"` ValidatorsRatingInfo []*ValidatorRatingInfo `protobuf:"bytes,3,rep,name=ValidatorsRatingInfo,proto3" json:"validatorsRatingInfo,omitempty"` }
func (*ValidatorsRating) Descriptor ¶ added in v0.0.9
func (*ValidatorsRating) Descriptor() ([]byte, []int)
func (*ValidatorsRating) Equal ¶ added in v0.0.9
func (this *ValidatorsRating) Equal(that interface{}) bool
func (*ValidatorsRating) GetEpoch ¶ added in v0.0.9
func (m *ValidatorsRating) GetEpoch() uint32
func (*ValidatorsRating) GetShardID ¶ added in v0.0.9
func (m *ValidatorsRating) GetShardID() uint32
func (*ValidatorsRating) GetValidatorsRatingInfo ¶ added in v0.0.9
func (m *ValidatorsRating) GetValidatorsRatingInfo() []*ValidatorRatingInfo
func (*ValidatorsRating) GoString ¶ added in v0.0.9
func (this *ValidatorsRating) GoString() string
func (*ValidatorsRating) Marshal ¶ added in v0.0.9
func (m *ValidatorsRating) Marshal() (dAtA []byte, err error)
func (*ValidatorsRating) MarshalTo ¶ added in v0.0.9
func (m *ValidatorsRating) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorsRating) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *ValidatorsRating) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorsRating) ProtoMessage ¶ added in v0.0.9
func (*ValidatorsRating) ProtoMessage()
func (*ValidatorsRating) Reset ¶ added in v0.0.9
func (m *ValidatorsRating) Reset()
func (*ValidatorsRating) Size ¶ added in v0.0.9
func (m *ValidatorsRating) Size() (n int)
func (*ValidatorsRating) String ¶ added in v0.0.9
func (this *ValidatorsRating) String() string
func (*ValidatorsRating) Unmarshal ¶ added in v0.0.9
func (m *ValidatorsRating) Unmarshal(dAtA []byte) error
func (*ValidatorsRating) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *ValidatorsRating) XXX_DiscardUnknown()
func (*ValidatorsRating) XXX_Marshal ¶ added in v0.0.9
func (m *ValidatorsRating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorsRating) XXX_Merge ¶ added in v0.0.9
func (m *ValidatorsRating) XXX_Merge(src proto.Message)
func (*ValidatorsRating) XXX_Size ¶ added in v0.0.9
func (m *ValidatorsRating) XXX_Size() int
func (*ValidatorsRating) XXX_Unmarshal ¶ added in v0.0.9
func (m *ValidatorsRating) XXX_Unmarshal(b []byte) error