]> git.bitcoin.ninja Git - rust-lightning/commit
Add `KVStore` interface trait
authorElias Rohrer <dev@tnull.de>
Tue, 1 Aug 2023 08:24:53 +0000 (10:24 +0200)
committerElias Rohrer <dev@tnull.de>
Thu, 7 Sep 2023 20:49:21 +0000 (22:49 +0200)
commitd1405f38bc6d51fcb1ca14fb4c506f8b27a2e70f
treeed33b3fcb2bcaec7762213492a2eac5f04060139
parent073f0780f6b2d72de57e5bb5a7b690c0206fa40c
Add `KVStore` interface trait

We upstream the `KVStore` interface trait from LDK Node, which will
replace `KVStorePersister` in the coming commits.

Besides persistence, `KVStore` implementations will also offer to `list`
keys present in a given `namespace` and `read` the stored values.
lightning/src/util/persist.rs
pending_changelog/kvstore.txt [new file with mode: 0644]