230 Commits

Author SHA1 Message Date
Mononaut
b673fdbcd1 Fix new block mempool deletion race condition 2023-05-05 10:19:11 -07:00
Mononaut
0b2eb73c3c delay writing disk cache until block handler completes 2023-05-03 15:53:47 -06:00
softsimon
dcc5292400 Merge pull request #3709 from mempool/mononaut/optimize-new-block-gbt
skip unnecessary makeBlockTemplates call
2023-05-03 21:56:07 +04:00
softsimon
268a05cc37 Revert "Revert TCP socket fallback" 2023-05-03 10:11:44 +04:00
Mononaut
5abdb700ad skip unnecessary makeBlockTemplates 2023-05-02 18:47:34 -06:00
Mononaut
27c7b4be5f use $ naming convention for async function names 2023-04-30 15:52:44 -06:00
Mononaut
e6a23567e0 await for mempool change handler after loading disk cache 2023-04-30 15:51:26 -06:00
softsimon
1d42d93649 Revert TCP socket fallback 2023-04-28 12:06:49 +04:00
nymkappa
cba53887cd [main loop] retry every seconds upon exception - warn after 5 attempts 2023-04-05 22:44:01 +09:00
nymkappa
96a869b1e4 Fix % on heap limit warn 2023-03-29 17:30:32 +09:00
Mononaut
29184b0eed move lazy tx deletion into main loop 2023-03-24 09:48:08 +09:00
softsimon
72c62cb80a Catch exeptions in Lightning stats
fixes #3486
2023-03-20 20:46:11 +09:00
wiz
76b2b2fa5f Change heap size warning to 80% utilization 2023-03-05 15:45:28 +09:00
Mononaut
245a755e14 Monitor heap memory usage 2023-03-04 23:13:55 -06:00
nymkappa
2a2151890d Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states 2023-03-04 10:54:02 +09:00
nymkappa
efd0df8e89 Update mining pools before loading the disk cache since we may need to wipe that cache 2023-03-03 17:29:46 +09:00
softsimon
58d94f0ed7 Merge pull request #3181 from mempool/nymkappa/run-forensics-last
Run ln forensics last
2023-03-02 14:21:25 +09:00
nymkappa
7bf81f8c69 Run ln forensics last 2023-03-01 16:52:24 +09:00
nymkappa
1d71685365 Remove mining db stats - replaced by runtime state variable 2023-03-01 16:42:26 +09:00
nymkappa
8b947a6c67 Enforce BlockExtended use for block indexing - Unify /api/v1/block(s) API(s) response format 2023-02-27 18:00:00 +09:00
nymkappa
08a91828a3 Truncate coinbase data if it's too long 2023-02-26 18:24:08 +09:00
nymkappa
ca517497fa Replace --reindex=xxx,xxx command line with --reindex-blocks 2023-02-26 15:28:50 +09:00
nymkappa
6083b79d5a List orphaned blocks in the new blocks-bulk API 2023-02-25 14:22:13 +09:00
nymkappa
bdcf848209 Implemented coinstatsindex indexing 2023-02-25 14:22:12 +09:00
Mononaut
b8956cb0d8 Reuse HTTP connections to esplora backend 2023-02-18 21:34:09 +07:00
nymkappa
1e9dde975a Fix database used when database disabled 2023-02-15 17:45:29 +09:00
nymkappa
c07e35152a Run database migration before running any business logic 2023-02-15 16:13:10 +09:00
nymkappa
a518239eb9 Remove bisq price fetch and replace it with our in house price index 2023-02-15 16:05:14 +09:00
wiz
0fc98b9d0f Merge branch 'master' into mononaut/ln-penalty-scan-optimization 2022-11-23 19:14:20 +09:00
softsimon
6131dcd9c0 Add support for application/base64 content type 2022-11-23 18:43:37 +09:00
Mononaut
38fea03f94 move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
Mononaut
4adc9a13da refactor async mempool/block update callbacks 2022-11-22 14:43:58 +09:00
Mononaut
9a3be34450 guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
softsimon
03db2df7d7 Disable mempool config
fixes #2090
2022-10-21 21:08:48 +04:00
nymkappa
eb87828fc0 Fix LN stats importer with new data "cleanupTopology" structure 2022-08-19 18:07:26 +02:00
nymkappa
3c9403ba6d When LN backend crashed, catch the error and restart after 1 minute 2022-08-03 12:43:41 +02:00
nymkappa
d9077412e2 Fetch funding tx for clightning channels 2022-08-02 18:34:20 +02:00
nymkappa
06a404d9ba Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00
nymkappa
6ea171e45a Integrate LN stats importer into the main process 2022-08-02 16:00:39 +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
bde6bdd6c9 Refactoring backend routes code 2022-07-11 19:15:28 +02:00
softsimon
6091272690 Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +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
efb5eba092 Add hashrate & difficulty chart resolution scaling 2022-07-06 21:03:55 +02:00
wiz
0306c95d9e Merge branch 'master' into feature/nymkappa/index-difficulty-adjustments 2022-07-06 00:20:39 +02:00
wiz
821dd33809 Merge branch 'master' into simon/block-tip-hash-api 2022-07-05 23:48:20 +02:00
nymkappa
36d9425853 Index difficulty adjustments 2022-07-05 16:52:56 +02:00
Felipe Knorr Kuhn
76dbda0a3e Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00