GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-CHECKMESSAGE(7) lightning-checkmessage LIGHTNING-CHECKMESSAGE(7)

lightning-checkmessage - Command to check if a signature is from a node

checkmessage message zbase [pubkey]

The checkmessage RPC command is the counterpart to signmessage: given a node id (pubkey), signature (zbase) and a message, it verifies that the signature was generated by that node for that message (more technically: by someone who knows that node's secret).

As a special case, if pubkey is not specified, we will try every known node key (as per listnodes), and verification succeeds if it matches for any one of them. Note: this is implemented far more efficiently than trying each one, so performance is not a concern.

On success, an object is returned, containing:

verified (boolean): Whether the signature was valid

If verified is true:

pubkey (pubkey): the pubkey parameter, or the pubkey found by looking for known nodes

If verified is false:

pubkey (pubkey): the pubkey (if any) which could have signed this; this is usually not useful!

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

lightning-signmessage(7)

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


Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.