lnd.xprv/channeldb/kvdb
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
..
etcd etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
backend.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
config.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
interface.go kvdb+channeldb: create ExtendedBackend interface to allow rich tx logic 2020-05-22 11:26:25 +02:00
kvdb_etcd.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
kvdb_no_etcd.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00