]> git.bitcoin.ninja Git - rust-lightning/commit
Allowing user-specified error message during force close channel
authorLalitmohansharma1 <lalit_ms@ar.iitr.ac.in>
Sun, 11 Feb 2024 13:38:53 +0000 (19:08 +0530)
committerLalitmohansharma1 <lalit_ms@ar.iitr.ac.in>
Sat, 20 Apr 2024 13:42:59 +0000 (19:12 +0530)
commitd17e759d021c90abcbc7b3b433943d29e3c60724
treed76e241cd9bd29cf868d7ae5516b9d0cba6226c5
parentac9a2c8a20dadf5e68cbc3141072e73e20ca5004
Allowing user-specified error message during force close channel

In this commit i added additional parameter `error_message` to
`force_close_sending_error`. This parameter will allow users to
configure error message and send to peers during the force closing
of channel.I have also updated the tests for this updated function.
16 files changed:
fuzz/src/full_stack.rs
lightning-background-processor/src/lib.rs
lightning-persister/src/fs_store.rs
lightning-persister/src/test_utils.rs
lightning/src/ln/async_signer_tests.rs
lightning/src/ln/blinded_payment_tests.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/priv_short_conf_tests.rs
lightning/src/ln/reload_tests.rs
lightning/src/ln/reorg_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/persist.rs