-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: merge bitcoin#21391, #19550, #15946, #21230, #21252, #21297, #20605, #21575, #22309, #19762 (assumeutxo backports: part 4) #5492
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
Conversation
1dcd32d
to
b7ff846
Compare
7c2eb36
to
6826dea
Compare
This pull request has conflicts, please rebase. |
This pull request has conflicts, please rebase. |
build failed
|
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.
also need to add missing header node/blockstorage.h
to evo/creditpool.cpp
self.log.info("check if we can access the blockfilter of a pruned block") | ||
assert(len(self.nodes[1].getblockfilter(self.nodes[1].getblockhash(2))['filter']) > 0) | ||
self.log.info("start node without blockfilterindex") | ||
self.stop_node(1, expected_stderr='Warning: You are starting with governance validation disabled. This is expected because you are running a pruned node.') |
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.
can you add a new variable such as
governance_failure = 'Warning: You are starting with gover....
and use it instead literals?
Same as EXPECTED_STDERR_NO_GOV_PRUNE
in test/functional/feature_pruning.py
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.
Will do in a future PR
2b189ef
to
8316f97
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.
check comment about g_chainman
in CreateUTXOSnapshot
Btw for next time better for massive changes such as g_chainman
refactoring to create dedicated PR rather than add some extra backports to make "batch of 10" IMO
- merge https://github.com/bitcoin/bitcoin/pull/21391[: Prune g_chainman usage in RPC modules](d1be425)
- rpc: Prune g_chainman usage within Dash-specific RPC modules
these 2 are big enough for dedicated PR. I am after meticulous reading still not 100% sure that all changes here are valid, but I haven't found any other issues ATM except mentioned comment.
This PR was already split in half due to review complexity concerns, I'd be glad to split it even further if told earlier about it. Referring to them as "extra" backports aren't representative of the reason they're included. If you look at #5501 (which is what this PR originally was before it was split in half), you can see they're the prerequisites for implementing coinstats support which is used by PRs further down the line and bugfixes that result in CI errors due to race conditions. Work on |
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.
utACK
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.
re-utACK
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.
re-utACK
``` src/governance/governance.cpp:558:18: note: Shadow variable src/governance/governance.cpp:558:18: warning: Local variable '_' shadows outer function [shadowFunction] ```
bdd1b74
to
d40f28e
Compare
* docs(rpc): update protx diff Relates to dashpay/dash#5377 * docs(rpc): add getindexinfo rpc Relates to dashpay/dash#5492 * docs(rpc): add gettxchainlocks Relates to dashpay/dash#5578 * docs(rpc): update getblock
* docs(rpc): update protx diff Relates to dashpay/dash#5377 * docs(rpc): add getindexinfo rpc Relates to dashpay/dash#5492 * docs(rpc): add gettxchainlocks Relates to dashpay/dash#5578 * docs(rpc): update getblock
Additional information