Add flag to indicate when a payment was rejected by the first hop
authorMatt Corallo <git@bluematt.me>
Sun, 28 Mar 2021 19:42:49 +0000 (15:42 -0400)
committerMatt Corallo <git@bluematt.me>
Sun, 28 Mar 2021 19:42:49 +0000 (15:42 -0400)
commite4764b687ba41cefe8bf02e9035f640c70d4081e
tree2349a011daf20dc6d95e8696db7e5e54876b1eb2
parentfe8569638ca8ed014db29a2f48d14c40d1a60d09
Add flag to indicate when a payment was rejected by the first hop

This was requested by a user wishing to brute-force the expected
feerate as a stopgap to trampoline, allowing them to have the
first hop node return a route with missing first-hop feerate info.
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/ln/onion_utils.rs
lightning/src/util/events.rs