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

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