Chapter 08 · Beginner guide
The 194-second heartbeat
Why blocks need a steady pace, and how Pearl keeps it
On this page 6 sections
Mining power on Pearl never sits still. New GPUs switch on, others switch off, whole mining pools appear overnight.
Yet blocks keep arriving at roughly the same pace: about one every 194 seconds on average. This page is about the rule that holds that rhythm.
Why does the pace matter?
Imagine the mining power doubled and nothing adjusted. Blocks would arrive twice as fast. Too fast, and two miners would more often find blocks at the same moment, wasting work on branches that get dropped.
Imagine it halved instead. Blocks would come twice as slowly, and every payment would wait twice as long for its first confirmation.
There’s a third reason. Pearl’s coin schedule is written in blocks, not days. Half of all PRL will have been created by block 650,226, and that works out to about four years only if blocks average 194 seconds.
Why 194 seconds?
194 seconds is 3 minutes 14 seconds. That’s about three times faster than Bitcoin’s 10 minutes, so payments get their first confirmation sooner.
Written as 3:14, it also looks a lot like the first digits of π. The code doesn’t explain the choice, so that may just be a nice coincidence.
What is difficulty?
Recall the mining lottery: a ticket wins if it comes in under a number called the targetTarget: The number a winning lottery ticket must not exceed. On Pearl the bar is the target times the work the ticket cost; the block hash is never compared with it.. The lower the target, the rarer a winning ticket, and the harder mining becomes.
The target is written in every block header in a compact form called bitsBits: A 4-byte field in the header that stores the target in a compact form. Pearl's easiest allowed value, difficulty 1, is 0x1b00ffff.. Because targets are huge, awkward numbers, people usually talk about difficultyDifficulty: How much harder it is to find a block now than at the easiest level Pearl allows (difficulty 1). It is retuned after every block. instead: how many times harder winning is now than at the easiest setting Pearl allows, which is difficulty 1.
Pearl’s first block started at difficulty 1. On 2026-10-20, the difficulty was about 40,157,376. Right now it is 40.16 million.
How does Pearl adjust it?
After every single block, Pearl looks at how long that block took and nudges the target:
- Slower than 194 seconds? The target rises a little, so the next block is slightly easier.
- Faster? The target drops a little, so the next block is slightly harder.
- Exactly on time? Nothing changes.
The nudges are tiny. A block that takes 300 seconds, 106 seconds late, eases the target by only about 0.0175 percent. That’s 106 divided by 604,800, the number of seconds in a week.
That week is the rule’s time constant. The target only moves a lot when blocks are late or early, on balance, by a total of days, not minutes. One unlucky block barely registers; a real change in mining power shows up steadily.
The rule is called WTEMAWTEMA: Pearl's difficulty rule. After every block it nudges the target slightly: easier if that block took longer than 194 seconds, harder if it was quicker, with a one-week time constant., short for weighted-target exponential moving average. Think of a ship’s captain making small, steady corrections to the wheel instead of yanking it every time a wave hits.
Try it yourself: change the mining power and watch how block times and the target react.
What stops miners from faking the time?
If miners could write any time they liked into a block, they could pretend blocks were slow and make mining easier for themselves. So every node enforces two limits on a block’s timestampTimestamp: The time a miner writes into a block header. On Pearl it must be at least 1 second after the previous block's, and at most 5 minutes ahead of the network's clock.:
- It must be at least 1 second after the previous block’s.
- It must be no more than 5 minutes ahead of the network’s clock.
Together with the slow, one-week reaction, that leaves very little room to game the clock.
Make a guess
Three blocks in a row arrive just 30 seconds apart. What happens to the difficulty?
Think of your answer first, then check it.
Answer It rises a tiny bit after each one.
Each quick block makes the target slightly lower, so the difficulty creeps up. But each step is only a few hundredths of a percent, so three fast blocks barely change anything. Only a sustained run of fast blocks pushes the difficulty up noticeably.
Is it working?
Mostly, yes. Over the 144 blocks before 2026-10-20, blocks averaged 174.3 seconds, a bit quicker than the 194-second goal. The average right now is 174.3 seconds.
That’s what a gentle rule looks like in practice. When mining power keeps growing, the target trails a little behind, and blocks run slightly fast until it catches up. Individual gaps also vary a lot: a lottery doesn’t produce a winner on a schedule, only on average.
A steady heartbeat also keeps the money supply on schedule. The next page shows how many new coins each beat creates.