mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
Since we're now storing the content of multiple previously distinct database files in etcd, we want to properly namespace them as not to provoke any key collisions. We append a sub namespace to the given global namespace in order to still support multiple lnd nodes using the same etcd database simultaneously. Because the btcwallet code uses the legacy walletdb interface we must assume it is not fully concurrency safe. Therefore we make sure only a single writer can be active at any given time for the wallet DB backend when using etcd. |
||
---|---|---|
.. | ||
etcd | ||
backend.go | ||
backend_js.go | ||
bolt_compact.go | ||
bolt_fixture.go | ||
bolt_test.go | ||
config.go | ||
debug.go | ||
etcd_test.go | ||
go.mod | ||
go.sum | ||
interface.go | ||
kvdb_etcd.go | ||
kvdb_no_etcd.go | ||
log.go | ||
nodebug.go | ||
readwrite_bucket_test.go | ||
readwrite_cursor_test.go | ||
readwrite_tx_test.go | ||
test.go |