core-lightning/doc/lightning-signmessage.7.md
Rusty Russell 04b59d991a doc: always escape underscores in property names
If there's only a single underscore, lowdown ignores it, but if there are multiple
(see min_final_cltv_expiry) it decides we're trying to highlight part of the word.

Reported-by: @wtogami
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-08 00:36:51 +03:00

1.3 KiB

lightning-signmessage -- Command to create a signature from this node

SYNOPSIS

signmessage message

DESCRIPTION

The signmessage RPC command creates a digital signature of message using this node's secret key. A receiver who knows your node's id and the message can be sure that the resulting signature could only be created by something with access to this node's secret key.

message must be less that 65536 characters.

RETURN VALUE

On success, an object is returned, containing:

  • signature (hex): The signature (always 128 characters)
  • recid (hex): The recovery id (0, 1, 2 or 3) (always 2 characters)
  • zbase (string): signature and recid encoded in a style compatible with lnd's SignMessageRequest

AUTHOR

Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.

SEE ALSO

lightning-checkmessage(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning