mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
b70d1f8cfe
This commit unexports the SyncVerions PR, in favor of making it private and moving it into the .Open() method. With this change, callers no longer need worry about ensuring the database version is up to sync before usage, as it will happen automatically once the database is opened. This commit also unexports some additional variables within the package that don’t need be consumed by the public, and exports the DbVersionNumber attribute on the meta struct. Finally some minor formatting fixes have neen carried out to ensure the new code more closely matches the style of the rest of the codebase. |
||
---|---|---|
.. | ||
channel_test.go | ||
channel.go | ||
db_test.go | ||
db.go | ||
doc.go | ||
error.go | ||
fees.go | ||
invoice_test.go | ||
invoices.go | ||
log.go | ||
meta_test.go | ||
meta.go | ||
nodes_test.go | ||
nodes.go | ||
route.go |