mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
This commit updates the DeleteCommittedUpdate DB method to delete all of a given session's committed updates instead of just one at a time. The reason for this is that in an upcoming commit, we will introduce a "Terminal" session state - once we have deleted a committed update for a session it should be considered "Terminal" and there is never a case where we would only want to delete one committed update and not the rest. So we want these two actions (deleting committed updates of a session and setting it's status to terminal) to be atomic. |
||
---|---|---|
.. | ||
blob | ||
lookout | ||
wtclient | ||
wtdb | ||
wtmock | ||
wtpolicy | ||
wtserver | ||
wtwire | ||
conf.go | ||
config.go | ||
errors.go | ||
interface.go | ||
log.go | ||
standalone.go | ||
tlv_bench_test.go |