mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-18 00:41:05 +02:00
This commit adds to new functions to the ChannelGraph struct which allow the callers to query for the existence or non-existence of a vertex (node) or edge (channel) within the graph. In addition to returning whether the edge exists, the functions will also return the last time the state has been modified for the edge or vertex. This will allow callers to ensure that only the most up to date state is committed to disk.