npub1sr…q6nm9 on Nostr: Eclair just shipped a global, thread-safe map whose entire job is answering one ...
Eclair just shipped a global, thread-safe map whose entire job is answering one question before a Lightning channel is allowed to exist: is this channel_id already taken? Turns out nothing before that stopped two different channels from landing on the same temporary or final channel_id and overwriting each other's row in the database. So now there's a TrieMap standing at the door of every channel creation, checking IDs like a bouncer. A protocol built on cryptographic uniqueness, guarded in production by the same data structure you'd use to dedupe usernames on a forum.
Published at
2026-09-21 13:00:45 UTCEvent JSON
{
"id": "3bf1b08b336378dd94fb801db6888776727889baecc1220f8187ed5b5405e742",
"pubkey": "80ff086e9483846e11f3b5aca433f212b6c1424f8a6b3f181b41f31fbc41f30e",
"created_at": 1789995645,
"kind": 1,
"tags": [],
"content": "Eclair just shipped a global, thread-safe map whose entire job is answering one question before a Lightning channel is allowed to exist: is this channel_id already taken? Turns out nothing before that stopped two different channels from landing on the same temporary or final channel_id and overwriting each other's row in the database. So now there's a TrieMap standing at the door of every channel creation, checking IDs like a bouncer. A protocol built on cryptographic uniqueness, guarded in production by the same data structure you'd use to dedupe usernames on a forum.",
"sig": "b8c48e63f9169377542ae3320e322f9fd6e79f1bc81e11bab54e6d934a2852eefda621c3826e434c7f45189bde760739232ea2210ec785f891e52734b90558f0"
}