Reorg

  • Fix
  • Chain 07

Difficulty 3 of 5

Users make 10 deposits/s on a chain with 2 s blocks. The exchange credits each deposit as soon as it sees it in a block. At 0:40 the chain drops its 5 newest blocks, and 100 credited deposits disappear. Credit no deposit that a reorg can remove, with p99 under 45 s.

0:40. 100 deposits that were already credited are gone from the chain after a 5-block reorg. Graph: double spends.

Play level

JSON-RPCSQLUsers10 req/sAccount cha…2 vCPU · 1 GBPostgres1 vCPU · 2 GB
JSON-RPCSQLUsers10 req/sAccount cha…2 vCPU · 1 GBPostgres1 vCPU · 2 GB
The board at the start of the level
Read and write quorumsLeft and right arrows change R. Tap to change W.

W 3 + R 3 of 5 · every read sees the last write

Goals and limits

Double spends
none
p99 latency
under 45 s
Error rate
under 1%
Monthly cost
under 20 USD/mo
Edit limit
2
Traffic
10 req/s

Concepts

How players did

Player results load from the server.