can't 'signmessage' without wallet support compiled in #7895

issue dooglus opened this issue on April 16, 2016
  1. dooglus commented at 8:22 PM on April 16, 2016: contributor

    I would like to be able to sign messages using 'signmessage' by providing the private key to the RPC, just like I can 'signrawtransaction'.

    If I move 'signmessage' into the 'util' category alongside 'verifymessage' and allow it to take an optional private key parameter would my change stand a chance of being merged?

    Currently 'signmessage' isn't even available when I don't build with wallet support since it is considered a wallet function.

  2. achow101 commented at 8:25 PM on April 16, 2016: member

    Go ahead and try, it doesn't hurt to try.

  3. btcdrak commented at 8:38 PM on April 16, 2016: contributor

    Seems like a reasonable ask to me. Concept ACK.

  4. dooglus commented at 9:28 PM on April 16, 2016: contributor

    #7899 adds the optional parameter to signmessage but leaves signmessage in the wallet category.

  5. luke-jr commented at 12:45 AM on April 17, 2016: member

    I don't see why a server is needed for this. Should just be a library function.

  6. jonasschnelli added the label Utils and libraries on Apr 17, 2016
  7. laanwj commented at 9:59 AM on April 28, 2016: member

    #7953 Create signmessagewithprivkey rpc

  8. laanwj closed this on Jan 26, 2017

  9. MarcoFalke 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