truechain / truechain-consensus-core

TrueChain Consensus Protocol: Minerva
Apache License 2.0
161 stars 70 forks source link

Queuing mechanism for txpool #33

Closed arcolife closed 6 years ago

arcolife commented 6 years ago

At the moment, txn pool is a channel and can't be re-read to check for consistency / transaction execution during the round validations of PBFT.

Need to add a queue for this, and also attach multiple channels for handoff during errors, ensuring high availability.

cc/ @hixichen

arcolife commented 6 years ago

addendum: queue could be stored on / retrieved from disk, maybe using leveldb. opening separate issue for integration of leveldb. #34