First exchange listing: the NonKYC campaign needs 100 backers by 2027-02-04, and $5 counts as one. Pledges are donations, refunded if the listing does not happen. Back the campaign →

Bitflash Download

A pool that outlives everyone, written on the chain.

Everpool

Everpool pools are P2Pool pools recorded on the Bitflash chain. Anyone can create one by burning 1 BTF. Nobody can edit, delete or shut one down, its creator and the developers included. Open on mainnet from release 1.2.36.

Try to shut it down.

A pool is a record on the chain and a share chain kept by whoever mines it. Every block the pool finds pays its miners from the coinbase, and each day a draw names guardians to keep a copy. Take something away.

A map of one Everpool pool The chain holds the pool's record and a block the pool found. The creator is a node with no role. Four miners, eight guardians for today and a carrier hold the pool's share chain; eight guardians for tomorrow wait for the handoff. the chain record paid creator miners share chain today's guardians tomorrow's guardians carrier new node

holds a copy of the pool's line of shares

The creator leaves

  1. The creator's node shuts down for good.
  2. Nothing waits for it. After the burn a creator has no key, no server and no vote: the pool is its record and the line its miners keep.
  3. The miners keep going. The next block pays their window from its coinbase, and the creator's fee goes to the address fixed in the record.

Proved on testnet: block 26153, found after the creator of pool phasedB shut down for good, paid the window it had mined and its fee, to the satoshi.

Every miner leaves

  1. Every miner stops. No new shares come in, and the pool goes quiet.
  2. Today's guardians still hold the line. A draw from block hashes named them for this pool, and a pool nobody mines sleeps with them.
  3. The day changes. Tomorrow's guardians pull the line from today's, and the old set lets go six hours later.
  4. A new miner starts with an empty folder, fetches the line from a guardian, and its first block pays the old window.

Proved on testnet: new guardians pulled a dormant line in 100 to 182 seconds each, and blocks 25817 and 30449 were found by nodes that started with no pool files.

Both guardian sets go

  1. Nobody mines the pool, and the day changes: tomorrow's guardians pull the line from today's.
  2. In the middle of that handoff, every guardian of both sets stops at once. One node still has the line: a carrier, which keeps a pool it chose with -poolcarry.
  3. A new node with an empty folder asks its peers who carries the pool, reaches the carrier and fetches the whole line.
  4. It mines, and its first block pays the old window to the satoshi, creator fee included.

Proved on testnet: all 21 guardians of both sets stopped at height 30937. A new node asked with poolwho, got the 1508-share line from the carrier, and block 30939 paid the old window.

Only the record is left

  1. Every node that holds the line stops, and every copy of it is deleted.
  2. The record is still on the chain, where nobody can edit or delete it: same id, same rules, same fee.
  3. A new miner finds no one to ask, and starts the line again from a first share, under the same id.
  4. It finds a block. Only the unpaid part of the old window is lost.

Proved on testnet: every copy of pool phasedA's line was deleted on both machines, and a new node restarted it from the record and found block 26050.

Choose a pool, mine it, or make one.

Check the fingerprint and the fee before you mine a pool, never only its name. Anyone can create a pool with any name, “bitflash” included. The fingerprint is the first 8 hex digits of the pool's id: ask for it where the pool is announced, and compare. A creator's fee is at most 3%, and fixed for good.

On Windows: Everpool.cmd

It sits beside Bitflash.exe in the Windows zip. Double-click it. It starts Bitflash with its RPC on 127.0.0.1 only, so nothing leaves your computer. If your wallet is encrypted, unlock it in Bitflash before creating a pool.

choicewhat it does
1. Open Bitflashopens the wallet so the helper can talk to it
2. List poolsevery pool on the chain: name, fingerprint, fee, status, blocks found lately
3. Show a pooleverything about one pool
4. Mine a poolchooses the pool; restart Bitflash from the menu, then run the Bitflash Miner
5. Create a poolasks the name and your fee, shows a review, and burns 1 BTF only after you type YES
6. Stop P2Pool miningBitflash opens as usual again

The wallet's own Everpool screen comes in a later release. Everpool.cmd -testnet uses the test network.

On Linux, or by hand

Start the node with its RPC, then list the pools, review a new one, and mine the one you chose exactly as you mine the default pool.

# every pool: name, fingerprint, fee, status
curl -s -u USER:PASS -d '{"id":1,"method":"poollist","params":[]}' http://127.0.0.1:8432/

# one pool
curl -s -u USER:PASS -d '{"id":1,"method":"poolinfo","params":["POOL_ID"]}' http://127.0.0.1:8432/

# review a new pool (sends nothing); add "send" after the options to burn 1 BTF
curl -s -u USER:PASS -d '{"id":1,"method":"poolcreate","params":["everpool",{"name":"my-pool","feebps":100,"feeaddress":"YOUR_ADDRESS"}]}' http://127.0.0.1:8432/

# mine it
bitflash-node -nogui -p2pool=POOL_ID
xmrig -a rx/0 -o 127.0.0.1:3333 -u p2pool -p x
fee
feebps in hundredths of a percent: 100 is 1%, at most 300
active
30 confirmations after the burn, about an hour
help a pool
-poolcarry=POOL_ID keeps and relays it without mining

You do not need Everpool to mine through P2Pool: the default pool, pool zero, is what -p2pool already mines. The whole guide: Using Everpool.

Proved before it opened.

On the test network, with real coins: every payout below was checked against the share chain, left to mature and spent. Every block named here is a testnet block.

Every run, with its numbers and transactions

The creator left for good
Block 26153 paid the window it had mined and the fee, checked to the satoshi against two other copies of the line.
Every miner stopped, then the day changed
Six new guardians pulled the dormant line from the old set, in 100 to 182 seconds each. A node starting from nothing found block 30449 on it.
Every guardian of both sets stopped at once
21 of them, at height 30937, with one carrier left. A new node found it through poolwho, and block 30939 paid the old window.
Every copy of the line deleted
A new node restarted the pool from its record, same id, and found block 26050.
An edit makes another pool
Changing the window gave a different id. The original's record and line were untouched, and it kept finding blocks.
Miners behind obfs4 and Snowflake
Over ten hours they lost 0 and 2.3% of their shares, inside the 5% mark set before the run.
Guardians behind bridges
Each served the whole line on its own to a new node, in 124 to 227 seconds.
Attacks
On the ticket draw, withholding, stale lines, forged shares and floods, run as self-tests on an isolated chain. Every forged share was refused; a flooded node stayed between 58 and 75 MB of memory.
200 pools, 2000 simulated miners
Against one node's budget. The guard budget held: at most 8 pools kept, the rest turned away for lack of room.
A review of the whole implementation
Before mainnet. No blocker; four should-fix issues found and fixed.

What guarding costs your node.

Pools travel only if ordinary nodes carry them, so every node on 1.2.36 guards pools for the network, mining or not. There is nothing to set, and this is the ceiling.

128 MB
of disk at mostfor the share chains it guards, 64 MB of it for one pool
64 KB/s
at mostfor serving them to the nodes that ask
4 min
of one core a dayat idle priority, for its ticket; 2.5 to 4 measured
0.5 MB
of tickets a dayfor each peer it relays them to; up to 5.8 MB at start

-poolguard=0 turns it off. Mining is unaffected: the node then carries only pool zero, the pool it mines and pools it keeps with -poolcarry.

Not measured yet, and listed as still to do in PROOFS.md: a node on a low-end machine (a 4 GB laptop, an ARM board), and the attacks run against pools on the public testnet rather than as self-tests on an isolated chain.

Any chain can adopt it.

The protocol is published on its own: the specification, a portable library with test vectors, and a guide for a chain that wants it. It changes no consensus rule. It is node software and pool protocol, shipped in an ordinary release.

A pool is a few dozen bytes.

This is pool zero, the default P2Pool, written as a record. A pool's id is the hash of its record and the chain's network magic, so changing one byte makes another pool, and the same rules on another chain are another pool.

4254465001010a007008d002ffff0f1f03500000000000000000000000000000000000000000000000626974666c617368
bytesfieldvalue
4magicBTFP
1record format1
1share rulesversion 1
2share spacing10 s
2PPLNS window2160 shares
2retarget window720 shares
4share floor0x1f0fffff
1uncle depth3
1uncle share80%
2creator fee0, at most 300 (3%)
1fee script typenone
20fee script hashnone
8namebitflash
Version 1.2.37 for Windows, Linux and macOS, with Tor inside. Check the signed SHA256SUMS before you run it.Download