outport

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

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 added in v0.0.8

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

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

func GetBody added in v0.0.8

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

GetBody converts the BodyHandler interface to Body struct

func GetHeaderBytesAndType added in v0.0.8

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.8

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.8

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

func (*Accounts) Equal added in v0.0.8

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

func (*Accounts) GetAlteredAccounts added in v0.0.8

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

func (*Accounts) GetBlockTimestamp added in v0.0.8

func (m *Accounts) GetBlockTimestamp() uint64

func (*Accounts) GetShardID added in v0.0.8

func (m *Accounts) GetShardID() uint32

func (*Accounts) GoString added in v0.0.8

func (this *Accounts) GoString() string

func (*Accounts) Marshal added in v0.0.8

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

func (*Accounts) MarshalTo added in v0.0.8

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

func (*Accounts) MarshalToSizedBuffer added in v0.0.8

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

func (*Accounts) ProtoMessage added in v0.0.8

func (*Accounts) ProtoMessage()

func (*Accounts) Reset added in v0.0.8

func (m *Accounts) Reset()

func (*Accounts) Size added in v0.0.8

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

func (*Accounts) String added in v0.0.8

func (this *Accounts) String() string

func (*Accounts) Unmarshal added in v0.0.8

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

func (*Accounts) XXX_DiscardUnknown added in v0.0.8

func (m *Accounts) XXX_DiscardUnknown()

func (*Accounts) XXX_Marshal added in v0.0.8

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

func (*Accounts) XXX_Merge added in v0.0.8

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

func (*Accounts) XXX_Size added in v0.0.8

func (m *Accounts) XXX_Size() int

func (*Accounts) XXX_Unmarshal added in v0.0.8

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

type BlockData added in v0.0.8

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.8

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

func (*BlockData) Equal added in v0.0.8

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

func (*BlockData) GetBody added in v0.0.8

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

func (*BlockData) GetHeaderBytes added in v0.0.8

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

func (*BlockData) GetHeaderHash added in v0.0.8

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

func (*BlockData) GetHeaderType added in v0.0.8

func (m *BlockData) GetHeaderType() string

func (*BlockData) GetIntraShardMiniBlocks added in v0.0.9

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

func (*BlockData) GetShardID added in v0.0.9

func (m *BlockData) GetShardID() uint32

func (*BlockData) GoString added in v0.0.8

func (this *BlockData) GoString() string

func (*BlockData) Marshal added in v0.0.8

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

func (*BlockData) MarshalTo added in v0.0.8

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

func (*BlockData) MarshalToSizedBuffer added in v0.0.8

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

func (*BlockData) ProtoMessage added in v0.0.8

func (*BlockData) ProtoMessage()

func (*BlockData) Reset added in v0.0.8

func (m *BlockData) Reset()

func (*BlockData) Size added in v0.0.8

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

func (*BlockData) String added in v0.0.8

func (this *BlockData) String() string

func (*BlockData) Unmarshal added in v0.0.8

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

func (*BlockData) XXX_DiscardUnknown added in v0.0.8

func (m *BlockData) XXX_DiscardUnknown()

func (*BlockData) XXX_Marshal added in v0.0.8

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

func (*BlockData) XXX_Merge added in v0.0.8

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

func (*BlockData) XXX_Size added in v0.0.8

func (m *BlockData) XXX_Size() int

func (*BlockData) XXX_Unmarshal added in v0.0.8

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 `` /* 136-byte string literal not displayed */
	InitialPaidFee *math_big.Int `` /* 158-byte string literal not displayed */
}

func (*FeeInfo) Descriptor added in v0.0.8

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

func (*FeeInfo) Equal added in v0.0.8

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

func (*FeeInfo) GetFee added in v0.0.8

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

func (*FeeInfo) GetGasUsed added in v0.0.8

func (m *FeeInfo) GetGasUsed() uint64

func (*FeeInfo) GetInitialPaidFee added in v0.0.8

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

func (*FeeInfo) GoString added in v0.0.8

func (this *FeeInfo) GoString() string

func (*FeeInfo) Marshal added in v0.0.8

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

func (*FeeInfo) MarshalTo added in v0.0.8

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

func (*FeeInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*FeeInfo) ProtoMessage added in v0.0.8

func (*FeeInfo) ProtoMessage()

func (*FeeInfo) Reset added in v0.0.8

func (m *FeeInfo) Reset()

func (*FeeInfo) SetFee added in v0.0.8

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

SetFee sets the fee

func (*FeeInfo) SetGasUsed added in v0.0.8

func (f *FeeInfo) SetGasUsed(gasUsed uint64)

SetGasUsed sets the used gas

func (*FeeInfo) SetInitialPaidFee added in v0.0.8

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

SetInitialPaidFee sets the initial paid fee

func (*FeeInfo) Size added in v0.0.8

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

func (*FeeInfo) String added in v0.0.8

func (this *FeeInfo) String() string

func (*FeeInfo) Unmarshal added in v0.0.8

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

func (*FeeInfo) XXX_DiscardUnknown added in v0.0.8

func (m *FeeInfo) XXX_DiscardUnknown()

func (*FeeInfo) XXX_Marshal added in v0.0.8

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

func (*FeeInfo) XXX_Merge added in v0.0.8

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

func (*FeeInfo) XXX_Size added in v0.0.8

func (m *FeeInfo) XXX_Size() int

func (*FeeInfo) XXX_Unmarshal added in v0.0.8

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

type FinalizedBlock added in v0.0.8

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.8

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

func (*FinalizedBlock) Equal added in v0.0.8

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

func (*FinalizedBlock) GetHeaderHash added in v0.0.8

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

func (*FinalizedBlock) GetShardID added in v0.0.9

func (m *FinalizedBlock) GetShardID() uint32

func (*FinalizedBlock) GoString added in v0.0.8

func (this *FinalizedBlock) GoString() string

func (*FinalizedBlock) Marshal added in v0.0.8

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

func (*FinalizedBlock) MarshalTo added in v0.0.8

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

func (*FinalizedBlock) MarshalToSizedBuffer added in v0.0.8

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

func (*FinalizedBlock) ProtoMessage added in v0.0.8

func (*FinalizedBlock) ProtoMessage()

func (*FinalizedBlock) Reset added in v0.0.8

func (m *FinalizedBlock) Reset()

func (*FinalizedBlock) Size added in v0.0.8

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

func (*FinalizedBlock) String added in v0.0.8

func (this *FinalizedBlock) String() string

func (*FinalizedBlock) Unmarshal added in v0.0.8

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

func (*FinalizedBlock) XXX_DiscardUnknown added in v0.0.8

func (m *FinalizedBlock) XXX_DiscardUnknown()

func (*FinalizedBlock) XXX_Marshal added in v0.0.8

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

func (*FinalizedBlock) XXX_Merge added in v0.0.8

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

func (*FinalizedBlock) XXX_Size added in v0.0.8

func (m *FinalizedBlock) XXX_Size() int

func (*FinalizedBlock) XXX_Unmarshal added in v0.0.8

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

type HeaderDataWithBody added in v0.0.8

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.8

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

func (*HeaderGasConsumption) Equal added in v0.0.8

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

func (*HeaderGasConsumption) GetGasPenalized added in v0.0.8

func (m *HeaderGasConsumption) GetGasPenalized() uint64

func (*HeaderGasConsumption) GetGasProvided added in v0.0.8

func (m *HeaderGasConsumption) GetGasProvided() uint64

func (*HeaderGasConsumption) GetGasRefunded added in v0.0.8

func (m *HeaderGasConsumption) GetGasRefunded() uint64

func (*HeaderGasConsumption) GetMaxGasPerBlock added in v0.0.8

func (m *HeaderGasConsumption) GetMaxGasPerBlock() uint64

func (*HeaderGasConsumption) GoString added in v0.0.8

func (this *HeaderGasConsumption) GoString() string

func (*HeaderGasConsumption) Marshal added in v0.0.8

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

func (*HeaderGasConsumption) MarshalTo added in v0.0.8

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

func (*HeaderGasConsumption) MarshalToSizedBuffer added in v0.0.8

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

func (*HeaderGasConsumption) ProtoMessage added in v0.0.8

func (*HeaderGasConsumption) ProtoMessage()

func (*HeaderGasConsumption) Reset added in v0.0.8

func (m *HeaderGasConsumption) Reset()

func (*HeaderGasConsumption) Size added in v0.0.8

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

func (*HeaderGasConsumption) String added in v0.0.8

func (this *HeaderGasConsumption) String() string

func (*HeaderGasConsumption) Unmarshal added in v0.0.8

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

func (*HeaderGasConsumption) XXX_DiscardUnknown added in v0.0.8

func (m *HeaderGasConsumption) XXX_DiscardUnknown()

func (*HeaderGasConsumption) XXX_Marshal added in v0.0.8

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

func (*HeaderGasConsumption) XXX_Merge added in v0.0.8

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

func (*HeaderGasConsumption) XXX_Size added in v0.0.8

func (m *HeaderGasConsumption) XXX_Size() int

func (*HeaderGasConsumption) XXX_Unmarshal added in v0.0.8

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

type LogData added in v0.0.8

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.8

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

func (*LogData) Equal added in v0.0.8

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

func (*LogData) GetLog added in v0.0.8

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

func (*LogData) GetTxHash added in v0.0.8

func (m *LogData) GetTxHash() string

func (*LogData) GoString added in v0.0.8

func (this *LogData) GoString() string

func (*LogData) Marshal added in v0.0.8

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

func (*LogData) MarshalTo added in v0.0.8

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

func (*LogData) MarshalToSizedBuffer added in v0.0.8

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

func (*LogData) ProtoMessage added in v0.0.8

func (*LogData) ProtoMessage()

func (*LogData) Reset added in v0.0.8

func (m *LogData) Reset()

func (*LogData) Size added in v0.0.8

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

func (*LogData) String added in v0.0.8

func (this *LogData) String() string

func (*LogData) Unmarshal added in v0.0.8

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

func (*LogData) XXX_DiscardUnknown added in v0.0.8

func (m *LogData) XXX_DiscardUnknown()

func (*LogData) XXX_Marshal added in v0.0.8

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

func (*LogData) XXX_Merge added in v0.0.8

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

func (*LogData) XXX_Size added in v0.0.8

func (m *LogData) XXX_Size() int

func (*LogData) XXX_Unmarshal added in v0.0.8

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

type OutportBlock added in v0.0.8

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.8

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

func (*OutportBlock) Equal added in v0.0.8

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

func (*OutportBlock) GetAlteredAccounts added in v0.0.8

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

func (*OutportBlock) GetBlockData added in v0.0.8

func (m *OutportBlock) GetBlockData() *BlockData

func (*OutportBlock) GetHeaderGasConsumption added in v0.0.8

func (m *OutportBlock) GetHeaderGasConsumption() *HeaderGasConsumption

func (*OutportBlock) GetHighestFinalBlockHash added in v0.0.8

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

func (*OutportBlock) GetHighestFinalBlockNonce added in v0.0.8

func (m *OutportBlock) GetHighestFinalBlockNonce() uint64

func (*OutportBlock) GetNotarizedHeadersHashes added in v0.0.8

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

func (*OutportBlock) GetNumberOfShards added in v0.0.8

func (m *OutportBlock) GetNumberOfShards() uint32

func (*OutportBlock) GetShardID added in v0.0.9

func (m *OutportBlock) GetShardID() uint32

func (*OutportBlock) GetSignersIndexes added in v0.0.8

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

func (*OutportBlock) GetTransactionPool added in v0.0.8

func (m *OutportBlock) GetTransactionPool() *TransactionPool

func (*OutportBlock) GoString added in v0.0.8

func (this *OutportBlock) GoString() string

func (*OutportBlock) Marshal added in v0.0.8

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

func (*OutportBlock) MarshalTo added in v0.0.8

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

func (*OutportBlock) MarshalToSizedBuffer added in v0.0.8

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

func (*OutportBlock) ProtoMessage added in v0.0.8

func (*OutportBlock) ProtoMessage()

func (*OutportBlock) Reset added in v0.0.8

func (m *OutportBlock) Reset()

func (*OutportBlock) Size added in v0.0.8

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

func (*OutportBlock) String added in v0.0.8

func (this *OutportBlock) String() string

func (*OutportBlock) Unmarshal added in v0.0.8

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

func (*OutportBlock) XXX_DiscardUnknown added in v0.0.8

func (m *OutportBlock) XXX_DiscardUnknown()

func (*OutportBlock) XXX_Marshal added in v0.0.8

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

func (*OutportBlock) XXX_Merge added in v0.0.8

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

func (*OutportBlock) XXX_Size added in v0.0.8

func (m *OutportBlock) XXX_Size() int

func (*OutportBlock) XXX_Unmarshal added in v0.0.8

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

type OutportBlockWithHeader added in v0.0.8

type OutportBlockWithHeader struct {
	*OutportBlock
	Header data.HeaderHandler
}

OutportBlockWithHeader will extend the OutportBlock structure

type OutportBlockWithHeaderAndBody added in v0.0.8

type OutportBlockWithHeaderAndBody struct {
	*OutportBlock
	HeaderDataWithBody *HeaderDataWithBody
}

OutportBlockWithHeaderAndBody is a wrapper for OutportBlock used for outport handler

type OutportConfig added in v0.0.9

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.0.9

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

func (*OutportConfig) Equal added in v0.0.9

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

func (*OutportConfig) GetIsInImportDBMode added in v0.0.9

func (m *OutportConfig) GetIsInImportDBMode() bool

func (*OutportConfig) GetShardID added in v0.0.9

func (m *OutportConfig) GetShardID() uint32

func (*OutportConfig) GoString added in v0.0.9

func (this *OutportConfig) GoString() string

func (*OutportConfig) Marshal added in v0.0.9

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

func (*OutportConfig) MarshalTo added in v0.0.9

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

func (*OutportConfig) MarshalToSizedBuffer added in v0.0.9

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

func (*OutportConfig) ProtoMessage added in v0.0.9

func (*OutportConfig) ProtoMessage()

func (*OutportConfig) Reset added in v0.0.9

func (m *OutportConfig) Reset()

func (*OutportConfig) Size added in v0.0.9

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

func (*OutportConfig) String added in v0.0.9

func (this *OutportConfig) String() string

func (*OutportConfig) Unmarshal added in v0.0.9

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

func (*OutportConfig) XXX_DiscardUnknown added in v0.0.9

func (m *OutportConfig) XXX_DiscardUnknown()

func (*OutportConfig) XXX_Marshal added in v0.0.9

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

func (*OutportConfig) XXX_Merge added in v0.0.9

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

func (*OutportConfig) XXX_Size added in v0.0.9

func (m *OutportConfig) XXX_Size() int

func (*OutportConfig) XXX_Unmarshal added in v0.0.9

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

type PubKeys added in v0.0.8

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

func (*PubKeys) Descriptor added in v0.0.8

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

func (*PubKeys) Equal added in v0.0.8

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

func (*PubKeys) GetKeys added in v0.0.8

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

func (*PubKeys) GoString added in v0.0.8

func (this *PubKeys) GoString() string

func (*PubKeys) Marshal added in v0.0.8

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

func (*PubKeys) MarshalTo added in v0.0.8

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

func (*PubKeys) MarshalToSizedBuffer added in v0.0.8

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

func (*PubKeys) ProtoMessage added in v0.0.8

func (*PubKeys) ProtoMessage()

func (*PubKeys) Reset added in v0.0.8

func (m *PubKeys) Reset()

func (*PubKeys) Size added in v0.0.8

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

func (*PubKeys) String added in v0.0.8

func (this *PubKeys) String() string

func (*PubKeys) Unmarshal added in v0.0.8

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

func (*PubKeys) XXX_DiscardUnknown added in v0.0.8

func (m *PubKeys) XXX_DiscardUnknown()

func (*PubKeys) XXX_Marshal added in v0.0.8

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

func (*PubKeys) XXX_Merge added in v0.0.8

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

func (*PubKeys) XXX_Size added in v0.0.8

func (m *PubKeys) XXX_Size() int

func (*PubKeys) XXX_Unmarshal added in v0.0.8

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

type RewardInfo added in v0.0.8

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.8

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

func (*RewardInfo) Equal added in v0.0.8

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

func (*RewardInfo) GetExecutionOrder added in v0.0.8

func (m *RewardInfo) GetExecutionOrder() uint32

func (*RewardInfo) GetReward added in v0.0.8

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

func (*RewardInfo) GetTxHandler added in v0.0.8

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

GetTxHandler returns tx handler

func (*RewardInfo) GoString added in v0.0.8

func (this *RewardInfo) GoString() string

func (*RewardInfo) Marshal added in v0.0.8

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

func (*RewardInfo) MarshalTo added in v0.0.8

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

func (*RewardInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*RewardInfo) ProtoMessage added in v0.0.8

func (*RewardInfo) ProtoMessage()

func (*RewardInfo) Reset added in v0.0.8

func (m *RewardInfo) Reset()

func (*RewardInfo) SetExecutionOrder added in v0.0.8

func (r *RewardInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*RewardInfo) Size added in v0.0.8

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

func (*RewardInfo) String added in v0.0.8

func (this *RewardInfo) String() string

func (*RewardInfo) Unmarshal added in v0.0.8

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

func (*RewardInfo) XXX_DiscardUnknown added in v0.0.8

func (m *RewardInfo) XXX_DiscardUnknown()

func (*RewardInfo) XXX_Marshal added in v0.0.8

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

func (*RewardInfo) XXX_Merge added in v0.0.8

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

func (*RewardInfo) XXX_Size added in v0.0.8

func (m *RewardInfo) XXX_Size() int

func (*RewardInfo) XXX_Unmarshal added in v0.0.8

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.8

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

func (*RoundInfo) Equal added in v0.0.8

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

func (*RoundInfo) GetBlockWasProposed added in v0.0.8

func (m *RoundInfo) GetBlockWasProposed() bool

func (*RoundInfo) GetEpoch added in v0.0.8

func (m *RoundInfo) GetEpoch() uint32

func (*RoundInfo) GetRound added in v0.0.8

func (m *RoundInfo) GetRound() uint64

func (*RoundInfo) GetShardId added in v0.0.8

func (m *RoundInfo) GetShardId() uint32

func (*RoundInfo) GetSignersIndexes added in v0.0.8

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

func (*RoundInfo) GetTimestamp added in v0.0.8

func (m *RoundInfo) GetTimestamp() uint64

func (*RoundInfo) GoString added in v0.0.8

func (this *RoundInfo) GoString() string

func (*RoundInfo) Marshal added in v0.0.8

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

func (*RoundInfo) MarshalTo added in v0.0.8

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

func (*RoundInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*RoundInfo) ProtoMessage added in v0.0.8

func (*RoundInfo) ProtoMessage()

func (*RoundInfo) Reset added in v0.0.8

func (m *RoundInfo) Reset()

func (*RoundInfo) Size added in v0.0.8

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

func (*RoundInfo) String added in v0.0.8

func (this *RoundInfo) String() string

func (*RoundInfo) Unmarshal added in v0.0.8

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

func (*RoundInfo) XXX_DiscardUnknown added in v0.0.8

func (m *RoundInfo) XXX_DiscardUnknown()

func (*RoundInfo) XXX_Marshal added in v0.0.8

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

func (*RoundInfo) XXX_Merge added in v0.0.8

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

func (*RoundInfo) XXX_Size added in v0.0.8

func (m *RoundInfo) XXX_Size() int

func (*RoundInfo) XXX_Unmarshal added in v0.0.8

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

type RoundsInfo added in v0.0.8

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.8

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

func (*RoundsInfo) Equal added in v0.0.8

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

func (*RoundsInfo) GetRoundsInfo added in v0.0.8

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

func (*RoundsInfo) GetShardID added in v0.0.9

func (m *RoundsInfo) GetShardID() uint32

func (*RoundsInfo) GoString added in v0.0.8

func (this *RoundsInfo) GoString() string

func (*RoundsInfo) Marshal added in v0.0.8

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

func (*RoundsInfo) MarshalTo added in v0.0.8

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

func (*RoundsInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*RoundsInfo) ProtoMessage added in v0.0.8

func (*RoundsInfo) ProtoMessage()

func (*RoundsInfo) Reset added in v0.0.8

func (m *RoundsInfo) Reset()

func (*RoundsInfo) Size added in v0.0.8

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

func (*RoundsInfo) String added in v0.0.8

func (this *RoundsInfo) String() string

func (*RoundsInfo) Unmarshal added in v0.0.8

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

func (*RoundsInfo) XXX_DiscardUnknown added in v0.0.8

func (m *RoundsInfo) XXX_DiscardUnknown()

func (*RoundsInfo) XXX_Marshal added in v0.0.8

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

func (*RoundsInfo) XXX_Merge added in v0.0.8

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

func (*RoundsInfo) XXX_Size added in v0.0.8

func (m *RoundsInfo) XXX_Size() int

func (*RoundsInfo) XXX_Unmarshal added in v0.0.8

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

type SCRInfo added in v0.0.8

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.8

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

func (*SCRInfo) Equal added in v0.0.8

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

func (*SCRInfo) GetExecutionOrder added in v0.0.8

func (m *SCRInfo) GetExecutionOrder() uint32

func (*SCRInfo) GetFeeInfo added in v0.0.8

func (m *SCRInfo) GetFeeInfo() *FeeInfo

func (*SCRInfo) GetSmartContractResult added in v0.0.8

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

func (*SCRInfo) GetTxHandler added in v0.0.8

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

GetTxHandler returns tx handler

func (*SCRInfo) GoString added in v0.0.8

func (this *SCRInfo) GoString() string

func (*SCRInfo) Marshal added in v0.0.8

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

func (*SCRInfo) MarshalTo added in v0.0.8

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

func (*SCRInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*SCRInfo) ProtoMessage added in v0.0.8

func (*SCRInfo) ProtoMessage()

func (*SCRInfo) Reset added in v0.0.8

func (m *SCRInfo) Reset()

func (*SCRInfo) SetExecutionOrder added in v0.0.8

func (s *SCRInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*SCRInfo) Size added in v0.0.8

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

func (*SCRInfo) String added in v0.0.8

func (this *SCRInfo) String() string

func (*SCRInfo) Unmarshal added in v0.0.8

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

func (*SCRInfo) XXX_DiscardUnknown added in v0.0.8

func (m *SCRInfo) XXX_DiscardUnknown()

func (*SCRInfo) XXX_Marshal added in v0.0.8

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

func (*SCRInfo) XXX_Merge added in v0.0.8

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

func (*SCRInfo) XXX_Size added in v0.0.8

func (m *SCRInfo) XXX_Size() int

func (*SCRInfo) XXX_Unmarshal added in v0.0.8

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

type Shard added in v0.0.9

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

func (*Shard) Descriptor added in v0.0.9

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

func (*Shard) Equal added in v0.0.9

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

func (*Shard) GetShardID added in v0.0.9

func (m *Shard) GetShardID() uint32

func (*Shard) GoString added in v0.0.9

func (this *Shard) GoString() string

func (*Shard) Marshal added in v0.0.9

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

func (*Shard) MarshalTo added in v0.0.9

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

func (*Shard) MarshalToSizedBuffer added in v0.0.9

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

func (*Shard) ProtoMessage added in v0.0.9

func (*Shard) ProtoMessage()

func (*Shard) Reset added in v0.0.9

func (m *Shard) Reset()

func (*Shard) Size added in v0.0.9

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

func (*Shard) String added in v0.0.9

func (this *Shard) String() string

func (*Shard) Unmarshal added in v0.0.9

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

func (*Shard) XXX_DiscardUnknown added in v0.0.9

func (m *Shard) XXX_DiscardUnknown()

func (*Shard) XXX_Marshal added in v0.0.9

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

func (*Shard) XXX_Merge added in v0.0.9

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

func (*Shard) XXX_Size added in v0.0.9

func (m *Shard) XXX_Size() int

func (*Shard) XXX_Unmarshal added in v0.0.9

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

type StatusInfo added in v0.0.9

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.8

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.8

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

func (*TransactionPool) Equal added in v0.0.8

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

func (*TransactionPool) GetInvalidTxs added in v0.0.8

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

func (*TransactionPool) GetLogs added in v0.0.8

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

func (*TransactionPool) GetReceipts added in v0.0.8

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

func (*TransactionPool) GetRewards added in v0.0.8

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

func (*TransactionPool) GetScheduledExecutedInvalidTxsHashesPrevBlock added in v0.0.8

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

func (*TransactionPool) GetScheduledExecutedSCRSHashesPrevBlock added in v0.0.8

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

func (*TransactionPool) GetSmartContractResults added in v0.0.8

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

func (*TransactionPool) GetTransactions added in v0.0.8

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

func (*TransactionPool) GoString added in v0.0.8

func (this *TransactionPool) GoString() string

func (*TransactionPool) Marshal added in v0.0.8

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

func (*TransactionPool) MarshalTo added in v0.0.8

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

func (*TransactionPool) MarshalToSizedBuffer added in v0.0.8

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

func (*TransactionPool) ProtoMessage added in v0.0.8

func (*TransactionPool) ProtoMessage()

func (*TransactionPool) Reset added in v0.0.8

func (m *TransactionPool) Reset()

func (*TransactionPool) Size added in v0.0.8

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

func (*TransactionPool) String added in v0.0.8

func (this *TransactionPool) String() string

func (*TransactionPool) Unmarshal added in v0.0.8

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

func (*TransactionPool) XXX_DiscardUnknown added in v0.0.8

func (m *TransactionPool) XXX_DiscardUnknown()

func (*TransactionPool) XXX_Marshal added in v0.0.8

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

func (*TransactionPool) XXX_Merge added in v0.0.8

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

func (*TransactionPool) XXX_Size added in v0.0.8

func (m *TransactionPool) XXX_Size() int

func (*TransactionPool) XXX_Unmarshal added in v0.0.8

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

type TxInfo added in v0.0.8

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.8

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

func (*TxInfo) Equal added in v0.0.8

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

func (*TxInfo) GetExecutionOrder added in v0.0.8

func (m *TxInfo) GetExecutionOrder() uint32

func (*TxInfo) GetFeeInfo added in v0.0.8

func (m *TxInfo) GetFeeInfo() *FeeInfo

func (*TxInfo) GetTransaction added in v0.0.8

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

func (*TxInfo) GetTxHandler added in v0.0.8

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

GetTxHandler returns tx handler

func (*TxInfo) GoString added in v0.0.8

func (this *TxInfo) GoString() string

func (*TxInfo) Marshal added in v0.0.8

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

func (*TxInfo) MarshalTo added in v0.0.8

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

func (*TxInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*TxInfo) ProtoMessage added in v0.0.8

func (*TxInfo) ProtoMessage()

func (*TxInfo) Reset added in v0.0.8

func (m *TxInfo) Reset()

func (*TxInfo) SetExecutionOrder added in v0.0.8

func (t *TxInfo) SetExecutionOrder(order uint32)

SetExecutionOrder sets execution order

func (*TxInfo) Size added in v0.0.8

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

func (*TxInfo) String added in v0.0.8

func (this *TxInfo) String() string

func (*TxInfo) Unmarshal added in v0.0.8

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

func (*TxInfo) XXX_DiscardUnknown added in v0.0.8

func (m *TxInfo) XXX_DiscardUnknown()

func (*TxInfo) XXX_Marshal added in v0.0.8

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

func (*TxInfo) XXX_Merge added in v0.0.8

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

func (*TxInfo) XXX_Size added in v0.0.8

func (m *TxInfo) XXX_Size() int

func (*TxInfo) XXX_Unmarshal added in v0.0.8

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 added in v0.0.8

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

func (*ValidatorRatingInfo) Equal added in v0.0.8

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

func (*ValidatorRatingInfo) GetPublicKey added in v0.0.8

func (m *ValidatorRatingInfo) GetPublicKey() string

func (*ValidatorRatingInfo) GetRating added in v0.0.8

func (m *ValidatorRatingInfo) GetRating() float32

func (*ValidatorRatingInfo) GoString added in v0.0.8

func (this *ValidatorRatingInfo) GoString() string

func (*ValidatorRatingInfo) Marshal added in v0.0.8

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

func (*ValidatorRatingInfo) MarshalTo added in v0.0.8

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

func (*ValidatorRatingInfo) MarshalToSizedBuffer added in v0.0.8

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

func (*ValidatorRatingInfo) ProtoMessage added in v0.0.8

func (*ValidatorRatingInfo) ProtoMessage()

func (*ValidatorRatingInfo) Reset added in v0.0.8

func (m *ValidatorRatingInfo) Reset()

func (*ValidatorRatingInfo) Size added in v0.0.8

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

func (*ValidatorRatingInfo) String added in v0.0.8

func (this *ValidatorRatingInfo) String() string

func (*ValidatorRatingInfo) Unmarshal added in v0.0.8

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

func (*ValidatorRatingInfo) XXX_DiscardUnknown added in v0.0.8

func (m *ValidatorRatingInfo) XXX_DiscardUnknown()

func (*ValidatorRatingInfo) XXX_Marshal added in v0.0.8

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

func (*ValidatorRatingInfo) XXX_Merge added in v0.0.8

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

func (*ValidatorRatingInfo) XXX_Size added in v0.0.8

func (m *ValidatorRatingInfo) XXX_Size() int

func (*ValidatorRatingInfo) XXX_Unmarshal added in v0.0.8

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

type ValidatorsPubKeys added in v0.0.8

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.8

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

func (*ValidatorsPubKeys) Equal added in v0.0.8

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

func (*ValidatorsPubKeys) GetEpoch added in v0.0.8

func (m *ValidatorsPubKeys) GetEpoch() uint32

func (*ValidatorsPubKeys) GetShardID added in v0.0.9

func (m *ValidatorsPubKeys) GetShardID() uint32

func (*ValidatorsPubKeys) GetShardValidatorsPubKeys added in v0.0.8

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

func (*ValidatorsPubKeys) GoString added in v0.0.8

func (this *ValidatorsPubKeys) GoString() string

func (*ValidatorsPubKeys) Marshal added in v0.0.8

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

func (*ValidatorsPubKeys) MarshalTo added in v0.0.8

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

func (*ValidatorsPubKeys) MarshalToSizedBuffer added in v0.0.8

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

func (*ValidatorsPubKeys) ProtoMessage added in v0.0.8

func (*ValidatorsPubKeys) ProtoMessage()

func (*ValidatorsPubKeys) Reset added in v0.0.8

func (m *ValidatorsPubKeys) Reset()

func (*ValidatorsPubKeys) Size added in v0.0.8

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

func (*ValidatorsPubKeys) String added in v0.0.8

func (this *ValidatorsPubKeys) String() string

func (*ValidatorsPubKeys) Unmarshal added in v0.0.8

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

func (*ValidatorsPubKeys) XXX_DiscardUnknown added in v0.0.8

func (m *ValidatorsPubKeys) XXX_DiscardUnknown()

func (*ValidatorsPubKeys) XXX_Marshal added in v0.0.8

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

func (*ValidatorsPubKeys) XXX_Merge added in v0.0.8

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

func (*ValidatorsPubKeys) XXX_Size added in v0.0.8

func (m *ValidatorsPubKeys) XXX_Size() int

func (*ValidatorsPubKeys) XXX_Unmarshal added in v0.0.8

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

type ValidatorsRating added in v0.0.8

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.8

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

func (*ValidatorsRating) Equal added in v0.0.8

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

func (*ValidatorsRating) GetEpoch added in v0.0.8

func (m *ValidatorsRating) GetEpoch() uint32

func (*ValidatorsRating) GetShardID added in v0.0.8

func (m *ValidatorsRating) GetShardID() uint32

func (*ValidatorsRating) GetValidatorsRatingInfo added in v0.0.8

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

func (*ValidatorsRating) GoString added in v0.0.8

func (this *ValidatorsRating) GoString() string

func (*ValidatorsRating) Marshal added in v0.0.8

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

func (*ValidatorsRating) MarshalTo added in v0.0.8

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

func (*ValidatorsRating) MarshalToSizedBuffer added in v0.0.8

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

func (*ValidatorsRating) ProtoMessage added in v0.0.8

func (*ValidatorsRating) ProtoMessage()

func (*ValidatorsRating) Reset added in v0.0.8

func (m *ValidatorsRating) Reset()

func (*ValidatorsRating) Size added in v0.0.8

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

func (*ValidatorsRating) String added in v0.0.8

func (this *ValidatorsRating) String() string

func (*ValidatorsRating) Unmarshal added in v0.0.8

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

func (*ValidatorsRating) XXX_DiscardUnknown added in v0.0.8

func (m *ValidatorsRating) XXX_DiscardUnknown()

func (*ValidatorsRating) XXX_Marshal added in v0.0.8

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

func (*ValidatorsRating) XXX_Merge added in v0.0.8

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

func (*ValidatorsRating) XXX_Size added in v0.0.8

func (m *ValidatorsRating) XXX_Size() int

func (*ValidatorsRating) XXX_Unmarshal added in v0.0.8

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