@@ -16,12 +16,12 @@ pub struct GetNodeInfoResponse {
1616 /// Should be always set, will never be `None`.
1717 #[ prost( message, optional, tag = "3" ) ]
1818 pub current_best_block : :: core:: option:: Option < BestBlock > ,
19- /// The timestamp, in seconds since start of the UNIX epoch, when we last successfully synced our Lightning wallet
20- /// to the chain tip.
19+ /// The timestamp, in seconds since start of the UNIX epoch, when we last successfully synced our Lightning wallet to
20+ /// the chain tip.
2121 ///
22- /// Will be `None` if the wallet hasn’ t been synced since the node was initialized .
22+ /// Will be `None` if the wallet hasn' t been synced yet .
2323 #[ prost( uint64, optional, tag = "4" ) ]
24- pub latest_wallet_sync_timestamp : :: core:: option:: Option < u64 > ,
24+ pub latest_lightning_wallet_sync_timestamp : :: core:: option:: Option < u64 > ,
2525 /// The timestamp, in seconds since start of the UNIX epoch, when we last successfully synced our on-chain
2626 /// wallet to the chain tip.
2727 ///
@@ -152,6 +152,12 @@ pub struct Bolt12ReceiveRequest {
152152 /// The amount in millisatoshi to send. If unset, a "zero-amount" or variable-amount offer is returned.
153153 #[ prost( uint64, optional, tag = "2" ) ]
154154 pub amount_msat : :: core:: option:: Option < u64 > ,
155+ /// Offer expiry time in seconds.
156+ #[ prost( uint32, optional, tag = "3" ) ]
157+ pub expiry_secs : :: core:: option:: Option < u32 > ,
158+ /// If set, it represents the number of items requested, can only be set for fixed-amount offers.
159+ #[ prost( uint64, optional, tag = "4" ) ]
160+ pub quantity : :: core:: option:: Option < u64 > ,
155161}
156162#[ allow( clippy:: derive_partial_eq_without_eq) ]
157163#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -297,6 +303,9 @@ pub struct CloseChannelRequest {
297303 /// Whether to force close the specified channel.
298304 #[ prost( bool , optional, tag = "3" ) ]
299305 pub force_close : :: core:: option:: Option < bool > ,
306+ /// The reason for force-closing, can only be set while force closing a channel.
307+ #[ prost( string, optional, tag = "4" ) ]
308+ pub force_close_reason : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
300309}
301310#[ allow( clippy:: derive_partial_eq_without_eq) ]
302311#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -391,7 +400,7 @@ pub struct Channel {
391400 pub is_usable : bool ,
392401 /// Is `true` if this channel is (or will be) publicly-announced
393402 #[ prost( bool , tag = "15" ) ]
394- pub is_public : bool ,
403+ pub is_announced : bool ,
395404 /// Set of configurable parameters set by self that affect channel operation.
396405 #[ prost( message, optional, tag = "16" ) ]
397406 pub channel_config : :: core:: option:: Option < ChannelConfig > ,
0 commit comments