]> git.bitcoin.ninja Git - rust-lightning/commit
Swap `PublicKey` for `NodeId` in `UnsignedChannelAnnouncement`
authorAlec Chen <alecchendev@gmail.com>
Mon, 6 Feb 2023 20:41:18 +0000 (14:41 -0600)
committerAlec Chen <alecchendev@gmail.com>
Tue, 7 Feb 2023 16:51:54 +0000 (10:51 -0600)
commit1fd95496d1038352535a74065d2b06559e2192fb
tree4ef69f9bfc66568d09ebe9cf83d13f11f67c299f
parent760ab65dbdc6bcfe5587e0c639897a8fda27d9b9
Swap `PublicKey` for `NodeId` in `UnsignedChannelAnnouncement`

Adds the macro `get_pubkey_from_node_id`
to parse `PublicKey`s back from `NodeId`s for signature
verification, as well as `make_funding_redeemscript_from_slices`
to avoid parsing back and forth between types.
fuzz/src/router.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/gossip.rs
lightning/src/routing/scoring.rs
lightning/src/routing/test_utils.rs
lightning/src/util/test_utils.rs