]> git.bitcoin.ninja Git - rust-lightning/commit
Test pending connection onion message buffering
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 30 Nov 2023 03:30:15 +0000 (21:30 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 6 Dec 2023 20:45:18 +0000 (14:45 -0600)
commit89e630b9183c41ebf9e10913a64becf69097b010
tree29e983b1c8f3b92634276620af1c5080990401f8
parent210407e1bb31020be47f4a0b1eac57bb814f6d69
Test pending connection onion message buffering

Add tests for onion message buffering checking that messages are cleared
upon disconnection and timed out after MAX_TIMER_TICKS. Also, checks
that ConnectionNeeded events are generated.
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs