Commit Graph

1216 Commits

Author SHA1 Message Date
nymkappa
2a6f48d8c8
Handle core timeout during closed channel scan, using correct config variable 2022-08-09 11:07:13 +02:00
nymkappa
6a52725b63
Make sure we work with integer in the stats importer 2022-08-09 10:28:40 +02:00
nymkappa
abb078f7ee
Convert to short_id before fetching the funding tx 2022-08-09 09:21:31 +02:00
nymkappa
47363b477e
Refactor the LN backend and add more logs 2022-08-09 09:20:25 +02:00
wiz
c0e6b7af58
Merge pull request #2251 from mempool/nymkappa/bugfix/clightning-crash
Don't throw an exception when cln connection is down
2022-08-08 17:28:50 +09:00
wiz
771d21e410
Merge branch 'master' into nymkappa/bugfix/missing-last-data-charts 2022-08-08 15:59:34 +09:00
wiz
78d1ef9b1c
Merge branch 'master' into nymkappa/bugfix/unique-lightning-stats 2022-08-08 15:40:46 +09:00
nymkappa
1d106a9851
Fix CLN channel short_id conversion 2022-08-08 07:50:50 +02:00
nymkappa
c01c610bb3
Don't insert stats in the future 2022-08-05 12:43:26 +02:00
nymkappa
5a50a0d973
Make sure lightning stats are not duplicated in db 2022-08-05 12:32:20 +02:00
wiz
f7cbe30a16
Merge branch 'master' into nymkappa/bugfix/missing-data-node-page 2022-08-05 07:55:11 +00:00
nymkappa
54669281de
Run node stats every 10 minutes, only keep the latest entry per day 2022-08-04 18:27:36 +02:00
nymkappa
d647edcae3
Re-applied missing fix from https://github.com/mempool/mempool/pull/2233 2022-08-04 17:50:49 +02:00
nymkappa
f6d6ea5d31
Gracefully attempt to reconnect to cln upon error 2022-08-04 13:05:15 +02:00
nymkappa
3c2e27f778
Fix node page and display real time data 2022-08-04 11:30:32 +02:00
nymkappa
99379d53bf
When LN backend crashed, catch the error and restart after 1 minute 2022-08-03 12:43:41 +02:00
nymkappa
6be2985b40
Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
wiz
76600af698
Merge branch 'master' into nymkappa/bugfix/top-nodes-queries 2022-08-02 23:53:03 +00:00
wiz
215df5efed
Merge branch 'master' into nymkappa/feature/clightning 2022-08-02 22:57:25 +00:00
wiz
33f3b0006b
Move fast-xml-parser from devDeps to deps 2022-08-02 21:49:53 +02:00
nymkappa
a25af16f7c
Fetch funding tx for clightning channels 2022-08-02 18:34:20 +02:00
nymkappa
00cd3ee9bf
Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00
nymkappa
80f1ee45b5
Rebased using the update lightning interfaces 2022-08-02 18:34:19 +02:00
nymkappa
eb90434c28
Delete historical generation code 2022-08-02 18:34:19 +02:00
nymkappa
a94403b3a1
Wrote some utility functions to convert clightning output to our db schema 2022-08-02 18:34:19 +02:00
nymkappa
3f83e517f0
Create CLightningClient class 2022-08-02 18:34:18 +02:00
nymkappa
82cef095fc
Rewrite queries to get top nodes by channels and capacity 2022-08-02 18:26:07 +02:00
nymkappa
b6ba3c5781
Ignore channels fee rate > 5000ppm or base fee > 5000 in stats 2022-08-02 18:15:34 +02:00
nymkappa
5b521cfc7c
Don't insert gapped gossip data upon restart 2022-08-02 17:56:46 +02:00
nymkappa
d7f2f4136c
Small cleanup 2022-08-02 16:00:40 +02:00
nymkappa
5d7e42195f
Reduce massive gaps in the imported historical LN data 2022-08-02 16:00:40 +02:00
nymkappa
7fdf95ad34
Remove buggy tx vout value fetching and improve performances 2022-08-02 16:00:40 +02:00
nymkappa
5287490894
Make sure to not count channels twice 2022-08-02 16:00:40 +02:00
nymkappa
b246c6f4c3
We don't need a synced node to import historical data 2022-08-02 16:00:39 +02:00
nymkappa
2daf94f65a
Re-use LN stats importer code to log daily LN stats 2022-08-02 16:00:39 +02:00
nymkappa
91ada9ce75
Integrate LN stats importer into the main process 2022-08-02 16:00:39 +02:00
nymkappa
4ea1e98547
Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
nymkappa
4335ee8157
Set default values when pubkey, capacity and channels are missing from top nodes 2022-08-01 18:41:31 +02:00
wiz
3fd8af0c78
Merge branch 'master' into nymkappa/bugfix/node-null-link 2022-08-01 15:33:47 +00:00
nymkappa
f4670156a5
Fix missing pub key, capacity and channel count for node lists 2022-08-01 09:59:20 +02:00
Antoni Spaanderman
887fb13f34
use lnd rest api 2022-07-30 21:52:58 +02:00
nymkappa
98e5f78d5f
Convert nodes per network chart to stack style 2022-07-28 10:01:04 +02:00
wiz
d66cc8a213
Merge branch 'master' into feature/add-get-block-raw-route 2022-07-27 22:35:22 +00:00
wiz
a6663d7869
Merge pull request #2204 from mempool/nymkappa/bugfix/silence-ln-db-migration
Silence LN db migration is CONFIG.LIGHTNING.ENABLED = false
2022-07-27 22:35:02 +00:00
softsimon
b0fe879503
Update backend/src/api/bitcoin/bitcoin.routes.ts 2022-07-27 23:33:18 +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
Leonardo Lima
a9248a5f13
feat: parse rpc full block from hex to binary representation 2022-07-27 17:12:33 -03:00
wiz
48496abbf4
Merge branch 'master' into nymkappa/bugfix/channels-update-status 2022-07-27 18:53:29 +00:00
wiz
88648da890
Merge pull request #2202 from mempool/nymkappa/bugfix/only-user-active-channel-for-stats
Ony consider channel stats = 1 for stats calculation
2022-07-27 18:53:18 +00:00
nymkappa
f57fa1286c
Don't mark closed channels as inactive 2022-07-27 17:24:31 +02:00
nymkappa
edfa0d6074
Don't set all channels to inactive when the updater runs 2022-07-27 17:21:24 +02:00
nymkappa
d6e9500bee
[LN stats] Ony consider channel stats = 1 for stats calculation 2022-07-27 16:19:47 +02:00
nymkappa
12eea0e4cc
[LN ISP chart] Adds toogle to order by nodes/capacity and show/hide Tor 2022-07-27 13:20:54 +02:00
wiz
ce9a4024b3
Merge branch 'master' into simon/new-eslint-rules 2022-07-26 23:15:52 +00:00
wiz
a49cb2d611
Merge branch 'master' into nymkappa/feature/order-by-date-not-by-id 2022-07-26 22:54:31 +00:00
nymkappa
68f288f69c
Order lightning_stats by added timestamp instead of id 2022-07-26 17:32:43 +02:00
nymkappa
6341839de4
[Node page] Add link to node list per country/isp in node page 2022-07-26 12:26:44 +02:00
softsimon
bc132e4337
A couple of new eslint rules 2022-07-26 02:38:23 +02:00
Leonardo Lima
46e63ca6cf
feat: add /block/:hash/raw api route 2022-07-25 17:08:42 -03:00
nymkappa
479f635754
[Node page] Update channels count when switching between open/closed 2022-07-24 11:51:05 +02:00
wiz
ad9e989598
Correct maxmind geoip-db GEOLITE2_ISP to GEOIP2_ISP 2022-07-23 23:53:28 +02:00
nymkappa
ffe22399d5
Integrate GeoIP2 ISP database 2022-07-23 23:33:13 +02:00
nymkappa
40f2b97075
Add channels map to the node page 2022-07-23 18:43:08 +02:00
Felipe Knorr Kuhn
2dc875bb33
Merge branch 'master' into nymkappa/bugfix/index-blocks-prices-often 2022-07-21 16:29:24 -07:00
wiz
181c13025d
Merge pull request #2109 from mempool/nymkappa/bugfix/block-audit-code-refactor
Block audit code refactor
2022-07-22 01:07:02 +02:00
wiz
7b3f5c378d
Merge pull request #2140 from mempool/simon/correct-gitignore-json-wildcard
Remove gitignore json wildcard
2022-07-22 01:05:37 +02:00
wiz
7bbfc7872b
Fix log msg in channels.api.ts
Co-authored-by: softsimon <softsimon@users.noreply.github.com>
2022-07-22 00:04:02 +02:00
nymkappa
c839abb479
Create world map of clearnet LN nodes and channels 2022-07-21 22:43:12 +02:00
Felipe Knorr Kuhn
f4bb927dbd
Merge branch 'master' into nymkappa/bugfix/index-blocks-prices-often 2022-07-20 20:59:27 -07:00
Felipe Knorr Kuhn
76b6d2a21b
Merge branch 'master' into nymkappa/bugfix/block-audit-code-refactor 2022-07-20 20:59:11 -07:00
softsimon
3e1e47c49a
Remove gitignore json wildcard 2022-07-20 18:29:19 +02:00
wiz
8c667a76a7
Merge pull request #2112 from mempool/nymkappa/bugfix/price-updater-incorrect-log
Ignore Kraken historical price without USD
2022-07-17 18:29:16 -05:00
nymkappa
681d9db900
Fix error 500 for Isle of Man nodes list 2022-07-18 01:11:20 +02:00
nymkappa
63ebace378
Add LN node per country graph 2022-07-17 23:48:57 +02:00
nymkappa
d7f0dc4c05
Fix naming convention "as" => "isp" 2022-07-17 23:29:40 +02:00
nymkappa
dbf60dd4d9
Nodes per ISP list component 2022-07-17 22:57:29 +02:00
nymkappa
93e93d44f4
Use country iso code in ln nodes per country page url 2022-07-17 09:53:02 +02:00
nymkappa
0902015264
Use correct country name in component title 2022-07-16 23:25:44 +02:00
nymkappa
376484a937
Nodes per country list component 2022-07-16 23:23:13 +02:00
nymkappa
fc5fd244d0
Get nodes per country list with /lightning/nodes/country/:country API 2022-07-16 23:22:53 +02:00
nymkappa
3edd6f23a5
Add capacity per AS 2022-07-16 11:32:48 +02:00
nymkappa
28cf0f71eb
Add nodes AS share chart and table component 2022-07-16 10:44:05 +02:00
nymkappa
2fd34cbd91
Get nodes count per AS by calling /lightning/nodes/asShare API 2022-07-16 09:34:45 +02:00
nymkappa
d6158060e7
Ignore Kraken historical price without USD 2022-07-16 09:27:07 +02:00
nymkappa
e0952a4c1d
Wait for the price updater to complete before saving blocks prices 2022-07-16 09:22:45 +02:00
nymkappa
2872d2e299
Refactor BlocksSummariesRepository::$saveSummary 2022-07-15 21:48:39 +02:00
nymkappa
1be7c953ea
Save current progress on the block audit page 2022-07-14 20:41:50 +02:00
softsimon
c6f33310e5
Merge pull request #2094 from mempool/nymkappa/debug/insert-once-channels-stats-init
Make sure we have initial channel stats to display after fresh run
2022-07-14 18:51:26 +02:00
nymkappa
681708ffa0
Re-add missing migration that was dropped during merge conflict 2022-07-13 07:56:17 +02:00
wiz
ee058deb74
Merge branch 'master' into nymkappa/feature/block-fee-usd-chart 2022-07-12 23:24:31 +02:00
nymkappa
6e09a1c96b
Show division and ASN number 2022-07-12 21:28:02 +02:00
nymkappa
f2983e28a3
Show city, country and AS name in node page when available 2022-07-12 21:07:38 +02:00
nymkappa
c6fa8c6172
Format mysql query so I can actually update it 2022-07-12 20:18:41 +02:00
nymkappa
1988971290
Make sure we have initial channel stats to display after fresh run 2022-07-12 19:59:37 +02:00
nymkappa
908635b3dd
Fix mysql syntax error 2022-07-12 19:10:57 +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
5ac9b5674e
Show "indexing in progress" in fee/reward charts during block indexing 2022-07-12 08:50:07 +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
nymkappa
80b3b91a82
Add USD serie in block fee/reward charts 2022-07-11 22:10:25 +02:00
softsimon
2253dd570d
Refactoring backend routes code 2022-07-11 19:15:28 +02:00
wiz
475bb11991
Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:18:20 +02:00
wiz
fd35c8f4ad
Merge pull request #2075 from mempool/simon/logger-lightning
Add lightning to logger
2022-07-11 18:18:11 +02:00
softsimon
ca86364c35
Add lightning to logger 2022-07-11 18:02:54 +02:00
wiz
c888d59368
Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:01:15 +02:00
softsimon
519494668b
Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
wiz
46bed0be29
Merge branch 'master' into simon/populate-historical-node-data 2022-07-11 15:58:58 +02:00
softsimon
1c86273059
Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
wiz
a458cf8ee3
Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 11:31:39 +02:00
wiz
e86c5987e3
Merge branch 'master' into nymkappa/feature/block-api-dynamic-caching 2022-07-11 11:19:03 +02:00
nymkappa
38ac38849e
[Indexer] Set log level accordingly - Remove indexing ETAs 2022-07-11 11:07:41 +02:00
nymkappa
a4641b8480
Set /block API cache duration according to block age 2022-07-11 09:53:32 +02:00
nymkappa
0093eab269
Liquid always uses esplora (regression of #2039) 2022-07-11 08:41:28 +02:00
softsimon
665d85204b
Backfill node_stats 2022-07-10 19:28:21 +02:00
nymkappa
ed3aa7f516
Add Lightning charts in /graph 2022-07-10 19:03:50 +02:00
wiz
c8e090149a
Fix kappa's accidental search and replace 2022-07-10 17:28:47 +02:00
wiz
9c6a28d9b0
Fix number of arguments in SQL query 2022-07-10 17:24:43 +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
wiz
a638369a57
Bump version to v2.5.0-dev 2022-07-10 14:53:57 +02:00
wiz
22bd8c4bf8
Fix HTTP 501 -> HTTP 400 suggestions in PR review 2022-07-10 14:51:09 +02:00
softsimon
18030ba33e
Updating backend package-lock 2022-07-10 14:23:12 +02:00
wiz
7d3c105b29
Merge branch 'master' into simon/lightning-pr 2022-07-10 14:00:02 +02:00
wiz
e58b71fd4f
Merge pull request #2052 from mempool/nymkappa/bugfix/blocks-list-pagination-error
Fix pagination issue in blocks list
2022-07-10 13:56:38 +02:00
wiz
30e8b134bc
Merge branch 'master' into nymkappa/bugfix/diff-adj-table-raw-db-data 2022-07-10 12:56:30 +02:00
nymkappa
cdf0fe0335
Fix first diff adjustmeent if INDEXING_BLOCK_AMOUNT is not -1 2022-07-10 12:39:22 +02:00
nymkappa
f4667c0892
Use raw diff adjustment for diff adj table widget 2022-07-10 12:39:21 +02:00
wiz
ac257b4165
Merge branch 'master' into nymkappa/bugfix/blocks-list-pagination-error 2022-07-10 12:37:51 +02:00
wiz
75ab2bc920
Merge pull request #2054 from mempool/nymkappa/bugfix/dont-insert-price-no-usd
Ignore prices without USD exchange rate
2022-07-10 12:37:43 +02:00
wiz
7e389c8863
Merge branch 'master' into nymkappa/bugfix/dont-insert-price-no-usd 2022-07-10 12:17:08 +02:00
wiz
d697c0c45e
Merge branch 'master' into nymkappa/feature/config-automatic-block-reindex 2022-07-10 12:10:38 +02:00
nymkappa
07cb4a49bc
Index weekly mining pool hashrate only if there are blocks mined 2022-07-09 22:34:18 +02:00
nymkappa
067ee168dd
Use oldest consecutive block timestamp as hashrate indexing limit 2022-07-09 22:11:27 +02:00
nymkappa
d8a90cce47
Use raw db hashrate instead of avg for indexing 2022-07-09 22:11:27 +02:00
nymkappa
e303a4c374
Removed hardcoded genesis timestamp
Fix duplicated genesis hashrate attempt
Add log during difficulty adjustment indexing
2022-07-09 22:11:26 +02:00
nymkappa
f3f0c688d8
Disable automatic block re-indexing by default 2022-07-09 19:04:35 +02:00
nymkappa
030020ea9e
Run the mining indexer every hour to index missing/updated data 2022-07-09 18:25:16 +02:00
Felipe Knorr Kuhn
654e7589a6
Merge branch 'knorrium/backend_unit_tests' of github.com:knorrium/mempool into knorrium/backend_unit_tests 2022-07-09 07:38:52 -07:00
Felipe Knorr Kuhn
de8d3d7e3e
Add missing dependencies 2022-07-09 07:38:27 -07:00
Felipe Knorr Kuhn
d2bae2fa8b
Merge branch 'master' into knorrium/backend_unit_tests 2022-07-09 16:36:10 +02:00
nymkappa
682682c74a
Ignore prices without USD exchange rate 2022-07-09 16:13:01 +02:00
nymkappa
b5daf205a0
Fix pagination issue in blocks list 2022-07-09 16:02:43 +02:00
Felipe Knorr Kuhn
9b6bbaf51c
Merge branch 'master' into knorrium/backend_unit_tests 2022-07-09 00:08:49 +02:00
Felipe Knorr Kuhn
7ba7440bb6
Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-09 00:04:35 +02:00
softsimon
73c4a934ce
Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +02:00
softsimon
71b304cafd
Renaming config LND_NODE_AUTH to LND 2022-07-08 18:55:26 +02:00
nymkappa
a238420d7f
Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
softsimon
b0b73e6c70
Adding channel id in addition to short id 2022-07-08 18:55:22 +02:00
nymkappa
97ff1e37aa
Use bitcoin core instead of esplore for fetch blocks on bitcoin networks 2022-07-08 16:34:00 +02:00
Felipe Knorr Kuhn
fc629d7109
Merge branch 'master' into knorrium/backend_unit_tests 2022-07-07 15:57:14 -07:00
wiz
0a866b468a
Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-07 22:41:26 +02:00
wiz
8f0f755014
Merge pull request #2020 from mempool/nymkappa/bugfix/duplicate-genesis-hashrate-indexing
[Hashrate indexing] - Signet started in 2020 and not in 2009
2022-07-07 22:41:07 +02:00
nymkappa
5943b88ffe
[Hashrate indexing] - Signet started in 2020 and not in 2009 2022-07-07 21:55:28 +02:00
Felipe Knorr Kuhn
7bc3ece5b5
Change @bable/core to the devDependencies 2022-07-07 12:54:47 -07:00
Felipe Knorr Kuhn
1b9100a7f7
Reduce the coverage threshold to 1% 2022-07-07 12:49:21 -07:00
Felipe Knorr Kuhn
af27d68add
Fix errors while building in prod mode 2022-07-07 12:47:31 -07:00
Felipe Knorr Kuhn
07610c7ed0
Fix backend dependencies again 2022-07-07 12:38:50 -07:00
Felipe Knorr Kuhn
6bb1b8a64c
Fix duplicate key in tsconfig 2022-07-07 12:38:16 -07:00
Felipe Knorr Kuhn
90dd78c2ec
Update package-lock 2022-07-07 12:35:47 -07:00
Felipe Knorr Kuhn
dc258da6c0
Add missing tsconfig file 2022-07-07 12:33:04 -07:00
Felipe Knorr Kuhn
2c222c36d2
Fix package-lock merge conflicts 2022-07-07 12:30:42 -07:00
Felipe Knorr Kuhn
f36fa62569
Add unit tests for the backend: Config 2022-07-07 12:22:08 -07:00
Felipe Knorr Kuhn
451e36e288
Update gitignore 2022-07-07 12:21:41 -07:00
Felipe Knorr Kuhn
352f0817d9
Add Jest to support backend unit tests 2022-07-07 12:21:30 -07:00
wiz
8dda51a92a
Remove unused deps from backend/package-lock.json 2022-07-07 19:33:43 +02:00
wiz
4bc03c2d60
Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-07 18:21:04 +02:00
wiz
cb4dac3506
Merge remote-tracking branch 'origin/master' into knorrium/prettier 2022-07-07 14:13:06 +02:00
nymkappa
4723a9d41b
Re-index related blocks when mining pool.json changes 2022-07-07 13:41:09 +02:00
Felipe Knorr Kuhn
aae2dec16d
Add editorconfig and prettier integration with eslint 2022-07-07 03:02:02 -07:00
Felipe Knorr Kuhn
958d77ed6c
Merge branch 'master' into knorrium/clean_be_deps 2022-07-06 15:11:18 -07:00
Felipe Knorr Kuhn
70b2731b82
Remove TSLint from the backend 2022-07-06 14:36:50 -07:00
Felipe Knorr Kuhn
2d888d7c13
Merge branch 'master' into fix_electrum_api 2022-07-06 14:33:02 -07:00
Felipe Knorr Kuhn
663bd118a5
Merge branch 'master' into fix_electrum_api 2022-07-06 13:36:36 -07:00
nymkappa
0887428066
Save block predictions results in db and show results in a chart 2022-07-06 22:27:45 +02:00
wiz
db1289f985
Merge branch 'master' into nymkappa/feature/price-columns 2022-07-06 22:13:25 +02:00
wiz
57276b7abd
Merge branch 'master' into nymkappa/bugfix/handle-error-pool-hashrate 2022-07-06 21:54:14 +02:00
Felipe Knorr Kuhn
72c4ea0065
Fix crypto library usage for the Electrum API 2022-07-06 12:34:54 -07:00
Felipe Knorr Kuhn
1805b74edf
Add types for cryptojs 2022-07-06 12:25:30 -07:00
wiz
327b2aa070
Merge branch 'master' into nymkappa/feature/hashrate-resolution 2022-07-06 21:10:18 +02:00
nymkappa
9ed7b2aad3
Add hashrate & difficulty chart resolution scaling 2022-07-06 21:03:55 +02:00
softsimon
42188dcef5
Upgrade packages - backend 2022-07-06 20:47:10 +02:00
nymkappa
307ee50798
Handle gracefuly query to pool dominance when there is no indexed block #1913 2022-07-06 11:00:41 +02:00
nymkappa
e8175a90f4
Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00
nymkappa
bbc9df486e
If any indexing fails | chain of hash invalid, try again in 10 seconds 2022-07-06 10:36:26 +02:00
wiz
7424c65430
Merge branch 'master' into feature/nymkappa/index-difficulty-adjustments 2022-07-06 00:20:39 +02:00
wiz
bb3f7fe61f
Merge branch 'master' into knorrium/eslint 2022-07-06 00:12:39 +02:00
wiz
1499eb3ba8
Merge branch 'master' into simon/block-tip-hash-api 2022-07-05 23:48:20 +02:00
wiz
cd4ced8d6d
Merge branch 'master' into nymkappa/bugfix/indexer-not-running 2022-07-05 23:02:05 +02:00
nymkappa
acfdc8163b
Index difficulty adjustments 2022-07-05 16:52:56 +02:00
Felipe Knorr Kuhn
35db3ffbf0
Use absolute paths when running eslint 2022-07-05 04:31:10 -07:00
Felipe Knorr Kuhn
54334a1854
Add eslint to the backend 2022-07-05 04:29:11 -07:00
Felipe Knorr Kuhn
3c2171efb3
Fix WebSocket type error 2022-07-04 08:37:36 -07:00
Felipe Knorr Kuhn
35f8e06ec4
Merge branch 'master' into nymkappa/bugfix/indexer-not-running 2022-06-28 06:52:04 -07:00
Felipe Knorr Kuhn
19ae01defb
Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz
aad94a1af3
Merge branch 'master' into simon/block-tip-hash-api 2022-06-27 00:32:14 +09:00
nymkappa
d6f594b95a
Don't run the indexer unless Bitcoin Core is fully synced 2022-06-25 19:18:32 +02:00
nymkappa
a8de738e9b
Fixes the minium tx fee bug introduced in ecbd18087b 2022-06-25 19:06:26 +02:00
nymkappa
68f72e3074
Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
wiz
411e9c2e89
Merge branch 'master' into simon/block-tip-hash-api 2022-06-23 20:50:01 +09:00
softsimon
960513c370
Fix for outspends when using esplora 2022-06-23 11:55:56 +02:00
softsimon
1479039fb5
Batch outspends requests
fixes #1902
2022-06-22 23:42:20 +02:00
softsimon
85e544dc8e
Adding missing Block Tip Hash API 2022-06-22 13:15:44 +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
wiz
95d645255d
Merge pull request #1892 from mononaut/mined-block-visualization 2022-06-18 09:57:52 +09:00
Mononaut
288bddcaf2 Add API endpoint for block summary data 2022-06-16 02:46:27 +00:00
hunicus
ca92834493
Edit formatting of regtest docs 2022-06-15 15:27:18 -04:00
wiz
e24efe7528
Merge pull request #1878 from mempool/nymkappa/feature/regtest-notes
Added regtest notes to backend README
2022-06-14 08:32:09 +09:00
wiz
109de73691
Fix typo in backend/README.md 2022-06-14 08:31:48 +09:00
nymkappa
0493d57b2e
Added regtest notes to backend README 2022-06-13 11:28:34 +02:00
nymkappa
1074d23a90
Cleanup some ops logs 2022-06-13 10:12:27 +02:00
hunicus
8154a4dd77
Clarify that manual installs are meant for devs 2022-06-11 11:05:53 -04:00
wiz
2492bc69ff
Merge pull request #1860 from hunicus/npm-install-note
Update npm install command and node.js requirements
2022-06-11 05:23:08 +09:00
wiz
b9f0e63341
Bump version numbers to v2.4.1-dev 2022-06-10 22:43:57 +09:00
hunicus
ca41edea22
Update npm install command 2022-06-09 18:15:20 -04:00
wiz
f901f06992
Release v2.4.0 2022-06-09 23:10:18 +09:00
nymkappa
be8ee52af0
Fix pool import crash 2022-06-07 22:18:51 +02:00
wiz
0b50c17ed0
Merge branch 'master' into nymkappa/bugfix/db-disabled 2022-06-08 01:56:52 +09:00
nymkappa
53bc80e899
Add 'db-less' mining pool tagging support 2022-06-07 11:28:39 +02:00
Ayanami
56dc337672
Temporary disable retries
Until we find out how to sync async
2022-06-07 04:16:37 +09:00
Ayanami
a04bafdb4c
Correct the log if the onion address is enabled or not 2022-06-07 04:16:37 +09:00
Ayanami
6ff473ab5d
Add an ability to change circuits 2022-06-07 04:16:37 +09:00
Ayanami
40bfc6bff3
Include SocksProxyAgent inside while loop
To address error Socks5 proxy rejected connection - Failure
2022-06-07 04:16:37 +09:00
Ayanami
c610cacee4
Added missing config value
addressing comments from @knorrium
2022-06-07 04:16:36 +09:00
Ayanami
e41a08789a
Added configurable user-agent for axios
Will use `mempool/v${backendInfo.getBackendInfo().version}` for default
2022-06-07 04:16:36 +09:00
Ayanami
9d5bbf1f44
Handle Error with basic retry while syncing external assets ( Price Data )
+ Removed unused External Assets value

+ Make static URL dynamic

+ Added config options for syncing pool data

+ Added retry interval & max retry
2022-06-07 04:16:36 +09:00
softsimon
ebda00dc74
Send empty list of transactions if data isn't available yet 2022-06-06 14:31:17 +04:00
nymkappa
b60c2a9341
Improve disk cache logging 2022-06-03 18:00:14 +02:00
nymkappa
3bc55d80ce
Re-added missing cache version 2022-06-03 17:04:52 +02:00
nymkappa
256dbc8c8e
Add disk cache versioning 2022-06-03 13:31:45 +02:00
wiz
11f5056871
Merge pull request #1784 from hunicus/node-version-requirement
Make node 16.15 required not recommended
2022-06-03 02:53:55 +09:00
hunicus
83660e9cf3
Make node 16.15 required not recommended 2022-06-01 22:54:46 -04:00
softsimon
f0a2ddf57b
Minor refactor for projected block transactions 2022-06-02 01:29:03 +04:00
Mononaut
3ffc4956f4 Stream projected block deltas instead of full data 2022-06-01 13:48:58 +00:00
Mononaut
79dae84363 Data pipeline for projected mempool block overview 2022-06-01 13:48:34 +00:00
wiz
ee5cd1cd96
Merge pull request #1769 from mempool/nymkappa/bugfix/divergence-fix
Re-add hash field in the mysql block query
2022-06-01 17:20:38 +09:00
nymkappa
d860344be4
Re-add hash field in the mysql block query 2022-06-01 10:06:18 +02:00
softsimon
2ee1f197d1
Send fee info with init data 2022-06-01 00:03:25 +04:00
wiz
de8a51fe9a
Merge branch 'master' into nymkappa/bugfix/bisq-dump-file 2022-06-01 03:47:12 +09:00
nymkappa
c7e9b47aa0
Only attempt to save fx rate if database is enabled 2022-05-31 20:29:43 +02:00
wiz
4c90d8e811
Merge branch 'master' into nymkappa/bugfix/bisq-dump-file 2022-06-01 03:10:50 +09:00
wiz
39f33dded2
Merge branch 'master' into nymkappa/feature/remove-fee-calculation-frontend 2022-06-01 02:44:48 +09:00
wiz
4ccd786fe9
Change backend start syslog message from DEBUG to NOTICE 2022-06-01 01:09:08 +09:00
wiz
72c3eea863
Merge branch 'master' into nymkappa/bugfix/bisq-dump-file 2022-06-01 00:14:43 +09:00
wiz
ce49dca7c8
Merge branch 'master' into nymkappa/feature/historical-rates 2022-05-31 23:58:51 +09:00
wiz
44215a2108
Merge branch 'master' into simon/update-packages 2022-05-31 18:54:34 +09:00
wiz
6b2b10960a
Merge branch 'master' into nymkappa/feature/remove-fee-calculation-frontend 2022-05-31 18:34:49 +09:00
wiz
1cb772da39
Merge branch 'master' into nymkappa/feature/additional-fee-tiers 2022-05-31 18:28:33 +09:00