rust-lightning/lightning/src/ln
Wilmer Paulino 78b967f5b0
Generate local signatures with additional randomness
Previously, our local signatures would always be deterministic, whether
we'd grind for low R value signatures or not. For peers supporting
SegWit, Bitcoin Core will generally use a transaction's witness-txid, as
opposed to its txid, to advertise transactions. Therefore, to ensure a
transaction has the best chance to propagate across node mempools in the
network, each of its broadcast attempts should have a unique/distinct
witness-txid, which we can achieve by introducing random nonce data when
generating local signatures, such that they are no longer deterministic.
2023-04-20 12:14:21 -07:00
..
chan_utils.rs Generate local signatures with additional randomness 2023-04-20 12:14:21 -07:00
chanmon_update_fail_tests.rs Merge pull request #2148 from TheBlueMatt/2023-04-claim-from-closed 2023-04-07 16:17:25 +00:00
channel.rs Implement EntropySource for InMemorySigner 2023-04-20 12:14:19 -07:00
channelmanager.rs Merge pull request #2127 from TheBlueMatt/2023-03-payment-metadata 2023-04-19 17:17:49 +00:00
features.rs Unset the optional bit for a feature when setting the required bit 2023-04-19 02:57:19 +00:00
functional_test_utils.rs Use existing height timer to retry untractable packages 2023-04-19 16:49:35 -07:00
functional_tests.rs Generate local signatures with additional randomness 2023-04-20 12:14:21 -07:00
inbound_payment.rs Add new payment type and metadata bytes 2023-01-24 21:01:27 +02:00
mod.rs Replacing (C-not exported) in the docs 2023-03-22 14:30:36 +03:00
monitor_tests.rs Make PackageTemplate::height_timer non-optional 2023-04-19 16:49:37 -07:00
msgs.rs Merge pull request #2127 from TheBlueMatt/2023-03-payment-metadata 2023-04-19 17:17:49 +00:00
onion_route_tests.rs Only disable channels ~10 min after disconnect, rather than one 2023-04-18 04:31:52 +00:00
onion_utils.rs Add a payment_metadata field to RecipientOnionFields 2023-04-19 02:57:19 +00:00
outbound_payment.rs Merge pull request #2127 from TheBlueMatt/2023-03-payment-metadata 2023-04-19 17:17:49 +00:00
payment_tests.rs Generate local signatures with additional randomness 2023-04-20 12:14:21 -07:00
peer_channel_encryptor.rs Use NodeSigner::ecdh to compute SharedSecrets 2023-01-18 17:23:23 -08:00
peer_handler.rs Use NodeAlias type in NodeAnnouncement 2023-04-13 13:09:03 -05:00
priv_short_conf_tests.rs Replace PaymentSecret with RecipientOnionFields in the pub API 2023-04-05 16:28:14 +00:00
reload_tests.rs Replace PaymentSecret with RecipientOnionFields in the pub API 2023-04-05 16:28:14 +00:00
reorg_tests.rs Use existing height timer to retry untractable packages 2023-04-19 16:49:35 -07:00
script.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
shutdown_tests.rs Replace PaymentSecret with RecipientOnionFields in the pub API 2023-04-05 16:28:14 +00:00
wire.rs Docs improvements 2023-03-21 14:11:13 +00:00