mirror of
https://github.com/vacp2p/dst-libp2p-test-node.git
synced 2026-08-30 22:31:08 +00:00
quic closes a connection after 30s of silence and there is nothing to gossip about before the first message, so an idle cold start dropped every connection outside the mesh. Ping now covers every connection at 20s, under the timeout, and stops once messages arrive because gossip reaches each peer every few seconds by then.
16 lines
514 B
Nim
16 lines
514 B
Nim
mode = ScriptMode.Verbose
|
|
|
|
bin = @["main"]
|
|
|
|
packageName = "test_node"
|
|
version = "0.1.0"
|
|
author = "Status Research & Development GmbH"
|
|
description = "A test node for gossipsub"
|
|
license = "MIT"
|
|
skipDirs = @[]
|
|
|
|
requires "nim >= 2.2.0",
|
|
"nimcrypto 0.6.4",
|
|
"https://github.com/vacp2p/nim-libp2p#d721f9cb13c36b844957556ac04fecade371b059", # release/v2.2.0
|
|
# The shadow image's tick-floor patch targets lsquic 0.5.4's layout.
|
|
"lsquic >= 0.5.4 & < 0.5.5" |