rust-lightning/lightning/src/ln
Matt Corallo b43a7e3ef3 Fix feerate calculation on closing transactions
This resolves a number of bugs around how we calculate feerates on
closing transactions:

 * We previously calculated the weight wrong both by always
   counting two outputs instead of counting the number of outputs
   that actually exist in the closing transaction and by not
   counting the witness redeemscript.
 * We use assertions to check the calculated weight matches what we
   actually build (with debug_assertions for variable-length sigs).
 * As an additional sanity check, we really should check that the
   transaction had at least min-relay-fee when we were the channel
   initator.
2020-10-05 11:32:30 -04:00
..
chan_utils.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
chanmon_update_fail_tests.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
channel.rs Fix feerate calculation on closing transactions 2020-10-05 11:32:30 -04:00
channelmanager.rs Actually hold the total_consistency_lock instead of take-and-drop 2020-10-02 12:51:25 -04:00
features.rs Add annotations for things which we cannot (yet) expose 2020-09-10 22:03:30 -04:00
functional_test_utils.rs Drop last bits of rescan as its too complicated to be worth having 2020-10-02 12:36:46 -04:00
functional_tests.rs Drop last bits of rescan as its too complicated to be worth having 2020-10-02 12:36:46 -04:00
mod.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
msgs.rs Merge pull request #684 from bmancini55/gossip_queries 2020-09-14 13:45:12 -07:00
onchaintx.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
onion_route_tests.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
onion_utils.rs Relicense as dual Apache-2.0 + MIT 2020-08-10 21:12:44 -04:00
peer_channel_encryptor.rs Relicense as dual Apache-2.0 + MIT 2020-08-10 21:12:44 -04:00
peer_handler.rs Relicense as dual Apache-2.0 + MIT 2020-08-10 21:12:44 -04:00
reorg_tests.rs Move channelmonitor.rs from ln to chain module 2020-09-30 22:41:52 -07:00
wire.rs Relicense as dual Apache-2.0 + MIT 2020-08-10 21:12:44 -04:00