<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinos-server.git/lib/db.ts, branch HEAD</title>
<subtitle>coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)</subtitle>
<id>https://git.coinos.io/coinos-server.git/atom?h=HEAD</id>
<link rel='self' href='https://git.coinos.io/coinos-server.git/atom?h=HEAD'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/'/>
<updated>2026-11-25T16:25:18Z</updated>
<entry>
<title>payments: hold Lightning deposits back from on-chain withdrawal</title>
<updated>2026-11-25T16:25:18Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-25T16:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=6d5f69a23b8e52513825465a06911d67702edec3'/>
<id>urn:sha1:6d5f69a23b8e52513825465a06911d67702edec3</id>
<content type='text'>
While hold:enabled is set, Lightning deposits above a daily free allowance
are held: they can still be spent over Lightning or sent internally, but not
withdrawn on-chain or over Lightning into our own on-chain liquidity. The
check and release run inside the atomic debit script, internal transfers
carry the hold to the receiver, and old holds expire via scripts/holds.ts.
The listener notes which peer each deposit arrived from for review.

sendOnchain now refuses frozen accounts before building the transaction or
locking its inputs, so a frozen account retrying withdrawals cannot hold
hot-wallet UTXOs and make other sends fail with locked outputs.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SEnsbshZrUDtTsxAX
</content>
</entry>
<entry>
<title>lnurl: expire payRequest callback ids after seven days</title>
<updated>2026-09-16T12:36:43Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-09-16T12:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=5f21055178875821007aec25f32ef4168b24cbbc'/>
<id>urn:sha1:5f21055178875821007aec25f32ef4168b24cbbc</id>
<content type='text'>
A callback id is read once, minutes after the metadata request, and never
again, but the pointer keys were written without an expiry and had grown
to roughly 45% of all keys in the main database. Let the set helper take
a TTL and apply one to both lnurl pointer keys.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>pass bytes for app secret</title>
<updated>2026-03-14T17:12:37Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2026-03-14T17:12:37Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=f87b082c14869c4934b4e5fc7ff4b8066a84ed8d'/>
<id>urn:sha1:f87b082c14869c4934b4e5fc7ff4b8066a84ed8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>read payments from archive</title>
<updated>2026-01-23T02:48:07Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-01-23T02:48:07Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=d147e04d1b52f1359507a6f9d88e0227cf6bb250'/>
<id>urn:sha1:d147e04d1b52f1359507a6f9d88e0227cf6bb250</id>
<content type='text'>
</content>
</entry>
<entry>
<title>track payments</title>
<updated>2025-05-30T19:30:20Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2025-05-30T19:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=34774759b233c1535c74a7f2783ffd40a542ab9d'/>
<id>urn:sha1:34774759b233c1535c74a7f2783ffd40a542ab9d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debit signature</title>
<updated>2025-05-12T15:30:37Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2025-05-12T15:30:35Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=67f9ec53b7348860ab55e49574a81df4706dfb06'/>
<id>urn:sha1:67f9ec53b7348860ab55e49574a81df4706dfb06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check frozen balance</title>
<updated>2025-05-11T23:31:42Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2025-05-11T23:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=bed887ae567acd4f8480bd3e2726474f79021714'/>
<id>urn:sha1:bed887ae567acd4f8480bd3e2726474f79021714</id>
<content type='text'>
</content>
</entry>
<entry>
<title>delay before reversing</title>
<updated>2024-12-03T17:23:46Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2024-12-03T17:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=a7a936f55ca7459002c7a8257dce071534dd207e'/>
<id>urn:sha1:a7a936f55ca7459002c7a8257dce071534dd207e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update reverse logic</title>
<updated>2024-12-03T06:42:58Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2024-12-03T06:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=2484b61e149273d788170c4d64e679b5b0f8155d'/>
<id>urn:sha1:2484b61e149273d788170c4d64e679b5b0f8155d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>prevent double reverse</title>
<updated>2024-12-02T21:13:26Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2024-12-02T20:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=a25cd41e1c38b91465ea95e4bcba66c4a089091e'/>
<id>urn:sha1:a25cd41e1c38b91465ea95e4bcba66c4a089091e</id>
<content type='text'>
</content>
</entry>
</feed>
