lnd.xprv/channeldb/kvdb/etcd
Andras Banki-Horvath c3fcfd1530 etcd: add namespace support to separate key spaces
This commit extends etcd db with namespaces without additional storage
space requirements. This is simply done by instead of using an all zero
root bucket id, we use the sha256 hash of the name space as our root
bucket id.
2020-05-22 11:26:25 +02:00
..
bucket_test.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
bucket.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
db_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
db.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
driver_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
driver.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
embed.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
fixture_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_bucket_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_bucket.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
readwrite_cursor_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_cursor.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_tx_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_tx.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
stm_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
stm.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
walletdb_interface_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00