cardano-node icon indicating copy to clipboard operation
cardano-node copied to clipboard

bench: passive P2P enabled, no ledger peers

Open deepfire opened this issue 3 years ago • 6 comments

@coot told us that this is enabled by just adding this to node config:

EnableP2P: True
TestEnableDevelopmentNetworkProtocols: True

..and then use a P2P topology with:

useLedgerAfterSlot: -1

deepfire avatar Jun 09 '22 14:06 deepfire

Sounds like we also need a different topology format:

Jul 17 18:34:25 explorer cardano-node-start[3837147]: cardano-node: FatalError {fatalErrorMessage = "Cardano.Node.Run.handleSimpleNodeP2P.readTopologyFile: Is your topology file formatted correctly? Expecting P2P Topology file format. The port and valency fields should be numerical. If you specified the correct topology file make sure that you correctly setup EnableP2P configuration flag. Error in $.LocalRoots.groups[0].localRoots: key \"accessPoints\" not found"}

deepfire avatar Jul 17 '22 18:07 deepfire

Turns out, systemd socket activation is preventing the node P2P code path from bind-ing.

deepfire avatar Aug 11 '22 05:08 deepfire

We're still stuck on systemd socket activation.

deepfire avatar Sep 13 '22 14:09 deepfire

update for wonders :wink:: we're not stuck anymore.

coot avatar Oct 28 '22 19:10 coot

@deepfire I think the status ought to be changed to In Progress, am I right?

coot avatar Oct 28 '22 19:10 coot

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

github-actions[bot] avatar Oct 10 '25 02:10 github-actions[bot]