Skip to content

V2 Snapshots miss information about node features #100

@andrei-21

Description

@andrei-21

Regtest

In my regtest environment with two CLN nodes (and a channel) and RGS server I see that RGS server receives NodeAnnouncements with features:

NodeAnnouncement { signature: 304402200bb1fe36f31472181a2fd2732b5247fc296449e15976ccd91050f612eab2d073022055472b184bc9ddd83df85903088e2fc68efd08c326fbad38269dcdb4a339ed9e, contents: UnsignedNodeAnnouncement { features: [161, 89, 138, 10, 136, 160, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], timestamp: 1750251760, node_id: NodeId(0361984fe2a03cc594e97de423bf461096dd26a52e77feda68510377f360e430d4), rgb: [3, 97, 152], alias: NodeAlias([87, 69, 73, 82, 68, 70, 69, 69, 68, 45, 52, 50, 55, 99, 52, 99, 53, 45, 109, 111, 100, 100, 101, 100, 0, 0, 0, 0, 0, 0, 0, 0]), addresses: [], excess_address_data: [], excess_data: [] } }

The postgres db also has it:

 id | socket_addresses |                                                                                            features                                                                                            
----+------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1 | \x0000           | \x005c0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088a0880a8a59a1
  2 | \x0000           | \x000788a0880a8a59a1
  3 | \x0000           | \x005c0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088a0880a8a59a1
  4 | \x0000           | \x000788a0880a8a59a1
  5 | \x0000           | \x005c0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088a0880a8a59a1
  6 | \x0000           | \x000788a0880a8a59a1
(6 rows)

During serialization I see that serialization_set.node_mutations is always empty.
Resulting snapshots do not have any nodes with announcement info.

Mainnet

Snapshot from https://rapidsync.lightningdevkit.org/snapshot/v2/0 as of June 18 14:27 UTC does not have any nodes with announcement info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions