102 Commits

Author SHA1 Message Date
Mononaut
eead4d0af8
Correctly drop legacy cpfp db tables 2023-01-13 16:34:04 -06:00
Mononaut
bd30f2eb12
migrate cpfp data from old to new schemas 2023-01-11 08:44:11 -06:00
Mononaut
b50936f001
compact schemas for cpfp tables 2023-01-11 08:44:10 -06:00
Mononaut
0d921cf7a6
don't rely on blocks table for cpfp indexing progress 2023-01-11 08:44:10 -06:00
softsimon
59f1b031c8
Run schema update synchronously 2022-12-01 14:41:37 +09:00
Mononaut
03a3320e45
block audit truncation in separate db migrations. bump timeout to 1 hour. 2022-11-30 23:03:51 +09:00
Mononaut
ead60aaa21
save db schema version after each successful migration 2022-11-30 22:58:01 +09:00
Mononaut
ded11892f5
merge forensics columns into main channels table 2022-11-30 18:24:00 +09:00
Mononaut
cf89ded14d
detect links between channel close and open txs 2022-11-30 18:23:59 +09:00
wiz
89293b4358
Merge branch 'master' into mononaut/index-cpfp-info 2022-11-29 16:41:12 +09:00
Mononaut
ab5308e1c8
adjust database migration compatibility 2022-11-29 11:42:08 +09:00
Mononaut
9b6a012476
calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
nymkappa
3eb4ea9048
Disable ON UPDATE for blocks.blockTimestamp field 2022-11-28 17:33:07 +09:00
Mononaut
276470474d
save 'fresh' transactions in block audit repository 2022-11-24 17:10:53 +09:00
Mononaut
24dba5a2ef
Bump db migration query timeout to 900s 2022-11-22 14:25:57 +09:00
Mononaut
a32f960c4a
db migration to clear obsolete audit data 2022-11-22 14:07:29 +09:00
Mononaut
373e02a5b0
Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +09:00
Mononaut
c1e741a025
Rescan unresolved LN channel force closes 2022-11-19 17:30:56 +09:00
softsimon
a5c4f8e2f3
Adding migration to force rescan of closed channels 2022-10-21 23:42:37 +04:00
softsimon
85c428be25
Store capacity and channels in nodes table 2022-08-26 02:31:14 +04:00
softsimon
de3e89ac33
Node alias fulltext search
fixes #2238
2022-08-20 22:10:25 +04:00
nymkappa
e7d99e9653
Insert channels from historical data 2022-08-19 12:34:38 +02:00
nymkappa
1ef4485a26
Use timestamp instead of date in stats table 2022-08-19 12:09:58 +02:00
nymkappa
ebb119aa90
Add 'websocket' type to nodes sockets 2022-08-13 11:01:46 +02:00
nymkappa
3e9543f0b6
Create and populate nodes_socket table 2022-08-13 11:01:46 +02:00
nymkappa
9b974dfbd9
Add nodes.status db field to mark nodes as inactive if needed 2022-08-09 11:17:37 +02:00
nymkappa
5a50a0d973
Make sure lightning stats are not duplicated in db 2022-08-05 12:32:20 +02:00
nymkappa
4ea1e98547
Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
nymkappa
f610699ef4
Remove useless notice message content 2022-07-27 23:01:57 +02:00
nymkappa
d2ece2993e
Silence LN db truncation messages is CONFIG.LIGHTNING.ENABLED = false 2022-07-27 22:53:09 +02:00
nymkappa
93e93d44f4
Use country iso code in ln nodes per country page url 2022-07-17 09:53:02 +02:00
nymkappa
1be7c953ea
Save current progress on the block audit page 2022-07-14 20:41:50 +02:00
nymkappa
681708ffa0
Re-add missing migration that was dropped during merge conflict 2022-07-13 07:56:17 +02:00
wiz
a4946de028
Merge remote-tracking branch 'origin/master' into nymkappa/feature/block-fee-usd-chart 2022-07-12 14:55:47 +02:00
nymkappa
3d2ff7ef62
Store AS organization in geo_names 2022-07-12 12:12:10 +02:00
nymkappa
a97675c538
Add daily historical price - show USD in block fee reward charts 2022-07-11 23:16:48 +02:00
nymkappa
40634a0eb8
[Indexing] Link blocks to their closest known price 2022-07-11 22:14:59 +02:00
softsimon
519494668b
Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
softsimon
1c86273059
Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
wiz
c8e090149a
Fix kappa's accidental search and replace 2022-07-10 17:28:47 +02:00
nymkappa
9000b6b18e
Index daily channel stats and show in dashboard widget 2022-07-10 17:09:01 +02:00
nymkappa
d2135a374a
Add nodes per network chart component 2022-07-10 16:22:53 +02:00
nymkappa
a238420d7f
Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
nymkappa
0887428066
Save block predictions results in db and show results in a chart 2022-07-06 22:27:45 +02:00
nymkappa
e8175a90f4
Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00
nymkappa
acfdc8163b
Index difficulty adjustments 2022-07-05 16:52:56 +02:00
nymkappa
68f72e3074
Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
nymkappa
aa86885e6b
Set block/:hash/summary expiration to 1 month - Support re-org for block summaries 2022-06-20 16:35:10 +02:00
nymkappa
72a603ac37
Index block summaries in db 2022-06-18 16:48:02 +02:00
nymkappa
1074d23a90
Cleanup some ops logs 2022-06-13 10:12:27 +02:00