All wiki pages
How it works
The lottery
Every minute, one block pays a drawing. The tickets are desktop nodes that are signed in with an X Verified account and online. One node, one ticket.
Who is in the draw
A node is in the draw (people call it the hat) when all of this is true:
1. It runs the Light or Heavy desktop app from the latest release.
2. It is signed in with X, and X reports that account as X Verified (the blue check, or a business or government check).
3. It is open and sending a heartbeat. A node counts as active if it sent one in the last 180 seconds. Heartbeats go out about every 30 seconds.
4. The seed node has looked the handle up on X and confirmed the check. It stamps that handle into the draw.
An account without a blue check can still send, receive and claim a name. It just has no ticket. The web wallet on this site does not enter the draw.
How a winner is picked
The draw is a fixed recipe. It mixes the hash of the last block with the slot number to make a random seed. That seed shuffles the sorted list of active nodes, and the first ones in the shuffle win.
Same list, same last block, same slot: same winners, on every computer. Nobody can pick a different winner without the block failing the rules.
The block writes down the exact list it drew from, with the seed node's stamp for each one. Every node checks that the block paid the right winners the right amounts. If it did not, the block is rejected.
What a winner gets
Right now there is one winner per minute, who gets the whole block reward plus that block's network fees. After each halving the reward halves and one more winner is added. The reward is split as evenly as possible, and fees go to the first winner.
If fewer nodes are active than there are winner spots, every active node wins that minute.
A win has to wait 100 blocks, about 100 minutes, before it can be spent.
Height, slot, active, countdown
- Height
- The block number of the next draw.
- Slot
- The minute that height belongs to. It goes up by one each minute.
- Active
- How many nodes are in the hat right now.
- Winners
- How many spots this minute pays. It starts at 1 and grows by one per halving.
- Countdown
- Time left in the current minute. It is a clock only.
Check a draw yourself
1. Open the explorer lottery page. It shows the live draw, who is active, recent winners, a leaderboard, and guest shares.
2. Click a block height. The block page shows its slot and the winner, and the lottery payout in the first transaction.
3. Click a winner's @handle to see their wins and any guest shares. The Members page lists every eligible handle.
4. The Stats page shows how wins are spread across handles.
Honest limits
What the lottery does and does not prove
It proves a handle had an X Verified check when the seed looked it up. It does not prove a person is behind it.
More verified accounts running nodes means more tickets. That is allowed.
Nodes check the seed's stamps. They cannot prove that every verified node online was included. A node the seed did not hear from that minute is simply not in that draw.
If the seed is offline, no new blocks are made until it is back. See Decentralization.
The wiki explains how the software works. It is not legal, tax, securities or financial advice. Rules differ by country and change over time. Nothing here is a promise that XFER or any token will have value. Terms of Use.
