Closed dforsten closed 5 years ago
Added a "on_transactions_imported()" function to the Consensus Engine trait, called after successful import of new transactions.
Also added a "queued_transactions()" function to the EngineClient trait to query queued transactions.
Using "queued_transactions()" to trigger the creation of a new block when the transaction queue length trigger is reached (currently set to 1)
Registering the Client instance with the hbbft Consensus Engine in test helpers to be able to access EngineClient functions.
Added a "on_transactions_imported()" function to the Consensus Engine trait, called after successful import of new transactions.
Also added a "queued_transactions()" function to the EngineClient trait to query queued transactions.
Using "queued_transactions()" to trigger the creation of a new block when the transaction queue length trigger is reached (currently set to 1)
Registering the Client instance with the hbbft Consensus Engine in test helpers to be able to access EngineClient functions.