rpc: Update named args documentation for importprivkey #11465

pull dusty-wil wants to merge 1 commits into bitcoin:master from dusty-wil:master changing 2 files +3 −3
  1. dusty-wil commented at 3:31 AM on October 9, 2017: contributor

    Addresses issue #11462 by updating the documentation for the importprivkey arguments to the correct names, and updates the functional test importprunedfunds.py to use named arguments when calling importprivkey.

  2. fanquake added the label RPC/REST/ZMQ on Oct 9, 2017
  3. promag commented at 8:44 AM on October 9, 2017: member

    IMO remove 2nd commit.

  4. MarcoFalke commented at 8:56 AM on October 9, 2017: member
  5. MarcoFalke commented at 8:59 AM on October 9, 2017: member

    @promag It nicely proves that the documentation now matches the named args

  6. promag commented at 9:01 AM on October 9, 2017: member

    The first commit does what the PR title states. No need to change the test to use named arguments. This is obviously my opinion!

  7. promag commented at 9:02 AM on October 9, 2017: member

    No, the test does not prove that, to prove that we should assert the documentation string.

    Again consider my comment above a nit.

  8. promag commented at 9:04 AM on October 9, 2017: member

    There must be a test to assert argument order too :) (although that is probably in other tests).

  9. dusty-wil commented at 10:54 AM on October 9, 2017: contributor

    @MarcoFalke @promag I can remove the second commit if you'd prefer! Is there a neat way to do that through github or do I need to re-commit with the changes?

  10. promag commented at 11:15 AM on October 9, 2017: member

    For reference, this was missed in #8811 (9adb4e1). @dusty-wil to remove the commit you must push again. But do not remove it now, wait for more comments.

  11. MarcoFalke commented at 11:23 AM on October 9, 2017: member
  12. Update importprivkey named args documentation
    Fixes #11462. Updated documentation for importprivkey function to use the correct name for the first argument.
    Also updates a call to importprivkey to use named args in functional test.
    aa57590d7c
  13. dusty-wil force-pushed on Oct 9, 2017
  14. dusty-wil commented at 11:45 AM on October 9, 2017: contributor

    @MarcoFalke ok, squashed!

  15. fanquake commented at 1:40 PM on October 9, 2017: member

    utACK aa57590

  16. MarcoFalke commented at 4:25 PM on October 9, 2017: member

    utACK aa57590

  17. MarcoFalke merged this on Oct 9, 2017
  18. MarcoFalke closed this on Oct 9, 2017

  19. MarcoFalke referenced this in commit 92eadc3950 on Oct 9, 2017
  20. dusty-wil commented at 5:16 PM on October 9, 2017: contributor

    Thanks for the opportunity to contribute!

  21. MarcoFalke referenced this in commit 405e069d3b on Oct 9, 2017
  22. codablock referenced this in commit f8f55c25c8 on Sep 25, 2019
  23. barrystyle referenced this in commit 90eaca8ada on Jan 22, 2020
  24. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me