rust-lightning/lightning/src/ln
Matt Corallo 7dcbf2cd1c Make test_duplicate_payment_hash_one_failure_one_success robust
`test_duplicate_payment_hash_one_failure_one_success` currently
fails if the "wrong" HTLC is picked to be claimed. Given the HTLCs
are identical, there's no way to figure out which we should claim.
The test instead relies on a magic value - the first one is the
right one....unless we change our CSPRNG implementation. When we
try to do so, the test randomly fails.

Here we change one HTLC to a lower amount so we can figure out
which transaction to broadcast to make the test robust against
CSPRNG changes.
2023-01-26 01:59:21 +00:00
..
chan_utils.rs Separate channel-type-agnostic methods into ChannelSigner trait. 2023-01-23 15:48:26 -08:00
chanmon_update_fail_tests.rs Merge pull request #1957 from TheBlueMatt/2022-01-mon-ref-lockorder 2023-01-17 23:09:05 +00:00
channel.rs Make Channel and ChannelManager less particular about their Signer type. 2023-01-23 15:48:39 -08:00
channelmanager.rs Merge pull request #1878 from dunxen/2022-11-config-minfinalcltvexpiry 2023-01-24 22:35:55 +00:00
features.rs Support negotiating anchors throughout channel open 2023-01-18 14:46:13 -08:00
functional_test_utils.rs Add new payment type and metadata bytes 2023-01-24 21:01:27 +02:00
functional_tests.rs Make test_duplicate_payment_hash_one_failure_one_success robust 2023-01-26 01:59:21 +00:00
inbound_payment.rs Add new payment type and metadata bytes 2023-01-24 21:01:27 +02:00
mod.rs Move PendingOutboundPayment to new outbound_payment module 2022-12-19 14:09:59 -05:00
monitor_tests.rs Add test yielding anchor-related events 2023-01-18 14:46:16 -08:00
msgs.rs Add NodeSigner::sign_gossip_message 2023-01-18 17:23:15 -08:00
onion_route_tests.rs Remove NodeSigner::get_node_secret 2023-01-18 17:23:25 -08:00
onion_utils.rs Merge pull request #1895 from TheBlueMatt/2022-12-fix-missing-data 2022-12-06 22:46:04 +00:00
outbound_payment.rs Merge pull request #1950 from tnull/2023-01-fix-doc-warnings-and-nits 2023-01-15 07:03:14 +00:00
payment_tests.rs Add new payment type and metadata bytes 2023-01-24 21:01:27 +02:00
peer_channel_encryptor.rs Use NodeSigner::ecdh to compute SharedSecrets 2023-01-18 17:23:23 -08:00
peer_handler.rs Remove NodeSigner::get_node_secret 2023-01-18 17:23:25 -08:00
priv_short_conf_tests.rs Sign gossip messages with NodeSigner 2023-01-18 17:23:22 -08:00
reload_tests.rs Stop passing InitFeatures in msg handlers 2023-01-16 21:18:53 +00:00
reorg_tests.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
script.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
shutdown_tests.rs Stop passing InitFeatures in msg handlers 2023-01-16 21:18:53 +00:00
wire.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00