lnd/graph
Elle Mouton 971c0f6eb8
graph/db: add version parameter to IsPublicNode
Make IsPublicNode version-aware by routing to the appropriate SQL
query based on gossip version. V1 and v2 have different criteria for
determining node publicity (v1 requires four signatures, v2 requires
one). Convert TestNodeIsPublic to versioned test for both protocols.
2026-02-13 07:21:23 +02:00
..
db graph/db: add version parameter to IsPublicNode 2026-02-13 07:21:23 +02:00
testdata refactor: move various duties from ChannelRouter to graph.Builder 2024-07-15 15:56:33 +02:00
builder.go graph/db: add version parameter to IsPublicNode 2026-02-13 07:21:23 +02:00
builder_test.go multi: add and use V1 constructor for models.ChannelEdgeInfo 2026-02-13 07:21:22 +02:00
errors.go multi: use the "errors" package everywhere 2025-06-30 09:46:55 +02:00
interfaces.go graph: remove DB interface 2025-11-12 22:54:05 +08:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
notifications_test.go multi: add and use V1 constructor for models.ChannelEdgeInfo 2026-02-13 07:21:22 +02:00
setup_test.go refactor: move various duties from ChannelRouter to graph.Builder 2024-07-15 15:56:33 +02:00
stats.go graph: rename routerStats to builderStats 2025-02-07 13:01:39 +02:00