Skip to content

win.33 - Phase 2 dial-back verification + Phase 3 payout pipeline + peerId fix

Choose a tag to compare

@chopperbriano chopperbriano released this 12 Apr 15:59

Phase 2 verified working (413/413 probes passed overnight) + Phase 3 payout pipeline ready

Phase 2: dial-back verification

New PoolVerifier background thread probes each registered node every 60 seconds via IPFS swarm/connect. Nodes that pass are marked verified; nodes with 3+ consecutive failures are excluded from /nodes.json and from payouts.

Ran overnight on a real Windows box with one client: 413 out of 413 probes succeeded (100% pass rate). The self-detection feature auto-verifies when the pool server and client are on the same machine (NAT hairpinning workaround).

Phase 3: operator-approved payout pipeline (code complete)

  • [P] Payout Preview: shows verified node count, pool budget, per-node share, and each eligible payout address. Read-only, safe to press anytime.
  • [E] Execute Payout: shows preview then requires explicit Y keypress. Calls sendtoaddress on the local DigiByte Core wallet via JSON-RPC for each eligible node. Logs txid/error per node, records in payouts_ledger table. Dashboard shows real paid-total from the ledger.
  • Guards: refuses to execute if poolpayouts=0, poolspendperperiod missing/zero, zero verified nodes, or rpcuser not configured. Each guard prints a clear reason.
  • New pool.cfg keys: rpcuser, rpcpassword, rpcport (wallet RPC), poolspendperperiod (DGB per payout cycle)

PeerId bug fix

IPFS::getPeerId now filters the /id response addresses by the local node's own ID field. Previously could return a DigitalOcean bootstrap node's address as "ours". Confirmed fixed: log now shows the real 12D3KooW... peerId.

UI polish

  • [H] help sub-menus: press H for a 3-line topic index, then 1-6 for detail sections that fit on one screen
  • Pool dashboard aligned columns: same cell() fixed-width helper as the main exe
  • Pool header matches main exe format: DigiAsset Pool Server for Windows v0.3.0-win.33
  • Dynamic log area: fills terminal height, no blank gap
  • Uptime format matches: N sec / N min / N.N hours / N.N days
  • Phase 3 keys dimmed in key-hints bar since payouts default off

Files

  • DigiAssetCore-0.3.0-win.33-x64.zip — all three exes
  • DigiAssetCore.exe — main client
  • DigiAssetCore-cli.exe — JSON-RPC CLI
  • DigiAssetPoolServer.exe — pool server (Phase 1 + 2 + 3)