mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
3354685292
This commit adds a new method ‘FullSyncWithAddr’ which is identical to the existing ‘FullSync’ method other than it also creates an association from the channel to a LinkNode object within the database. This new method is required in order to create persistent links between channels and link nodes which will later allow the development of heuristics which decided when it “makes sense” to close a channel due to inactivity. Additionally, this new association will allow for a sub-system within the daemon to attempt to establish persistent connections out to all LinkNodes in order to strive for channel availability. |
||
---|---|---|
.. | ||
channel_test.go | ||
channel.go | ||
db_test.go | ||
db.go | ||
doc.go | ||
error.go | ||
fees.go | ||
invoice_test.go | ||
invoices.go | ||
log.go | ||
nodes_test.go | ||
nodes.go | ||
route.go |