We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a2329 commit 75ece86Copy full SHA for 75ece86
lightning/src/sign/mod.rs
@@ -932,6 +932,11 @@ pub trait NodeSigner {
932
fn sign_gossip_message(&self, msg: UnsignedGossipMessage) -> Result<Signature, ()>;
933
934
/// Sign an arbitrary message with the node's secret key.
935
+ ///
936
+ /// Creates a digital signature of a message given the node's secret.
937
+ /// A receiver knowing the node's id and the message can be sure that the signature was generated by the caller.
938
+ /// An `Err` can be returned to signal that the signer is unavailable / cannot produce a valid
939
+ /// signature.
940
fn sign_message(&self, msg: &[u8]) -> Result<String, ()>;
941
}
942
0 commit comments