Repository navigation
v0.0.31 - log stratum wire submit timing
Diagnostics
v0.0.31 adds stratum wire-read timing to slow submit logs. A real Pearlhash mining.submit carries a large base64 plain proof, commonly hundreds of KB. Miner-reported "ping" can include the time to upload that JSON frame over the WAN, while the previous P2Pearl timing only started after the full line had already arrived.
Slow submit log lines now include:
read_ms: time from first byte of the stratum frame to newlinetotal_ms: server-side parse/handler/response time after the full frame arrivedwire_ms:read_ms + total_msframe_bytes: submitted frame size
This should tell us whether remaining 120-300 ms miner ping is server work or large proof upload/transport time. No consensus or payout behavior changes from v0.0.30.
Verification
python -m pytest -p no:xdist -q-> 139 passed- Windows
p2pearl.exe --version->p2pearl 0.0.31 - Windows
p2pearl.exe demopassed - Windows zip extract smoke ->
p2pearl 0.0.31 - Linux
p2pearl-linux-x86_64 --version->p2pearl 0.0.31 - Linux
p2pearl-linux-x86_64 demopassed
SHA-256
p2pearl.exe:3FC95E7E5927CEB07F4523EF9566D5F3398D1A7C1D179981D621C4C4D8E80716P2Pearl-v0.0.31-windows-x86_64.zip:55DF190FC891AF4DB35E54CD1F8764EEE0DB0C9C37996718F214B310C64E0AEAp2pearl-linux-x86_64:26CCA4E8E4715BB3623C3CD19F793781589D4FD00B161ABB9BD6DE60BB00BC51pearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028