djkazic 1542424782 invoices: if there are no invoices make gc noop vor 1 Monat
..
migration 619c8f4eb8 multi: repleace ioutil.ReadAll vor 1 Monat
migration12 14c851c8fc kvdb: move channeldb/kvdb to top level vor 3 Jahren
migration13 14c851c8fc kvdb: move channeldb/kvdb to top level vor 3 Jahren
migration16 14c851c8fc kvdb: move channeldb/kvdb to top level vor 3 Jahren
migration20 14c851c8fc kvdb: move channeldb/kvdb to top level vor 3 Jahren
migration21 648fb22f63 multi: wrap all errors vor 1 Monat
migration23 895a2e497b multi: formatting and comment fixes vor 2 Jahren
migration24 8b289e79f5 channeldb+migration: export commonly used methods vor 2 Jahren
migration25 648fb22f63 multi: wrap all errors vor 1 Monat
migration26 cd566eb097 multi: fix fmt.Errorf error wrapping vor 3 Monaten
migration27 648fb22f63 multi: wrap all errors vor 1 Monat
migration29 c9f5912601 channeldb: BigSize migration, store zero-conf, scid-alias bits vor 1 Jahr
migration30 648fb22f63 multi: wrap all errors vor 1 Monat
migration31 87fc58ecfe multi: Add a channel.db migration. vor 9 Monaten
migration_01_to_11 648fb22f63 multi: wrap all errors vor 1 Monat
migtest 70e3f8f511 multi: pass in a MigrationConfig to all optional migrations vor 1 Jahr
models e8c97deaef htlcswitch: add receiver-side inbound fee support vor 2 Monaten
README.md 0b1e881d18 scripted-diff: replace ⛰ emoji with $ [skip ci] vor 1 Jahr
addr.go 6a3e1423d2 channeldb/addr: sanity check onion address length before writing to db vor 5 Jahren
addr_test.go 8af2473644 channeldb/addr_test: add tests for invalid onion addresses vor 5 Jahren
channel.go f090a64142 multi: add blinding point to payment descriptor and persist vor 2 Monaten
channel_cache.go b20a254faa channeldb/channel_cache: add channelCache w/ randomized eviction vor 5 Jahren
channel_cache_test.go 84cdcd6847 multi: move DB schemas to channeldb/models vor 6 Monaten
channel_test.go f090a64142 multi: add blinding point to payment descriptor and persist vor 2 Monaten
codec.go 648fb22f63 multi: wrap all errors vor 1 Monat
db.go 648fb22f63 multi: wrap all errors vor 1 Monat
db_test.go db39a905cb multi: make NewChanIDFromOutpoint accept value instead of pointer vor 2 Monaten
duplicate_payments.go 21cecc40e1 channeldb: return error when payment is not found in duplicate payments vor 7 Monaten
error.go 0193274c10 multi: return error from MarkEdgeLive if not found vor 6 Monaten
forwarding_log.go 530a2059e5 multi: Fix typos [skip ci] vor 2 Jahren
forwarding_log_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr
forwarding_package.go 3d50edf9f8 channeldb: add method to wipe all forwarding packages vor 2 Jahren
forwarding_package_test.go fe8784aa0c channeldb: fix race in TestPackager by removing global test var vor 1 Monat
forwarding_policy.go 59b5fb1565 channeldb+funding: move policy encoding into channel DB vor 9 Monaten
graph.go 120d6dd297 channeldb: explicitly catch error in pruneGraphNodes vor 1 Monat
graph_cache.go 0bae781785 routing: add inbound fee support to pathfinding vor 2 Monaten
graph_cache_test.go 0bae781785 routing: add inbound fee support to pathfinding vor 2 Monaten
graph_test.go 0bae781785 routing: add inbound fee support to pathfinding vor 2 Monaten
height_hint.go c602ac07e7 chainntnfs: move cache implementation to channeldb vor 1 Jahr
height_hint_test.go c602ac07e7 chainntnfs: move cache implementation to channeldb vor 1 Jahr
invoice_test.go 5e746b4d2c invoices: move InvoiceDB tests unrelated to kvdb to invoices package vor 3 Monaten
invoices.go 1542424782 invoices: if there are no invoices make gc noop vor 1 Monat
legacy_serialization.go 9ea3f55694 multi: update "funding locked" comments vor 1 Jahr
log.go 87fc58ecfe multi: Add a channel.db migration. vor 9 Monaten
meta.go 7e76326b97 channeldb: export DB migration related functions vor 1 Jahr
meta_test.go 70e3f8f511 multi: pass in a MigrationConfig to all optional migrations vor 1 Jahr
mp_payment.go da8f1c084a channeldb+routing: add new interface method `TerminalInfo` vor 6 Monaten
mp_payment_test.go e8c0226e1c routing: add `AllowMoreAttempts` to decide whether more attempts are allowed vor 6 Monaten
nodes.go 0735522194 multi: fix `make fmt` vor 1 Jahr
nodes_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr
options.go 0730337cc7 multi: add new NoRevLogAmtData config option vor 1 Jahr
options_test.go 895a2e497b multi: formatting and comment fixes vor 2 Jahren
paginate.go 895a2e497b multi: formatting and comment fixes vor 2 Jahren
payment_control.go 648fb22f63 multi: wrap all errors vor 1 Monat
payment_control_test.go 0609431a0c channeldb: fix payment control unit tests w/ errors.Is vor 1 Monat
payment_status.go 390f3c8253 channeldb: expand PaymentStatus to explicitly represent payment status vor 7 Monaten
payment_status_test.go fac6044501 channeldb: add unit test for `decidePaymentStatus` vor 7 Monaten
payments.go 648fb22f63 multi: wrap all errors vor 1 Monat
payments_test.go 605211823d multi: fix timestamp filters for payment query vor 3 Monaten
peers.go 14c851c8fc kvdb: move channeldb/kvdb to top level vor 3 Jahren
peers_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr
reject_cache.go af0ea3590b channeldb/reject_cache: add rejectCache w/ randomized eviction vor 5 Jahren
reject_cache_test.go af0ea3590b channeldb/reject_cache: add rejectCache w/ randomized eviction vor 5 Jahren
reports.go 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules vor 2 Jahren
reports_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr
revocation_log.go 2c786ec66f channeldb: add local and remote balance to revocation log vor 1 Jahr
revocation_log_test.go 2c786ec66f channeldb: add local and remote balance to revocation log vor 1 Jahr
setup_test.go d997bbf6b3 channeldb/test: test with postgres vor 2 Jahren
waitingproof.go dfdc2bff8b multi: run gosimports vor 2 Jahren
waitingproof_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr
witness_cache.go 0735522194 multi: fix `make fmt` vor 1 Jahr
witness_cache_test.go c70e39cd21 multi: replace defer cleanup with `t.Cleanup` vor 1 Jahr

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