-
Notifications
You must be signed in to change notification settings - Fork 67
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
RPC Server: pushTransaction
and pushHighPriorityTransaction
methods broadcast the transaction
#3186
Conversation
I'd rather this get fixed with mempool syncing (#2832). |
The goal of PR #2832 is for nodes that just reached consensus get an idea of what the current mempool landscape is it in that moment in time and try to acquire as much of that state. It's not a mechanism to keep mempools in sync in between nodes forever as the mempool in general is an unsynced component. Therefore that PR isn't going to fix #3131. As stated in the PR description, the Mempool Syncer terminates itself after a fixed amount of time and from there on the node relies on broadcasts done over the network in order to acquire new transactions. |
Then I have the same feedback as JD: The |
@sisou yes I realised the distinction later on too. Basically now in this PR sendRawTransaction and push* have become exactly the same. Will update it. |
b350d94
to
c94e535
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c94e535
to
e908521
Compare
…ds broadcast the transaction instead of only pushing it into the local mempool By only pushing the transaction into the local mempool, the transaction never gets adopted if the node itself isn't an elected block producer.
e908521
to
be1fd4a
Compare
What's in this pull request?
By only pushing the transaction into the local mempool, the transaction never gets adopted if the node itself isn't an elected block producer.
This fixes #3131.
Pull request checklist
clippy
andrustfmt
warnings.