mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
d416ed59ea
Previously it wasn't possible to store a preimage in the invoice database and signal that a payment should not be settled right away. The only way to hold a payment was to insert the magic UnknownPreimage value in the invoice database. This commit introduces a distinct flag to signal that an invoice is a hold invoice and thereby allows the preimage to be present in the database already. Preparation for (key send) hodl invoices for which we already know the preimage. |
||
---|---|---|
.. | ||
anchor_resolver.go | ||
briefcase_test.go | ||
briefcase.go | ||
chain_arbitrator_test.go | ||
chain_arbitrator.go | ||
chain_watcher_test.go | ||
chain_watcher.go | ||
channel_arbitrator_test.go | ||
channel_arbitrator.go | ||
commit_sweep_resolver_test.go | ||
commit_sweep_resolver.go | ||
contract_resolvers.go | ||
htlc_incoming_contest_resolver.go | ||
htlc_incoming_resolver_test.go | ||
htlc_outgoing_contest_resolver_test.go | ||
htlc_outgoing_contest_resolver.go | ||
htlc_success_resolver.go | ||
htlc_timeout_resolver_test.go | ||
htlc_timeout_resolver.go | ||
interfaces.go | ||
log.go | ||
mock_registry_test.go | ||
utils_test.go |