Documentation
¶
Overview ¶
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TxQueue *queue.Queue TxBatchQueue *queue.Queue MaxTxCountPerBatch uint32 BatchTimeout time.Duration Logger *logger.SugarLogger }
Config holds the configuration information need to start the transaction reorderer
type TxReorderer ¶
type TxReorderer struct {
// contains filtered or unexported fields
}
TxReorderer holds queue and other components needed to reorder transactions before creating a next batch of transactions to be included in the block
func (*TxReorderer) Start ¶
func (r *TxReorderer) Start()
Start starts the transactions batch creator
func (*TxReorderer) WaitTillStart ¶
func (r *TxReorderer) WaitTillStart()
WaitTillStart waits till the transaction reorderer is started
Click to show internal directories.
Click to hide internal directories.