projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2067 from benthecarman/fix-typos
[rust-lightning]
/
lightning
/
src
/
routing
/
gossip.rs
diff --git
a/lightning/src/routing/gossip.rs
b/lightning/src/routing/gossip.rs
index 2b4ece0ba6bd02d523acd234468f6277d0c73c8e..3f9313c686aab4bd1454f8b8bda84f762afee36a 100644
(file)
--- a/
lightning/src/routing/gossip.rs
+++ b/
lightning/src/routing/gossip.rs
@@
-886,9
+886,9
@@
impl Readable for ChannelInfo {
(0, features, required),
(1, announcement_received_time, (default_value, 0)),
(2, node_one, required),
(0, features, required),
(1, announcement_received_time, (default_value, 0)),
(2, node_one, required),
- (4, one_to_two_wrap,
ignorable
),
+ (4, one_to_two_wrap,
upgradable_option
),
(6, node_two, required),
(6, node_two, required),
- (8, two_to_one_wrap,
ignorable
),
+ (8, two_to_one_wrap,
upgradable_option
),
(10, capacity_sats, required),
(12, announcement_message, required),
});
(10, capacity_sats, required),
(12, announcement_message, required),
});
@@
-1020,7
+1020,7
@@
impl EffectiveCapacity {
/// Fees for routing via a given channel or a node
#[derive(Eq, PartialEq, Copy, Clone, Debug, Hash)]
pub struct RoutingFees {
/// Fees for routing via a given channel or a node
#[derive(Eq, PartialEq, Copy, Clone, Debug, Hash)]
pub struct RoutingFees {
- /// Flat routing fee in
satoshis
+ /// Flat routing fee in
millisatoshis.
pub base_msat: u32,
/// Liquidity-based routing fee in millionths of a routed amount.
/// In other words, 10000 is 1%.
pub base_msat: u32,
/// Liquidity-based routing fee in millionths of a routed amount.
/// In other words, 10000 is 1%.
@@
-1164,7
+1164,7
@@
impl Readable for NodeInfo {
read_tlv_fields!(reader, {
(0, _lowest_inbound_channel_fees, option),
read_tlv_fields!(reader, {
(0, _lowest_inbound_channel_fees, option),
- (2, announcement_info_wrap,
ignorable
),
+ (2, announcement_info_wrap,
upgradable_option
),
(4, channels, vec_type),
});
(4, channels, vec_type),
});