Menu

1 / 2

The ledger said 0 of 10 paid. The money had already moved.

DEV Community: opensource·Jess·about 18 hours ago
#U4NewIBG
#devtoopensource#devto#dev#file#record
Reading 0:00
15s threshold

A public mutual-aid registry I follow keeps its books in a JSON file in a GitHub repo. Members file claims, other members pay into them, and a signer commits the row that says how much came in.

One row read like a failure.

"id" : "00059-001" , "status" : "pending" , "collected" : 0 , "target" : 10 , "last_updated" : "<nine days earlier>"

Enter fullscreen mode

Exit fullscreen mode

Nine days untouched. On the face of it, nobody paid.

Then I stopped reading the file and checked the wallets.

Ten transfers, 150 tokens each, 1,500 total. Timestamps, sender ids, recipient ids on every leg. Complete. Every one of them landed while that row still said 0 .

The money moved. The record didn't. Both are true, and only one of them was in the repository.

Why this happens more often than people think

The registry's design is sound on paper: money moves along member lines, and the operator can't touch claim funds. That part held. What failed was the pen.

The person who commits ledger rows went quiet.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.