sqldb+graph/db: source nodes table, queries and CRUD

In this commit, we add the `source_nodes` table. It points to entries in
the `nodes` table. This table will store one entry per protocol version
that we are announcing a node_announcement on.

With this commit, we can run the TestSourceNode unit test against our
SQL backends.
This commit is contained in:
Elle Mouton committed 2025-05-27 18:36:59 +02:00
1 parent 86d48390ca
commit 0064d33cda
8 files changed
+184 -5

No files matched your search

+4
View File
@@ -130,3 +130,7 @@ type NodeFeature struct {
NodeID int64
FeatureBit int32
}
type SourceNode struct {
NodeID int64
}