lnd version, "hacked" to enable seedless restore from xprv + scb
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Andras Banki-Horvath f33b5a4057
payments: allocate payment sequences in blocks
3 years ago
..
migration kvdb: move channeldb/kvdb to top level 3 years ago
migration12 kvdb: move channeldb/kvdb to top level 3 years ago
migration13 kvdb: move channeldb/kvdb to top level 3 years ago
migration16 kvdb: move channeldb/kvdb to top level 3 years ago
migration20 kvdb: move channeldb/kvdb to top level 3 years ago
migration21 kvdb: move channeldb/kvdb to top level 3 years ago
migration_01_to_11 kvdb: move channeldb/kvdb to top level 3 years ago
migtest kvdb: move channeldb/kvdb to top level 3 years ago
README.md multi: unify code blocks in READMEs 3 years ago
addr.go channeldb/addr: sanity check onion address length before writing to db 5 years ago
addr_test.go channeldb/addr_test: add tests for invalid onion addresses 5 years ago
channel.go Merge pull request #5245 from bhandras/kvdb_module 3 years ago
channel_cache.go channeldb/channel_cache: add channelCache w/ randomized eviction 5 years ago
channel_cache_test.go channeldb/channel_cache: add channelCache w/ randomized eviction 5 years ago
channel_test.go kvdb: move channeldb/kvdb to top level 3 years ago
codec.go channeldb+htlcswitch: write wire messages using length prefix 3 years ago
db.go kvdb: move channeldb/kvdb to top level 3 years ago
db_test.go kvdb: move channeldb/kvdb to top level 3 years ago
doc.go channeldb: create new channeldb package, update lnwallet to use new API 8 years ago
duplicate_payments.go channeldb: read raw htlc attempt session key 3 years ago
error.go channeldb+invoices: use payment addr as primary index 4 years ago
fees.go channeldb: create new channeldb package, update lnwallet to use new API 8 years ago
forwarding_log.go kvdb: move channeldb/kvdb to top level 3 years ago
forwarding_log_test.go channeldb: fix for Windows clock resolution 4 years ago
forwarding_package.go kvdb: move channeldb/kvdb to top level 3 years ago
forwarding_package_test.go kvdb: move channeldb/kvdb to top level 3 years ago
graph.go kvdb: move channeldb/kvdb to top level 3 years ago
graph_test.go kvdb: move channeldb/kvdb to top level 3 years ago
invoice_test.go channeldb+invoice: add state filter to HTLCSet 3 years ago
invoices.go Merge pull request #5245 from bhandras/kvdb_module 3 years ago
legacy_serialization.go Revert "channeldb: remove unsupported migrations" 5 years ago
log.go kvdb: move channeldb/kvdb to top level 3 years ago
meta.go kvdb: move channeldb/kvdb to top level 3 years ago
meta_test.go kvdb: move channeldb/kvdb to top level 3 years ago
mp_payment.go channeldb: cache htlc attempt session key 3 years ago
mp_payment_test.go channeldb: read raw htlc attempt session key 3 years ago
nodes.go kvdb: move channeldb/kvdb to top level 3 years ago
nodes_test.go channeldb: move makeTestDB out of test to make it available for other tests 4 years ago
options.go kvdb: move channeldb/kvdb to top level 3 years ago
options_test.go kvdb: move channeldb/kvdb to top level 3 years ago
paginate.go kvdb: move channeldb/kvdb to top level 3 years ago
payment_control.go payments: allocate payment sequences in blocks 3 years ago
payment_control_test.go channeldb: read raw htlc attempt session key 3 years ago
payments.go multi: unexport session key and add constructor for htlc attempt info 3 years ago
payments_test.go channeldb: cache htlc attempt session key 3 years ago
peers.go kvdb: move channeldb/kvdb to top level 3 years ago
peers_test.go multi: store peer flap rate on disk on best effort basis 4 years ago
reject_cache.go channeldb/reject_cache: add rejectCache w/ randomized eviction 5 years ago
reject_cache_test.go channeldb/reject_cache: add rejectCache w/ randomized eviction 5 years ago
reports.go kvdb: move channeldb/kvdb to top level 3 years ago
reports_test.go kvdb: move channeldb/kvdb to top level 3 years ago
waitingproof.go kvdb: move channeldb/kvdb to top level 3 years ago
waitingproof_test.go lnwire: prep wire messages for TLV extensions 3 years ago
witness_cache.go kvdb: move channeldb/kvdb to top level 3 years ago
witness_cache_test.go channeldb: move makeTestDB out of test to make it available for other tests 4 years ago

README.md

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