outport

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: GPL-3.0 Imports: 23 Imported by: 38

Documentation

Index

Constants

View Source
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

View Source
var (
	ErrInvalidLengthConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOutportBlock        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOutportBlock          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOutportBlock = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ConvertPubKeys

func ConvertPubKeys(validatorsPubKeys map[uint32][][]byte) map[uint32]*PubKeys

ConvertPubKeys converts a map<shard, validators> into a map<shard, validatorsProtoMessage>

func GetBody

func GetBody(bodyHandler data.BodyHandler) (*block.Body, error)

GetBody converts the BodyHandler interface to Body struct

func GetHeaderBytesAndType

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

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

func (*Accounts) Descriptor() ([]byte, []int)

func (*Accounts) Equal

func (this *Accounts) Equal(that interface{}) bool

func (*Accounts) GetAlteredAccounts

func (m *Accounts) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount

func (*Accounts) GetBlockTimestamp

func (m *Accounts) GetBlockTimestamp() uint64

func (*Accounts) GetShardID

func (m *Accounts) GetShardID() uint32

func (*Accounts) GoString

func (this *Accounts) GoString() string

func (*Accounts) Marshal

func (m *Accounts) Marshal() (dAtA []byte, err error)

func (*Accounts) MarshalTo

func (m *Accounts) MarshalTo(dAtA []byte) (int, error)

func (*Accounts) MarshalToSizedBuffer

func (m *Accounts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) Reset

func (m *Accounts) Reset()

func (*Accounts) Size

func (m *Accounts) Size() (n int)

func (*Accounts) String

func (this *Accounts) String() string

func (*Accounts) Unmarshal

func (m *Accounts) Unmarshal(dAtA []byte) error

func (*Accounts) XXX_DiscardUnknown

func (m *Accounts) XXX_DiscardUnknown()

func (*Accounts) XXX_Marshal

func (m *Accounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Accounts) XXX_Merge

func (m *Accounts) XXX_Merge(src proto.Message)

func (*Accounts) XXX_Size

func (m *Accounts) XXX_Size() int

func (*Accounts) XXX_Unmarshal

func (m *Accounts) XXX_Unmarshal(b []byte) error

type BlockData

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

func (*BlockData) Descriptor() ([]byte, []int)

func (*BlockData) Equal

func (this *BlockData) Equal(that interface{}) bool

func (*BlockData) GetBody

func (m *BlockData) GetBody() *block.Body

func (*BlockData) GetHeaderBytes

func (m *BlockData) GetHeaderBytes() []byte

func (*BlockData) GetHeaderHash

func (m *BlockData) GetHeaderHash() []byte

func (*BlockData) GetHeaderType

func (m *BlockData) GetHeaderType() string

func (*BlockData) GetIntraShardMiniBlocks

func (m *BlockData) GetIntraShardMiniBlocks() []*block.MiniBlock

func (*BlockData) GetShardID

func (m *BlockData) GetShardID() uint32

func (*BlockData) GoString

func (this *BlockData) GoString() string

func (*BlockData) Marshal

func (m *BlockData) Marshal() (dAtA []byte, err error)

func (*BlockData) MarshalTo

func (m *BlockData) MarshalTo(dAtA []byte) (int, error)

func (*BlockData) MarshalToSizedBuffer

func (m *BlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockData) ProtoMessage

func (*BlockData) ProtoMessage()

func (*BlockData) Reset

func (m *BlockData) Reset()

func (*BlockData) Size

func (m *BlockData) Size() (n int)

func (*BlockData) String

func (this *BlockData) String() string

func (*BlockData) Unmarshal

func (m *BlockData) Unmarshal(dAtA []byte) error

func (*BlockData) XXX_DiscardUnknown

func (m *BlockData) XXX_DiscardUnknown()

func (*BlockData) XXX_Marshal

func (m *BlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockData) XXX_Merge

func (m *BlockData) XXX_Merge(src proto.Message)

func (*BlockData) XXX_Size

func (m *BlockData) XXX_Size() int

func (*BlockData) XXX_Unmarshal

func (m *BlockData) XXX_Unmarshal(b []byte) error

type FeeInfo

type FeeInfo struct {
	GasUsed        uint64        `protobuf:"varint,1,opt,name=GasUsed,proto3" json:"gasUsed"`
	Fee            *math_big.Int `` /* 141-byte string literal not displayed */
	InitialPaidFee *math_big.Int `` /* 163-byte string literal not displayed */
}

func (*FeeInfo) Descriptor

func (*FeeInfo) Descriptor() ([]byte, []int)

func (*FeeInfo) Equal

func (this *FeeInfo) Equal(that interface{}) bool

func (*FeeInfo) GetFee

func (m *FeeInfo) GetFee() *math_big.Int

func (*FeeInfo) GetGasUsed

func (m *FeeInfo) GetGasUsed() uint64

func (*FeeInfo) GetInitialPaidFee

func (m *FeeInfo) GetInitialPaidFee() *math_big.Int

func (*FeeInfo) GoString

func (this *FeeInfo) GoString() string

func (*FeeInfo) Marshal

func (m *FeeInfo) Marshal() (dAtA []byte, err error)

func (*FeeInfo) MarshalTo

func (m *FeeInfo) MarshalTo(dAtA []byte) (int, error)

func (*FeeInfo) MarshalToSizedBuffer

func (m *FeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeInfo) ProtoMessage

func (*FeeInfo) ProtoMessage()

func (*FeeInfo) Reset

func (m *FeeInfo) Reset()

func (*FeeInfo) SetFee

func (f *FeeInfo) SetFee(fee *big.Int)

SetFee sets the fee

func (*FeeInfo) SetGasUsed

func (f *FeeInfo) SetGasUsed(gasUsed uint64)

SetGasUsed sets the used gas

func (*FeeInfo) SetInitialPaidFee

func (f *FeeInfo) SetInitialPaidFee(fee *big.Int)

SetInitialPaidFee sets the initial paid fee

func (*FeeInfo) Size

func (m *FeeInfo) Size() (n int)

func (*FeeInfo) String

func (this *FeeInfo) String() string

func (*FeeInfo) Unmarshal

func (m *FeeInfo) Unmarshal(dAtA []byte) error

func (*FeeInfo) XXX_DiscardUnknown

func (m *FeeInfo) XXX_DiscardUnknown()

func (*FeeInfo) XXX_Marshal

func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeInfo) XXX_Merge

func (m *FeeInfo) XXX_Merge(src proto.Message)

func (*FeeInfo) XXX_Size

func (m *FeeInfo) XXX_Size() int

func (*FeeInfo) XXX_Unmarshal

func (m *FeeInfo) XXX_Unmarshal(b []byte) error

type FinalizedBlock

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

func (*FinalizedBlock) Descriptor() ([]byte, []int)

func (*FinalizedBlock) Equal

func (this *FinalizedBlock) Equal(that interface{}) bool

func (*FinalizedBlock) GetHeaderHash

func (m *FinalizedBlock) GetHeaderHash() []byte

func (*FinalizedBlock) GetShardID

func (m *FinalizedBlock) GetShardID() uint32

func (*FinalizedBlock) GoString

func (this *FinalizedBlock) GoString() string

func (*FinalizedBlock) Marshal

func (m *FinalizedBlock) Marshal() (dAtA []byte, err error)

func (*FinalizedBlock) MarshalTo

func (m *FinalizedBlock) MarshalTo(dAtA []byte) (int, error)

func (*FinalizedBlock) MarshalToSizedBuffer

func (m *FinalizedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinalizedBlock) ProtoMessage

func (*FinalizedBlock) ProtoMessage()

func (*FinalizedBlock) Reset

func (m *FinalizedBlock) Reset()

func (*FinalizedBlock) Size

func (m *FinalizedBlock) Size() (n int)

func (*FinalizedBlock) String

func (this *FinalizedBlock) String() string

func (*FinalizedBlock) Unmarshal

func (m *FinalizedBlock) Unmarshal(dAtA []byte) error

func (*FinalizedBlock) XXX_DiscardUnknown

func (m *FinalizedBlock) XXX_DiscardUnknown()

func (*FinalizedBlock) XXX_Marshal

func (m *FinalizedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizedBlock) XXX_Merge

func (m *FinalizedBlock) XXX_Merge(src proto.Message)

func (*FinalizedBlock) XXX_Size

func (m *FinalizedBlock) XXX_Size() int

func (*FinalizedBlock) XXX_Unmarshal

func (m *FinalizedBlock) XXX_Unmarshal(b []byte) error

type HeaderDataWithBody

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

func (*HeaderGasConsumption) Descriptor() ([]byte, []int)

func (*HeaderGasConsumption) Equal

func (this *HeaderGasConsumption) Equal(that interface{}) bool

func (*HeaderGasConsumption) GetGasPenalized

func (m *HeaderGasConsumption) GetGasPenalized() uint64

func (*HeaderGasConsumption) GetGasProvided

func (m *HeaderGasConsumption) GetGasProvided() uint64

func (*HeaderGasConsumption) GetGasRefunded

func (m *HeaderGasConsumption) GetGasRefunded() uint64

func (*HeaderGasConsumption) GetMaxGasPerBlock

func (m *HeaderGasConsumption) GetMaxGasPerBlock() uint64

func (*HeaderGasConsumption) GoString

func (this *HeaderGasConsumption) GoString() string

func (*HeaderGasConsumption) Marshal

func (m *HeaderGasConsumption) Marshal() (dAtA []byte, err error)

func (*HeaderGasConsumption) MarshalTo

func (m *HeaderGasConsumption) MarshalTo(dAtA []byte) (int, error)

func (*HeaderGasConsumption) MarshalToSizedBuffer

func (m *HeaderGasConsumption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeaderGasConsumption) ProtoMessage

func (*HeaderGasConsumption) ProtoMessage()

func (*HeaderGasConsumption) Reset

func (m *HeaderGasConsumption) Reset()

func (*HeaderGasConsumption) Size

func (m *HeaderGasConsumption) Size() (n int)

func (*HeaderGasConsumption) String

func (this *HeaderGasConsumption) String() string

func (*HeaderGasConsumption) Unmarshal

func (m *HeaderGasConsumption) Unmarshal(dAtA []byte) error

func (*HeaderGasConsumption) XXX_DiscardUnknown

func (m *HeaderGasConsumption) XXX_DiscardUnknown()

func (*HeaderGasConsumption) XXX_Marshal

func (m *HeaderGasConsumption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderGasConsumption) XXX_Merge

func (m *HeaderGasConsumption) XXX_Merge(src proto.Message)

func (*HeaderGasConsumption) XXX_Size

func (m *HeaderGasConsumption) XXX_Size() int

func (*HeaderGasConsumption) XXX_Unmarshal

func (m *HeaderGasConsumption) XXX_Unmarshal(b []byte) error

type LogData

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

func (*LogData) Descriptor() ([]byte, []int)

func (*LogData) Equal

func (this *LogData) Equal(that interface{}) bool

func (*LogData) GetLog

func (m *LogData) GetLog() *transaction.Log

func (*LogData) GetTxHash

func (m *LogData) GetTxHash() string

func (*LogData) GoString

func (this *LogData) GoString() string

func (*LogData) Marshal

func (m *LogData) Marshal() (dAtA []byte, err error)

func (*LogData) MarshalTo

func (m *LogData) MarshalTo(dAtA []byte) (int, error)

func (*LogData) MarshalToSizedBuffer

func (m *LogData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogData) ProtoMessage

func (*LogData) ProtoMessage()

func (*LogData) Reset

func (m *LogData) Reset()

func (*LogData) Size

func (m *LogData) Size() (n int)

func (*LogData) String

func (this *LogData) String() string

func (*LogData) Unmarshal

func (m *LogData) Unmarshal(dAtA []byte) error

func (*LogData) XXX_DiscardUnknown

func (m *LogData) XXX_DiscardUnknown()

func (*LogData) XXX_Marshal

func (m *LogData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogData) XXX_Merge

func (m *LogData) XXX_Merge(src proto.Message)

func (*LogData) XXX_Size

func (m *LogData) XXX_Size() int

func (*LogData) XXX_Unmarshal

func (m *LogData) XXX_Unmarshal(b []byte) error

type OutportBlock

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

func (*OutportBlock) Descriptor() ([]byte, []int)

func (*OutportBlock) Equal

func (this *OutportBlock) Equal(that interface{}) bool

func (*OutportBlock) GetAlteredAccounts

func (m *OutportBlock) GetAlteredAccounts() map[string]*alteredAccount.AlteredAccount

func (*OutportBlock) GetBlockData

func (m *OutportBlock) GetBlockData() *BlockData

func (*OutportBlock) GetHeaderGasConsumption

func (m *OutportBlock) GetHeaderGasConsumption() *HeaderGasConsumption

func (*OutportBlock) GetHighestFinalBlockHash

func (m *OutportBlock) GetHighestFinalBlockHash() []byte

func (*OutportBlock) GetHighestFinalBlockNonce

func (m *OutportBlock) GetHighestFinalBlockNonce() uint64

func (*OutportBlock) GetNotarizedHeadersHashes

func (m *OutportBlock) GetNotarizedHeadersHashes() []string

func (*OutportBlock) GetNumberOfShards

func (m *OutportBlock) GetNumberOfShards() uint32

func (*OutportBlock) GetShardID

func (m *OutportBlock) GetShardID() uint32

func (*OutportBlock) GetSignersIndexes

func (m *OutportBlock) GetSignersIndexes() []uint64

func (*OutportBlock) GetTransactionPool

func (m *OutportBlock) GetTransactionPool() *TransactionPool

func (*OutportBlock) GoString

func (this *OutportBlock) GoString() string

func (*OutportBlock) Marshal

func (m *OutportBlock) Marshal() (dAtA []byte, err error)

func (*OutportBlock) MarshalTo

func (m *OutportBlock) MarshalTo(dAtA []byte) (int, error)

func (*OutportBlock) MarshalToSizedBuffer

func (m *OutportBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutportBlock) ProtoMessage

func (*OutportBlock) ProtoMessage()

func (*OutportBlock) Reset

func (m *OutportBlock) Reset()

func (*OutportBlock) Size

func (m *OutportBlock) Size() (n int)

func (*OutportBlock) String

func (this *OutportBlock) String() string

func (*OutportBlock) Unmarshal

func (m *OutportBlock) Unmarshal(dAtA []byte) error

func (*OutportBlock) XXX_DiscardUnknown

func (m *OutportBlock) XXX_DiscardUnknown()

func (*OutportBlock) XXX_Marshal

func (m *OutportBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutportBlock) XXX_Merge

func (m *OutportBlock) XXX_Merge(src proto.Message)

func (*OutportBlock) XXX_Size

func (m *OutportBlock) XXX_Size() int

func (*OutportBlock) XXX_Unmarshal

func (m *OutportBlock) XXX_Unmarshal(b []byte) error

type OutportBlockWithHeader

type OutportBlockWithHeader struct {
	*OutportBlock
	Header data.HeaderHandler
}

OutportBlockWithHeader will extend the OutportBlock structure

type OutportBlockWithHeaderAndBody

type OutportBlockWithHeaderAndBody struct {
	*OutportBlock
	HeaderDataWithBody *HeaderDataWithBody
}

OutportBlockWithHeaderAndBody is a wrapper for OutportBlock used for outport handler

type OutportConfig

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

func (*OutportConfig) Descriptor() ([]byte, []int)

func (*OutportConfig) Equal

func (this *OutportConfig) Equal(that interface{}) bool

func (*OutportConfig) GetIsInImportDBMode

func (m *OutportConfig) GetIsInImportDBMode() bool

func (*OutportConfig) GetShardID

func (m *OutportConfig) GetShardID() uint32

func (*OutportConfig) GoString

func (this *OutportConfig) GoString() string

func (*OutportConfig) Marshal

func (m *OutportConfig) Marshal() (dAtA []byte, err error)

func (*OutportConfig) MarshalTo

func (m *OutportConfig) MarshalTo(dAtA []byte) (int, error)

func (*OutportConfig) MarshalToSizedBuffer

func (m *OutportConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutportConfig) ProtoMessage

func (*OutportConfig) ProtoMessage()

func (*OutportConfig) Reset

func (m *OutportConfig) Reset()

func (*OutportConfig) Size

func (m *OutportConfig) Size() (n int)

func (*OutportConfig) String

func (this *OutportConfig) String() string

func (*OutportConfig) Unmarshal

func (m *OutportConfig) Unmarshal(dAtA []byte) error

func (*OutportConfig) XXX_DiscardUnknown

func (m *OutportConfig) XXX_DiscardUnknown()

func (*OutportConfig) XXX_Marshal

func (m *OutportConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutportConfig) XXX_Merge

func (m *OutportConfig) XXX_Merge(src proto.Message)

func (*OutportConfig) XXX_Size

func (m *OutportConfig) XXX_Size() int

func (*OutportConfig) XXX_Unmarshal

func (m *OutportConfig) XXX_Unmarshal(b []byte) error

type PubKeys

type PubKeys struct {
	Keys [][]byte `protobuf:"bytes,1,rep,name=Keys,proto3" json:"keys,omitempty"`
}

func (*PubKeys) Descriptor

func (*PubKeys) Descriptor() ([]byte, []int)

func (*PubKeys) Equal

func (this *PubKeys) Equal(that interface{}) bool

func (*PubKeys) GetKeys

func (m *PubKeys) GetKeys() [][]byte

func (*PubKeys) GoString

func (this *PubKeys) GoString() string

func (*PubKeys) Marshal

func (m *PubKeys) Marshal() (dAtA []byte, err error)

func (*PubKeys) MarshalTo

func (m *PubKeys) MarshalTo(dAtA []byte) (int, error)

func (*PubKeys) MarshalToSizedBuffer

func (m *PubKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PubKeys) ProtoMessage

func (*PubKeys) ProtoMessage()

func (*PubKeys) Reset

func (m *PubKeys) Reset()

func (*PubKeys) Size

func (m *PubKeys) Size() (n int)

func (*PubKeys) String

func (this *PubKeys) String() string

func (*PubKeys) Unmarshal

func (m *PubKeys) Unmarshal(dAtA []byte) error

func (*PubKeys) XXX_DiscardUnknown

func (m *PubKeys) XXX_DiscardUnknown()

func (*PubKeys) XXX_Marshal

func (m *PubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubKeys) XXX_Merge

func (m *PubKeys) XXX_Merge(src proto.Message)

func (*PubKeys) XXX_Size

func (m *PubKeys) XXX_Size() int

func (*PubKeys) XXX_Unmarshal

func (m *PubKeys) XXX_Unmarshal(b []byte) error

type RewardInfo

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

func (*RewardInfo) Descriptor() ([]byte, []int)

func (*RewardInfo) Equal

func (this *RewardInfo) Equal(that interface{}) bool

func (*RewardInfo) GetExecutionOrder

func (m *RewardInfo) GetExecutionOrder() uint32

func (*RewardInfo) GetReward

func (m *RewardInfo) GetReward() *rewardTx.RewardTx

func (*RewardInfo) GetTxHandler

func (r *RewardInfo) GetTxHandler() data.TransactionHandler

GetTxHandler returns tx handler

func (*RewardInfo) GoString

func (this *RewardInfo) GoString() string

func (*RewardInfo) Marshal

func (m *RewardInfo) Marshal() (dAtA []byte, err error)

func (*RewardInfo) MarshalTo

func (m *RewardInfo) MarshalTo(dAtA []byte) (int, error)

func (*RewardInfo) MarshalToSizedBuffer

func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardInfo) ProtoMessage

func (*RewardInfo) ProtoMessage()

func (*RewardInfo) Reset

func (m *RewardInfo) Reset()

func (*RewardInfo) SetExecutionOrder

func (r *RewardInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*RewardInfo) Size

func (m *RewardInfo) Size() (n int)

func (*RewardInfo) String

func (this *RewardInfo) String() string

func (*RewardInfo) Unmarshal

func (m *RewardInfo) Unmarshal(dAtA []byte) error

func (*RewardInfo) XXX_DiscardUnknown

func (m *RewardInfo) XXX_DiscardUnknown()

func (*RewardInfo) XXX_Marshal

func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardInfo) XXX_Merge

func (m *RewardInfo) XXX_Merge(src proto.Message)

func (*RewardInfo) XXX_Size

func (m *RewardInfo) XXX_Size() int

func (*RewardInfo) XXX_Unmarshal

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

func (*RoundInfo) Descriptor() ([]byte, []int)

func (*RoundInfo) Equal

func (this *RoundInfo) Equal(that interface{}) bool

func (*RoundInfo) GetBlockWasProposed

func (m *RoundInfo) GetBlockWasProposed() bool

func (*RoundInfo) GetEpoch

func (m *RoundInfo) GetEpoch() uint32

func (*RoundInfo) GetRound

func (m *RoundInfo) GetRound() uint64

func (*RoundInfo) GetShardId

func (m *RoundInfo) GetShardId() uint32

func (*RoundInfo) GetSignersIndexes

func (m *RoundInfo) GetSignersIndexes() []uint64

func (*RoundInfo) GetTimestamp

func (m *RoundInfo) GetTimestamp() uint64

func (*RoundInfo) GoString

func (this *RoundInfo) GoString() string

func (*RoundInfo) Marshal

func (m *RoundInfo) Marshal() (dAtA []byte, err error)

func (*RoundInfo) MarshalTo

func (m *RoundInfo) MarshalTo(dAtA []byte) (int, error)

func (*RoundInfo) MarshalToSizedBuffer

func (m *RoundInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoundInfo) ProtoMessage

func (*RoundInfo) ProtoMessage()

func (*RoundInfo) Reset

func (m *RoundInfo) Reset()

func (*RoundInfo) Size

func (m *RoundInfo) Size() (n int)

func (*RoundInfo) String

func (this *RoundInfo) String() string

func (*RoundInfo) Unmarshal

func (m *RoundInfo) Unmarshal(dAtA []byte) error

func (*RoundInfo) XXX_DiscardUnknown

func (m *RoundInfo) XXX_DiscardUnknown()

func (*RoundInfo) XXX_Marshal

func (m *RoundInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoundInfo) XXX_Merge

func (m *RoundInfo) XXX_Merge(src proto.Message)

func (*RoundInfo) XXX_Size

func (m *RoundInfo) XXX_Size() int

func (*RoundInfo) XXX_Unmarshal

func (m *RoundInfo) XXX_Unmarshal(b []byte) error

type RoundsInfo

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

func (*RoundsInfo) Descriptor() ([]byte, []int)

func (*RoundsInfo) Equal

func (this *RoundsInfo) Equal(that interface{}) bool

func (*RoundsInfo) GetRoundsInfo

func (m *RoundsInfo) GetRoundsInfo() []*RoundInfo

func (*RoundsInfo) GetShardID

func (m *RoundsInfo) GetShardID() uint32

func (*RoundsInfo) GoString

func (this *RoundsInfo) GoString() string

func (*RoundsInfo) Marshal

func (m *RoundsInfo) Marshal() (dAtA []byte, err error)

func (*RoundsInfo) MarshalTo

func (m *RoundsInfo) MarshalTo(dAtA []byte) (int, error)

func (*RoundsInfo) MarshalToSizedBuffer

func (m *RoundsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoundsInfo) ProtoMessage

func (*RoundsInfo) ProtoMessage()

func (*RoundsInfo) Reset

func (m *RoundsInfo) Reset()

func (*RoundsInfo) Size

func (m *RoundsInfo) Size() (n int)

func (*RoundsInfo) String

func (this *RoundsInfo) String() string

func (*RoundsInfo) Unmarshal

func (m *RoundsInfo) Unmarshal(dAtA []byte) error

func (*RoundsInfo) XXX_DiscardUnknown

func (m *RoundsInfo) XXX_DiscardUnknown()

func (*RoundsInfo) XXX_Marshal

func (m *RoundsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoundsInfo) XXX_Merge

func (m *RoundsInfo) XXX_Merge(src proto.Message)

func (*RoundsInfo) XXX_Size

func (m *RoundsInfo) XXX_Size() int

func (*RoundsInfo) XXX_Unmarshal

func (m *RoundsInfo) XXX_Unmarshal(b []byte) error

type SCRInfo

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

func (*SCRInfo) Descriptor() ([]byte, []int)

func (*SCRInfo) Equal

func (this *SCRInfo) Equal(that interface{}) bool

func (*SCRInfo) GetExecutionOrder

func (m *SCRInfo) GetExecutionOrder() uint32

func (*SCRInfo) GetFeeInfo

func (m *SCRInfo) GetFeeInfo() *FeeInfo

func (*SCRInfo) GetSmartContractResult

func (m *SCRInfo) GetSmartContractResult() *smartContractResult.SmartContractResult

func (*SCRInfo) GetTxHandler

func (s *SCRInfo) GetTxHandler() data.TransactionHandler

GetTxHandler returns tx handler

func (*SCRInfo) GoString

func (this *SCRInfo) GoString() string

func (*SCRInfo) Marshal

func (m *SCRInfo) Marshal() (dAtA []byte, err error)

func (*SCRInfo) MarshalTo

func (m *SCRInfo) MarshalTo(dAtA []byte) (int, error)

func (*SCRInfo) MarshalToSizedBuffer

func (m *SCRInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCRInfo) ProtoMessage

func (*SCRInfo) ProtoMessage()

func (*SCRInfo) Reset

func (m *SCRInfo) Reset()

func (*SCRInfo) SetExecutionOrder

func (s *SCRInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*SCRInfo) Size

func (m *SCRInfo) Size() (n int)

func (*SCRInfo) String

func (this *SCRInfo) String() string

func (*SCRInfo) Unmarshal

func (m *SCRInfo) Unmarshal(dAtA []byte) error

func (*SCRInfo) XXX_DiscardUnknown

func (m *SCRInfo) XXX_DiscardUnknown()

func (*SCRInfo) XXX_Marshal

func (m *SCRInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCRInfo) XXX_Merge

func (m *SCRInfo) XXX_Merge(src proto.Message)

func (*SCRInfo) XXX_Size

func (m *SCRInfo) XXX_Size() int

func (*SCRInfo) XXX_Unmarshal

func (m *SCRInfo) XXX_Unmarshal(b []byte) error

type Shard

type Shard struct {
	ShardID uint32 `protobuf:"varint,1,opt,name=ShardID,proto3" json:"shardID"`
}

func (*Shard) Descriptor

func (*Shard) Descriptor() ([]byte, []int)

func (*Shard) Equal

func (this *Shard) Equal(that interface{}) bool

func (*Shard) GetShardID

func (m *Shard) GetShardID() uint32

func (*Shard) GoString

func (this *Shard) GoString() string

func (*Shard) Marshal

func (m *Shard) Marshal() (dAtA []byte, err error)

func (*Shard) MarshalTo

func (m *Shard) MarshalTo(dAtA []byte) (int, error)

func (*Shard) MarshalToSizedBuffer

func (m *Shard) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Shard) ProtoMessage

func (*Shard) ProtoMessage()

func (*Shard) Reset

func (m *Shard) Reset()

func (*Shard) Size

func (m *Shard) Size() (n int)

func (*Shard) String

func (this *Shard) String() string

func (*Shard) Unmarshal

func (m *Shard) Unmarshal(dAtA []byte) error

func (*Shard) XXX_DiscardUnknown

func (m *Shard) XXX_DiscardUnknown()

func (*Shard) XXX_Marshal

func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Shard) XXX_Merge

func (m *Shard) XXX_Merge(src proto.Message)

func (*Shard) XXX_Size

func (m *Shard) XXX_Size() int

func (*Shard) XXX_Unmarshal

func (m *Shard) XXX_Unmarshal(b []byte) error

type StatusInfo

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

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

func (*TransactionPool) Descriptor() ([]byte, []int)

func (*TransactionPool) Equal

func (this *TransactionPool) Equal(that interface{}) bool

func (*TransactionPool) GetInvalidTxs

func (m *TransactionPool) GetInvalidTxs() map[string]*TxInfo

func (*TransactionPool) GetLogs

func (m *TransactionPool) GetLogs() []*LogData

func (*TransactionPool) GetReceipts

func (m *TransactionPool) GetReceipts() map[string]*receipt.Receipt

func (*TransactionPool) GetRewards

func (m *TransactionPool) GetRewards() map[string]*RewardInfo

func (*TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock

func (m *TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock() []string

func (*TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock

func (m *TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock() []string

func (*TransactionPool) GetSmartContractResults

func (m *TransactionPool) GetSmartContractResults() map[string]*SCRInfo

func (*TransactionPool) GetTransactions

func (m *TransactionPool) GetTransactions() map[string]*TxInfo

func (*TransactionPool) GoString

func (this *TransactionPool) GoString() string

func (*TransactionPool) Marshal

func (m *TransactionPool) Marshal() (dAtA []byte, err error)

func (*TransactionPool) MarshalTo

func (m *TransactionPool) MarshalTo(dAtA []byte) (int, error)

func (*TransactionPool) MarshalToSizedBuffer

func (m *TransactionPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionPool) ProtoMessage

func (*TransactionPool) ProtoMessage()

func (*TransactionPool) Reset

func (m *TransactionPool) Reset()

func (*TransactionPool) Size

func (m *TransactionPool) Size() (n int)

func (*TransactionPool) String

func (this *TransactionPool) String() string

func (*TransactionPool) Unmarshal

func (m *TransactionPool) Unmarshal(dAtA []byte) error

func (*TransactionPool) XXX_DiscardUnknown

func (m *TransactionPool) XXX_DiscardUnknown()

func (*TransactionPool) XXX_Marshal

func (m *TransactionPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionPool) XXX_Merge

func (m *TransactionPool) XXX_Merge(src proto.Message)

func (*TransactionPool) XXX_Size

func (m *TransactionPool) XXX_Size() int

func (*TransactionPool) XXX_Unmarshal

func (m *TransactionPool) XXX_Unmarshal(b []byte) error

type TxInfo

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

func (*TxInfo) Descriptor() ([]byte, []int)

func (*TxInfo) Equal

func (this *TxInfo) Equal(that interface{}) bool

func (*TxInfo) GetExecutionOrder

func (m *TxInfo) GetExecutionOrder() uint32

func (*TxInfo) GetFeeInfo

func (m *TxInfo) GetFeeInfo() *FeeInfo

func (*TxInfo) GetTransaction

func (m *TxInfo) GetTransaction() *transaction.Transaction

func (*TxInfo) GetTxHandler

func (t *TxInfo) GetTxHandler() data.TransactionHandler

GetTxHandler returns tx handler

func (*TxInfo) GoString

func (this *TxInfo) GoString() string

func (*TxInfo) Marshal

func (m *TxInfo) Marshal() (dAtA []byte, err error)

func (*TxInfo) MarshalTo

func (m *TxInfo) MarshalTo(dAtA []byte) (int, error)

func (*TxInfo) MarshalToSizedBuffer

func (m *TxInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxInfo) ProtoMessage

func (*TxInfo) ProtoMessage()

func (*TxInfo) Reset

func (m *TxInfo) Reset()

func (*TxInfo) SetExecutionOrder

func (t *TxInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*TxInfo) Size

func (m *TxInfo) Size() (n int)

func (*TxInfo) String

func (this *TxInfo) String() string

func (*TxInfo) Unmarshal

func (m *TxInfo) Unmarshal(dAtA []byte) error

func (*TxInfo) XXX_DiscardUnknown

func (m *TxInfo) XXX_DiscardUnknown()

func (*TxInfo) XXX_Marshal

func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxInfo) XXX_Merge

func (m *TxInfo) XXX_Merge(src proto.Message)

func (*TxInfo) XXX_Size

func (m *TxInfo) XXX_Size() int

func (*TxInfo) XXX_Unmarshal

func (m *TxInfo) XXX_Unmarshal(b []byte) error

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

func (*ValidatorRatingInfo) Descriptor() ([]byte, []int)

func (*ValidatorRatingInfo) Equal

func (this *ValidatorRatingInfo) Equal(that interface{}) bool

func (*ValidatorRatingInfo) GetPublicKey

func (m *ValidatorRatingInfo) GetPublicKey() string

func (*ValidatorRatingInfo) GetRating

func (m *ValidatorRatingInfo) GetRating() float32

func (*ValidatorRatingInfo) GoString

func (this *ValidatorRatingInfo) GoString() string

func (*ValidatorRatingInfo) Marshal

func (m *ValidatorRatingInfo) Marshal() (dAtA []byte, err error)

func (*ValidatorRatingInfo) MarshalTo

func (m *ValidatorRatingInfo) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorRatingInfo) MarshalToSizedBuffer

func (m *ValidatorRatingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorRatingInfo) ProtoMessage

func (*ValidatorRatingInfo) ProtoMessage()

func (*ValidatorRatingInfo) Reset

func (m *ValidatorRatingInfo) Reset()

func (*ValidatorRatingInfo) Size

func (m *ValidatorRatingInfo) Size() (n int)

func (*ValidatorRatingInfo) String

func (this *ValidatorRatingInfo) String() string

func (*ValidatorRatingInfo) Unmarshal

func (m *ValidatorRatingInfo) Unmarshal(dAtA []byte) error

func (*ValidatorRatingInfo) XXX_DiscardUnknown

func (m *ValidatorRatingInfo) XXX_DiscardUnknown()

func (*ValidatorRatingInfo) XXX_Marshal

func (m *ValidatorRatingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorRatingInfo) XXX_Merge

func (m *ValidatorRatingInfo) XXX_Merge(src proto.Message)

func (*ValidatorRatingInfo) XXX_Size

func (m *ValidatorRatingInfo) XXX_Size() int

func (*ValidatorRatingInfo) XXX_Unmarshal

func (m *ValidatorRatingInfo) XXX_Unmarshal(b []byte) error

type ValidatorsPubKeys

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

func (*ValidatorsPubKeys) Descriptor() ([]byte, []int)

func (*ValidatorsPubKeys) Equal

func (this *ValidatorsPubKeys) Equal(that interface{}) bool

func (*ValidatorsPubKeys) GetEpoch

func (m *ValidatorsPubKeys) GetEpoch() uint32

func (*ValidatorsPubKeys) GetShardID

func (m *ValidatorsPubKeys) GetShardID() uint32

func (*ValidatorsPubKeys) GetShardValidatorsPubKeys

func (m *ValidatorsPubKeys) GetShardValidatorsPubKeys() map[uint32]*PubKeys

func (*ValidatorsPubKeys) GoString

func (this *ValidatorsPubKeys) GoString() string

func (*ValidatorsPubKeys) Marshal

func (m *ValidatorsPubKeys) Marshal() (dAtA []byte, err error)

func (*ValidatorsPubKeys) MarshalTo

func (m *ValidatorsPubKeys) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorsPubKeys) MarshalToSizedBuffer

func (m *ValidatorsPubKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorsPubKeys) ProtoMessage

func (*ValidatorsPubKeys) ProtoMessage()

func (*ValidatorsPubKeys) Reset

func (m *ValidatorsPubKeys) Reset()

func (*ValidatorsPubKeys) Size

func (m *ValidatorsPubKeys) Size() (n int)

func (*ValidatorsPubKeys) String

func (this *ValidatorsPubKeys) String() string

func (*ValidatorsPubKeys) Unmarshal

func (m *ValidatorsPubKeys) Unmarshal(dAtA []byte) error

func (*ValidatorsPubKeys) XXX_DiscardUnknown

func (m *ValidatorsPubKeys) XXX_DiscardUnknown()

func (*ValidatorsPubKeys) XXX_Marshal

func (m *ValidatorsPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorsPubKeys) XXX_Merge

func (m *ValidatorsPubKeys) XXX_Merge(src proto.Message)

func (*ValidatorsPubKeys) XXX_Size

func (m *ValidatorsPubKeys) XXX_Size() int

func (*ValidatorsPubKeys) XXX_Unmarshal

func (m *ValidatorsPubKeys) XXX_Unmarshal(b []byte) error

type ValidatorsRating

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

func (*ValidatorsRating) Descriptor() ([]byte, []int)

func (*ValidatorsRating) Equal

func (this *ValidatorsRating) Equal(that interface{}) bool

func (*ValidatorsRating) GetEpoch

func (m *ValidatorsRating) GetEpoch() uint32

func (*ValidatorsRating) GetShardID

func (m *ValidatorsRating) GetShardID() uint32

func (*ValidatorsRating) GetValidatorsRatingInfo

func (m *ValidatorsRating) GetValidatorsRatingInfo() []*ValidatorRatingInfo

func (*ValidatorsRating) GoString

func (this *ValidatorsRating) GoString() string

func (*ValidatorsRating) Marshal

func (m *ValidatorsRating) Marshal() (dAtA []byte, err error)

func (*ValidatorsRating) MarshalTo

func (m *ValidatorsRating) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorsRating) MarshalToSizedBuffer

func (m *ValidatorsRating) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorsRating) ProtoMessage

func (*ValidatorsRating) ProtoMessage()

func (*ValidatorsRating) Reset

func (m *ValidatorsRating) Reset()

func (*ValidatorsRating) Size

func (m *ValidatorsRating) Size() (n int)

func (*ValidatorsRating) String

func (this *ValidatorsRating) String() string

func (*ValidatorsRating) Unmarshal

func (m *ValidatorsRating) Unmarshal(dAtA []byte) error

func (*ValidatorsRating) XXX_DiscardUnknown

func (m *ValidatorsRating) XXX_DiscardUnknown()

func (*ValidatorsRating) XXX_Marshal

func (m *ValidatorsRating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorsRating) XXX_Merge

func (m *ValidatorsRating) XXX_Merge(src proto.Message)

func (*ValidatorsRating) XXX_Size

func (m *ValidatorsRating) XXX_Size() int

func (*ValidatorsRating) XXX_Unmarshal

func (m *ValidatorsRating) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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