Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Apr 1, 2022

  • Remove not needed "Generate block to get out of IBD"
  • Sync blocks where possible to avoid incoming blocks on the p2p msghand thread while blocks are mined in the RPC thread. See Race in generatetoaddress? #24730 for discussion.

Copy link
Contributor

@mjdietzx mjdietzx left a comment

Choose a reason for hiding this comment

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

Concept ACK, I noticed this error on a recent CI run for one of my PRs

address = self.nodes[0].getnewaddress(label)

reward = Decimal("25")
self.generatetoaddress(self.nodes[0], 1, address, sync_fun=self.no_op)
Copy link
Contributor

Choose a reason for hiding this comment

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

What was the purpose of this in the first place? Was there any reason to have this?

Copy link
Member Author

Choose a reason for hiding this comment

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

No idea. I think it was added in b569675. It is only needed for the last call to generate IIUC.

@maflcko maflcko merged commit f58c1f1 into bitcoin:master Apr 27, 2022
@maflcko maflcko deleted the 2204-test-fail-🍰 branch April 27, 2022 06:59
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 29, 2022
…streceivedby.py

fa1f6df test: Fix intermittent test failure in wallet_listreceivedby.py (MarcoFalke)

Pull request description:

  * Remove not needed "Generate block to get out of IBD"
  * Sync blocks where possible to avoid incoming blocks on the p2p `msghand` thread while blocks are mined in the RPC thread. See bitcoin#24730 for discussion.

Top commit has no ACKs.

Tree-SHA512: eca0242e7793886535555fec62f7acd4c0955bf26fab78725b4fe53f84f0b118cb12c9ee35627503fc68b83c3a228842e861fab89aab1226e08e18596357aaae
@bitcoin bitcoin locked and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants