mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #2948 from arik-so/2024-03-public-node-announcement-excess
Publicize all UnsignedNodeAnnouncement fields.
This commit is contained in:
commit
e4b6a5004e
1 changed files with 10 additions and 2 deletions
|
@ -1136,8 +1136,16 @@ pub struct UnsignedNodeAnnouncement {
|
|||
pub alias: NodeAlias,
|
||||
/// List of addresses on which this node is reachable
|
||||
pub addresses: Vec<SocketAddress>,
|
||||
pub(crate) excess_address_data: Vec<u8>,
|
||||
pub(crate) excess_data: Vec<u8>,
|
||||
/// Excess address data which was signed as a part of the message which we do not (yet) understand how
|
||||
/// to decode.
|
||||
///
|
||||
/// This is stored to ensure forward-compatibility as new address types are added to the lightning gossip protocol.
|
||||
pub excess_address_data: Vec<u8>,
|
||||
/// Excess data which was signed as a part of the message which we do not (yet) understand how
|
||||
/// to decode.
|
||||
///
|
||||
/// This is stored to ensure forward-compatibility as new fields are added to the lightning gossip protocol.
|
||||
pub excess_data: Vec<u8>,
|
||||
}
|
||||
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
|
||||
/// A [`node_announcement`] message to be sent to or received from a peer.
|
||||
|
|
Loading…
Add table
Reference in a new issue