@@ -5755,6 +5755,38 @@ impl PersistenceNotifier {
5755
5755
const SERIALIZATION_VERSION : u8 = 1 ;
5756
5756
const MIN_SERIALIZATION_VERSION : u8 = 1 ;
5757
5757
5758
+ impl_writeable_tlv_based ! ( CounterpartyForwardingInfo , {
5759
+ ( 2 , fee_base_msat, required) ,
5760
+ ( 4 , fee_proportional_millionths, required) ,
5761
+ ( 6 , cltv_expiry_delta, required) ,
5762
+ } ) ;
5763
+
5764
+ impl_writeable_tlv_based ! ( ChannelCounterparty , {
5765
+ ( 2 , node_id, required) ,
5766
+ ( 4 , features, required) ,
5767
+ ( 6 , unspendable_punishment_reserve, required) ,
5768
+ ( 8 , forwarding_info, option) ,
5769
+ } ) ;
5770
+
5771
+ impl_writeable_tlv_based ! ( ChannelDetails , {
5772
+ ( 2 , channel_id, required) ,
5773
+ ( 4 , counterparty, required) ,
5774
+ ( 6 , funding_txo, option) ,
5775
+ ( 8 , short_channel_id, option) ,
5776
+ ( 10 , channel_value_satoshis, required) ,
5777
+ ( 12 , unspendable_punishment_reserve, option) ,
5778
+ ( 14 , user_channel_id, required) ,
5779
+ ( 16 , balance_msat, required) ,
5780
+ ( 18 , outbound_capacity_msat, required) ,
5781
+ ( 20 , inbound_capacity_msat, required) ,
5782
+ ( 22 , confirmations_required, option) ,
5783
+ ( 24 , force_close_spend_delay, option) ,
5784
+ ( 26 , is_outbound, required) ,
5785
+ ( 28 , is_funding_locked, required) ,
5786
+ ( 30 , is_usable, required) ,
5787
+ ( 32 , is_public, required) ,
5788
+ } ) ;
5789
+
5758
5790
impl_writeable_tlv_based_enum ! ( PendingHTLCRouting ,
5759
5791
( 0 , Forward ) => {
5760
5792
( 0 , onion_packet, required) ,
0 commit comments