Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need non-consensus tx counts for tx room checking #1101

Open
platfowner opened this issue Sep 20, 2022 · 0 comments
Open

Need non-consensus tx counts for tx room checking #1101

platfowner opened this issue Sep 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@platfowner
Copy link
Member

We need to introduce non-consensus tx counts for tx room checking:

https://github.com/ainblockchain/ain-blockchain/blob/master/node/index.js#L744

Currently, txCountTotal and freeTxCountTotal include consensus txs:

https://github.com/ainblockchain/ain-blockchain/blob/master/tx-pool/index.js#L95

node.tp.addTransaction(executableTx);

this.node.tp.addTransaction(executableTx);

@platfowner platfowner added the bug Something isn't working label Sep 20, 2022
@platfowner platfowner changed the title [BUG] Need to introduce non-consensus tx counts for tx room checking Need non-consensus tx counts for tx room checking Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants