Skip to content

Do not call ResendWalletTransactions during reindex#2255

Closed
rdponticelli wants to merge 1 commit intobitcoin:masterfrom
Criptomonedas:resendwallettx
Closed

Do not call ResendWalletTransactions during reindex#2255
rdponticelli wants to merge 1 commit intobitcoin:masterfrom
Criptomonedas:resendwallettx

Conversation

@rdponticelli
Copy link
Copy Markdown
Contributor

Calling ResendWalletTransactions during a reindex spams other
nodes with our old transactions, because they become unconfirmed.

Calling ResendWalletTransactions during a reindex spams other
nodes with our old transactions, because they become unconfirmed.
Comment thread src/main.cpp
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add fImporting to that.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added on pull #2259

@sipa
Copy link
Copy Markdown
Member

sipa commented Feb 1, 2013

@rdponticelli: you can just push to a branch already associated with a pull request to update it.

@rdponticelli
Copy link
Copy Markdown
Contributor Author

Yeah, I know. But that would have left 2 commits for a trivial change, right? Or a history rewrite, if I would have amended the commit, no problems with that?

Anyway, I thought it would be cleaner this way...

@sipa
Copy link
Copy Markdown
Member

sipa commented Feb 1, 2013

Inside you own branches you can amend/rebase/rewrite as much as you want. In public branches such as bitcoin/bitcoin, it isn't.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants