Allow retrieval of SpendableOutputDescriptors from relevant transactions
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Sep 2023 17:27:44 +0000 (10:27 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 28 Sep 2023 21:23:33 +0000 (14:23 -0700)
commitb8f80f8ab94ff71b0366c4747fb14a40d767dcc4
treece31872b8e7e086f19ac27ff184e5efb7a6537f5
parent1ac53ed02bf26520d3b1a2c3c0e90c8691c83099
Allow retrieval of SpendableOutputDescriptors from relevant transactions

Currently, our API will only expose `SpendableOutputDescriptor`s once
after they are no longer under reorg risk (see `ANTI_REORG_DELAY`).
Users have often requested they'd like the ability to retrieve these in
some other way, either for historical purposes, or to handle replaying
any in the event of a failure.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/monitor_tests.rs