Commit graph

23 commits

Author SHA1 Message Date
Dagur Valberg Johannsson
527b9ba91c
Bump electrum dep to allow larger websocket msg
We need to allow larger messages to index large blocks via websocket
interface.
2026-02-24 10:33:39 +01:00
Dagur Valberg Johannsson
f421327a5d
Switch to tokio and sqlx
This makes the application fully async; freeing web server threads to
handle new connections when waiting on SQL queries.

Additionally sqlx will allow easier move to a different database if
needed in the future.

Includes some SQL optimizations as well (slow queries more easliy identifiable
with sqlx).
2026-02-18 10:16:51 +01:00
Dagur Valberg Johannsson
bac43bbb98
Make DB read pool size configurable 2026-02-10 14:49:28 +01:00
Dagur Valberg Johannsson
7ad0303209
Add WebSocket support 2026-02-03 09:39:12 +01:00
Dagur Valberg Johannsson
7d9352cf53
Fix clippy issues 2025-07-16 13:52:46 +02:00
Dagur Valberg Johannsson
460a1fc7f1
Add arbitrary int support 2025-07-16 09:30:17 +02:00
Dagur Valberg Johannsson
78e391560f
Added support for delphi oracle
This allows fetching historical asset prices from the blockchain.
2025-05-21 13:33:26 +02:00
Dagur Valberg Johannsson
33aebb0318
bug: Foreign keys not enforced
sqlite was not properly enforcing foreign keys, keeping conflicted
transactions in the database
2024-12-19 13:21:57 +01:00
Dagur Valberg Johannsson
d465c51480
missing build file 2024-10-25 15:28:40 +02:00
Dagur Valberg Johannsson
b4b9bf1eb5
Make rostrum server configurable
New default set to localhost
2024-10-25 15:22:44 +02:00
Dagur Valberg Johannsson
6cfd95dacf
Bump riftenlabs-defi dep 2024-10-24 11:52:11 +02:00
Dagur Valberg Johannsson
e4e7ec3b71
Add aggregated APY endpoint
Add an endpoint that gives a APY value across multiple micro-pools
2024-10-23 16:54:06 +02:00
Dagur Valberg Johannsson
5aebe7bdaf
Use package electrum-client-netagnostic
Replace package that pointed at a git repo with
electrum-client-netagnostic.
2024-10-08 22:15:46 +02:00
Dagur Valberg Johannsson
e38eaaa26c
Add BCMR indexer
This adds BCMR indexer, including downloading and parsing the actual
BCMR files.
2024-05-27 11:56:35 +02:00
Dagur Valberg Johannsson
519c442e34
rename binary 2024-04-02 14:07:30 +02:00
Dagur Valberg Johannsson
b80b1144da
api: current price 2024-04-02 13:17:25 +02:00
Dagur Valberg Johannsson
21a57554f8
Add sqlite connection pool 2024-03-14 12:14:55 +01:00
Dagur Valberg Johannsson
ca6fd42cbd
Fix wrong license in Cargo file
License was changed with commit b6eae5bdfa
2024-03-14 11:38:11 +01:00
Dagur Valberg Johannsson
1c817c8cfd
Add support for calculating pool APY 2024-03-14 10:54:33 +01:00
Dagur Valberg Johannsson
cd22aa8d70
Track transactions in the mempool 2024-02-16 14:18:41 +01:00
Dagur Valberg Johannsson
168670c9bf
Support block reorgs 2024-02-14 11:11:16 +01:00
Dagur Valberg Johannsson
b8943fb48d
Add CORS 2024-01-19 14:38:31 +01:00
Dagur Valberg Johannsson
69405d035a
Initial commit 2024-01-05 13:59:11 +01:00