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

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