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
util: remove unwanted fields from bitcoin-cli -getinfo #17650
Conversation
Concept ACK Code changes look good to me. Some git nits:
|
Concept ACK @malevolent Welcome as a contributor! :) |
Concept ACK Your tests are failing. |
@laanwj Yes sir, done and done. |
Please squash your commits.
You could use a commit title like |
Hi @fanquake , thanks for letting me know, I rebased and used better titles for the commit messages. Please let me know if theres anything else needed |
ad60f38
to
868a322
Compare
ACK 868a322 -- diff looks correct |
the author is still reported as "EC2 Default User"
i think you need to do |
In accordance with bitcoin#17314, Removing noisy fields from -getinfo. Fields removed: protocolversion, walletversion and keypoololdest. In addition to changing bitcoin-cli -getinfo, there is another change to test/functional/interface_bitcoin_cli.py. This change deletes tests that utilize removed -getinfo calls.
868a322
to
01c8701
Compare
@laanwj Thanks I think that fixed it, let me know if there is anything else I need to do |
ACK 01c8701 |
ACK 01c8701 -- diff looks correct |
This can be addressed at a later date.
Correct, that issue doesn't need to be closed after this is merged. |
ACK 01c8701 |
01c8701 util: remove unwanted fields from bitcoin-cli -getinfo (malevolent) Pull request description: Removed the following fields from -getinfo: protocolversion, walletversion and keypoololdest. This change closes #17314 . ACKs for top commit: laanwj: ACK 01c8701 achow101: ACK 01c8701 practicalswift: ACK 01c8701 -- diff looks correct Tree-SHA512: c98f2e8a3fee04d46766f70cb88f4e49e892a4424eff8940a7d48e9e808597b702427225788f984f5c3641591fd8d86acee56774afde1d57a4259c31d971ea08
…etinfo 01c8701 util: remove unwanted fields from bitcoin-cli -getinfo (malevolent) Pull request description: Removed the following fields from -getinfo: protocolversion, walletversion and keypoololdest. This change closes bitcoin#17314 . ACKs for top commit: laanwj: ACK 01c8701 achow101: ACK 01c8701 practicalswift: ACK 01c8701 -- diff looks correct Tree-SHA512: c98f2e8a3fee04d46766f70cb88f4e49e892a4424eff8940a7d48e9e808597b702427225788f984f5c3641591fd8d86acee56774afde1d57a4259c31d971ea08
Yea, it's probably better to wait until the release in this case, if there's other bitcoin-cli changes at well they should be grouped and not scattered over the place. |
@laanwj Could you add any relevant release notes to https://github.com/bitcoin-core/bitcoin-devwiki/wiki/0.20.0-Release-Notes-Draft ? |
Summary: > In accordance with #17314, Removing noisy fields from -getinfo. Fields removed: protocolversion, walletversion and keypoololdest. In addition to changing bitcoin-cli -getinfo, there is another change to test/functional/interface_bitcoin_cli.py. This change deletes tests that utilize removed -getinfo calls. Add a release note about this and also about new fields introduced in D8220/[[bitcoin/bitcoin#17302 | PR17302]]. This is extracted from Core `release-notes-0.20.0.md` This is a backport of Core [[bitcoin/bitcoin#17650 | PR17650]] Test Plan: `src/bitcoin-cli -getinfo` `test/functional/test_runner.py interface_bitcoin_cli.py` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D8300
…etinfo 01c8701 util: remove unwanted fields from bitcoin-cli -getinfo (malevolent) Pull request description: Removed the following fields from -getinfo: protocolversion, walletversion and keypoololdest. This change closes bitcoin#17314 . ACKs for top commit: laanwj: ACK 01c8701 achow101: ACK 01c8701 practicalswift: ACK 01c8701 -- diff looks correct Tree-SHA512: c98f2e8a3fee04d46766f70cb88f4e49e892a4424eff8940a7d48e9e808597b702427225788f984f5c3641591fd8d86acee56774afde1d57a4259c31d971ea08
Removed the following fields from -getinfo: protocolversion, walletversion and keypoololdest.