86 Commits

Author SHA1 Message Date
Mononaut
b152582d44 Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +09:00
Mononaut
369b6f55d3 Rescan unresolved LN channel force closes 2022-11-19 17:30:56 +09:00
softsimon
3094d28c24 Adding migration to force rescan of closed channels 2022-10-21 23:42:37 +04:00
softsimon
cf662ca070 Store capacity and channels in nodes table 2022-08-26 02:31:14 +04:00
softsimon
0345ae602c Node alias fulltext search
fixes #2238
2022-08-20 22:10:25 +04:00
nymkappa
b9664e1c3e Insert channels from historical data 2022-08-19 12:34:38 +02:00
nymkappa
f6e1ee8017 Use timestamp instead of date in stats table 2022-08-19 12:09:58 +02:00
nymkappa
caa6f4e435 Add 'websocket' type to nodes sockets 2022-08-13 11:01:46 +02:00
nymkappa
34bd21aa8f Create and populate nodes_socket table 2022-08-13 11:01:46 +02:00
nymkappa
0576f35ede Add nodes.status db field to mark nodes as inactive if needed 2022-08-09 11:17:37 +02:00
nymkappa
bd69cee118 Make sure lightning stats are not duplicated in db 2022-08-05 12:32:20 +02:00
nymkappa
068f7392dd Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
nymkappa
a90b9434f0 Remove useless notice message content 2022-07-27 23:01:57 +02:00
nymkappa
26bc7c5d9a Silence LN db truncation messages is CONFIG.LIGHTNING.ENABLED = false 2022-07-27 22:53:09 +02:00
nymkappa
cfad17d049 Use country iso code in ln nodes per country page url 2022-07-17 09:53:02 +02:00
nymkappa
775b9d22cc Save current progress on the block audit page 2022-07-14 20:41:50 +02:00
nymkappa
4fe0e1b30d Re-add missing migration that was dropped during merge conflict 2022-07-13 07:56:17 +02:00
wiz
b09cb3d228 Merge remote-tracking branch 'origin/master' into nymkappa/feature/block-fee-usd-chart 2022-07-12 14:55:47 +02:00
nymkappa
d5cf4a5c9a Store AS organization in geo_names 2022-07-12 12:12:10 +02:00
nymkappa
53bb16465e Add daily historical price - show USD in block fee reward charts 2022-07-11 23:16:48 +02:00
nymkappa
e29a4e0a16 [Indexing] Link blocks to their closest known price 2022-07-11 22:14:59 +02:00
softsimon
f305f4f96f Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
softsimon
739e677c5b Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
wiz
665becada4 Fix kappa's accidental search and replace 2022-07-10 17:28:47 +02:00
nymkappa
f5b3ae5238 Index daily channel stats and show in dashboard widget 2022-07-10 17:09:01 +02:00
nymkappa
7dc7ccd1c9 Add nodes per network chart component 2022-07-10 16:22:53 +02:00
nymkappa
d1cfdd5931 Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
nymkappa
d2ab72390f Save block predictions results in db and show results in a chart 2022-07-06 22:27:45 +02:00
nymkappa
c4810bf7a1 Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00
nymkappa
36d9425853 Index difficulty adjustments 2022-07-05 16:52:56 +02:00
nymkappa
1599d202fd Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
nymkappa
1b1e058251 Set block/:hash/summary expiration to 1 month - Support re-org for block summaries 2022-06-20 16:35:10 +02:00
nymkappa
f98b829678 Index block summaries in db 2022-06-18 16:48:02 +02:00
nymkappa
a507dfe2cb Cleanup some ops logs 2022-06-13 10:12:27 +02:00
nymkappa
79fd45127e Create rates table on all networks 2022-05-31 11:20:31 +02:00
nymkappa
4591489e8c Save bisq aggregate exchange rates in the database for each new block 2022-05-25 10:51:35 +02:00
nymkappa
68bc7de131 Index blocks.hash 2022-05-19 12:13:43 +02:00
Felipe Knorr Kuhn
4f3556084c Fix datababse typo 2022-04-29 22:01:22 -07:00
nymkappa
452ffb20cf Wait for external assets file writers to complete 2022-04-22 04:03:08 -04:00
softsimon
427c1ca075 Refactored the DB class into a regular singleton class. 2022-04-13 17:38:42 +04:00
nymkappa
c18d525f4a Refactor database pool use 2022-04-13 21:46:39 +09:00
nymkappa
884e3efc19 Added slug into pools table 2022-03-24 19:44:22 +09:00
nymkappa
2d8a8ae4a1 Truncate hashrates after #1435 - Fix hashrate indexing logs 2022-03-24 07:40:03 +09:00
nymkappa
fdea74db0a Store hex in coinbase raw - Improve scripsig parsing 2022-03-16 12:10:18 +01:00
nymkappa
acaa6c6e45 Index asciiScriptSig and display it in /mining/blocks 2022-03-15 23:33:51 +01:00
nymkappa
2900374bc8 Remove unnecessary migration version 15 2022-03-13 16:08:33 +01:00
nymkappa
aa2480507c Make sure to set avg_hashrate field to double unsigned 2022-03-13 16:08:32 +01:00
nymkappa
c601f92732 Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
cfbfa2f443 int -> bigint for all satoshis related indexed data 2022-03-12 15:48:22 +01:00
nymkappa
d7a270f0da Only insert hashrate states for bitcoin 2022-03-12 15:48:21 +01:00