Make 'getnewaddress' optionally also return the pubkey #420

pull forrestv wants to merge 1 commits into bitcoin:master from forrestv:getnewaddress_pubkey changing 1 files +20 −5
  1. forrestv commented at 4:28 PM on July 18, 2011: contributor

    Added a new argument to 'getnewaddress' - 'rawpubkey' - that makes it return an object with both the address and the pubkey in hexadecimal form.

    This is useful for programs that interact with the bitcoin network at a lower level (namely, handling public key data) such as p2pool.

  2. Added a new argument to 'getnewaddress' - 'rawpubkey' - that makes it return an object with both the address and the pubkey in hexadecimal form. a74b01cfb2
  3. nanotube commented at 4:37 PM on July 18, 2011: none

    +1

  4. gavinandresen commented at 7:16 PM on August 9, 2011: contributor

    Extending validateaddress to include this information seems like a better place to put this functionality. (if you pass one of your addresses, of course)

  5. forrestv commented at 7:55 PM on October 1, 2011: contributor

    Will do that and make a new pull request.

  6. forrestv closed this on Oct 1, 2011

  7. dexX7 referenced this in commit c2934af428 on Oct 24, 2016
  8. classesjack referenced this in commit 09a3a35807 on Jan 2, 2018
  9. lateminer referenced this in commit efd043747c on Oct 16, 2019
  10. rajarshimaitra referenced this in commit 5ccba9e889 on Aug 5, 2021
  11. 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-26 15:16 UTC

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