lnd/channeldb
Eng Zer Jun c70e39cd21
multi: replace defer cleanup with t.Cleanup
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:46:54 +08:00
..
migration multi: fix make fmt 2022-08-23 22:10:24 +08:00
migration12
migration13
migration16
migration20
migration21
migration23
migration24
migration25 multi: fix make fmt 2022-08-23 22:10:24 +08:00
migration26 multi: fix make fmt 2022-08-23 22:10:24 +08:00
migration27 multi: fix make fmt 2022-08-23 22:10:24 +08:00
migration29
migration30 channeldb: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
migration_01_to_11 channeldb: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
migtest channeldb: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
addr_test.go
addr.go
channel_cache_test.go
channel_cache.go
channel_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
channel.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
codec.go
db_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
db.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
duplicate_payments.go
error.go
forwarding_log_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
forwarding_log.go
forwarding_package_test.go channeldb: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
forwarding_package.go
graph_cache_test.go
graph_cache.go
graph_test.go channeldb: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
graph.go
invoice_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
invoices.go
legacy_serialization.go
log.go
meta_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
meta.go channeldb: export DB migration related functions 2022-10-13 09:45:07 +02:00
mp_payment_test.go
mp_payment.go
nodes_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
nodes.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
options_test.go
options.go
paginate.go
payment_control_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
payment_control.go
payments_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
payments.go
peers_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
peers.go
README.md
reject_cache_test.go
reject_cache.go
reports_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
reports.go
revocation_log_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
revocation_log.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
setup_test.go
waitingproof_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
waitingproof.go
witness_cache_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
witness_cache.go multi: fix make fmt 2022-08-23 22:10:24 +08:00

channeldb

Build Status MIT licensed GoDoc

The channeldb implements the persistent storage engine for lnd and generically a data storage layer for the required state within the Lightning Network. The backing storage engine is boltdb, an embedded pure-go key-value store based off of LMDB.

The package implements an object-oriented storage model with queries and mutations flowing through a particular object instance rather than the database itself. The storage implemented by the objects includes: open channels, past commitment revocation states, the channel graph which includes authenticated node and channel announcements, outgoing payments, and invoices

Installation and Updating

⛰  go get -u github.com/lightningnetwork/lnd/channeldb