# The 194-second heartbeat

> Pearl aims for one block every 194 seconds. After every block it nudges the difficulty up or down a little, so the pace holds as miners come and go.

Source: https://pearlcodex.com/beginners/difficulty/ · Last updated: 2026-10-20 · Checked against Pearl's source code at v1.5.5

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 [target](https://pearlcodex.com/glossary/#target). 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 [bits](https://pearlcodex.com/glossary/#bits). Because targets are huge, awkward numbers, people usually talk about [difficulty](https://pearlcodex.com/glossary/#difficulty) 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 [WTEMA](https://pearlcodex.com/glossary/#wtema), 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.

> **Scenario · made-up numbers: A worked example with round numbers**
>
> Say the target is 1,000,000 and a block takes 300 seconds. The change is 1,000,000 × (300 − 194) ÷ 604,800, which is about 175, so the new target is 1,000,175: a hair easier. With the real target at the tip on 2026-10-20, the same 300-second block would move the difficulty from 40,157,376 to about 40,150,342.

Try it yourself: change the mining power and watch how block times and the target react.

_Interactive: WTEMA simulator. Try it on the page: <https://pearlcodex.com/beginners/difficulty/>_

## 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 [timestamp](https://pearlcodex.com/glossary/#timestamp):

- 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?

**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.

> **Pearl vs Bitcoin**
>
> - Bitcoin retunes every 2,016 blocks (about two weeks), by up to four times at once. Pearl retunes after every block, by a tiny amount.
> - Pearl aims for 194 seconds instead of 600.
> - Difficulty 1 on Pearl means bits 0x1b00ffff, a target 65,536 times smaller than Bitcoin’s difficulty 1 (0x1d00ffff), which isn’t even valid on Pearl.
> - Bitcoin requires each block’s time to be later than the median of the previous 11 blocks, and allows up to two hours in the future. Pearl requires at least one second after the parent and allows at most 5 minutes ahead.

A steady heartbeat also keeps the money supply on schedule. The next page shows how many new coins each beat creates.

## In short

- Pearl aims for one block every 194 seconds on average, whatever the amount of mining power.
- The target sets how hard a winning ticket is to find. Difficulty says how much harder that is than the easiest setting.
- After every block, Pearl nudges the target a little, easier if the block was slow and harder if it was quick, with a one-week time constant (WTEMA).
- Timestamps must be at least one second after the previous block and no more than five minutes in the future, which limits cheating with the clock.
- The coin schedule counts blocks, so a steady pace also keeps new coins arriving on time.

## Read the code

- [The WTEMA rule, run after every block](https://github.com/pearl-research-labs/pearl/blob/v1.5.5/node/blockchain/difficulty.go#L84-L149) `node/blockchain/difficulty.go:84-149`
- [194-second target, one-week constant, five-minute future limit](https://github.com/pearl-research-labs/pearl/blob/v1.5.5/node/chaincfg/params.go#L354-L362) `node/chaincfg/params.go:354-362`
- [Each block at least one second after its parent](https://github.com/pearl-research-labs/pearl/blob/v1.5.5/node/blockchain/validate.go#L686-L696) `node/blockchain/validate.go:686-696`

## Sources

### Pearl source

- [Pearl source code at v1.5.5](https://github.com/pearl-research-labs/pearl/tree/v1.5.5)

### Pearl docs

- [Pearl INT whitepaper (difficulty adjustment)](https://pearlresearch.ai/research/int-whitepaper)

### Chain data

- [PRLScan network statistics](https://prlscan.com)
