lnd/channeldb
2018-08-21 00:30:26 -07:00
..
addr_test.go multi: fix linting errors 2018-08-02 18:20:50 -07:00
addr.go channledb/addr: remove silent encoding failure for unknown types 2018-07-03 17:07:10 -07:00
channel_test.go channeldb: extend TestFetchClosedChannels to populate local chan cfg properly 2018-08-14 19:11:41 -07:00
channel.go channeldb/channel: expose AckAddHtlc and AckSettleFail 2018-08-21 00:30:26 -07:00
codec.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
db_test.go
db.go Merge pull request #1660 from lightningnetwork/fetch-allll-channels 2018-08-09 20:59:28 -07:00
doc.go
error.go channeldb/error: adds ErrDBReversion error 2018-08-02 16:45:03 -07:00
fees.go
forwarding_log_test.go
forwarding_log.go channeldb/forwarding_log: use public Read/WriteElements 2018-07-03 17:07:09 -07:00
forwarding_package_test.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
forwarding_package.go channeldb/forwarding_package: loosen Add/SettleFailRef acking 2018-08-21 00:30:23 -07:00
graph_test.go channeldb: add new TestNodePruningUpdateIndexDeletion test 2018-08-16 18:20:58 -07:00
graph.go channeldb: ensure that we remove update index entries for nodes upon deletion 2018-08-16 18:22:55 -07:00
invoice_test.go channeldb: add new test for duplicate invoice settles 2018-07-17 16:27:04 -07:00
invoices.go channeldb: ensure that we return an invoice on duplicate settles 2018-07-17 16:28:08 -07:00
log.go
meta_test.go channeldb/meta_test: adds TestMigrationReversion 2018-08-02 18:18:49 -07:00
meta.go
migrations.go channeldb: store unknown policies in database 2018-08-09 20:23:40 -07:00
nodes_test.go channeldb: add DeleteLinkNode method 2018-07-17 17:35:25 -07:00
nodes.go multi: fix linting errors 2018-08-02 18:20:50 -07:00
payments_test.go
payments.go lntest: ensure we always cancel active streaming notifications 2018-07-06 12:21:54 -07:00
README.md
waitingproof_test.go
waitingproof.go
witness_cache_test.go
witness_cache.go

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