]> git.bitcoin.ninja Git - rust-lightning/commit
Rename `rejected_by_dest` -> `payment_failed_permanently` 2022-09-one-hop-retryable
authorMatt Corallo <git@bluematt.me>
Wed, 7 Sep 2022 20:58:05 +0000 (20:58 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 7 Sep 2022 20:58:05 +0000 (20:58 +0000)
commitc57bb42204a569fce5fb90d7f1b1367320124ae1
treecc4fc7f00f69597805c1f95b3690c67e78e18f4d
parentf76f60ff855ff286fc5c71704ea74430cdfb7d86
Rename `rejected_by_dest` -> `payment_failed_permanently`

The `rejected_by_dest` field of the `PaymentPathFailed` event has
always been a bit of a misnomer, as its really more about retry
than where a payment failed. Now is as good a time as any to
rename it.
lightning-invoice/src/payment.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/routing/gossip.rs
lightning/src/util/events.rs