Dagur Valberg Johannsson
2c76bf09c7
Fix incorrect 5XX responses for user input errors
...
Return proper 4XX status codes for client errors to prevent load balancers
from misinterpreting input validation failures as server errors. Add
centralized ApiResult type and ApiErrorCode enum for consistent handling.
2026-01-21 08:27:57 +01:00
Dagur Valberg Johannsson
50cd23dd34
Add RPC call to retrieve pool ID
...
Add a call that returns a pool ID given an utxo
2026-01-09 15:29:05 +01:00
Dagur Valberg Johannsson
ec49bf765b
Improve pool visitor queries; make price a visitor
...
This adds a big performance boost to pool visitor queries, also moving
token price queries to use the visitor model.
2025-08-19 02:37:28 +02:00
Dagur Valberg Johannsson
007aeb06dd
contrib: Tool for documenting API calls
2025-07-22 13:08:48 +02:00
Dagur Valberg Johannsson
dc0457de9f
Remove duplicate code; make use of pool visitor
2025-07-18 17:09:56 +02:00
Dagur Valberg Johannsson
7d9352cf53
Fix clippy issues
2025-07-16 13:52:46 +02:00
Dagur Valberg Johannsson
39131d4670
bug: Fix current price calculation
2024-11-28 08:45:21 +01:00
Dagur Valberg Johannsson
1f3ffa42a2
rpc: Add pool owner/token to history
2024-11-13 13:24:06 +01:00
Dagur Valberg Johannsson
b1e88ff261
rpc: Add pool history call
2024-11-13 11:28:27 +01:00
Dagur Valberg Johannsson
7ab3e1960b
bug: Fix 'active' pools showing old instance
2024-11-13 11:28:27 +01:00
Dagur Valberg Johannsson
058f751a21
Improve querying for active pools
...
By using new field in the pool history entry table, we can improve the
query time for finding active cauldron pools.
This change also fixes a datatype issue in the table where TEXT was used
instead of INT.
2024-10-25 14:45:37 +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
49730f27ca
chore: Fix clippy issue
2024-05-06 11:18:05 +02:00
Dagur Valberg Johannsson
c2bb75b375
bugfix: Don't list old APY state
2024-05-04 19:45:13 +02:00
Dagur Valberg Johannsson
98ab9a81b3
bugfix: List most recent pool utxos
2024-04-15 23:05:06 +02:00
Dagur Valberg Johannsson
76f0dcdb31
rpc: List pools by token and pkh
2024-04-03 21:45:18 +02:00