In BitcoinGUI::message()
slot the bool* ret = nullptr
parameter is never used.
This PR removes it and simplifies connections syntax by replacing lambdas with the &BitcoinGUI::message
slot.
In BitcoinGUI::message()
slot the bool* ret = nullptr
parameter is never used.
This PR removes it and simplifies connections syntax by replacing lambdas with the &BitcoinGUI::message
slot.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Tested ACK 1a53b0da60097cd7fd423c519f01ceca0fd0aa14
You can see messages in action by e.g. feeding a malformed BIP20 URI: src/qt/bitcoin-qt -regtest bitcoin://bcrt1q
Sorry, It seems I broke ThreadSafeMessageBox()
((
bool* ret
actually is used here:
https://github.com/bitcoin/bitcoin/blob/a654626f076a72416a3d354218d7107571d6caaf/src/qt/bitcoingui.cpp#L1368
How it could be reverted?
Ref: #16348
@fanquake (from IRC):
It’s unclear from your comments what is supposedly broken or not.
0$ ./src/qt/bitcoin-qt
1: You need to rebuild the database using -reindex to go back to unpruned mode. This will redownload the entire blockchain.
2Please restart with -reindex or -reindex-chainstate to recover.
3bitcoin-qt: qt/bitcoingui.cpp:1369: bool ThreadSafeMessageBox(BitcoinGUI*, const string&, const string&, unsigned int): Assertion `invoked' failed.
4Aborted (core dumped)