lnd/kvdb
Andras Banki-Horvath 96caa6f242
etcd: remove assertion when creating bucket and value with the same key
This commit removes an assertion which is not needed because with etcd
we can safely create keys and values with the same key since they are
stored under different keys in the DB. This saves us one unnecessary Get
on every Put.
2021-07-16 16:06:32 +02:00
..
etcd etcd: remove assertion when creating bucket and value with the same key 2021-07-16 16:06:32 +02:00
backend.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
bolt_compact.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
bolt_fixture.go kvdb/test: add bolt test 2021-07-12 11:31:11 +02:00
bolt_test.go kvdb/test: add bolt test 2021-07-12 11:31:11 +02:00
config.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
debug.go etcd: remove assertion when creating bucket and value with the same key 2021-07-16 16:06:32 +02:00
etcd_test.go etcd: remove assertion when creating bucket and value with the same key 2021-07-16 16:06:32 +02:00
go.mod kvdb: add ForEachBucket implementation 2021-05-13 10:35:35 +02:00
go.sum kvdb/test: add bolt test 2021-07-12 11:31:11 +02:00
interface.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
kvdb_etcd.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
kvdb_no_etcd.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
log.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
nodebug.go etcd: remove assertion when creating bucket and value with the same key 2021-07-16 16:06:32 +02:00
readwrite_bucket_test.go kvdb/test: remove invalid operations 2021-07-12 11:31:07 +02:00
readwrite_cursor_test.go kvdb/test: fix cursor tests to match bbolt semantics 2021-07-12 11:31:09 +02:00
readwrite_tx_test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00
test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00