services

package
v0.0.0-...-bf1cce6 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 10 Imported by: 35

Documentation

Overview

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNewTransactionInput

type AddNewTransactionInput struct {
	SignedTransaction *protocol.SignedTransaction
}

func (*AddNewTransactionInput) String

func (x *AddNewTransactionInput) String() string

func (*AddNewTransactionInput) StringSignedTransaction

func (x *AddNewTransactionInput) StringSignedTransaction() (res string)

type AddNewTransactionOutput

type AddNewTransactionOutput struct {
	TransactionStatus  protocol.TransactionStatus
	TransactionReceipt *protocol.TransactionReceipt
	BlockHeight        primitives.BlockHeight
	BlockTimestamp     primitives.TimestampNano
}

func (*AddNewTransactionOutput) String

func (x *AddNewTransactionOutput) String() string

func (*AddNewTransactionOutput) StringBlockHeight

func (x *AddNewTransactionOutput) StringBlockHeight() (res string)

func (*AddNewTransactionOutput) StringBlockTimestamp

func (x *AddNewTransactionOutput) StringBlockTimestamp() (res string)

func (*AddNewTransactionOutput) StringTransactionReceipt

func (x *AddNewTransactionOutput) StringTransactionReceipt() (res string)

func (*AddNewTransactionOutput) StringTransactionStatus

func (x *AddNewTransactionOutput) StringTransactionStatus() (res string)

type BlockStorage

type BlockStorage interface {
	gossiptopics.BlockSyncHandler
	CommitBlock(ctx context.Context, input *CommitBlockInput) (*CommitBlockOutput, error)
	GetTransactionsBlockHeader(ctx context.Context, input *GetTransactionsBlockHeaderInput) (*GetTransactionsBlockHeaderOutput, error)
	GetResultsBlockHeader(ctx context.Context, input *GetResultsBlockHeaderInput) (*GetResultsBlockHeaderOutput, error)
	GetTransactionReceipt(ctx context.Context, input *GetTransactionReceiptInput) (*GetTransactionReceiptOutput, error)
	GetLastCommittedBlockHeight(ctx context.Context, input *GetLastCommittedBlockHeightInput) (*GetLastCommittedBlockHeightOutput, error)
	GenerateReceiptProof(ctx context.Context, input *GenerateReceiptProofInput) (*GenerateReceiptProofOutput, error)
	GetBlockPair(ctx context.Context, input *GetBlockPairInput) (*GetBlockPairOutput, error)
	ValidateBlockForCommit(ctx context.Context, input *ValidateBlockForCommitInput) (*ValidateBlockForCommitOutput, error)
	ValidateChainTip(ctx context.Context, input *ValidateChainTipInput) (*ValidateChainTipOutput, error)
	RegisterConsensusBlocksHandler(handler handlers.ConsensusBlocksHandler)
}

type CallSystemContractInput

type CallSystemContractInput struct {
	BlockHeight               primitives.BlockHeight
	BlockTimestamp            primitives.TimestampNano
	PrevBlockReferenceTime    primitives.TimestampSeconds
	CurrentBlockReferenceTime primitives.TimestampSeconds
	ContractName              primitives.ContractName
	MethodName                primitives.MethodName
	InputArgumentArray        *protocol.ArgumentArray
}

func (*CallSystemContractInput) String

func (x *CallSystemContractInput) String() string

func (*CallSystemContractInput) StringBlockHeight

func (x *CallSystemContractInput) StringBlockHeight() (res string)

func (*CallSystemContractInput) StringBlockTimestamp

func (x *CallSystemContractInput) StringBlockTimestamp() (res string)

func (*CallSystemContractInput) StringContractName

func (x *CallSystemContractInput) StringContractName() (res string)

func (*CallSystemContractInput) StringCurrentBlockReferenceTime

func (x *CallSystemContractInput) StringCurrentBlockReferenceTime() (res string)

func (*CallSystemContractInput) StringInputArgumentArray

func (x *CallSystemContractInput) StringInputArgumentArray() (res string)

func (*CallSystemContractInput) StringMethodName

func (x *CallSystemContractInput) StringMethodName() (res string)

func (*CallSystemContractInput) StringPrevBlockReferenceTime

func (x *CallSystemContractInput) StringPrevBlockReferenceTime() (res string)

type CallSystemContractOutput

type CallSystemContractOutput struct {
	OutputArgumentArray *protocol.ArgumentArray
	CallResult          protocol.ExecutionResult
}

func (*CallSystemContractOutput) String

func (x *CallSystemContractOutput) String() string

func (*CallSystemContractOutput) StringCallResult

func (x *CallSystemContractOutput) StringCallResult() (res string)

func (*CallSystemContractOutput) StringOutputArgumentArray

func (x *CallSystemContractOutput) StringOutputArgumentArray() (res string)

type CommitBlockInput

type CommitBlockInput struct {
	BlockPair *protocol.BlockPairContainer
}

func (*CommitBlockInput) String

func (x *CommitBlockInput) String() string

func (*CommitBlockInput) StringBlockPair

func (x *CommitBlockInput) StringBlockPair() (res string)

type CommitBlockOutput

type CommitBlockOutput struct {
}

func (*CommitBlockOutput) String

func (x *CommitBlockOutput) String() string

type CommitStateDiffInput

type CommitStateDiffInput struct {
	ResultsBlockHeader *protocol.ResultsBlockHeader
	ContractStateDiffs []*protocol.ContractStateDiff
}

func (*CommitStateDiffInput) String

func (x *CommitStateDiffInput) String() string

func (*CommitStateDiffInput) StringContractStateDiffs

func (x *CommitStateDiffInput) StringContractStateDiffs() (res string)

func (*CommitStateDiffInput) StringResultsBlockHeader

func (x *CommitStateDiffInput) StringResultsBlockHeader() (res string)

type CommitStateDiffOutput

type CommitStateDiffOutput struct {
	NextDesiredBlockHeight primitives.BlockHeight
}

func (*CommitStateDiffOutput) String

func (x *CommitStateDiffOutput) String() string

func (*CommitStateDiffOutput) StringNextDesiredBlockHeight

func (x *CommitStateDiffOutput) StringNextDesiredBlockHeight() (res string)

type CommitTransactionReceiptsInput

type CommitTransactionReceiptsInput struct {
	ResultsBlockHeader       *protocol.ResultsBlockHeader
	TransactionReceipts      []*protocol.TransactionReceipt
	LastCommittedBlockHeight primitives.BlockHeight
}

func (*CommitTransactionReceiptsInput) String

func (*CommitTransactionReceiptsInput) StringLastCommittedBlockHeight

func (x *CommitTransactionReceiptsInput) StringLastCommittedBlockHeight() (res string)

func (*CommitTransactionReceiptsInput) StringResultsBlockHeader

func (x *CommitTransactionReceiptsInput) StringResultsBlockHeader() (res string)

func (*CommitTransactionReceiptsInput) StringTransactionReceipts

func (x *CommitTransactionReceiptsInput) StringTransactionReceipts() (res string)

type CommitTransactionReceiptsOutput

type CommitTransactionReceiptsOutput struct {
	NextDesiredBlockHeight   primitives.BlockHeight
	LastCommittedBlockHeight primitives.BlockHeight
}

func (*CommitTransactionReceiptsOutput) String

func (*CommitTransactionReceiptsOutput) StringLastCommittedBlockHeight

func (x *CommitTransactionReceiptsOutput) StringLastCommittedBlockHeight() (res string)

func (*CommitTransactionReceiptsOutput) StringNextDesiredBlockHeight

func (x *CommitTransactionReceiptsOutput) StringNextDesiredBlockHeight() (res string)

type ConsensusAlgo

type ConsensusAlgo interface {
	handlers.ConsensusBlocksHandler
}

type ConsensusAlgoBenchmark

type ConsensusAlgoBenchmark interface {
	ConsensusAlgo
	gossiptopics.BenchmarkConsensusHandler
}

type ConsensusAlgoLeanHelix

type ConsensusAlgoLeanHelix interface {
	ConsensusAlgo
	gossiptopics.LeanHelixHandler
}

type ConsensusContext

type ConsensusContext interface {
	RequestNewTransactionsBlock(ctx context.Context, input *RequestNewTransactionsBlockInput) (*RequestNewTransactionsBlockOutput, error)
	RequestNewResultsBlock(ctx context.Context, input *RequestNewResultsBlockInput) (*RequestNewResultsBlockOutput, error)
	ValidateTransactionsBlock(ctx context.Context, input *ValidateTransactionsBlockInput) (*ValidateTransactionsBlockOutput, error)
	ValidateResultsBlock(ctx context.Context, input *ValidateResultsBlockInput) (*ValidateResultsBlockOutput, error)
	RequestOrderingCommittee(ctx context.Context, input *RequestCommitteeInput) (*RequestCommitteeOutput, error)
	RequestBlockProofOrderingCommittee(ctx context.Context, input *RequestBlockProofCommitteeInput) (*RequestBlockProofCommitteeOutput, error)
	RequestValidationCommittee(ctx context.Context, input *RequestCommitteeInput) (*RequestCommitteeOutput, error)
	ValidateBlockReferenceTime(ctx context.Context, input *ValidateBlockReferenceTimeInput) (*ValidateBlockReferenceTimeOutput, error)
}

type CrosschainConnector

type CrosschainConnector interface {
	EthereumCallContract(ctx context.Context, input *EthereumCallContractInput) (*EthereumCallContractOutput, error)
	EthereumGetTransactionLogs(ctx context.Context, input *EthereumGetTransactionLogsInput) (*EthereumGetTransactionLogsOutput, error)
	EthereumGetBlockNumber(ctx context.Context, input *EthereumGetBlockNumberInput) (*EthereumGetBlockNumberOutput, error)
	EthereumGetBlockTime(ctx context.Context, input *EthereumGetBlockTimeInput) (*EthereumGetBlockTimeOutput, error)
	EthereumGetBlockTimeByNumber(ctx context.Context, input *EthereumGetBlockTimeByNumberInput) (*EthereumGetBlockTimeByNumberOutput, error)
	EthereumGetBlockNumberByTime(ctx context.Context, input *EthereumGetBlockNumberByTimeInput) (*EthereumGetBlockNumberByTimeOutput, error)
}

type EthereumCallContractInput

type EthereumCallContractInput struct {
	ReferenceTimestamp              primitives.TimestampNano
	EthereumBlockNumber             uint64
	EthereumContractAddress         string
	EthereumFunctionName            string
	EthereumJsonAbi                 string
	EthereumAbiPackedInputArguments []byte
}

func (*EthereumCallContractInput) String

func (x *EthereumCallContractInput) String() string

func (*EthereumCallContractInput) StringEthereumAbiPackedInputArguments

func (x *EthereumCallContractInput) StringEthereumAbiPackedInputArguments() (res string)

func (*EthereumCallContractInput) StringEthereumBlockNumber

func (x *EthereumCallContractInput) StringEthereumBlockNumber() (res string)

func (*EthereumCallContractInput) StringEthereumContractAddress

func (x *EthereumCallContractInput) StringEthereumContractAddress() (res string)

func (*EthereumCallContractInput) StringEthereumFunctionName

func (x *EthereumCallContractInput) StringEthereumFunctionName() (res string)

func (*EthereumCallContractInput) StringEthereumJsonAbi

func (x *EthereumCallContractInput) StringEthereumJsonAbi() (res string)

func (*EthereumCallContractInput) StringReferenceTimestamp

func (x *EthereumCallContractInput) StringReferenceTimestamp() (res string)

type EthereumCallContractOutput

type EthereumCallContractOutput struct {
	EthereumAbiPackedOutput []byte
}

func (*EthereumCallContractOutput) String

func (x *EthereumCallContractOutput) String() string

func (*EthereumCallContractOutput) StringEthereumAbiPackedOutput

func (x *EthereumCallContractOutput) StringEthereumAbiPackedOutput() (res string)

type EthereumGetBlockNumberByTimeInput

type EthereumGetBlockNumberByTimeInput struct {
	ReferenceTimestamp primitives.TimestampNano
	EthereumTimestamp  primitives.TimestampNano
}

func (*EthereumGetBlockNumberByTimeInput) String

func (*EthereumGetBlockNumberByTimeInput) StringEthereumTimestamp

func (x *EthereumGetBlockNumberByTimeInput) StringEthereumTimestamp() (res string)

func (*EthereumGetBlockNumberByTimeInput) StringReferenceTimestamp

func (x *EthereumGetBlockNumberByTimeInput) StringReferenceTimestamp() (res string)

type EthereumGetBlockNumberByTimeOutput

type EthereumGetBlockNumberByTimeOutput struct {
	EthereumBlockNumber uint64
}

func (*EthereumGetBlockNumberByTimeOutput) String

func (*EthereumGetBlockNumberByTimeOutput) StringEthereumBlockNumber

func (x *EthereumGetBlockNumberByTimeOutput) StringEthereumBlockNumber() (res string)

type EthereumGetBlockNumberInput

type EthereumGetBlockNumberInput struct {
	ReferenceTimestamp primitives.TimestampNano
}

func (*EthereumGetBlockNumberInput) String

func (x *EthereumGetBlockNumberInput) String() string

func (*EthereumGetBlockNumberInput) StringReferenceTimestamp

func (x *EthereumGetBlockNumberInput) StringReferenceTimestamp() (res string)

type EthereumGetBlockNumberOutput

type EthereumGetBlockNumberOutput struct {
	EthereumBlockNumber uint64
}

func (*EthereumGetBlockNumberOutput) String

func (*EthereumGetBlockNumberOutput) StringEthereumBlockNumber

func (x *EthereumGetBlockNumberOutput) StringEthereumBlockNumber() (res string)

type EthereumGetBlockTimeByNumberInput

type EthereumGetBlockTimeByNumberInput struct {
	ReferenceTimestamp  primitives.TimestampNano
	EthereumBlockNumber uint64
}

func (*EthereumGetBlockTimeByNumberInput) String

func (*EthereumGetBlockTimeByNumberInput) StringEthereumBlockNumber

func (x *EthereumGetBlockTimeByNumberInput) StringEthereumBlockNumber() (res string)

func (*EthereumGetBlockTimeByNumberInput) StringReferenceTimestamp

func (x *EthereumGetBlockTimeByNumberInput) StringReferenceTimestamp() (res string)

type EthereumGetBlockTimeByNumberOutput

type EthereumGetBlockTimeByNumberOutput struct {
	EthereumTimestamp primitives.TimestampNano
}

func (*EthereumGetBlockTimeByNumberOutput) String

func (*EthereumGetBlockTimeByNumberOutput) StringEthereumTimestamp

func (x *EthereumGetBlockTimeByNumberOutput) StringEthereumTimestamp() (res string)

type EthereumGetBlockTimeInput

type EthereumGetBlockTimeInput struct {
	ReferenceTimestamp primitives.TimestampNano
}

func (*EthereumGetBlockTimeInput) String

func (x *EthereumGetBlockTimeInput) String() string

func (*EthereumGetBlockTimeInput) StringReferenceTimestamp

func (x *EthereumGetBlockTimeInput) StringReferenceTimestamp() (res string)

type EthereumGetBlockTimeOutput

type EthereumGetBlockTimeOutput struct {
	EthereumTimestamp primitives.TimestampNano
}

func (*EthereumGetBlockTimeOutput) String

func (x *EthereumGetBlockTimeOutput) String() string

func (*EthereumGetBlockTimeOutput) StringEthereumTimestamp

func (x *EthereumGetBlockTimeOutput) StringEthereumTimestamp() (res string)

type EthereumGetTransactionLogsInput

type EthereumGetTransactionLogsInput struct {
	ReferenceTimestamp      primitives.TimestampNano
	EthereumContractAddress string
	EthereumEventName       string
	EthereumJsonAbi         string
	EthereumTxhash          string
}

func (*EthereumGetTransactionLogsInput) String

func (*EthereumGetTransactionLogsInput) StringEthereumContractAddress

func (x *EthereumGetTransactionLogsInput) StringEthereumContractAddress() (res string)

func (*EthereumGetTransactionLogsInput) StringEthereumEventName

func (x *EthereumGetTransactionLogsInput) StringEthereumEventName() (res string)

func (*EthereumGetTransactionLogsInput) StringEthereumJsonAbi

func (x *EthereumGetTransactionLogsInput) StringEthereumJsonAbi() (res string)

func (*EthereumGetTransactionLogsInput) StringEthereumTxhash

func (x *EthereumGetTransactionLogsInput) StringEthereumTxhash() (res string)

func (*EthereumGetTransactionLogsInput) StringReferenceTimestamp

func (x *EthereumGetTransactionLogsInput) StringReferenceTimestamp() (res string)

type EthereumGetTransactionLogsOutput

type EthereumGetTransactionLogsOutput struct {
	EthereumAbiPackedOutputs [][]byte
	EthereumBlockNumber      uint64
	EthereumTxindex          uint32
}

func (*EthereumGetTransactionLogsOutput) String

func (*EthereumGetTransactionLogsOutput) StringEthereumAbiPackedOutputs

func (x *EthereumGetTransactionLogsOutput) StringEthereumAbiPackedOutputs() (res string)

func (*EthereumGetTransactionLogsOutput) StringEthereumBlockNumber

func (x *EthereumGetTransactionLogsOutput) StringEthereumBlockNumber() (res string)

func (*EthereumGetTransactionLogsOutput) StringEthereumTxindex

func (x *EthereumGetTransactionLogsOutput) StringEthereumTxindex() (res string)

type GenerateReceiptProofInput

type GenerateReceiptProofInput struct {
	Txhash      primitives.Sha256
	BlockHeight primitives.BlockHeight
}

func (*GenerateReceiptProofInput) String

func (x *GenerateReceiptProofInput) String() string

func (*GenerateReceiptProofInput) StringBlockHeight

func (x *GenerateReceiptProofInput) StringBlockHeight() (res string)

func (*GenerateReceiptProofInput) StringTxhash

func (x *GenerateReceiptProofInput) StringTxhash() (res string)

type GenerateReceiptProofOutput

type GenerateReceiptProofOutput struct {
	Proof *protocol.ReceiptProof
}

func (*GenerateReceiptProofOutput) String

func (x *GenerateReceiptProofOutput) String() string

func (*GenerateReceiptProofOutput) StringProof

func (x *GenerateReceiptProofOutput) StringProof() (res string)

type GetBlockInput

type GetBlockInput struct {
	ClientRequest *client.GetBlockRequest
}

func (*GetBlockInput) String

func (x *GetBlockInput) String() string

func (*GetBlockInput) StringClientRequest

func (x *GetBlockInput) StringClientRequest() (res string)

type GetBlockOutput

type GetBlockOutput struct {
	ClientResponse *client.GetBlockResponse
}

func (*GetBlockOutput) String

func (x *GetBlockOutput) String() string

func (*GetBlockOutput) StringClientResponse

func (x *GetBlockOutput) StringClientResponse() (res string)

type GetBlockPairInput

type GetBlockPairInput struct {
	BlockHeight primitives.BlockHeight
}

func (*GetBlockPairInput) String

func (x *GetBlockPairInput) String() string

func (*GetBlockPairInput) StringBlockHeight

func (x *GetBlockPairInput) StringBlockHeight() (res string)

type GetBlockPairOutput

type GetBlockPairOutput struct {
	BlockPair *protocol.BlockPairContainer
}

func (*GetBlockPairOutput) String

func (x *GetBlockPairOutput) String() string

func (*GetBlockPairOutput) StringBlockPair

func (x *GetBlockPairOutput) StringBlockPair() (res string)

type GetCommittedTransactionReceiptInput

type GetCommittedTransactionReceiptInput struct {
	Txhash               primitives.Sha256
	TransactionTimestamp primitives.TimestampNano
}

func (*GetCommittedTransactionReceiptInput) String

func (*GetCommittedTransactionReceiptInput) StringTransactionTimestamp

func (x *GetCommittedTransactionReceiptInput) StringTransactionTimestamp() (res string)

func (*GetCommittedTransactionReceiptInput) StringTxhash

func (x *GetCommittedTransactionReceiptInput) StringTxhash() (res string)

type GetCommittedTransactionReceiptOutput

type GetCommittedTransactionReceiptOutput struct {
	TransactionStatus  protocol.TransactionStatus
	TransactionReceipt *protocol.TransactionReceipt
	BlockHeight        primitives.BlockHeight
	BlockTimestamp     primitives.TimestampNano
}

func (*GetCommittedTransactionReceiptOutput) String

func (*GetCommittedTransactionReceiptOutput) StringBlockHeight

func (x *GetCommittedTransactionReceiptOutput) StringBlockHeight() (res string)

func (*GetCommittedTransactionReceiptOutput) StringBlockTimestamp

func (x *GetCommittedTransactionReceiptOutput) StringBlockTimestamp() (res string)

func (*GetCommittedTransactionReceiptOutput) StringTransactionReceipt

func (x *GetCommittedTransactionReceiptOutput) StringTransactionReceipt() (res string)

func (*GetCommittedTransactionReceiptOutput) StringTransactionStatus

func (x *GetCommittedTransactionReceiptOutput) StringTransactionStatus() (res string)

type GetCommitteeInput

type GetCommitteeInput struct {
	Reference primitives.TimestampSeconds
}

func (*GetCommitteeInput) String

func (x *GetCommitteeInput) String() string

func (*GetCommitteeInput) StringReference

func (x *GetCommitteeInput) StringReference() (res string)

type GetCommitteeOutput

type GetCommitteeOutput struct {
	Members []primitives.NodeAddress
	Weights []primitives.Weight
}

func (*GetCommitteeOutput) String

func (x *GetCommitteeOutput) String() string

func (*GetCommitteeOutput) StringMembers

func (x *GetCommitteeOutput) StringMembers() (res string)

func (*GetCommitteeOutput) StringWeights

func (x *GetCommitteeOutput) StringWeights() (res string)

type GetContractInfoInput

type GetContractInfoInput struct {
	ContextId    primitives.ExecutionContextId
	ContractName primitives.ContractName
}

func (*GetContractInfoInput) String

func (x *GetContractInfoInput) String() string

func (*GetContractInfoInput) StringContextId

func (x *GetContractInfoInput) StringContextId() (res string)

func (*GetContractInfoInput) StringContractName

func (x *GetContractInfoInput) StringContractName() (res string)

type GetContractInfoOutput

type GetContractInfoOutput struct {
	PermissionScope protocol.ExecutionPermissionScope
}

func (*GetContractInfoOutput) String

func (x *GetContractInfoOutput) String() string

func (*GetContractInfoOutput) StringPermissionScope

func (x *GetContractInfoOutput) StringPermissionScope() (res string)

type GetCurrentReferenceInput

type GetCurrentReferenceInput struct {
	SystemTime primitives.TimestampSeconds
}

func (*GetCurrentReferenceInput) String

func (x *GetCurrentReferenceInput) String() string

func (*GetCurrentReferenceInput) StringSystemTime

func (x *GetCurrentReferenceInput) StringSystemTime() (res string)

type GetCurrentReferenceOutput

type GetCurrentReferenceOutput struct {
	CurrentReference primitives.TimestampSeconds
}

func (*GetCurrentReferenceOutput) String

func (x *GetCurrentReferenceOutput) String() string

func (*GetCurrentReferenceOutput) StringCurrentReference

func (x *GetCurrentReferenceOutput) StringCurrentReference() (res string)

type GetGenesisReferenceInput

type GetGenesisReferenceInput struct {
	SystemTime primitives.TimestampSeconds
}

func (*GetGenesisReferenceInput) String

func (x *GetGenesisReferenceInput) String() string

func (*GetGenesisReferenceInput) StringSystemTime

func (x *GetGenesisReferenceInput) StringSystemTime() (res string)

type GetGenesisReferenceOutput

type GetGenesisReferenceOutput struct {
	GenesisReference primitives.TimestampSeconds
	CurrentReference primitives.TimestampSeconds
}

func (*GetGenesisReferenceOutput) String

func (x *GetGenesisReferenceOutput) String() string

func (*GetGenesisReferenceOutput) StringCurrentReference

func (x *GetGenesisReferenceOutput) StringCurrentReference() (res string)

func (*GetGenesisReferenceOutput) StringGenesisReference

func (x *GetGenesisReferenceOutput) StringGenesisReference() (res string)

type GetLastCommittedBlockHeightInput

type GetLastCommittedBlockHeightInput struct {
}

func (*GetLastCommittedBlockHeightInput) String

type GetLastCommittedBlockHeightOutput

type GetLastCommittedBlockHeightOutput struct {
	LastCommittedBlockHeight    primitives.BlockHeight
	LastCommittedBlockTimestamp primitives.TimestampNano
}

func (*GetLastCommittedBlockHeightOutput) String

func (*GetLastCommittedBlockHeightOutput) StringLastCommittedBlockHeight

func (x *GetLastCommittedBlockHeightOutput) StringLastCommittedBlockHeight() (res string)

func (*GetLastCommittedBlockHeightOutput) StringLastCommittedBlockTimestamp

func (x *GetLastCommittedBlockHeightOutput) StringLastCommittedBlockTimestamp() (res string)

type GetLastCommittedBlockInfoInput

type GetLastCommittedBlockInfoInput struct {
}

func (*GetLastCommittedBlockInfoInput) String

type GetLastCommittedBlockInfoOutput

type GetLastCommittedBlockInfoOutput struct {
	BlockHeight          primitives.BlockHeight
	BlockTimestamp       primitives.TimestampNano
	BlockProposerAddress primitives.NodeAddress
	CurrentReferenceTime primitives.TimestampSeconds
	PrevReferenceTime    primitives.TimestampSeconds
}

func (*GetLastCommittedBlockInfoOutput) String

func (*GetLastCommittedBlockInfoOutput) StringBlockHeight

func (x *GetLastCommittedBlockInfoOutput) StringBlockHeight() (res string)

func (*GetLastCommittedBlockInfoOutput) StringBlockProposerAddress

func (x *GetLastCommittedBlockInfoOutput) StringBlockProposerAddress() (res string)

func (*GetLastCommittedBlockInfoOutput) StringBlockTimestamp

func (x *GetLastCommittedBlockInfoOutput) StringBlockTimestamp() (res string)

func (*GetLastCommittedBlockInfoOutput) StringCurrentReferenceTime

func (x *GetLastCommittedBlockInfoOutput) StringCurrentReferenceTime() (res string)

func (*GetLastCommittedBlockInfoOutput) StringPrevReferenceTime

func (x *GetLastCommittedBlockInfoOutput) StringPrevReferenceTime() (res string)

type GetProtocolVersionInput

type GetProtocolVersionInput struct {
	Reference primitives.TimestampSeconds
}

func (*GetProtocolVersionInput) String

func (x *GetProtocolVersionInput) String() string

func (*GetProtocolVersionInput) StringReference

func (x *GetProtocolVersionInput) StringReference() (res string)

type GetProtocolVersionOutput

type GetProtocolVersionOutput struct {
	ProtocolVersion primitives.ProtocolVersion
}

func (*GetProtocolVersionOutput) String

func (x *GetProtocolVersionOutput) String() string

func (*GetProtocolVersionOutput) StringProtocolVersion

func (x *GetProtocolVersionOutput) StringProtocolVersion() (res string)

type GetResultsBlockHeaderInput

type GetResultsBlockHeaderInput struct {
	BlockHeight primitives.BlockHeight
}

func (*GetResultsBlockHeaderInput) String

func (x *GetResultsBlockHeaderInput) String() string

func (*GetResultsBlockHeaderInput) StringBlockHeight

func (x *GetResultsBlockHeaderInput) StringBlockHeight() (res string)

type GetResultsBlockHeaderOutput

type GetResultsBlockHeaderOutput struct {
	ResultsBlockHeader *protocol.ResultsBlockHeader
	ResultsBlockProof  *protocol.ResultsBlockProof
}

func (*GetResultsBlockHeaderOutput) String

func (x *GetResultsBlockHeaderOutput) String() string

func (*GetResultsBlockHeaderOutput) StringResultsBlockHeader

func (x *GetResultsBlockHeaderOutput) StringResultsBlockHeader() (res string)

func (*GetResultsBlockHeaderOutput) StringResultsBlockProof

func (x *GetResultsBlockHeaderOutput) StringResultsBlockProof() (res string)

type GetStateHashInput

type GetStateHashInput struct {
	BlockHeight primitives.BlockHeight
}

func (*GetStateHashInput) String

func (x *GetStateHashInput) String() string

func (*GetStateHashInput) StringBlockHeight

func (x *GetStateHashInput) StringBlockHeight() (res string)

type GetStateHashOutput

type GetStateHashOutput struct {
	StateMerkleRootHash primitives.Sha256
}

func (*GetStateHashOutput) String

func (x *GetStateHashOutput) String() string

func (*GetStateHashOutput) StringStateMerkleRootHash

func (x *GetStateHashOutput) StringStateMerkleRootHash() (res string)

type GetSubscriptionStatusInput

type GetSubscriptionStatusInput struct {
	Reference primitives.TimestampSeconds
}

func (*GetSubscriptionStatusInput) String

func (x *GetSubscriptionStatusInput) String() string

func (*GetSubscriptionStatusInput) StringReference

func (x *GetSubscriptionStatusInput) StringReference() (res string)

type GetSubscriptionStatusOutput

type GetSubscriptionStatusOutput struct {
	SubscriptionStatusIsActive bool
}

func (*GetSubscriptionStatusOutput) String

func (x *GetSubscriptionStatusOutput) String() string

func (*GetSubscriptionStatusOutput) StringSubscriptionStatusIsActive

func (x *GetSubscriptionStatusOutput) StringSubscriptionStatusIsActive() (res string)

type GetTransactionReceiptInput

type GetTransactionReceiptInput struct {
	Txhash               primitives.Sha256
	TransactionTimestamp primitives.TimestampNano
}

func (*GetTransactionReceiptInput) String

func (x *GetTransactionReceiptInput) String() string

func (*GetTransactionReceiptInput) StringTransactionTimestamp

func (x *GetTransactionReceiptInput) StringTransactionTimestamp() (res string)

func (*GetTransactionReceiptInput) StringTxhash

func (x *GetTransactionReceiptInput) StringTxhash() (res string)

type GetTransactionReceiptOutput

type GetTransactionReceiptOutput struct {
	TransactionReceipt *protocol.TransactionReceipt
	BlockHeight        primitives.BlockHeight
	BlockTimestamp     primitives.TimestampNano
}

func (*GetTransactionReceiptOutput) String

func (x *GetTransactionReceiptOutput) String() string

func (*GetTransactionReceiptOutput) StringBlockHeight

func (x *GetTransactionReceiptOutput) StringBlockHeight() (res string)

func (*GetTransactionReceiptOutput) StringBlockTimestamp

func (x *GetTransactionReceiptOutput) StringBlockTimestamp() (res string)

func (*GetTransactionReceiptOutput) StringTransactionReceipt

func (x *GetTransactionReceiptOutput) StringTransactionReceipt() (res string)

type GetTransactionReceiptProofInput

type GetTransactionReceiptProofInput struct {
	ClientRequest *client.GetTransactionReceiptProofRequest
}

func (*GetTransactionReceiptProofInput) String

func (*GetTransactionReceiptProofInput) StringClientRequest

func (x *GetTransactionReceiptProofInput) StringClientRequest() (res string)

type GetTransactionReceiptProofOutput

type GetTransactionReceiptProofOutput struct {
	ClientResponse *client.GetTransactionReceiptProofResponse
}

func (*GetTransactionReceiptProofOutput) String

func (*GetTransactionReceiptProofOutput) StringClientResponse

func (x *GetTransactionReceiptProofOutput) StringClientResponse() (res string)

type GetTransactionStatusInput

type GetTransactionStatusInput struct {
	ClientRequest *client.GetTransactionStatusRequest
}

func (*GetTransactionStatusInput) String

func (x *GetTransactionStatusInput) String() string

func (*GetTransactionStatusInput) StringClientRequest

func (x *GetTransactionStatusInput) StringClientRequest() (res string)

type GetTransactionStatusOutput

type GetTransactionStatusOutput struct {
	ClientResponse *client.GetTransactionStatusResponse
}

func (*GetTransactionStatusOutput) String

func (x *GetTransactionStatusOutput) String() string

func (*GetTransactionStatusOutput) StringClientResponse

func (x *GetTransactionStatusOutput) StringClientResponse() (res string)

type GetTransactionsBlockHeaderInput

type GetTransactionsBlockHeaderInput struct {
	BlockHeight primitives.BlockHeight
}

func (*GetTransactionsBlockHeaderInput) String

func (*GetTransactionsBlockHeaderInput) StringBlockHeight

func (x *GetTransactionsBlockHeaderInput) StringBlockHeight() (res string)

type GetTransactionsBlockHeaderOutput

type GetTransactionsBlockHeaderOutput struct {
	TransactionsBlockHeader   *protocol.TransactionsBlockHeader
	TransactionsBlockMetadata *protocol.TransactionsBlockMetadata
	TransactionsBlockProof    *protocol.TransactionsBlockProof
}

func (*GetTransactionsBlockHeaderOutput) String

func (*GetTransactionsBlockHeaderOutput) StringTransactionsBlockHeader

func (x *GetTransactionsBlockHeaderOutput) StringTransactionsBlockHeader() (res string)

func (*GetTransactionsBlockHeaderOutput) StringTransactionsBlockMetadata

func (x *GetTransactionsBlockHeaderOutput) StringTransactionsBlockMetadata() (res string)

func (*GetTransactionsBlockHeaderOutput) StringTransactionsBlockProof

func (x *GetTransactionsBlockHeaderOutput) StringTransactionsBlockProof() (res string)

type GetTransactionsForOrderingInput

type GetTransactionsForOrderingInput struct {
	BlockProtocolVersion      primitives.ProtocolVersion
	CurrentBlockHeight        primitives.BlockHeight
	PrevBlockTimestamp        primitives.TimestampNano
	CurrentBlockReferenceTime primitives.TimestampSeconds
	MaxTransactionsSetSizeKb  uint32
	MaxNumberOfTransactions   uint32
}

func (*GetTransactionsForOrderingInput) String

func (*GetTransactionsForOrderingInput) StringBlockProtocolVersion

func (x *GetTransactionsForOrderingInput) StringBlockProtocolVersion() (res string)

func (*GetTransactionsForOrderingInput) StringCurrentBlockHeight

func (x *GetTransactionsForOrderingInput) StringCurrentBlockHeight() (res string)

func (*GetTransactionsForOrderingInput) StringCurrentBlockReferenceTime

func (x *GetTransactionsForOrderingInput) StringCurrentBlockReferenceTime() (res string)

func (*GetTransactionsForOrderingInput) StringMaxNumberOfTransactions

func (x *GetTransactionsForOrderingInput) StringMaxNumberOfTransactions() (res string)

func (*GetTransactionsForOrderingInput) StringMaxTransactionsSetSizeKb

func (x *GetTransactionsForOrderingInput) StringMaxTransactionsSetSizeKb() (res string)

func (*GetTransactionsForOrderingInput) StringPrevBlockTimestamp

func (x *GetTransactionsForOrderingInput) StringPrevBlockTimestamp() (res string)

type GetTransactionsForOrderingOutput

type GetTransactionsForOrderingOutput struct {
	SignedTransactions     []*protocol.SignedTransaction
	ProposedBlockTimestamp primitives.TimestampNano
}

func (*GetTransactionsForOrderingOutput) String

func (*GetTransactionsForOrderingOutput) StringProposedBlockTimestamp

func (x *GetTransactionsForOrderingOutput) StringProposedBlockTimestamp() (res string)

func (*GetTransactionsForOrderingOutput) StringSignedTransactions

func (x *GetTransactionsForOrderingOutput) StringSignedTransactions() (res string)

type GossipPeer

type GossipPeer struct {
	Address  primitives.NodeAddress
	Endpoint string
	Port     uint32
}

func (*GossipPeer) String

func (x *GossipPeer) String() string

func (*GossipPeer) StringAddress

func (x *GossipPeer) StringAddress() (res string)

func (*GossipPeer) StringEndpoint

func (x *GossipPeer) StringEndpoint() (res string)

func (*GossipPeer) StringPort

func (x *GossipPeer) StringPort() (res string)

type Management

type Management interface {
	GetCurrentReference(ctx context.Context, input *GetCurrentReferenceInput) (*GetCurrentReferenceOutput, error)
	GetGenesisReference(ctx context.Context, input *GetGenesisReferenceInput) (*GetGenesisReferenceOutput, error)
	GetProtocolVersion(ctx context.Context, input *GetProtocolVersionInput) (*GetProtocolVersionOutput, error)
	GetSubscriptionStatus(ctx context.Context, input *GetSubscriptionStatusInput) (*GetSubscriptionStatusOutput, error)
	GetCommittee(ctx context.Context, input *GetCommitteeInput) (*GetCommitteeOutput, error)
}

type MockBlockStorage

type MockBlockStorage struct {
	mock.Mock
	gossiptopics.MockBlockSyncHandler
}

func (*MockBlockStorage) CommitBlock

func (s *MockBlockStorage) CommitBlock(ctx context.Context, input *CommitBlockInput) (*CommitBlockOutput, error)

func (*MockBlockStorage) GenerateReceiptProof

func (*MockBlockStorage) GetBlockPair

func (s *MockBlockStorage) GetBlockPair(ctx context.Context, input *GetBlockPairInput) (*GetBlockPairOutput, error)

func (*MockBlockStorage) GetLastCommittedBlockHeight

func (*MockBlockStorage) GetResultsBlockHeader

func (*MockBlockStorage) GetTransactionReceipt

func (*MockBlockStorage) GetTransactionsBlockHeader

func (*MockBlockStorage) RegisterConsensusBlocksHandler

func (s *MockBlockStorage) RegisterConsensusBlocksHandler(handler handlers.ConsensusBlocksHandler)

func (*MockBlockStorage) ValidateBlockForCommit

func (*MockBlockStorage) ValidateChainTip

type MockConsensusAlgo

type MockConsensusAlgo struct {
	mock.Mock
	handlers.MockConsensusBlocksHandler
}

type MockConsensusAlgoBenchmark

type MockConsensusAlgoBenchmark struct {
	mock.Mock
	MockConsensusAlgo
	gossiptopics.MockBenchmarkConsensusHandler
}

type MockConsensusAlgoLeanHelix

type MockConsensusAlgoLeanHelix struct {
	mock.Mock
	MockConsensusAlgo
	gossiptopics.MockLeanHelixHandler
}

type MockConsensusContext

type MockConsensusContext struct {
	mock.Mock
}

func (*MockConsensusContext) RequestBlockProofOrderingCommittee

func (s *MockConsensusContext) RequestBlockProofOrderingCommittee(ctx context.Context, input *RequestBlockProofCommitteeInput) (*RequestBlockProofCommitteeOutput, error)

func (*MockConsensusContext) RequestNewResultsBlock

func (*MockConsensusContext) RequestNewTransactionsBlock

func (*MockConsensusContext) RequestOrderingCommittee

func (s *MockConsensusContext) RequestOrderingCommittee(ctx context.Context, input *RequestCommitteeInput) (*RequestCommitteeOutput, error)

func (*MockConsensusContext) RequestValidationCommittee

func (s *MockConsensusContext) RequestValidationCommittee(ctx context.Context, input *RequestCommitteeInput) (*RequestCommitteeOutput, error)

func (*MockConsensusContext) ValidateBlockReferenceTime

func (*MockConsensusContext) ValidateResultsBlock

func (*MockConsensusContext) ValidateTransactionsBlock

type MockCrosschainConnector

type MockCrosschainConnector struct {
	mock.Mock
}

func (*MockCrosschainConnector) EthereumCallContract

func (*MockCrosschainConnector) EthereumGetBlockNumber

func (*MockCrosschainConnector) EthereumGetBlockNumberByTime

func (*MockCrosschainConnector) EthereumGetBlockTime

func (*MockCrosschainConnector) EthereumGetBlockTimeByNumber

func (*MockCrosschainConnector) EthereumGetTransactionLogs

type MockManagement

type MockManagement struct {
	mock.Mock
}

func (*MockManagement) GetCommittee

func (s *MockManagement) GetCommittee(ctx context.Context, input *GetCommitteeInput) (*GetCommitteeOutput, error)

func (*MockManagement) GetCurrentReference

func (*MockManagement) GetGenesisReference

func (*MockManagement) GetProtocolVersion

func (*MockManagement) GetSubscriptionStatus

type MockProcessor

type MockProcessor struct {
	mock.Mock
}

func (*MockProcessor) GetContractInfo

func (s *MockProcessor) GetContractInfo(ctx context.Context, input *GetContractInfoInput) (*GetContractInfoOutput, error)

func (*MockProcessor) ProcessCall

func (s *MockProcessor) ProcessCall(ctx context.Context, input *ProcessCallInput) (*ProcessCallOutput, error)

func (*MockProcessor) RegisterContractSdkCallHandler

func (s *MockProcessor) RegisterContractSdkCallHandler(handler handlers.ContractSdkCallHandler)

type MockPublicApi

type MockPublicApi struct {
	mock.Mock
	handlers.MockTransactionResultsHandler
}

func (*MockPublicApi) GetBlock

func (s *MockPublicApi) GetBlock(ctx context.Context, input *GetBlockInput) (*GetBlockOutput, error)

func (*MockPublicApi) GetTransactionReceiptProof

func (*MockPublicApi) GetTransactionStatus

func (*MockPublicApi) RunQuery

func (s *MockPublicApi) RunQuery(ctx context.Context, input *RunQueryInput) (*RunQueryOutput, error)

func (*MockPublicApi) SendTransaction

func (s *MockPublicApi) SendTransaction(ctx context.Context, input *SendTransactionInput) (*SendTransactionOutput, error)

func (*MockPublicApi) SendTransactionAsync

func (s *MockPublicApi) SendTransactionAsync(ctx context.Context, input *SendTransactionInput) (*SendTransactionOutput, error)

type MockStateStorage

type MockStateStorage struct {
	mock.Mock
}

func (*MockStateStorage) CommitStateDiff

func (*MockStateStorage) GetLastCommittedBlockInfo

func (*MockStateStorage) GetStateHash

func (s *MockStateStorage) GetStateHash(ctx context.Context, input *GetStateHashInput) (*GetStateHashOutput, error)

func (*MockStateStorage) ReadKeys

func (s *MockStateStorage) ReadKeys(ctx context.Context, input *ReadKeysInput) (*ReadKeysOutput, error)

type MockTransactionPool

type MockTransactionPool struct {
	mock.Mock
	gossiptopics.MockTransactionRelayHandler
}

func (*MockTransactionPool) AddNewTransaction

func (*MockTransactionPool) CommitTransactionReceipts

func (*MockTransactionPool) GetCommittedTransactionReceipt

func (*MockTransactionPool) GetTransactionsForOrdering

func (*MockTransactionPool) RegisterTransactionResultsHandler

func (s *MockTransactionPool) RegisterTransactionResultsHandler(handler handlers.TransactionResultsHandler)

func (*MockTransactionPool) ValidateTransactionsForOrdering

type MockVault

type MockVault struct {
	mock.Mock
}

func (*MockVault) EthSign

func (s *MockVault) EthSign(ctx context.Context, input *NodeSignInput) (*NodeSignOutput, error)

func (*MockVault) NodeSign

func (s *MockVault) NodeSign(ctx context.Context, input *NodeSignInput) (*NodeSignOutput, error)

type MockVirtualMachine

type MockVirtualMachine struct {
	mock.Mock
	handlers.MockContractSdkCallHandler
}

func (*MockVirtualMachine) CallSystemContract

func (*MockVirtualMachine) ProcessQuery

func (*MockVirtualMachine) ProcessTransactionSet

func (*MockVirtualMachine) TransactionSetPreOrder

type NodeSignInput

type NodeSignInput struct {
	// contains filtered or unexported fields
}

func NodeSignInputReader

func NodeSignInputReader(buf []byte) *NodeSignInput

func (*NodeSignInput) Data

func (x *NodeSignInput) Data() []byte

func (*NodeSignInput) Equal

func (x *NodeSignInput) Equal(y *NodeSignInput) bool

func (*NodeSignInput) IsValid

func (x *NodeSignInput) IsValid() bool

func (*NodeSignInput) MutateData

func (x *NodeSignInput) MutateData(v []byte) error

func (*NodeSignInput) Raw

func (x *NodeSignInput) Raw() []byte

func (*NodeSignInput) RawData

func (x *NodeSignInput) RawData() []byte

func (*NodeSignInput) RawDataWithHeader

func (x *NodeSignInput) RawDataWithHeader() []byte

func (*NodeSignInput) String

func (x *NodeSignInput) String() string

func (*NodeSignInput) StringData

func (x *NodeSignInput) StringData() string

type NodeSignInputBuilder

type NodeSignInputBuilder struct {
	Data []byte
	// contains filtered or unexported fields
}

func NodeSignInputBuilderFromRaw

func NodeSignInputBuilderFromRaw(raw []byte) *NodeSignInputBuilder

func (*NodeSignInputBuilder) Build

func (w *NodeSignInputBuilder) Build() *NodeSignInput

func (*NodeSignInputBuilder) CalcRequiredSize

func (w *NodeSignInputBuilder) CalcRequiredSize() membuffers.Offset

func (*NodeSignInputBuilder) GetSize

func (w *NodeSignInputBuilder) GetSize() membuffers.Offset

func (*NodeSignInputBuilder) HexDump

func (w *NodeSignInputBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)

func (*NodeSignInputBuilder) Write

func (w *NodeSignInputBuilder) Write(buf []byte) (err error)

type NodeSignOutput

type NodeSignOutput struct {
	// contains filtered or unexported fields
}

func NodeSignOutputReader

func NodeSignOutputReader(buf []byte) *NodeSignOutput

func (*NodeSignOutput) Equal

func (x *NodeSignOutput) Equal(y *NodeSignOutput) bool

func (*NodeSignOutput) IsValid

func (x *NodeSignOutput) IsValid() bool

func (*NodeSignOutput) MutateSignature

func (x *NodeSignOutput) MutateSignature(v primitives.EcdsaSecp256K1Sig) error

func (*NodeSignOutput) Raw

func (x *NodeSignOutput) Raw() []byte

func (*NodeSignOutput) RawSignature

func (x *NodeSignOutput) RawSignature() []byte

func (*NodeSignOutput) RawSignatureWithHeader

func (x *NodeSignOutput) RawSignatureWithHeader() []byte

func (*NodeSignOutput) Signature

func (*NodeSignOutput) String

func (x *NodeSignOutput) String() string

func (*NodeSignOutput) StringSignature

func (x *NodeSignOutput) StringSignature() string

type NodeSignOutputBuilder

type NodeSignOutputBuilder struct {
	Signature primitives.EcdsaSecp256K1Sig
	// contains filtered or unexported fields
}

func NodeSignOutputBuilderFromRaw

func NodeSignOutputBuilderFromRaw(raw []byte) *NodeSignOutputBuilder

func (*NodeSignOutputBuilder) Build

func (*NodeSignOutputBuilder) CalcRequiredSize

func (w *NodeSignOutputBuilder) CalcRequiredSize() membuffers.Offset

func (*NodeSignOutputBuilder) GetSize

func (w *NodeSignOutputBuilder) GetSize() membuffers.Offset

func (*NodeSignOutputBuilder) HexDump

func (w *NodeSignOutputBuilder) HexDump(prefix string, offsetFromStart membuffers.Offset) (err error)

func (*NodeSignOutputBuilder) Write

func (w *NodeSignOutputBuilder) Write(buf []byte) (err error)

type OnNewConsensusRoundInput

type OnNewConsensusRoundInput struct {
}

func (*OnNewConsensusRoundInput) String

func (x *OnNewConsensusRoundInput) String() string

type OnNewConsensusRoundOutput

type OnNewConsensusRoundOutput struct {
}

func (*OnNewConsensusRoundOutput) String

func (x *OnNewConsensusRoundOutput) String() string

type ProcessCallInput

type ProcessCallInput struct {
	ContextId              primitives.ExecutionContextId
	ContractName           primitives.ContractName
	MethodName             primitives.MethodName
	InputArgumentArray     *protocol.ArgumentArray
	AccessScope            protocol.ExecutionAccessScope
	CallingPermissionScope protocol.ExecutionPermissionScope
}

func (*ProcessCallInput) String

func (x *ProcessCallInput) String() string

func (*ProcessCallInput) StringAccessScope

func (x *ProcessCallInput) StringAccessScope() (res string)

func (*ProcessCallInput) StringCallingPermissionScope

func (x *ProcessCallInput) StringCallingPermissionScope() (res string)

func (*ProcessCallInput) StringContextId

func (x *ProcessCallInput) StringContextId() (res string)

func (*ProcessCallInput) StringContractName

func (x *ProcessCallInput) StringContractName() (res string)

func (*ProcessCallInput) StringInputArgumentArray

func (x *ProcessCallInput) StringInputArgumentArray() (res string)

func (*ProcessCallInput) StringMethodName

func (x *ProcessCallInput) StringMethodName() (res string)

type ProcessCallOutput

type ProcessCallOutput struct {
	OutputArgumentArray *protocol.ArgumentArray
	CallResult          protocol.ExecutionResult
}

func (*ProcessCallOutput) String

func (x *ProcessCallOutput) String() string

func (*ProcessCallOutput) StringCallResult

func (x *ProcessCallOutput) StringCallResult() (res string)

func (*ProcessCallOutput) StringOutputArgumentArray

func (x *ProcessCallOutput) StringOutputArgumentArray() (res string)

type ProcessQueryInput

type ProcessQueryInput struct {
	BlockHeight primitives.BlockHeight
	SignedQuery *protocol.SignedQuery
}

func (*ProcessQueryInput) String

func (x *ProcessQueryInput) String() string

func (*ProcessQueryInput) StringBlockHeight

func (x *ProcessQueryInput) StringBlockHeight() (res string)

func (*ProcessQueryInput) StringSignedQuery

func (x *ProcessQueryInput) StringSignedQuery() (res string)

type ProcessQueryOutput

type ProcessQueryOutput struct {
	CallResult              protocol.ExecutionResult
	OutputArgumentArray     primitives.PackedArgumentArray
	OutputEventsArray       primitives.PackedEventsArray
	ReferenceBlockHeight    primitives.BlockHeight
	ReferenceBlockTimestamp primitives.TimestampNano
}

func (*ProcessQueryOutput) String

func (x *ProcessQueryOutput) String() string

func (*ProcessQueryOutput) StringCallResult

func (x *ProcessQueryOutput) StringCallResult() (res string)

func (*ProcessQueryOutput) StringOutputArgumentArray

func (x *ProcessQueryOutput) StringOutputArgumentArray() (res string)

func (*ProcessQueryOutput) StringOutputEventsArray

func (x *ProcessQueryOutput) StringOutputEventsArray() (res string)

func (*ProcessQueryOutput) StringReferenceBlockHeight

func (x *ProcessQueryOutput) StringReferenceBlockHeight() (res string)

func (*ProcessQueryOutput) StringReferenceBlockTimestamp

func (x *ProcessQueryOutput) StringReferenceBlockTimestamp() (res string)

type ProcessTransactionSetInput

type ProcessTransactionSetInput struct {
	CurrentBlockHeight        primitives.BlockHeight
	CurrentBlockTimestamp     primitives.TimestampNano
	BlockProposerAddress      primitives.NodeAddress
	PrevBlockReferenceTime    primitives.TimestampSeconds
	CurrentBlockReferenceTime primitives.TimestampSeconds
	SignedTransactions        []*protocol.SignedTransaction
}

func (*ProcessTransactionSetInput) String

func (x *ProcessTransactionSetInput) String() string

func (*ProcessTransactionSetInput) StringBlockProposerAddress

func (x *ProcessTransactionSetInput) StringBlockProposerAddress() (res string)

func (*ProcessTransactionSetInput) StringCurrentBlockHeight

func (x *ProcessTransactionSetInput) StringCurrentBlockHeight() (res string)

func (*ProcessTransactionSetInput) StringCurrentBlockReferenceTime

func (x *ProcessTransactionSetInput) StringCurrentBlockReferenceTime() (res string)

func (*ProcessTransactionSetInput) StringCurrentBlockTimestamp

func (x *ProcessTransactionSetInput) StringCurrentBlockTimestamp() (res string)

func (*ProcessTransactionSetInput) StringPrevBlockReferenceTime

func (x *ProcessTransactionSetInput) StringPrevBlockReferenceTime() (res string)

func (*ProcessTransactionSetInput) StringSignedTransactions

func (x *ProcessTransactionSetInput) StringSignedTransactions() (res string)

type ProcessTransactionSetOutput

type ProcessTransactionSetOutput struct {
	TransactionReceipts []*protocol.TransactionReceipt
	ContractStateDiffs  []*protocol.ContractStateDiff
}

func (*ProcessTransactionSetOutput) String

func (x *ProcessTransactionSetOutput) String() string

func (*ProcessTransactionSetOutput) StringContractStateDiffs

func (x *ProcessTransactionSetOutput) StringContractStateDiffs() (res string)

func (*ProcessTransactionSetOutput) StringTransactionReceipts

func (x *ProcessTransactionSetOutput) StringTransactionReceipts() (res string)

type Processor

type Processor interface {
	ProcessCall(ctx context.Context, input *ProcessCallInput) (*ProcessCallOutput, error)
	GetContractInfo(ctx context.Context, input *GetContractInfoInput) (*GetContractInfoOutput, error)
	RegisterContractSdkCallHandler(handler handlers.ContractSdkCallHandler)
}

type PublicApi

type PublicApi interface {
	handlers.TransactionResultsHandler
	SendTransaction(ctx context.Context, input *SendTransactionInput) (*SendTransactionOutput, error)
	SendTransactionAsync(ctx context.Context, input *SendTransactionInput) (*SendTransactionOutput, error)
	RunQuery(ctx context.Context, input *RunQueryInput) (*RunQueryOutput, error)
	GetTransactionStatus(ctx context.Context, input *GetTransactionStatusInput) (*GetTransactionStatusOutput, error)
	GetTransactionReceiptProof(ctx context.Context, input *GetTransactionReceiptProofInput) (*GetTransactionReceiptProofOutput, error)
	GetBlock(ctx context.Context, input *GetBlockInput) (*GetBlockOutput, error)
}

type ReadKeysInput

type ReadKeysInput struct {
	BlockHeight  primitives.BlockHeight
	ContractName primitives.ContractName
	Keys         [][]byte
}

func (*ReadKeysInput) String

func (x *ReadKeysInput) String() string

func (*ReadKeysInput) StringBlockHeight

func (x *ReadKeysInput) StringBlockHeight() (res string)

func (*ReadKeysInput) StringContractName

func (x *ReadKeysInput) StringContractName() (res string)

func (*ReadKeysInput) StringKeys

func (x *ReadKeysInput) StringKeys() (res string)

type ReadKeysOutput

type ReadKeysOutput struct {
	StateRecords []*protocol.StateRecord
}

func (*ReadKeysOutput) String

func (x *ReadKeysOutput) String() string

func (*ReadKeysOutput) StringStateRecords

func (x *ReadKeysOutput) StringStateRecords() (res string)

type RequestBlockProofCommitteeInput

type RequestBlockProofCommitteeInput struct {
	CurrentBlockHeight     primitives.BlockHeight
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*RequestBlockProofCommitteeInput) String

func (*RequestBlockProofCommitteeInput) StringCurrentBlockHeight

func (x *RequestBlockProofCommitteeInput) StringCurrentBlockHeight() (res string)

func (*RequestBlockProofCommitteeInput) StringPrevBlockReferenceTime

func (x *RequestBlockProofCommitteeInput) StringPrevBlockReferenceTime() (res string)

type RequestBlockProofCommitteeOutput

type RequestBlockProofCommitteeOutput struct {
	NodeAddresses []primitives.NodeAddress
	Weights       []primitives.Weight
}

func (*RequestBlockProofCommitteeOutput) String

func (*RequestBlockProofCommitteeOutput) StringNodeAddresses

func (x *RequestBlockProofCommitteeOutput) StringNodeAddresses() (res string)

func (*RequestBlockProofCommitteeOutput) StringWeights

func (x *RequestBlockProofCommitteeOutput) StringWeights() (res string)

type RequestCommitteeInput

type RequestCommitteeInput struct {
	CurrentBlockHeight     primitives.BlockHeight
	RandomSeed             uint64
	MaxCommitteeSize       uint32
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*RequestCommitteeInput) String

func (x *RequestCommitteeInput) String() string

func (*RequestCommitteeInput) StringCurrentBlockHeight

func (x *RequestCommitteeInput) StringCurrentBlockHeight() (res string)

func (*RequestCommitteeInput) StringMaxCommitteeSize

func (x *RequestCommitteeInput) StringMaxCommitteeSize() (res string)

func (*RequestCommitteeInput) StringPrevBlockReferenceTime

func (x *RequestCommitteeInput) StringPrevBlockReferenceTime() (res string)

func (*RequestCommitteeInput) StringRandomSeed

func (x *RequestCommitteeInput) StringRandomSeed() (res string)

type RequestCommitteeOutput

type RequestCommitteeOutput struct {
	NodeAddresses            []primitives.NodeAddress
	NodeRandomSeedPublicKeys []primitives.Bls1PublicKey
	Weights                  []primitives.Weight
}

func (*RequestCommitteeOutput) String

func (x *RequestCommitteeOutput) String() string

func (*RequestCommitteeOutput) StringNodeAddresses

func (x *RequestCommitteeOutput) StringNodeAddresses() (res string)

func (*RequestCommitteeOutput) StringNodeRandomSeedPublicKeys

func (x *RequestCommitteeOutput) StringNodeRandomSeedPublicKeys() (res string)

func (*RequestCommitteeOutput) StringWeights

func (x *RequestCommitteeOutput) StringWeights() (res string)

type RequestNewResultsBlockInput

type RequestNewResultsBlockInput struct {
	CurrentBlockHeight     primitives.BlockHeight
	PrevBlockHash          primitives.Sha256
	TransactionsBlock      *protocol.TransactionsBlockContainer
	PrevBlockTimestamp     primitives.TimestampNano
	BlockProposerAddress   primitives.NodeAddress
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*RequestNewResultsBlockInput) String

func (x *RequestNewResultsBlockInput) String() string

func (*RequestNewResultsBlockInput) StringBlockProposerAddress

func (x *RequestNewResultsBlockInput) StringBlockProposerAddress() (res string)

func (*RequestNewResultsBlockInput) StringCurrentBlockHeight

func (x *RequestNewResultsBlockInput) StringCurrentBlockHeight() (res string)

func (*RequestNewResultsBlockInput) StringPrevBlockHash

func (x *RequestNewResultsBlockInput) StringPrevBlockHash() (res string)

func (*RequestNewResultsBlockInput) StringPrevBlockReferenceTime

func (x *RequestNewResultsBlockInput) StringPrevBlockReferenceTime() (res string)

func (*RequestNewResultsBlockInput) StringPrevBlockTimestamp

func (x *RequestNewResultsBlockInput) StringPrevBlockTimestamp() (res string)

func (*RequestNewResultsBlockInput) StringTransactionsBlock

func (x *RequestNewResultsBlockInput) StringTransactionsBlock() (res string)

type RequestNewResultsBlockOutput

type RequestNewResultsBlockOutput struct {
	ResultsBlock *protocol.ResultsBlockContainer
}

func (*RequestNewResultsBlockOutput) String

func (*RequestNewResultsBlockOutput) StringResultsBlock

func (x *RequestNewResultsBlockOutput) StringResultsBlock() (res string)

type RequestNewTransactionsBlockInput

type RequestNewTransactionsBlockInput struct {
	CurrentBlockHeight      primitives.BlockHeight
	MaxBlockSizeKb          uint32
	MaxNumberOfTransactions uint32
	PrevBlockHash           primitives.Sha256
	PrevBlockTimestamp      primitives.TimestampNano
	BlockProposerAddress    primitives.NodeAddress
	PrevBlockReferenceTime  primitives.TimestampSeconds
}

func (*RequestNewTransactionsBlockInput) String

func (*RequestNewTransactionsBlockInput) StringBlockProposerAddress

func (x *RequestNewTransactionsBlockInput) StringBlockProposerAddress() (res string)

func (*RequestNewTransactionsBlockInput) StringCurrentBlockHeight

func (x *RequestNewTransactionsBlockInput) StringCurrentBlockHeight() (res string)

func (*RequestNewTransactionsBlockInput) StringMaxBlockSizeKb

func (x *RequestNewTransactionsBlockInput) StringMaxBlockSizeKb() (res string)

func (*RequestNewTransactionsBlockInput) StringMaxNumberOfTransactions

func (x *RequestNewTransactionsBlockInput) StringMaxNumberOfTransactions() (res string)

func (*RequestNewTransactionsBlockInput) StringPrevBlockHash

func (x *RequestNewTransactionsBlockInput) StringPrevBlockHash() (res string)

func (*RequestNewTransactionsBlockInput) StringPrevBlockReferenceTime

func (x *RequestNewTransactionsBlockInput) StringPrevBlockReferenceTime() (res string)

func (*RequestNewTransactionsBlockInput) StringPrevBlockTimestamp

func (x *RequestNewTransactionsBlockInput) StringPrevBlockTimestamp() (res string)

type RequestNewTransactionsBlockOutput

type RequestNewTransactionsBlockOutput struct {
	TransactionsBlock *protocol.TransactionsBlockContainer
}

func (*RequestNewTransactionsBlockOutput) String

func (*RequestNewTransactionsBlockOutput) StringTransactionsBlock

func (x *RequestNewTransactionsBlockOutput) StringTransactionsBlock() (res string)

type RunQueryInput

type RunQueryInput struct {
	ClientRequest *client.RunQueryRequest
}

func (*RunQueryInput) String

func (x *RunQueryInput) String() string

func (*RunQueryInput) StringClientRequest

func (x *RunQueryInput) StringClientRequest() (res string)

type RunQueryOutput

type RunQueryOutput struct {
	ClientResponse *client.RunQueryResponse
}

func (*RunQueryOutput) String

func (x *RunQueryOutput) String() string

func (*RunQueryOutput) StringClientResponse

func (x *RunQueryOutput) StringClientResponse() (res string)

type SendTransactionInput

type SendTransactionInput struct {
	ClientRequest *client.SendTransactionRequest
}

func (*SendTransactionInput) String

func (x *SendTransactionInput) String() string

func (*SendTransactionInput) StringClientRequest

func (x *SendTransactionInput) StringClientRequest() (res string)

type SendTransactionOutput

type SendTransactionOutput struct {
	ClientResponse *client.SendTransactionResponse
}

func (*SendTransactionOutput) String

func (x *SendTransactionOutput) String() string

func (*SendTransactionOutput) StringClientResponse

func (x *SendTransactionOutput) StringClientResponse() (res string)

type StateStorage

type StateStorage interface {
	CommitStateDiff(ctx context.Context, input *CommitStateDiffInput) (*CommitStateDiffOutput, error)
	ReadKeys(ctx context.Context, input *ReadKeysInput) (*ReadKeysOutput, error)
	GetLastCommittedBlockInfo(ctx context.Context, input *GetLastCommittedBlockInfoInput) (*GetLastCommittedBlockInfoOutput, error)
	GetStateHash(ctx context.Context, input *GetStateHashInput) (*GetStateHashOutput, error)
}

type TransactionPool

type TransactionPool interface {
	gossiptopics.TransactionRelayHandler
	AddNewTransaction(ctx context.Context, input *AddNewTransactionInput) (*AddNewTransactionOutput, error)
	GetCommittedTransactionReceipt(ctx context.Context, input *GetCommittedTransactionReceiptInput) (*GetCommittedTransactionReceiptOutput, error)
	GetTransactionsForOrdering(ctx context.Context, input *GetTransactionsForOrderingInput) (*GetTransactionsForOrderingOutput, error)
	ValidateTransactionsForOrdering(ctx context.Context, input *ValidateTransactionsForOrderingInput) (*ValidateTransactionsForOrderingOutput, error)
	CommitTransactionReceipts(ctx context.Context, input *CommitTransactionReceiptsInput) (*CommitTransactionReceiptsOutput, error)
	RegisterTransactionResultsHandler(handler handlers.TransactionResultsHandler)
}

type TransactionSetPreOrderInput

type TransactionSetPreOrderInput struct {
	CurrentBlockHeight        primitives.BlockHeight
	CurrentBlockTimestamp     primitives.TimestampNano
	CurrentBlockReferenceTime primitives.TimestampSeconds
	SignedTransactions        []*protocol.SignedTransaction
}

func (*TransactionSetPreOrderInput) String

func (x *TransactionSetPreOrderInput) String() string

func (*TransactionSetPreOrderInput) StringCurrentBlockHeight

func (x *TransactionSetPreOrderInput) StringCurrentBlockHeight() (res string)

func (*TransactionSetPreOrderInput) StringCurrentBlockReferenceTime

func (x *TransactionSetPreOrderInput) StringCurrentBlockReferenceTime() (res string)

func (*TransactionSetPreOrderInput) StringCurrentBlockTimestamp

func (x *TransactionSetPreOrderInput) StringCurrentBlockTimestamp() (res string)

func (*TransactionSetPreOrderInput) StringSignedTransactions

func (x *TransactionSetPreOrderInput) StringSignedTransactions() (res string)

type TransactionSetPreOrderOutput

type TransactionSetPreOrderOutput struct {
	PreOrderResults []protocol.TransactionStatus
}

func (*TransactionSetPreOrderOutput) String

func (*TransactionSetPreOrderOutput) StringPreOrderResults

func (x *TransactionSetPreOrderOutput) StringPreOrderResults() (res string)

type UpdateTopologyInput

type UpdateTopologyInput struct {
	Peers []*GossipPeer
}

func (*UpdateTopologyInput) String

func (x *UpdateTopologyInput) String() string

func (*UpdateTopologyInput) StringPeers

func (x *UpdateTopologyInput) StringPeers() (res string)

type UpdateTopologyOutput

type UpdateTopologyOutput struct {
}

func (*UpdateTopologyOutput) String

func (x *UpdateTopologyOutput) String() string

type ValidateBlockForCommitInput

type ValidateBlockForCommitInput struct {
	BlockPair     *protocol.BlockPairContainer
	PrevBlockPair *protocol.BlockPairContainer
}

func (*ValidateBlockForCommitInput) String

func (x *ValidateBlockForCommitInput) String() string

func (*ValidateBlockForCommitInput) StringBlockPair

func (x *ValidateBlockForCommitInput) StringBlockPair() (res string)

func (*ValidateBlockForCommitInput) StringPrevBlockPair

func (x *ValidateBlockForCommitInput) StringPrevBlockPair() (res string)

type ValidateBlockForCommitOutput

type ValidateBlockForCommitOutput struct {
}

func (*ValidateBlockForCommitOutput) String

type ValidateBlockReferenceTimeInput

type ValidateBlockReferenceTimeInput struct {
	BlockHeight            primitives.BlockHeight
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*ValidateBlockReferenceTimeInput) String

func (*ValidateBlockReferenceTimeInput) StringBlockHeight

func (x *ValidateBlockReferenceTimeInput) StringBlockHeight() (res string)

func (*ValidateBlockReferenceTimeInput) StringPrevBlockReferenceTime

func (x *ValidateBlockReferenceTimeInput) StringPrevBlockReferenceTime() (res string)

type ValidateBlockReferenceTimeOutput

type ValidateBlockReferenceTimeOutput struct {
}

func (*ValidateBlockReferenceTimeOutput) String

type ValidateChainTipInput

type ValidateChainTipInput struct {
	BlockPair     *protocol.BlockPairContainer
	PrevBlockPair *protocol.BlockPairContainer
}

func (*ValidateChainTipInput) String

func (x *ValidateChainTipInput) String() string

func (*ValidateChainTipInput) StringBlockPair

func (x *ValidateChainTipInput) StringBlockPair() (res string)

func (*ValidateChainTipInput) StringPrevBlockPair

func (x *ValidateChainTipInput) StringPrevBlockPair() (res string)

type ValidateChainTipOutput

type ValidateChainTipOutput struct {
}

func (*ValidateChainTipOutput) String

func (x *ValidateChainTipOutput) String() string

type ValidateResultsBlockInput

type ValidateResultsBlockInput struct {
	CurrentBlockHeight     primitives.BlockHeight
	ResultsBlock           *protocol.ResultsBlockContainer
	PrevBlockHash          primitives.Sha256
	TransactionsBlock      *protocol.TransactionsBlockContainer
	PrevBlockTimestamp     primitives.TimestampNano
	BlockProposerAddress   primitives.NodeAddress
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*ValidateResultsBlockInput) String

func (x *ValidateResultsBlockInput) String() string

func (*ValidateResultsBlockInput) StringBlockProposerAddress

func (x *ValidateResultsBlockInput) StringBlockProposerAddress() (res string)

func (*ValidateResultsBlockInput) StringCurrentBlockHeight

func (x *ValidateResultsBlockInput) StringCurrentBlockHeight() (res string)

func (*ValidateResultsBlockInput) StringPrevBlockHash

func (x *ValidateResultsBlockInput) StringPrevBlockHash() (res string)

func (*ValidateResultsBlockInput) StringPrevBlockReferenceTime

func (x *ValidateResultsBlockInput) StringPrevBlockReferenceTime() (res string)

func (*ValidateResultsBlockInput) StringPrevBlockTimestamp

func (x *ValidateResultsBlockInput) StringPrevBlockTimestamp() (res string)

func (*ValidateResultsBlockInput) StringResultsBlock

func (x *ValidateResultsBlockInput) StringResultsBlock() (res string)

func (*ValidateResultsBlockInput) StringTransactionsBlock

func (x *ValidateResultsBlockInput) StringTransactionsBlock() (res string)

type ValidateResultsBlockOutput

type ValidateResultsBlockOutput struct {
}

func (*ValidateResultsBlockOutput) String

func (x *ValidateResultsBlockOutput) String() string

type ValidateTransactionsBlockInput

type ValidateTransactionsBlockInput struct {
	CurrentBlockHeight     primitives.BlockHeight
	TransactionsBlock      *protocol.TransactionsBlockContainer
	PrevBlockHash          primitives.Sha256
	PrevBlockTimestamp     primitives.TimestampNano
	BlockProposerAddress   primitives.NodeAddress
	PrevBlockReferenceTime primitives.TimestampSeconds
}

func (*ValidateTransactionsBlockInput) String

func (*ValidateTransactionsBlockInput) StringBlockProposerAddress

func (x *ValidateTransactionsBlockInput) StringBlockProposerAddress() (res string)

func (*ValidateTransactionsBlockInput) StringCurrentBlockHeight

func (x *ValidateTransactionsBlockInput) StringCurrentBlockHeight() (res string)

func (*ValidateTransactionsBlockInput) StringPrevBlockHash

func (x *ValidateTransactionsBlockInput) StringPrevBlockHash() (res string)

func (*ValidateTransactionsBlockInput) StringPrevBlockReferenceTime

func (x *ValidateTransactionsBlockInput) StringPrevBlockReferenceTime() (res string)

func (*ValidateTransactionsBlockInput) StringPrevBlockTimestamp

func (x *ValidateTransactionsBlockInput) StringPrevBlockTimestamp() (res string)

func (*ValidateTransactionsBlockInput) StringTransactionsBlock

func (x *ValidateTransactionsBlockInput) StringTransactionsBlock() (res string)

type ValidateTransactionsBlockOutput

type ValidateTransactionsBlockOutput struct {
}

func (*ValidateTransactionsBlockOutput) String

type ValidateTransactionsForOrderingInput

type ValidateTransactionsForOrderingInput struct {
	BlockProtocolVersion      primitives.ProtocolVersion
	CurrentBlockHeight        primitives.BlockHeight
	CurrentBlockTimestamp     primitives.TimestampNano
	CurrentBlockReferenceTime primitives.TimestampSeconds
	SignedTransactions        []*protocol.SignedTransaction
}

func (*ValidateTransactionsForOrderingInput) String

func (*ValidateTransactionsForOrderingInput) StringBlockProtocolVersion

func (x *ValidateTransactionsForOrderingInput) StringBlockProtocolVersion() (res string)

func (*ValidateTransactionsForOrderingInput) StringCurrentBlockHeight

func (x *ValidateTransactionsForOrderingInput) StringCurrentBlockHeight() (res string)

func (*ValidateTransactionsForOrderingInput) StringCurrentBlockReferenceTime

func (x *ValidateTransactionsForOrderingInput) StringCurrentBlockReferenceTime() (res string)

func (*ValidateTransactionsForOrderingInput) StringCurrentBlockTimestamp

func (x *ValidateTransactionsForOrderingInput) StringCurrentBlockTimestamp() (res string)

func (*ValidateTransactionsForOrderingInput) StringSignedTransactions

func (x *ValidateTransactionsForOrderingInput) StringSignedTransactions() (res string)

type ValidateTransactionsForOrderingOutput

type ValidateTransactionsForOrderingOutput struct {
}

func (*ValidateTransactionsForOrderingOutput) String

type Vault

type Vault interface {
	NodeSign(ctx context.Context, input *NodeSignInput) (*NodeSignOutput, error)
	EthSign(ctx context.Context, input *NodeSignInput) (*NodeSignOutput, error)
}

type VirtualMachine

type VirtualMachine interface {
	handlers.ContractSdkCallHandler
	ProcessTransactionSet(ctx context.Context, input *ProcessTransactionSetInput) (*ProcessTransactionSetOutput, error)
	CallSystemContract(ctx context.Context, input *CallSystemContractInput) (*CallSystemContractOutput, error)
	ProcessQuery(ctx context.Context, input *ProcessQueryInput) (*ProcessQueryOutput, error)
	TransactionSetPreOrder(ctx context.Context, input *TransactionSetPreOrderInput) (*TransactionSetPreOrderOutput, error)
}

Directories

Path Synopsis
AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0)
AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0) AUTO GENERATED FILE (by membufc proto compiler v0.4.0)

Jump to

Keyboard shortcuts

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