<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinos-server.git/scripts/rebalance-economics.ts, branch master</title>
<subtitle>coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)</subtitle>
<id>https://git.coinos.io/coinos-server.git/atom?h=master</id>
<link rel='self' href='https://git.coinos.io/coinos-server.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/'/>
<updated>2026-06-13T21:21:53Z</updated>
<entry>
<title>scripts: add wiped-history audit and rebalance-economics model</title>
<updated>2026-06-13T21:21:53Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-06-13T21:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=03f68bedddb18e92b487cc6c1358225ce9b40fe6'/>
<id>urn:sha1:03f68bedddb18e92b487cc6c1358225ce9b40fe6</id>
<content type='text'>
audit-wiped-history.ts (read-only) finds accounts whose :payments index
was wiped by the changeid bug — balance&gt;0 with empty history in both db
and arc. rebalance-economics.ts models whether the lightning-&gt;liquid
bridge throughput is fee-positive against on-chain rebalance cost.

Co-Authored-By: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
