Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 Changes in this version + func NewMessageSignVerifier(kg crypto.KeyGenerator) (*messageSignVerifier, error) + type BalanceComputationHandler struct + func (b *BalanceComputationHandler) AddBalanceToAddress(_ []byte, _ *big.Int) bool + func (b *BalanceComputationHandler) AddressHasEnoughBalance(_ []byte, _ *big.Int) bool + func (b *BalanceComputationHandler) Init() + func (b *BalanceComputationHandler) IsAddressSet(_ []byte) bool + func (b *BalanceComputationHandler) IsInterfaceNil() bool + func (b *BalanceComputationHandler) SetBalanceToAddress(_ []byte, _ *big.Int) + func (b *BalanceComputationHandler) SubBalanceFromAddress(_ []byte, _ *big.Int) bool + type BlockSizeComputationHandler struct + func (b *BlockSizeComputationHandler) AddNumMiniBlocks(_ int) + func (b *BlockSizeComputationHandler) AddNumTxs(_ int) + func (b *BlockSizeComputationHandler) Init() + func (b *BlockSizeComputationHandler) IsInterfaceNil() bool + func (b *BlockSizeComputationHandler) IsMaxBlockSizeReached(_ int, _ int) bool + func (b *BlockSizeComputationHandler) IsMaxBlockSizeWithoutThrottleReached(_ int, _ int) bool + type BlockTracker struct + func (b *BlockTracker) IsInterfaceNil() bool + func (b *BlockTracker) IsShardStuck(_ uint32) bool + type FeeHandler struct + func (fh *FeeHandler) CheckValidityTxValues(_ process.TransactionWithFeeHandler) error + func (fh *FeeHandler) ComputeFee(_ process.TransactionWithFeeHandler) *big.Int + func (fh *FeeHandler) ComputeGasLimit(_ process.TransactionWithFeeHandler) uint64 + func (fh *FeeHandler) CreateBlockStarted() + func (fh *FeeHandler) DeveloperPercentage() float64 + func (fh *FeeHandler) GetAccumulatedFees() *big.Int + func (fh *FeeHandler) GetDeveloperFees() *big.Int + func (fh *FeeHandler) IsInterfaceNil() bool + func (fh *FeeHandler) MaxGasLimitPerBlock(uint32) uint64 + func (fh *FeeHandler) MinGasPrice() uint64 + func (fh *FeeHandler) ProcessTransactionFee(_ *big.Int, _ *big.Int, _ []byte) + func (fh *FeeHandler) RevertFees(_ [][]byte) + type RequestHandler struct + func (r *RequestHandler) GetNumPeersToQuery(_ string) (int, int, error) + func (r *RequestHandler) IsInterfaceNil() bool + func (r *RequestHandler) RequestInterval() time.Duration + func (r *RequestHandler) RequestMetaHeader(_ []byte) + func (r *RequestHandler) RequestMetaHeaderByNonce(_ uint64) + func (r *RequestHandler) RequestMiniBlock(_ uint32, _ []byte) + func (r *RequestHandler) RequestMiniBlocks(_ uint32, _ [][]byte) + func (r *RequestHandler) RequestRewardTransactions(_ uint32, _ [][]byte) + func (r *RequestHandler) RequestShardHeader(_ uint32, _ []byte) + func (r *RequestHandler) RequestShardHeaderByNonce(_ uint32, _ uint64) + func (r *RequestHandler) RequestStartOfEpochMetaBlock(_ uint32) + func (r *RequestHandler) RequestTransaction(_ uint32, _ [][]byte) + func (r *RequestHandler) RequestTrieNodes(_ uint32, _ [][]byte, _ string) + func (r *RequestHandler) RequestUnsignedTransactions(_ uint32, _ [][]byte) + func (r *RequestHandler) SetEpoch(_ uint32) + func (r *RequestHandler) SetNumPeersToQuery(_ string, _ int, _ int) error