75 Commits

Author SHA1 Message Date
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
nymkappa
e48df811a6 Make blocks.fees larger data type 2022-03-11 20:42:07 +01:00
nymkappa
74d9762821 Index more data using getblockstats core RPC 2022-03-10 14:21:11 +01:00
nymkappa
950be63da0 Index more data using getblockstats core RPC 2022-03-10 14:08:01 +01:00
nymkappa
a455e769e5 Increment db version to 10 (26ee4204ac68ee718338db0adb4789cce2976112) 2022-03-09 18:51:27 +01:00
nymkappa
91bef41b7e Index blocks.blockTimestamp 2022-03-08 17:10:29 +01:00
nymkappa
020e09f86f Truncate hashrates table only for bitcoin (db migration v9) 2022-03-07 15:56:07 +01:00
nymkappa
b60e0844e9 Re-index hashrates because we have different timestamp handling 2022-03-06 16:48:14 +01:00
nymkappa
085f5e5cca Set connection pool timezone to UTC - Close mysql connections upon error 2022-03-06 16:44:09 +01:00
nymkappa
ce14cd2496 Split network daily hashrate indexing and weekly pool hashrate indexing 2022-03-06 12:52:38 +01:00
nymkappa
abb96ca064 warn on re-index - fix hash indexing state issue - cleanup ui mining 2022-02-24 20:21:14 +09:00
nymkappa
d751662010 Create stacked pools historical hashrates to see dominance over time 2022-02-24 20:21:12 +09:00