projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an `optional_vec` TLV format which makes sense, unlike vec_type
[rust-lightning]
/
lightning
/
src
/
ln
/
mod.rs
diff --git
a/lightning/src/ln/mod.rs
b/lightning/src/ln/mod.rs
index 28c86b79598cf70572069ce55561766a522b3130..bc28063145c84117ce44a0baf4391bd63472d66a 100644
(file)
--- a/
lightning/src/ln/mod.rs
+++ b/
lightning/src/ln/mod.rs
@@
-43,7
+43,8
@@
pub mod channel;
#[cfg(not(fuzzing))]
pub(crate) mod channel;
#[cfg(not(fuzzing))]
pub(crate) mod channel;
-mod onion_utils;
+pub(crate) mod onion_utils;
+mod outbound_payment;
pub mod wire;
// Older rustc (which we support) refuses to let us call the get_payment_preimage_hash!() macro
pub mod wire;
// Older rustc (which we support) refuses to let us call the get_payment_preimage_hash!() macro
@@
-67,6
+68,9
@@
mod chanmon_update_fail_tests;
mod reorg_tests;
#[cfg(test)]
#[allow(unused_mut)]
mod reorg_tests;
#[cfg(test)]
#[allow(unused_mut)]
+mod reload_tests;
+#[cfg(test)]
+#[allow(unused_mut)]
mod onion_route_tests;
#[cfg(test)]
#[allow(unused_mut)]
mod onion_route_tests;
#[cfg(test)]
#[allow(unused_mut)]
@@
-90,7
+94,7
@@
pub struct PaymentPreimage(pub [u8; 32]);
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
pub struct PaymentSecret(pub [u8; 32]);
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
pub struct PaymentSecret(pub [u8; 32]);
-use prelude::*;
+use
crate::
prelude::*;
use bitcoin::bech32;
use bitcoin::bech32::{Base32Len, FromBase32, ToBase32, WriteBase32, u5};
use bitcoin::bech32;
use bitcoin::bech32::{Base32Len, FromBase32, ToBase32, WriteBase32, u5};