Antoni Spaanderman
c1e83c9c7c
Merge branch 'master' into log-priority
2022-02-07 08:59:01 +01:00
wiz
d4cb6cd445
Merge branch 'master' into fetch_conversion_rates_over_tor
2022-02-06 07:53:59 +00:00
Felipe Knorr Kuhn
975ec64054
Change fiat conversion logs to DEBUG
2022-02-05 15:38:03 -08:00
Felipe Knorr Kuhn
ff20316d2e
Rename PRICENODE to PRICE_DATA_SERVER
2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
38db073726
Reduce currency rates polling interval from 1 hour to 10 minutes
2022-02-05 00:33:16 -08:00
Felipe Knorr Kuhn
78090a9676
Make the Currency Conversion Service URLs configurable and log when queried
2022-02-04 22:48:16 -08:00
Antoni Spaanderman
723ef1056e
Merge branch 'master' into log-priority
...
fix conflicts in backend/src/config.ts and backend/mempool-config.sample.json
2022-02-04 12:32:08 +01:00
nymkappa
835ccce5b6
Renamed extra
to extras
2022-02-04 19:28:00 +09:00
Felipe Knorr Kuhn
e6a318d310
Query conversion rates service over clearnet or Tor with mempool User-Agent
2022-02-03 23:23:57 -08:00
Felipe Knorr Kuhn
e036c7a5b4
Update README, reference config files and Docker with the new SOCKS config
2022-02-03 23:21:19 -08:00
Felipe Knorr Kuhn
e453d19181
Allow synthetic default imports due to the socks library
2022-02-03 23:16:30 -08:00
Felipe Knorr Kuhn
90a43f5c27
Add socks-proxy-agent dependency
2022-02-03 23:14:56 -08:00
nymkappa
a49cc9a2fa
Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface
2022-02-04 12:51:45 +09:00
softsimon
63fd1ec639
Merge branch 'master' into genesis-outspend
2022-02-03 13:48:19 +04:00
nymkappa
044a6fac07
Replaced /mining/pools?interval=X by /mining/pools/X
2022-02-02 19:03:07 +09:00
nymkappa
e3696bca61
Fixes post rebase
2022-01-28 15:01:24 +09:00
nymkappa
6e61de3a96
Small improvements on the mining page UX
...
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100
Don't use unfiltered mysql user input
Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
2c31fe6328
Move block indexing start logic in blocks.ts
2022-01-28 15:01:23 +09:00
nymkappa
7188d0d55d
Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks)
2022-01-28 15:01:23 +09:00
nymkappa
ae379f1af4
Wrap block indexing into a try/catch since we don't use async when calling that function
2022-01-28 15:01:22 +09:00
nymkappa
1160baaf02
Polish mining page UI
...
Make sure to wait for all mining pools queries before continuing
2022-01-28 15:01:22 +09:00
nymkappa
045141d16d
Don't try to identify the mining pool on liquid/bisq
2022-01-28 15:01:21 +09:00
nymkappa
8b9e3e0ea1
Import pools file for testnet and signet as well - Added missing express routes
2022-01-28 15:01:21 +09:00
nymkappa
dcf613e065
DROP -> DROP IF EXISTS
2022-01-28 15:01:20 +09:00
nymkappa
a8e5f44937
Drop legacy blocks
table during migration - Fix linter issues
2022-01-28 15:01:19 +09:00
nymkappa
92de2bbc03
Fix xxxWindowPreference management
2022-01-28 15:01:19 +09:00
nymkappa
16ab9b38a0
Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale
2022-01-28 15:01:15 +09:00
nymkappa
b567c0ad43
Add difficulty adjustment in mining page + Fix pools table on mobile
2022-01-28 14:52:12 +09:00
nymkappa
8d406a40e5
Add pie chart and rewrite the pool ranking component
2022-01-28 13:54:59 +09:00
nymkappa
cd61bcf85a
Increment migration schema version to 3 and re-add pools
and blocks
table creation queries
2022-01-28 13:53:29 +09:00
nymkappa
5ca98af7d1
Generate mining basic pool ranking (sorted by block found) for a specified timeframe
2022-01-28 13:52:35 +09:00
nymkappa
4646cc6df3
Refactor blocks.ts and index 10k block headers at launch
2022-01-28 13:51:14 +09:00
nymkappa
1b5ef17b1f
Add backend README - Backend watchers setup
2022-01-28 13:50:58 +09:00
nymkappa
1a856574aa
Migrate pools.json to the database in one command - Updated latest pools.json file from Blockchain-Known-Pools master
2022-01-28 13:50:58 +09:00
nymkappa
159c4224bd
Remove useless autocommit=0 in db migration script
2022-01-25 16:45:52 +09:00
wiz
0ac558fc0d
Merge pull request #1163 from nymkappa/feature/pools-migration
...
Mining dashboard (1/2) - Import mining pools into the database - Increment db schema to 3
2022-01-25 06:27:10 +00:00
nymkappa
675ea25880
Wrap statistics db ops with try/catch
2022-01-24 16:22:38 +09:00
nymkappa
3528ca35bd
Make sure to wait for all mining pools queries before continuing
2022-01-24 14:34:03 +09:00
Antoni Spaanderman
5a1d1a2e95
add log priority option for stdout log
2022-01-23 12:20:32 +01:00
nymkappa
0df75cb3a9
Fix typescript miss use
2022-01-20 23:31:32 +09:00
nymkappa
0b8244d19a
Make sure to release all db connections
2022-01-20 23:07:20 +09:00
nymkappa
1abfa4a82e
Add pools.json file in default config.ts - Handle file exception - Only import pools for MAINNET
2022-01-20 22:59:10 +09:00
nymkappa
a9eb0ab4bb
Fix add 'Unknown' pool logic
2022-01-20 16:56:25 +09:00
nymkappa
16f13fff32
Fix linter issues and typo
2022-01-20 16:34:14 +09:00
nymkappa
43b255bef1
Add pools.json to EXTERNAL_ASSETS - Now supports updating the table
2022-01-20 13:53:08 +09:00
nymkappa
49689d8807
Import mining pools into the database - Increment db schema to 3
2022-01-19 18:50:52 +09:00
Antoni Spaanderman
142543cc35
rethrow the error if it wasnt the genesis coinbase
2022-01-19 08:27:51 +01:00
Antoni Spaanderman
5202e669ce
outputs of genesis coinbase are always unspent
2022-01-18 22:25:38 +01:00
Antoni Spaanderman
7ad85c33b6
dont use hardcoded genesis coinbase and block hash
...
fixes #1128
2022-01-18 21:55:09 +01:00
wiz
c96310a8d7
Merge pull request #1151 from nymkappa/feature/save-zeroed-statistics
...
Insert zeroed statistics in the database if the mempool is empty
2022-01-17 19:08:35 +09:00