<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinos-server.git/lib/rates.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-07-11T05:56:12Z</updated>
<entry>
<title>rates: source Iranian IRR/IRT from Wallex, decoupled from the tick loop</title>
<updated>2026-07-11T05:56:12Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-07-11T05:56:12Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=b9791efba00cd00837699fba92a8d27528968395'/>
<id>urn:sha1:b9791efba00cd00837699fba92a8d27528968395</id>
<content type='text'>
apiv2.nobitex.ir became unreachable from our egress, and it was fetched
inline on every binance tick, so it failed and logged on every tick.
Move the Iranian market-rate fetch onto its own 60s timer with a request
timeout, cache the last-good value (falling back to the fixer rate after
an hour), and throttle failure logging. Switch the source to Wallex
(api.wallex.ir BTCTMN), which is reachable.

Co-Authored-By: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rates: fix Iranian IRR/IRT feed after nobitex API host move</title>
<updated>2026-07-04T16:44:50Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-07-04T16:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=185e81683fc0f0a3c571ddcff29f02d580aa98a9'/>
<id>urn:sha1:185e81683fc0f0a3c571ddcff29f02d580aa98a9</id>
<content type='text'>
The nobitex endpoint host changed (old host now NXDOMAIN) and the fetch
was swallowed by an empty catch, silently blanking Iranian rates. Point
at the current host, and since the API quotes in Rial despite the IRT
pair name, set IRR from lastTradePrice and IRT = Rial/10. Log fetch
failures instead of ignoring them.

Co-Authored-By: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>remove logs</title>
<updated>2026-03-17T06:53:13Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2026-03-17T06:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=92e7d1564deb25f9e58e3b268c077018c4b2c4c4'/>
<id>urn:sha1:92e7d1564deb25f9e58e3b268c077018c4b2c4c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix rates polling</title>
<updated>2025-06-16T20:53:14Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2025-06-16T20:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=26d7394c12611193b39da1b7d1d7aec8dc7dec09'/>
<id>urn:sha1:26d7394c12611193b39da1b7d1d7aec8dc7dec09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mark outgoing payments confirmed</title>
<updated>2024-11-13T07:49:24Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2024-11-13T07:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=c16f5d72d9cea86ce0606d98f7112f0421040a8e'/>
<id>urn:sha1:c16f5d72d9cea86ce0606d98f7112f0421040a8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>set fixer base to USD</title>
<updated>2024-11-12T00:42:15Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2024-11-12T00:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=2aefd8856084b314f0ea640b2136a5fce2d529c0'/>
<id>urn:sha1:2aefd8856084b314f0ea640b2136a5fce2d529c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>biome lint</title>
<updated>2024-10-31T16:34:42Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2024-10-31T16:29:04Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=aa4cd39c943b67169def224e224bd07b815b70ec'/>
<id>urn:sha1:aa4cd39c943b67169def224e224bd07b815b70ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>send rate from memory</title>
<updated>2024-10-14T07:08:09Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2024-10-14T07:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=aced36c5ec732755f4889d43475eb365e6a9f9e8'/>
<id>urn:sha1:aced36c5ec732755f4889d43475eb365e6a9f9e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iranian toman</title>
<updated>2024-09-06T17:32:04Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2024-09-06T17:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=3bb28f1268243ddd6920d7446e3a060a6c11bd5c'/>
<id>urn:sha1:3bb28f1268243ddd6920d7446e3a060a6c11bd5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>handle empty rates</title>
<updated>2024-09-05T19:24:59Z</updated>
<author>
<name>Adam Soltys</name>
<email>asoltys@gmail.com</email>
</author>
<published>2024-09-05T19:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=314ea1e185152b87adb614de90253db73fc9b5b2'/>
<id>urn:sha1:314ea1e185152b87adb614de90253db73fc9b5b2</id>
<content type='text'>
</content>
</entry>
</feed>
