Allow to verify channel updates without applying them
authorElias Rohrer <dev@tnull.de>
Fri, 13 Oct 2023 09:30:15 +0000 (11:30 +0200)
committerElias Rohrer <dev@tnull.de>
Thu, 19 Oct 2023 12:45:33 +0000 (14:45 +0200)
commit1dffb201997804a6df5bb805fe6b33a1d9474808
treefb2b8893ca0ebae87f2c0728555157180359d62a
parent1852715fc8163262e370f49995e81ea6efb1cf83
Allow to verify channel updates without applying them

We introduce a new `NetworkGraph::verify_channel_update` method that
allows to check whether an update would be applied by `update_channel`.
lightning/src/routing/gossip.rs