-
Notifications
You must be signed in to change notification settings - Fork 38.8k
rpc: change setmocktime check to use IsMockableChain #18263
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
|
ACK 4264e97b42e87ff1e103eb1f919cff4c0f56c4fe. Thanks for this follow up :) |
maflcko
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.
ACK
jonatack
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.
ACK 4264e97b42e87ff1e103eb1f919cff4c0f56c4fe modulo nits
|
ACK 4264e97b42e87ff1e103eb1f919cff4c0f56c4fe. |
|
Please squash your commits according to https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits |
e8600d9 to
2455aa5
Compare
jonatack
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.
|
ACK 2455aa5 🙇 Show signature and timestampSignature: Timestamp of file with hash |
Summary: > Change: Update the if statement in setmocktime to use IsMockableChain chainparams function (aka m_is_mockable_chain) instead of MineBlocksOnDemand > > Rationale: It's a more appropriate check for whether or not chain is in RegTest, as discussed in [[bitcoin/bitcoin#18037 | PR18037]] This is a backport of Core [[bitcoin/bitcoin#18263 | PR18263]] Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D8783
Change: Update the if statement in
setmocktimeto useIsMockableChainchainparams function (akam_is_mockable_chain) instead ofMineBlocksOnDemandRationale: It's a more appropriate check for whether or not chain is in RegTest, as discussed in #18037