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

Don't add transactions to a pool in non-validator nodes #6713

Merged
merged 7 commits into from
May 2, 2022

Conversation

nikurt
Copy link
Contributor

@nikurt nikurt commented Apr 28, 2022

This fixes an issue of the transaction pool growing indefinitely in non-RPC nodes.

Issue #3284

@nikurt nikurt requested a review from mm-near April 28, 2022 15:41
@nikurt nikurt requested a review from a team as a code owner April 28, 2022 15:41
chain/chunks/src/lib.rs Show resolved Hide resolved
@nikurt nikurt requested a review from mm-near May 2, 2022 09:32
chain/client/src/client.rs Outdated Show resolved Hide resolved
chain/client/src/client.rs Show resolved Hide resolved
@near-bulldozer near-bulldozer bot merged commit a361b25 into master May 2, 2022
@near-bulldozer near-bulldozer bot deleted the nikurt-txpool-fix2 branch May 2, 2022 15:36
nikurt added a commit that referenced this pull request May 18, 2022
nikurt added a commit that referenced this pull request May 18, 2022
near-bulldozer bot added a commit that referenced this pull request May 19, 2022
…ight before an epoch boundary. (#6827)

* Revert "Don't add transactions to a pool in non-validator nodes (#6713)"

This reverts commit a361b25

* Rollback #6713 due to the possibility of dropping transactions received around an epoch boundary.

* .

* TODO

Co-authored-by: near-bulldozer[bot] <73298989+near-bulldozer[bot]@users.noreply.github.com>
aborg-dev added a commit to aborg-dev/nearcore that referenced this pull request Apr 24, 2023
At the moment transactions are indefinitely stored on RPC nodes that are
not validators (near#8878,
near#6713).

After this commit, such nodes will not store transactions in the
transaction pool at all.
aborg-dev added a commit to aborg-dev/nearcore that referenced this pull request Apr 24, 2023
At the moment transactions are indefinitely stored on RPC nodes that are
not validators (near#8878,
near#6713).

After this commit, such nodes will not store transactions in the
transaction pool at all.
aborg-dev added a commit to aborg-dev/nearcore that referenced this pull request Apr 24, 2023
At the moment transactions are indefinitely stored on RPC nodes that are
not validators (near#8878,
near#6713).

After this commit, such nodes will not store transactions in the
transaction pool at all.
aborg-dev added a commit to aborg-dev/nearcore that referenced this pull request Apr 24, 2023
At the moment transactions are indefinitely stored on RPC nodes that are
not validators (near#8878,
near#6713).

After this commit, such nodes will not store transactions in the
transaction pool at all.
aborg-dev added a commit that referenced this pull request Apr 24, 2023
At the moment transactions are indefinitely stored on RPC nodes that are not validators (#8878, #6713).

After this commit, nodes without validator keys will not store transactions in the transaction pool at all.
nikurt pushed a commit that referenced this pull request Apr 25, 2023
At the moment transactions are indefinitely stored on RPC nodes that are not validators (#8878, #6713).

After this commit, nodes without validator keys will not store transactions in the transaction pool at all.
nikurt pushed a commit that referenced this pull request Apr 28, 2023
At the moment transactions are indefinitely stored on RPC nodes that are not validators (#8878, #6713).

After this commit, nodes without validator keys will not store transactions in the transaction pool at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants