lightningdevkit / ldk-sample

Sample node implementation using LDK
Apache License 2.0
166 stars 94 forks source link

Dont unwrap `spend_spendable_outputs` #102

Closed TheBlueMatt closed 1 year ago

TheBlueMatt commented 1 year ago

When feerates are high we may fail to spend outputs (eg low-value htlcs or to-self outputs), which currently unwrap's. We really need a pipeline to store them to disk and claim on a timer anyway in case fees go up after a claim, but we at least shouldn't unwrap.