]> git.bitcoin.ninja Git - rust-lightning/commit
Ensure a 1:1 mapping of value sendable to send success in fuzzing
authorMatt Corallo <git@bluematt.me>
Wed, 17 May 2023 00:56:22 +0000 (00:56 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Jun 2023 23:57:56 +0000 (23:57 +0000)
commit66c4f454f0316bb8c79d53a97308c706d2d3725e
tree37663e12c60b6d57508ec4537ebe279b151e126d
parent7edbf547fb71f374d1ca11112177d66e8a05852c
Ensure a 1:1 mapping of value sendable to send success in fuzzing

Now that the value available to send is expected to match the
success or failure of sending exactly, we should assert this in the
`chanmon_consistency` fuzzer.

In the next commit we'll actually rip the checks out of `send_htlc`
which will make this a somewhat less useful test, however fuzzing
on this specific commit can help to reveal bugs.
fuzz/src/chanmon_consistency.rs
lightning/src/ln/channel.rs