breez_sdk_liquid::lightning::routing::gossip

Function verify_channel_announcement

pub fn verify_channel_announcement<C>(
    msg: &ChannelAnnouncement,
    secp_ctx: &Secp256k1<C>,
) -> Result<(), LightningError>
where C: Verification,
Expand description

Verifies all signatures included in a ChannelAnnouncement.

Returns an error if one of the signatures is invalid.