Mainnet node runs but height stays at 0. Nodes cannot connect — getting invalid-frame and peer-banned errors. P2P handshake is broken. Nobody can earn rewards until this is fixed. Please push a fix.
I’ve pushed a networking fix that addresses the invalid-frame / peer-banned issues some of you were seeing on mainnet.
This was not a consensus problem — it was related to P2P framing diagnostics and overly aggressive banning when nodes were accidentally connecting to the wrong port (for example, dialing the lightserver HTTP port instead of the P2P port).
What was improved:
- Better frame diagnostics (clearly identifies HTTP / TLS / cross-network magic mismatch).
Softer invalid-frame handling (no immediate hard ban on first bad frame).
Clearer logs if you are dialing the wrong port (19444 instead of 19440).
Seed preflight checks to avoid common misconfigurations.
Please update and rebuild:
git pull
cmake -S . -B build
cmake --build build -j4
than run:
./build/selfcoin-node --mainnet
If you still see issues, please paste one full frame-parse-fail log line (including the class=... field and endpoint). That line now contains enough information to diagnose the exact cause immediately.
Thanks for the reports — this helped harden the network layer properly.