From: Matt Corallo Date: Thu, 17 Jun 2021 15:49:17 +0000 (+0000) Subject: Make links in message signing docs rustdoc links X-Git-Tag: v0.0.99~22^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=84ac66e80f96186166b14a46e80f1cbf5b06576d;p=rust-lightning Make links in message signing docs rustdoc links Latest rustc warns that "this URL is not a hyperlink" and notes that "bare URLs are not automatically turned into clickable links". This resolves those warnings. Thanks to Joshua Nelson for pointing out the correct syntax for this. --- diff --git a/lightning/src/util/message_signing.rs b/lightning/src/util/message_signing.rs index c39da1d53..69c802e7a 100644 --- a/lightning/src/util/message_signing.rs +++ b/lightning/src/util/message_signing.rs @@ -12,13 +12,13 @@ //! Note this is not part of the specs, but follows lnd's signing and verifying protocol, which can is defined as follows: //! //! signature = zbase32(SigRec(sha256d(("Lightning Signed Message:" + msg))) -//! zbase32 from https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt +//! zbase32 from //! SigRec has first byte 31 + recovery id, followed by 64 byte sig. //! //! This implementation is compatible with both lnd's and c-lightning's //! -//! https://lightning.readthedocs.io/lightning-signmessage.7.html -//! https://api.lightning.community/#signmessage +//! +//! use prelude::*; use crate::util::zbase32;