-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] new rebroadcast logic #21
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
[WIP] new rebroadcast logic #21
Conversation
a126086 to
ad3500b
Compare
|
Concept ACK ;) |
|
strong concept ACK! |
afdeec8 to
4de2807
Compare
4de2807 to
707a4f5
Compare
|
this PR is ready for review! some of my thoughts-
|
|
Looks Great :) |
jnewbery
left a comment
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.
This is looking really good and I think it's definitely ready to open as a PR in bitcoin/bitcoin.
I've left a lot of comments. They're mostly just style nits, so they shouldn't block you from opening the PR.
Great job! This is really impressive work.
|
One more general comment: you can expand your commit logs a bit. They should be a brief summary of why you're making the change. |
👀 🚀 |
I do like that commit |
Looks good to me too |
|
If you are done with the feedback here, I think this should be closed and all further feedback should go into the pull request in |
|
FYI, this is not a private repo :) (your point still stands, just to make sure we all know that this is still all public heh) |
|
opened PR on |
implemented in PR
new node-level rebroadcast functionality
CTxMemPool::GetRebroadcastTransactionsto identify a set of txns the node believes should have been included in a block usingBlockAssembler::CreateNewBlockrecency filter in block creation
replace wallet rebroadcast with submit txns to node
ResendWalletTransactions()method to resubmit txns to the mempool rather than rebroadcast to peersmempool tracks wallet txns to ensure successful broadcast
setUnbroadcastTxIDstoCTxMemPoolto track wallet txnsBroadcastTransactionsetInventoryTxToSendeven if they are not at the top of the mempoolnext steps