Commit Graph

2 Commits

Author SHA1 Message Date
Matt Hess 5ab43ff6d9 When Salvium yield/audit payouts mature, the daemon expects a non-empty
protocol_tx in submitted blocks. P2pool previously hardcoded an empty
   protocol_tx (0 outputs), causing block rejections with "Invalid number
   of outputs in protocol_tx".

   Now fetches the daemon's blocktemplate_blob via getblocktemplate RPC,
   parses out the real protocol_tx bytes, and uses them in the block
   template. Falls back to the empty protocol_tx when the RPC hasn't
   returned yet (correct for blocks with no payouts due).
2026-02-02 19:10:38 +00:00
Matt Hess a5ee896215 Fix Carrot v1 onetime address computation 2025-11-27 05:41:17 +00:00