Proposal “c2pool-daemonless-delivered“ (Active)Back

Title:Finish c2pool’s daemon-less Dash node, paid for delivered work
Owner:frstrtr
One-time payment: 252 DASH (10339 USD)
Completed payments: no payments occurred yet (1 month remaining)
Payment start/end: 2026-10-25 / 2026-12-05 (added on 2026-11-02)
Final voting deadline: in 1 month
Votes: 135 Yes / 6 No / 12 Abstain
Will be funded: No. This proposal needs additional 182 Yes votes to become funded.
Manually vote on this proposal (DashCore - Tools - Debugconsole):
gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes

Please login or create a new DashCentral account for comfortable one button voting!

Proposal description

   c2pool is a mining pool for Dash with no operator. It pays miners from the coinbase of the blocks they find, the way p2pool does, so nobody holds anyone else’s coins. It is a new node written from scratch in C++. It runs as one program, with no Dash Core behind it.

   The earlier proposal for this work, c2pool-daemonless-finalize (fa758340f1bd2391d17bb43667f76c5d9070d737b68e018e42ed75b09c6ba631, 2 x 125.5 DASH), reached the funding threshold only after the last superblock inside its window had passed (2558864, October 21). The next superblock, 2575480, falls after that proposal’s end date (November 4), so it will never be paid. The window was too short. That was my mistake.

   This proposal asks for 252 DASH, paid once at superblock 2575480. That is the 251 DASH of the unpaid proposal plus the 1 DASH collateral it burned. Most of the work is already done, and it can be checked on the chain.

   What you can check

  1. No dashd on the serving path. As of November 2, the daemon-less nodes have found 79 blocks since October 22, 78 of them already confirmed. Each one carries /P2Pool-DASH/c2pool/ in the coinbase: https://mnowatch.org/blocks/?search=c2pool.
  2. Our forked Dash P2Pool repository has been upgraded and is actively maintained, with nodes operating smoothly and generating blocks on the network. Each mined block includes the /P2Pool-Dash/ signature in the coinbase transaction, and you can verify the recent block generation at https://mnowatch.org/blocks/?search=P2Pool.
  3. Superblock coinbase without dashd. At superblock 2558864 a daemon-less node built its template from its own state and recorded it before the block arrived. The coinbase value matched the mined block to the duff, and so did every treasury output, the masternode payment and the masternode list root. Only the miner’s own payout differed.
  4. The same UTXO set as Dash Core. The node now keeps the full UTXO set. It was loaded at height 2,564,044 only after its MuHash matched two independent Dash Core nodes, and it has followed the chain block by block since.
  5. Cold start. A new node with an empty data directory rebuilds the masternode list from a compiled anchor in about a minute and starts handing out work.
  6. Dash P2P on its own. The node finds its own peers and listens on IPv6.
  7. In the Dash docs. docs.dash.org now lists c2pool, the C++ reimplementation, among the community forks of p2pool (dashpay/docs PR #587): https://docs.dash.org/en/stable/docs/user/mining/p2pool.html#community-forks. There are signed releases, v0.2.7 and v0.2.8.
  8. Current with Dash Core. Dash Core 23.1.9 was released on October 29, and its changes were ported into the node the next day (PR #2100). Dash Core 23.1.10 was released on November 2. I went through every source change in it. The node needs no change:
    • The governance fix changes how masternodes vote on superblock triggers. The c2pool node does not vote, and the rule that picks the winning trigger is unchanged.
    • The BLS fix hardens batch verification. The node verifies each ChainLock and InstantSend signature on its own, not in batches.
    • The DKG fixes apply to masternodes taking part in a quorum. The node only checks the final commitments mined in blocks, and their rules did not change.

   If you run a masternode, please upgrade to 23.1.10 before superblock 2575480 (around November 20). It fixes a bug that could keep a superblock from paying any proposal, this one included.


   Transactions injected into a running node

   The node accepts a signed transaction over its local control API and carries it in its own block template. The node holds no keys. Transactions are signed on an offline machine. No restart is needed for the injection itself; a one-time restart earlier installed the control-plane credential.

   Two examples, both with zero fee, which ordinary nodes will not relay:


   Also built, at no extra cost

  • An offline signer that builds and signs these transactions and signs messages, so keys never sit on a networked machine. It signed both transactions above and the ownership message for this page.
  • Miner alerts carried over the pool’s own P2P network, so a stopped rig is reported even where messaging services are blocked.
  • A v36 sharechain for Dash. Shares commit to the block’s transactions, so a found block is rebuilt in full.
  • Hardening. Line limits on stratum, local-only logs and control endpoints, and masked miner and peer addresses on public dashboards.


   What remains

  • Compact block reception.
  • Fourteen days of sustained daemon-less mining. That window completes on November 5. I will post each one here when it lands.

   If you abstained

You do not have to trust me. Three checks take a few minutes:

   If they hold, a yes vote pays for work that is already done.

   The ask

   252 DASH, once, to XdgF55wEHBRWwbuBniNYH4GvvaoYMgL84u. That is the pool’s own address. Every block the pool finds (~2800 transactions - mostly dust around 1 dashtoshi at this moment) already puts a small output there, so the work and the funding sit on one address you can check.

   The C++ engine is covered by an open-source grant. The treasury pays only for the Dash-specific part. The hardest part was independent Dash consensus.

   To vote yes:

gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes

Code: https://github.com/frstrtr/c2pool
Pools: https://dash.voidbind.com (Sharechain 1) https://dash.voidbind.com:8444 (Sharechain 2 - interop p2pool) 
Forum: https://www.dash.org/forum/threads/69511/


Show full description ...

Discussion: Should we fund this proposal?

Submit comment
 
1 point,15 hours ago
Delivered: compact block reception.

The last open item of this proposal, compact block reception (BIP 152), is merged into c2pool and running on one of the pool’s nodes.

When a new block is announced, the daemon-less node now asks for its compact form: the header plus a short id for each transaction. It rebuilds the block from transactions it already holds and asks only for the ones it is missing. The block arrives faster and in a fraction of the bytes, so the node moves its miners to the new block sooner. It also no longer depends on one large message getting through a poor network path.

First results on mainnet: all 248 of 248 new blocks arrived as compact blocks. 220 were rebuilt entirely from the node’s own mempool, the other 28 needed one short request for a few missing transactions, and none fell back to a full download.

How it was checked: against a real compact block from a Dash Core 24 node, in unit tests, and in three rounds of adversarial review. The rest of the pool’s nodes get it after this first node has run cleanly. It ships in c2pool v0.2.12.3: https://github.com/frstrtr/c2pool/releases/tag/v0.2.12.3

Both deliverables are now done: the fourteen days of daemon-less mining (finished November 5) and compact block reception.

Voting on c7b462b7 is open until about November 17.

gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes
Reply
1 point,3 days ago
Milestone: Dash Core 24 support shipped.

c2pool v0.2.11.1 is out: https://github.com/frstrtr/c2pool/releases/tag/v0.2.11.1

Dash Core 24.0.0 is a hard fork. A pool that runs dashd must upgrade dashd on every server before activation. A daemon-less c2pool node carries the v24 rules itself, so the upgrade is one ordinary node update.

What the release does:

- builds block templates with every transaction type the Dash Core 24 miner includes, with Dash Core’s own checks: masternode hard-fork signals, the new shared-masternode transactions (dissolve, share update, shared registrar update) and version-3 provider transactions;
- folds the masternode list under the v24 rules, so the coinbase commits the same masternode root as Dash Core;
- follows v24 activation from the chain itself on every network.
How it was checked: on mainnet, before the fork, a synced Dash Core 24.0.0 node accepted every template the daemon-less node produced, 122 of 122, through its block-proposal check. On testnet, where v24 is already active, the node has been compared with Dash Core 24 block by block.

The private pool’s three nodes were upgraded today, one at a time. Each was back serving its own work in about five minutes; miners kept getting work from the other nodes meanwhile.

The Python p2pool-dash is no longer maintained; all updates, including v24, ship in c2pool.

Voting on c7b462b7 is open until about November 17.

gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes
Reply
2 points,6 days ago
Some things I did not expect, from running the daemon-less pool since October 22.

The node is small. On one of the pool’s machines, the node’s whole state takes 330 MB on disk and 300 MB of memory: the full UTXO set, the headers, the masternode lists, the quorums, the credit pool and the share chain. The Dash Core node on the same machine, with the indexes that operator keeps, takes 111 GB and 1.5 GB. The node keeps no block history. It checks each block as it arrives and keeps only what it needs to build the next one.

Most of the disk the operator saw in use was the node’s own log, which nothing rotated. It rotates daily now.

The hard fork costs the pool nothing extra. Every pool server that runs dashd needs Dash Core 24 installed before the fork. The pool’s nodes have no dashd. The v24 rules go into the node and ship as an ordinary update, one node at a time, a few minutes each.

The pool holds no money. Miners are paid in the coinbase of each block.

Operators who host machines bill electricity from a monthly report of hours and hashrate per worker. The node already has the data. The export comes after v24.

Voting on c7b462b7 is open until about November 17.

gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes
Reply
2 points,7 days ago
Update, November 6

The fourteen days of daemon-less mining ended on November 5 at 23:51 UTC.

In those fourteen days the daemon-less nodes found 116 blocks. 115 are in the chain, all of them ChainLocked, and one was orphaned. Two more have been found since. Each one carries /P2Pool-DASH/c2pool/ in the coinbase: https://mnowatch.org/blocks/?search=c2pool

No dashd was on the serving path for any of them.

The pool page shows that pool: https://dash.voidbind.com. The hashrate, the miners and each block appear there as they are found. The older test node moved to https://dash.voidbind.com:8444.

Since the proposal went up:

- A transaction injected into a running node now leaves the node’s pool once it is mined. The node can also show its injection ledger and the best ChainLock it holds.
- Before a signed transaction is submitted, the node can check it against its own UTXO set, and it can scan that set for an address. The offline signer uses both to build consolidations.
- Dash Core 23.1.10 was released. Its changes concern masternode operators and DKG, so there was nothing for the node to port. (23.1.9 ported same day)
- The Windows build works again.

Dash Core 24.0.0 is a hard fork. It changes how masternodes are paid and adds new provider transaction formats. It can activate at block 2,580,480 at the earliest, around November 28. The port into the node is under way. The new provider transaction formats, the version 4 coinbase payload and the activation tracking are written and checked against testnet blocks, where v24 is already active. The masternode list and payment changes are next. I will run the port on the production nodes before activation.

One item from the proposal remains: compact block reception. We will post here when it lands.

Voting on c7b462b7 is open until about November 17.

gobject vote-many c7b462b7c8d81df10ce34ebd4436afd715f288c25a7c949835f889015248b247 funding yes
Reply
3 points,10 days ago
Voting YES, thanks !
Reply
2 points,10 days ago
c2pool nodes can now accept non-standard Dash transactions at runtime and include them in the next block they generate. With all nodes combined currently producing about 20 blocks per day, any submitted transaction should get into a block fairly quickly. Let me know if you have a transaction that needs to be included, or if there is demand for it, I can add a proposal interface to the node software so anyone can submit transactions to miners directly.
Reply