rust-lightning/lightning/src/util
Matt Corallo 177810b152 Clean up existing and add range-based closing_signed negotiation
This adds the new range-based closing_signed negotiation specified
in https://github.com/lightningnetwork/lightning-rfc/pull/847 as
well as cleans up the existing closing_signed negotiation to unify
the new codepaths and the old ones.

Note that because the new range-based closing_signed negotiation
allows the channel fundee to ultimately select the fee out of a
range specified by the funder, which we, of course, always select
the highest allowed amount from. Thus, we've added an extra round
of closing_signed in the common case as we will not simply accept
the first fee we see, always preferring to make the funder pay as
much as they're willing to.
2021-08-17 02:16:01 +00:00
..
byte_utils.rs Drop byte_utils in favor of native to/from_be_bytes methods 2021-06-01 15:47:01 +00:00
chacha20.rs Actual no_std support 2021-08-03 09:34:56 +02:00
chacha20poly1305rfc.rs fix all clippy::redundant_field_names warnings 2020-10-07 11:20:21 -07:00
config.rs Clean up existing and add range-based closing_signed negotiation 2021-08-17 02:16:01 +00:00
enforcing_trait_impls.rs Actual no_std support 2021-08-03 09:34:56 +02:00
errors.rs Add APIError::IncompatibleShutdownScript 2021-08-09 15:56:29 -05:00
events.rs Merge pull request #1004 from TheBlueMatt/2021-07-forward-event 2021-08-04 22:58:14 +00:00
fuzz_wrappers.rs Relicense as dual Apache-2.0 + MIT 2020-08-10 21:12:44 -04:00
logger.rs Collect all lightning std::sync imports under crate::sync 2021-07-19 15:01:58 +02:00
macro_logger.rs Allow logging to specify an explicit log level instead of a macro 2021-06-29 19:36:47 +00:00
message_signing.rs Enforces sig_rec length in message_signing 2021-07-20 11:41:38 +02:00
mod.rs Use TLVs inside of serialization of Event variants 2021-06-01 21:53:06 +00:00
poly1305.rs Drop byte_utils in favor of native to/from_be_bytes methods 2021-06-01 15:47:01 +00:00
scid_utils.rs Improve short_channel_id utils 2021-03-09 15:34:52 -05:00
ser.rs Actual no_std support 2021-08-03 09:34:56 +02:00
ser_macros.rs Improve TLV serialization macro callability very slightly 2021-08-13 23:02:23 +00:00
test_utils.rs Generate shutdown script at channel close 2021-08-09 15:55:28 -05:00
transaction_utils.rs Actual no_std support 2021-08-03 09:34:56 +02:00
zbase32.rs Use alloc for no_std builds 2021-05-27 17:35:20 +00:00