lnd.xprv/channeldb/kvdb
Andras Banki-Horvath 5346ed8a5c
kvdb+etcd: assert on bucket/value key when putting value/bucket
This commit extends compatibility with the bbolt kvdb implementation,
which returns ErrIncompatibleValue in case of a bucket/value key
collision. Furthermore the commit also adds an extra precondition to the
transaction when a key doesn't exist. This is needed as we fix reads to
a snapshot revision and other writers may commit the key otherwise.
2020-08-01 00:29:01 +02:00
..
etcd kvdb+etcd: assert on bucket/value key when putting value/bucket 2020-08-01 00:29:01 +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 multi: rename ReadCursor to RCursor 2020-05-26 18:21:08 -07:00
kvdb_etcd.go lnd+kvdb: pass LND abort context to etcd 2020-06-03 17:44:44 +02:00
kvdb_no_etcd.go lnd+kvdb: pass LND abort context to etcd 2020-06-03 17:44:44 +02:00