rust-lightning/lightning/src
Chris Waterson 014a336e59 Add basic async signer tests
Adds a `get_signer` method to the context so that a test can get ahold of the
channel signer. Adds a `set_available` method on the `TestChannelSigner` to
allow a test to enable and disable the signer: when disabled some of the
signer's methods will return `Err` which will typically activate the error
handling case. Adds a `set_channel_signer_available` function on the test
`Node` class to make it easy to enable and disable a specific signer.

Adds a new `async_signer_tests` module:

* Check for asynchronous handling of `funding_created` and `funding_signed`.
* Check that we correctly resume processing after awaiting an asynchronous
  signature for a `commitment_signed` event.
* Verify correct handling during peer disconnect.
* Verify correct handling for inbound zero-conf.
2023-11-01 15:24:20 -07:00
..
blinded_path Fix PaymentConstraints::max_cltv_expiry docs 2023-10-20 09:51:31 -05:00
chain Merge pull request #2668 from TheBlueMatt/2023-10-fix-doc 2023-10-30 16:21:36 -04:00
events Merge pull request #2667 from wpaulino/random-htlc-holder-sigs-non-anchors 2023-10-20 22:55:08 +00:00
ln Add basic async signer tests 2023-11-01 15:24:20 -07:00
offers Add is_expired_no_std to Offer & Refund 2023-10-26 20:58:04 -05:00
onion_message Use a tuple, not a struct, for PendingOnionMessage in bindings 2023-10-23 19:42:32 +00:00
routing Use Default::default() for scoring params in tests 2023-10-21 14:30:13 +00:00
sign Move HTLCDescriptor to sign module 2023-10-20 15:32:16 -07:00
sync Merge pull request #2167 from TheBlueMatt/2023-04-monitor-e-monitor-prep 2023-05-31 22:48:34 +00:00
util Add basic async signer tests 2023-11-01 15:24:20 -07:00
lib.rs Ensure we build if a downstream crate sets --cfg=fuzzing 2023-06-20 23:22:15 +00:00