Skip to content

Conversation

jonatack
Copy link
Member

@jonatack jonatack commented Apr 20, 2020

as per #18691 (comment), and revert two cli calls changed in #18691 from rpc commands back to command line options (these were the only occurrences).

@jonatack
Copy link
Member Author

jonatack commented Apr 20, 2020

A good way to test this is to run test/functional/interface_bitcoin_cli.py --loglevel debug, which is the only place currently where these calls are used.

@jonatack jonatack force-pushed the log-cli-options branch 2 times, most recently from 11966cd to 65c2024 Compare April 21, 2020 00:03
and fixup two cli calls from rpc commands to command line options.

Co-authored-by: MarcoFalke <falke.marco@gmail.com>
@maflcko
Copy link
Member

maflcko commented Apr 24, 2020

ACK 8f5dc88

@maflcko maflcko merged commit d1aa0ae into bitcoin:master Apr 24, 2020
@jonatack jonatack deleted the log-cli-options branch April 24, 2020 12:52
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 24, 2020
…d_cli() in debug log

8f5dc88 test: display command line options passed to send_cli() in debug log (Jon Atack)

Pull request description:

  as per bitcoin#18691 (comment), and revert two cli calls changed in bitcoin#18691 from rpc commands back to command line options (these were the only occurrences).

ACKs for top commit:
  MarcoFalke:
    ACK 8f5dc88

Tree-SHA512: fcb3eca00aa4099066028c90d5e50a02e074366e09a17f5f5b937d9f7562dd054ff65681aa0ad4c94f6de1e98b1e2b9ac4cd084ddc297010253989a80483b1b9
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jan 20, 2021
Summary:
Co-authored-by: MarcoFalke <falke.marco@gmail.com>

The changes in interface_bitcoin_cli.py were already applied in our codebase.

This is a backport of Core [[bitcoin/bitcoin#18712 | PR18712]]

Test Plan:
Add a failure (`assert False`) in `interface_bitcoin_cli.py` after a call to `send_cli()`
Check the presence of the new debug message in the log, just before the failure.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8963
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
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