Commit graph

107 commits

Author SHA1 Message Date
Dagur Valberg Johannsson
e2cd74f68c
Delay CRC20 indexing
Delay indexing CRC20 details; as the electrum queries can be slow and
interfere with the indexing.
2025-08-15 21:06:35 +02:00
Dagur Valberg Johannsson
707a3799db Merge branch 'bug-tvl-token' into 'master'
bug: TVL filtered by token

See merge request riftenlabs/riftenlabs-indexer!27
2025-08-15 13:26:40 +00:00
Dagur Valberg Johannsson
5017713ab2
bug: TVL filtered by token
Fix query bug for TVL filtered by token and add a test.
2025-08-15 14:55:54 +02:00
Dagur Valberg Johannsson
df8dff5ada Merge branch 'doc-example-uri' into 'master'
doc: Add URI examples to API docs

See merge request riftenlabs/riftenlabs-indexer!26
2025-07-23 08:15:28 +00:00
Dagur Valberg Johannsson
39ad171068
doc: Add URI examples to API docs 2025-07-23 08:49:41 +02:00
Dagur Valberg Johannsson
b946beee7e Merge branch 'doc-api' into 'master'
contrib: Tool for documenting API calls

See merge request riftenlabs/riftenlabs-indexer!25
2025-07-22 11:26:10 +00:00
Dagur Valberg Johannsson
007aeb06dd
contrib: Tool for documenting API calls 2025-07-22 13:08:48 +02:00
Dagur Valberg Johannsson
450ae701a8 Merge branch 'tvl-speedup' into 'master'
Improve TVL queries

Closes #8

See merge request riftenlabs/riftenlabs-indexer!24
2025-07-21 06:53:48 +00:00
Dagur Valberg Johannsson
be152c33e5
Add a tvl test 2025-07-18 17:10:08 +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
8284b03528
Improve TVL queries
Fixes #8
2025-07-18 14:13:08 +02:00
Dagur Valberg Johannsson
e805bd0152 Merge branch 'arbint' into 'master'
Add arbitrary int support

See merge request riftenlabs/riftenlabs-indexer!23
2025-07-16 14:16:45 +00: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
jakobsn
9631437b0a Merge branch '9-oracle-prices' into 'master'
Resolve "Oracle prices"

Closes #9

See merge request riftenlabs/riftenlabs-indexer!22
2025-06-17 14:04:27 +00:00
jakobsn
b17b8a3947 Resolve "Oracle prices" 2025-06-17 14:04:26 +00:00
Dagur Valberg Johannsson
3d83bdee47 Merge branch 'candlesticks2' into 'master'
Candlesticks2

See merge request riftenlabs/riftenlabs-indexer!20
2025-06-17 13:22:46 +00:00
jakobsn
d1e265cf2f Candlesticks2 2025-06-17 13:22:46 +00:00
Dagur Valberg Johannsson
03d8a31844 Merge branch 'index-delphi' into 'master'
Added support for delphi oracle

See merge request riftenlabs/riftenlabs-indexer!21
2025-06-12 08:09:05 +00:00
Dagur Valberg Johannsson
8b16e3d1f3
bump minor deps 2025-06-12 10:08:22 +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
84ea84f4be
Filter tokens with no liquidity 2025-02-17 21:10:16 +01:00
Dagur Valberg Johannsson
4bf31c0131
Don't trigger parallel cache updates 2025-02-17 21:07:26 +01:00
Dagur Valberg Johannsson
bb46b8e3f8
Add IPFS gateway 2025-02-15 09:15:22 +01:00
Dagur Valberg Johannsson
219d0ff75d
missing file 2025-02-14 20:43:51 +01:00
Dagur Valberg Johannsson
ebe63ce932
Improve db initialization 2025-02-14 18:35:12 +01:00
Dagur Valberg Johannsson
5bb841f5c5
bug: don't crash on db read failure 2025-02-14 18:02:48 +01: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
0b4da0287d
bug: Fix tvl in token list 2024-11-28 10:27:35 +01:00
Dagur Valberg Johannsson
087a1d4cd1
make linter happy 2024-11-28 08:49:41 +01:00
Dagur Valberg Johannsson
39131d4670
bug: Fix current price calculation 2024-11-28 08:45:21 +01:00
Dagur Valberg Johannsson
2449665fad
aapy: higher weight for larger pools 2024-11-13 22:32:32 +01:00
Dagur Valberg Johannsson
1f3ffa42a2
rpc: Add pool owner/token to history 2024-11-13 13:24:06 +01:00
Dagur Valberg Johannsson
2a9541fb74
Add definition for PoolID 2024-11-13 11:31:14 +01:00
Dagur Valberg Johannsson
5d4b525743
Add total interractions to contract count
Closes #6
2024-11-13 11:28:27 +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
jakobsn
3da5b62c24 Merge branch 'refactorSearchTests' into 'master'
Search tokens

See merge request riftenlabs/riftenlabs-indexer!18
2024-10-31 10:55:29 +00:00
jakobsn
1248929fb4 Search tokens 2024-10-31 10:55:29 +00:00
Dagur Valberg Johannsson
d465c51480
missing build file 2024-10-25 15:28:40 +02:00
Dagur Valberg Johannsson
c1940a54a4
Add missing config spec 2024-10-25 15:26:49 +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
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
73e29b1bbe
Query the mempool for new pools
Previous mempool filter did not include transactions that use the
'SUMMON' OP_RETURN feature to detect new pools.
2024-10-25 14:44:14 +02:00
Dagur Valberg Johannsson
96a960a6bd
Improve mempool removal speed
Remove multiple in one query and trust in `ON DELETE CASCADE` to do its
job.
2024-10-25 14:32:04 +02:00
Dagur Valberg Johannsson
6cfd95dacf
Bump riftenlabs-defi dep 2024-10-24 11:52:11 +02:00
Dagur Valberg Johannsson
8401ef7362 Merge branch 'apy' into 'master'
Add aggregated APY endpoint

See merge request riftenlabs/riftenlabs-indexer!17
2024-10-24 07:16:57 +00:00
Dagur Valberg Johannsson
19b3a3d3ea
Update tests for new table layout
Also rewrote tests to use insert functions
2024-10-24 09:12:12 +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
d2b169d03a Merge branch 'crc20-index' into 'master'
Add CRC20 index

See merge request riftenlabs/riftenlabs-indexer!16
2024-10-21 11:39:59 +00:00