Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions graph/db/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ import (
var ErrChanGraphShuttingDown = fmt.Errorf("ChannelGraph shutting down")

// ChannelGraph is a layer above the graph's CRUD layer.
//
// NOTE: currently, this is purely a pass-through layer directly to the backing
// KVStore. Upcoming commits will move the graph cache out of the KVStore and
// into this layer so that the KVStore is only responsible for CRUD operations.
type ChannelGraph struct {
started atomic.Bool
stopped atomic.Bool
Expand Down
2 changes: 1 addition & 1 deletion graph/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type ChannelGraphSource interface {
// star-graph.
ForAllOutgoingChannels(ctx context.Context,
cb func(c *models.ChannelEdgeInfo,
e *models.ChannelEdgePolicy) error, reset func()) error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: introduced in previous commit

e *models.ChannelEdgePolicy) error, reset func()) error

// CurrentBlockHeight returns the block height from POV of the router
// subsystem.
Expand Down
Loading