softsimon
8b1a0fe706
Merge branch 'master' into bugfix/stop-block-chunk-indexing-upon-error
2022-03-05 16:30:26 +01:00
nymkappa
92dc5a78d8
Make sure to reset hashrates indexing flags upon error
2022-03-05 16:25:38 +01:00
nymkappa
773ac4d44b
Pause block indexing chunk upon error and retry later
2022-03-05 15:50:48 +01:00
nymkappa
5f6c1c6ccf
Only reset hashrate state flag after database migration - Fix weekly hashrate indexing bug
2022-03-05 13:54:07 +01:00
Antoni Spaanderman
e2ef58c5dd
Merge branch 'master' into regtest-1
2022-02-28 13:09:51 +01:00
softsimon
056a31fc79
Only return unique address prefix autocomplete
...
fixes #1290
2022-02-27 15:58:09 +03:00
nymkappa
434b60ef8b
Removed debug console.log
2022-02-25 18:17:43 +09:00
nymkappa
ec40231f93
warn on re-index - fix hash indexing state issue - cleanup ui mining
2022-02-24 20:21:14 +09:00
nymkappa
78fa3e33cd
Create stacked pools historical hashrates to see dominance over time
2022-02-24 20:21:12 +09:00
nymkappa
a214c5ca20
Disable difficulty adjustment table for now until loadMore is implemented
2022-02-24 20:21:12 +09:00
wiz
6c5253a7c4
Merge branch 'master' into feature/mempool-show-only-fees
2022-02-23 02:19:14 +00:00
nymkappa
c1092adfd9
Add blocks.extras.totalFees and show it in blockchain blocks component
2022-02-22 23:57:54 +09:00
nymkappa
807ef2288a
Don't assume two difficulty with the same value is impossible
2022-02-22 22:53:47 +09:00
nymkappa
8aa1fe48dc
Remove debug console.log
2022-02-22 22:04:52 +09:00
nymkappa
83a382a0cb
Merge hashrate and difficulty into one chart
2022-02-22 20:16:18 +09:00
nymkappa
e770520f0e
Add data zoom to difficulty
2022-02-22 00:26:16 +09:00
nymkappa
976017dbef
Update database migration log levels
2022-02-21 23:57:44 +09:00
nymkappa
938a978900
Make sure to try/catch indexing code in case db is not available
2022-02-21 23:46:25 +09:00
nymkappa
649ad2e859
Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops
2022-02-21 17:34:07 +09:00
nymkappa
537e50c682
Reduce log spam during hashrate indexing
2022-02-21 16:54:43 +09:00
nymkappa
bb1c5d0b31
Add --reindex
command line parameter to force full re-indexing
2022-02-21 16:38:18 +09:00
nymkappa
e4721e8574
Improve hashrate indexing logs
2022-02-21 14:49:00 +09:00
nymkappa
e61df324ea
Index new hashrates once every 24 hours
2022-02-21 14:48:59 +09:00
nymkappa
358604ad85
Added hashrate chart
2022-02-21 14:48:58 +09:00
nymkappa
6fe8f6fa1e
Generate daily average hashrate data
2022-02-21 14:48:57 +09:00
Antoni Spaanderman
243055ceae
Merge branch 'master' into regtest-1
2022-02-17 16:05:22 +01:00
wiz
1d26390da7
Merge branch 'master' into feature/truncate-blocks-schema-change
2022-02-17 11:18:54 +00:00
nymkappa
b18115f71a
Reverts part of 6f25ecd98d9fdf1079dd550ecde4162ebe8d62d5
2022-02-17 18:08:00 +09:00
nymkappa
b1bd6f8fdb
Database schema version 6 truncate the blocks table
2022-02-17 18:07:59 +09:00
nymkappa
15ba487ee4
When blocks need re-indexing, truncate the table
2022-02-17 18:02:55 +09:00
nymkappa
f45103e7e3
Add difficulty chart timespan selection
2022-02-17 09:41:05 +09:00
nymkappa
9fa7e58d82
Show all difficulty adjustment in a table - Need pagination
2022-02-16 22:56:06 +09:00
nymkappa
7270b1ccac
Create difficulty chart component
2022-02-16 21:20:28 +09:00
nymkappa
0c1fa2b4aa
Cleanup blocks/pools fields data type - Index more block data
2022-02-16 15:22:55 +09:00
nymkappa
5448e8c292
Merge branch 'master' into feature/pool-stats-page
2022-02-15 20:42:06 +09:00
nymkappa
ca766bf40d
Provide a way to completely disable block indexing and mining menu
2022-02-15 19:51:26 +09:00
nymkappa
fa8607c57d
[Pool page] - Parse regexes and addresses in the backend
2022-02-15 18:45:53 +09:00
nymkappa
a88d6d2fca
Don't wait for 100% mempool sync before starting block indexing
2022-02-14 17:57:55 +09:00
nymkappa
87170247bd
Revert "Merge pull request #1240 from nymkappa/feature/mempool-sync-threshold"
...
This reverts commit 2f921f4cc7
, reversing
changes made to 877be47e5b
.
2022-02-14 17:57:03 +09:00
nymkappa
f381da0f78
Show correct reward in pool stat page
2022-02-14 14:11:55 +09:00
nymkappa
09180c4f91
Renamed /mining/pool-blocks/xxx -> /mining/pool/:poolId/blocks
2022-02-14 14:08:34 +09:00
nymkappa
4f02efd7fe
Fix block link in pool page - Click on chart slice open pool page
2022-02-14 14:08:33 +09:00
nymkappa
d8e58ee622
Set reward to 0 by default until reward indexing is available
2022-02-14 14:08:33 +09:00
nymkappa
c28f3fd4b6
Disable query logger spam
2022-02-14 14:08:33 +09:00
nymkappa
e1f3c662b2
Show block reward in the pool stat page
2022-02-14 14:08:31 +09:00
nymkappa
3f55aabc53
Mining pool detail page draft PoC
2022-02-14 14:08:30 +09:00
nymkappa
b854c071d0
Added mining/pool/:poolId
and mining/pool/:poolId/:interval
APIs
2022-02-14 14:08:10 +09:00
Antoni Spaanderman
3a3392423d
set fee_histogram to []
2022-02-13 16:13:46 +01:00
Antoni Spaanderman
2e1348550e
implement /api/mempool
2022-02-13 13:52:04 +01:00
Antoni Spaanderman
9c992a61c5
Merge branch 'master' into regtest-1
2022-02-12 12:28:37 +01:00
nymkappa
b8e40494aa
Remove fields that won't be used in the frontend for now
2022-02-12 20:16:51 +09:00
nymkappa
ef43da05c9
Improve block indexing logging
2022-02-10 23:02:12 +09:00
nymkappa
fac49d0b98
Added /api/v1/blocksExtras endpoint
2022-02-10 22:11:10 +09:00
softsimon
b7f93a5726
Merge branch 'master' into feature/mempool-sync-threshold
2022-02-10 16:28:05 +04:00
softsimon
98d819b3d2
Merge branch 'master' into bugfix/fix-duplicate-indexing
2022-02-10 16:23:00 +04:00
nymkappa
af02e9b533
Consider we're synced with the mempool if we cached 99% of pending txs
2022-02-10 19:19:54 +09:00
softsimon
4e076566db
Merge branch 'master' into bugfix/remove-debug-return
2022-02-09 17:13:13 +04:00
Antoni Spaanderman
8e0394e837
Merge branch 'master' into regtest-1
2022-02-09 10:42:23 +01:00
nymkappa
f9a6110c69
Remove debug return which break the UX the first time we open mempool
2022-02-08 11:20:19 +09:00
wiz
4b871468bc
Merge branch 'master' into bugfix/fix-duplicate-indexing
2022-02-07 14:55:38 +00:00
Antoni Spaanderman
62990a95f8
Merge branch 'master' into log-priority
...
i first forgot to fetch upstream in github, conflicts are fixed
2022-02-07 09:15:42 +01:00
Antoni Spaanderman
5c4f6d6ada
Merge branch 'master' into log-priority
2022-02-07 08:59:01 +01:00
softsimon
cd88692d3d
Changing Asset proxy redirects to liquid.network
2022-02-07 03:34:16 +04:00
softsimon
4c2c6396ba
Renaming assets-group to assets/group
2022-02-07 03:34:15 +04:00
softsimon
2e5c8bdfd3
Featured assets and asset groups
2022-02-07 03:34:14 +04:00
wiz
aae780de6e
Merge branch 'master' into fetch_conversion_rates_over_tor
2022-02-06 07:53:59 +00:00
Felipe Knorr Kuhn
4afeb3998a
Change fiat conversion logs to DEBUG
2022-02-05 15:38:03 -08:00
Felipe Knorr Kuhn
6b2900345a
Rename PRICENODE to PRICE_DATA_SERVER
2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
ee7f8d8d18
Reduce currency rates polling interval from 1 hour to 10 minutes
2022-02-05 00:33:16 -08:00
nymkappa
12b53d9ace
Duplicated db blocks insertion attempts are expected
2022-02-05 15:50:57 +09:00
Felipe Knorr Kuhn
452375aaf7
Make the Currency Conversion Service URLs configurable and log when queried
2022-02-04 22:48:16 -08:00
Antoni Spaanderman
d08d2a16d3
Merge branch 'master' into regtest-1
...
for cla bot
2022-02-04 12:34:42 +01:00
Antoni Spaanderman
9e9837133b
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
456bd5a18e
Renamed extra
to extras
2022-02-04 19:28:00 +09:00
Felipe Knorr Kuhn
b1dde4d8b1
Query conversion rates service over clearnet or Tor with mempool User-Agent
2022-02-03 23:23:57 -08:00
nymkappa
9f0b09295d
Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface
2022-02-04 12:51:45 +09:00
softsimon
319f646fe2
Merge branch 'master' into genesis-outspend
2022-02-03 13:48:19 +04:00
nymkappa
e48a2f73e4
Replaced /mining/pools?interval=X by /mining/pools/X
2022-02-02 19:03:07 +09:00
nymkappa
9df490373b
Fixes post rebase
2022-01-28 15:01:24 +09:00
nymkappa
6ebbc5667d
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
d66bc57165
Move block indexing start logic in blocks.ts
2022-01-28 15:01:23 +09:00
nymkappa
647f12ffaa
Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks)
2022-01-28 15:01:23 +09:00
nymkappa
a271c39ba8
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
f8f9108ae1
Polish mining page UI
...
Make sure to wait for all mining pools queries before continuing
2022-01-28 15:01:22 +09:00
nymkappa
40e529ece7
Don't try to identify the mining pool on liquid/bisq
2022-01-28 15:01:21 +09:00
nymkappa
df960ab9ba
Import pools file for testnet and signet as well - Added missing express routes
2022-01-28 15:01:21 +09:00
nymkappa
5b32ab6dde
DROP -> DROP IF EXISTS
2022-01-28 15:01:20 +09:00
nymkappa
aa457e316b
Drop legacy blocks
table during migration - Fix linter issues
2022-01-28 15:01:19 +09:00
nymkappa
b8410f00d9
Fix xxxWindowPreference management
2022-01-28 15:01:19 +09:00
nymkappa
4b9bfd6ca0
Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale
2022-01-28 15:01:15 +09:00
nymkappa
b9a047b22d
Add difficulty adjustment in mining page + Fix pools table on mobile
2022-01-28 14:52:12 +09:00
nymkappa
0a267affaf
Add pie chart and rewrite the pool ranking component
2022-01-28 13:54:59 +09:00
nymkappa
18a63933fa
Increment migration schema version to 3 and re-add pools
and blocks
table creation queries
2022-01-28 13:53:29 +09:00
nymkappa
bfe9f99c35
Generate mining basic pool ranking (sorted by block found) for a specified timeframe
2022-01-28 13:52:35 +09:00
nymkappa
37031ec913
Refactor blocks.ts and index 10k block headers at launch
2022-01-28 13:51:14 +09:00
nymkappa
1a22923cd8
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
703b4cc92a
Remove useless autocommit=0 in db migration script
2022-01-25 16:45:52 +09:00
wiz
6ad0344ea5
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
a805c86697
Wrap statistics db ops with try/catch
2022-01-24 16:22:38 +09:00
nymkappa
1322298a06
Make sure to wait for all mining pools queries before continuing
2022-01-24 14:34:03 +09:00