mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
60946e4ddc
This commit adds a new method to the `OpenChannel` struct: CommitmentHeight(). This method allows multiple callers holding the same instance of an OpenChannel struct tied to the same on-disk channel to consistently query the current commitment height for a channel. Such a modification will prove useful later as sections of the code-base are separated in order to allow more vigilant watching of channel breaches. |
||
---|---|---|
.. | ||
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 |