Fantom-foundation / go-lachesis

aBFT consensus for permission-less networks
https://fantom.foundation
MIT License
223 stars 78 forks source link

Tx batches #513

Closed devintegral closed 4 years ago

devintegral commented 4 years ago

TxPool.AddTxBatch() and TxPool.Pending() provides all txs of batch only together. So txs of batch will be included into the same block. RPC PublicTransactionPoolAPI.SendTxBatch() wraps TxPool.AddTxBatch().