You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waits on #20 and #21. elo dials the one IP literal that the command line names (parse in src/main.rs). A hostname is bad usage, and elo cannot find a peer by itself.
Today a person picks the peer. A peer from a seed is a stranger, and elo checks only that each header is on the one before it. So a stranger could choose elo's chain and fill its memory.
Core v31.1 has these sources:
DNS seeds. Each network has a list (kernel/chainparams.cpp:144-151, :384-385, :444-445). Core asks x<services>.<seed> and takes at most 32 IPs from each seed (net.cpp:2372-2382).
Fixed seeds. A list in the binary, used when no other source gave an address for 60 s (net.cpp:2631, :2646).
Activity
fix: refuse a name that the resolver reads as an IPv4 address, and mo…
refactor: make each address that elo dials name a peer by its type, w…
refactor: give each dial at least one address by its type, with `Addr…
fix: try each address of a lookup one time in a dial (#44)
fix: give the destination of an `end` line its own key, so `peer` is …
feat: take a name as the peer, look it up before each dial, and dial …
fix: end a seed dial at a timeout of its first lookup, and check the …
refactor: make the cap of `dial_order` a const parameter, so the comp…
feat: name the host of a lookup that timed out, so the `end` line of …
refactor: choose a seed with `std::cmp::min` on its hash, so no compa…
feat: with no peer, dial a seed of the network at random, and only it…
lorenzolfm commentedon Nov 14, 2026
Status after #89 and #90.
Done:
elo mainnet,testnet4andsignetdial a seed of the network at random. elo looks upx9.<seed>, then the bare seed, and keeps only routable answers, at most 32 (feat: with no peer, dial a seed of the network at random, and only its answers that the internet routes to (#44) #90).elo regtestwith no peer is bad usage.Open:
Proposal: close #44, and move the trust question into #67. File fixed seeds as a new issue only if we want the list. Do you agree?