File tree 3 files changed +12
-6
lines changed 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ jobs:
165
165
check_commits :
166
166
runs-on : ubuntu-latest
167
167
env :
168
- TOOLCHAIN : stable
168
+ # rustc 1.53 regressed and panics when building our (perfectly fine) docs.
169
+ # See https://github.com/rust-lang/rust/issues/84738
170
+ TOOLCHAIN : 1.52.1
169
171
steps :
170
172
- name : Checkout source code
171
173
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -60,12 +60,16 @@ const MAX_EXPIRY_TIME: u64 = 60 * 60 * 24 * 356;
60
60
/// Default expiry time as defined by [BOLT 11].
61
61
///
62
62
/// [BOLT 11]: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md
63
- const DEFAULT_EXPIRY_TIME : u64 = 3600 ;
63
+ pub const DEFAULT_EXPIRY_TIME : u64 = 3600 ;
64
64
65
65
/// Default minimum final CLTV expiry as defined by [BOLT 11].
66
66
///
67
+ /// Note that this is *not* the same value as rust-lightning's minimum CLTV expiry, which is
68
+ /// provided in [`MIN_FINAL_CLTV_EXPIRY`].
69
+ ///
67
70
/// [BOLT 11]: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md
68
- const DEFAULT_MIN_FINAL_CLTV_EXPIRY : u64 = 18 ;
71
+ /// [`MIN_FINAL_CLTV_EXPIRY`]: lightning::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY
72
+ pub const DEFAULT_MIN_FINAL_CLTV_EXPIRY : u64 = 18 ;
69
73
70
74
/// This function is used as a static assert for the size of `SystemTime`. If the crate fails to
71
75
/// compile due to it this indicates that your system uses unexpected bounds for `SystemTime`. You
Original file line number Diff line number Diff line change 12
12
//! Note this is not part of the specs, but follows lnd's signing and verifying protocol, which can is defined as follows:
13
13
//!
14
14
//! signature = zbase32(SigRec(sha256d(("Lightning Signed Message:" + msg)))
15
- //! zbase32 from https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
15
+ //! zbase32 from < https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt>
16
16
//! SigRec has first byte 31 + recovery id, followed by 64 byte sig.
17
17
//!
18
18
//! This implementation is compatible with both lnd's and c-lightning's
19
19
//!
20
- //! https://lightning.readthedocs.io/lightning-signmessage.7.html
21
- //! https://api.lightning.community/#signmessage
20
+ //! < https://lightning.readthedocs.io/lightning-signmessage.7.html>
21
+ //! < https://api.lightning.community/#signmessage>
22
22
23
23
use prelude:: * ;
24
24
use crate :: util:: zbase32;
You can’t perform that action at this time.
0 commit comments