channeldb: add new Database method to ChannelGraph
This commit is contained in:
parent
eb7b5b342e
commit
5eb3406b19
@ -115,6 +115,11 @@ type ChannelGraph struct {
|
||||
// * LRU cache for edges?
|
||||
}
|
||||
|
||||
// Database returns a pointer to the underlying database.
|
||||
func (c *ChannelGraph) Database() *DB {
|
||||
return c.db
|
||||
}
|
||||
|
||||
// addressType specifies the network protocol and version that should be used
|
||||
// when connecting to a node at a particular address.
|
||||
type addressType uint8
|
||||
|
Loading…
Reference in New Issue
Block a user