nymkappa
|
2ef2a34766
|
Avoid parralel hashrate indexing when initial query is too slow
|
2022-04-03 15:47:29 +09:00 |
|
softsimon
|
8d97351598
|
Merge pull request #1488 from mempool/nymkappa/feature/testnet-signet-empty-pool-addresses
Return empty pool addresses on testnet and signet
|
2022-04-03 01:13:35 +04:00 |
|
nymkappa
|
c3a3289fcf
|
Mining stats does not depends on the websocket blocks number anymore
|
2022-04-01 12:41:25 +09:00 |
|
nymkappa
|
2521661c69
|
Remove unfiltered using input from log
|
2022-03-31 18:35:03 +09:00 |
|
nymkappa
|
12ec6bbf67
|
/api/v1/mining/difficulty/{interval} is not used
|
2022-03-30 19:46:17 +09:00 |
|
nymkappa
|
84394e13fa
|
Return empty pool addresses on testnet and signet
|
2022-03-30 16:49:28 +09:00 |
|
nymkappa
|
ccafe4a066
|
Send 404 when accessing non existing mining pool
|
2022-03-30 16:27:17 +09:00 |
|
softsimon
|
9a4d3817c5
|
Rounding bitcoin api satoshis
fixes #1466
|
2022-03-30 11:12:55 +04:00 |
|
nymkappa
|
7ab950d03c
|
Add slug when we insert a mining pool for the first time
|
2022-03-29 16:31:26 +09:00 |
|
nymkappa
|
f51ea5b537
|
Fix query to insert unknown mining pool
|
2022-03-29 14:37:17 +09:00 |
|
softsimon
|
32792f4f74
|
npm audit fix
|
2022-03-27 14:26:06 +04:00 |
|
nymkappa
|
9b04b3bcd6
|
Merge branch 'master' into nymkappa/feature/pool-slug-url
|
2022-03-26 12:08:39 +09:00 |
|
nymkappa
|
352ea950a2
|
Use mining pool slug in urls
|
2022-03-25 14:22:22 +09:00 |
|
nymkappa
|
810c335759
|
If pool slug does not exist, generate one on the fly, avoid crash
|
2022-03-25 12:31:09 +09:00 |
|
nymkappa
|
bb0fd78f28
|
Added slug into pools table
|
2022-03-24 19:44:22 +09:00 |
|
nymkappa
|
185dddd8c7
|
Truncate hashrates after #1435 - Fix hashrate indexing logs
|
2022-03-24 07:40:03 +09:00 |
|
softsimon
|
dcaa7fc4e8
|
Last hashrate indexing check needs to be in milliseconds
|
2022-03-24 00:24:17 +04:00 |
|
wiz
|
223dc46bd5
|
Merge branch 'master' into fix_git_commit_error
|
2022-03-23 19:49:04 +00:00 |
|
Felipe Knorr Kuhn
|
230fbdbc8e
|
Fix empty revision case
|
2022-03-23 12:33:15 -07:00 |
|
Felipe Knorr Kuhn
|
4bb6f49950
|
Copy the git commit hash logic to the backend
|
2022-03-23 12:17:23 -07:00 |
|
Felipe Knorr Kuhn
|
3e2e23417a
|
Allow syncing external backend assets using Tor
|
2022-03-23 08:11:22 -07:00 |
|
nymkappa
|
a91fa797fa
|
Merge branch 'master' into nymkappa/bugfix/hashrate-native-js-timestamp
|
2022-03-23 19:10:21 +09:00 |
|
nymkappa
|
2644f2fb07
|
Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount}
|
2022-03-23 11:54:31 +09:00 |
|
nymkappa
|
e5fd92b734
|
Most recent week was missing from indexing - Post merge fixes
|
2022-03-22 09:20:16 +09:00 |
|
nymkappa
|
74f4a6fcb4
|
Work using native javascript milliseconds timestamp
|
2022-03-22 08:44:54 +09:00 |
|
nymkappa
|
077177ecc4
|
If we have incomplete data for the day/week, don't index hashrate
|
2022-03-21 20:32:57 +09:00 |
|
nymkappa
|
e8e4fd3457
|
mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json
|
2022-03-17 16:07:58 +01:00 |
|
softsimon
|
18e9fc8717
|
Merge branch 'master' into difficulty
|
2022-03-17 11:43:29 +01:00 |
|
nymkappa
|
9252a45971
|
Fix pagination on /mining/blocks
|
2022-03-16 21:00:40 +01:00 |
|
nymkappa
|
41fed984cb
|
Fix pool get blocks API undefined start block behavior
|
2022-03-16 20:19:39 +01:00 |
|
nymkappa
|
56bf267664
|
Updated blocks list in /pool/{id} page
|
2022-03-16 18:12:02 +01:00 |
|
nymkappa
|
ffb5db69a8
|
Store hex in coinbase raw - Improve scripsig parsing
|
2022-03-16 12:10:18 +01:00 |
|
nymkappa
|
94dbec46cf
|
Index asciiScriptSig and display it in /mining/blocks
|
2022-03-15 23:33:51 +01:00 |
|
nymkappa
|
3cd1505128
|
Optimize RPC calls
|
2022-03-15 21:16:02 +01:00 |
|
Antoni Spaanderman
|
dbcc46be5f
|
fix and improve block time predictions
dce775e but then on the backed after refractor #1352
|
2022-03-15 20:39:25 +01:00 |
|
softsimon
|
e26beee44c
|
Merge node-bitcoin into the project
|
2022-03-15 14:44:31 +01:00 |
|
softsimon
|
8637059119
|
Difficulty adjustment refactor
fixes #1157
|
2022-03-14 16:48:59 +01:00 |
|
wiz
|
822c4256d7
|
Merge pull request #1358 from mempool/wiz/increase-default-indexing-blocks-amount
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks
|
2022-03-14 13:15:54 +00:00 |
|
wiz
|
2023d36603
|
Cleanup MySQL unix socket code and add to sample config
|
2022-03-14 13:11:04 +00:00 |
|
Djuri Baars
|
465529b03f
|
sed and config fix for MySQL socket, accept CLA for @dsbaars
|
2022-03-14 13:45:50 +01:00 |
|
Djuri Baars
|
7fd9e27cc2
|
Add MySQL socket support
|
2022-03-14 13:45:34 +01:00 |
|
nymkappa
|
edddf25917
|
Remove unnecessary migration version 15
|
2022-03-13 16:08:33 +01:00 |
|
nymkappa
|
0730053d5d
|
Use bitcoin RPC getblock because esplora returns int for difficulty - Fix some css in mining dashboard
|
2022-03-13 16:08:33 +01:00 |
|
nymkappa
|
bec3f214b5
|
Make sure to set avg_hashrate field to double unsigned
|
2022-03-13 16:08:32 +01:00 |
|
nymkappa
|
33897b029f
|
Set db connection to UTC - Fix hashrate indexing
|
2022-03-13 16:08:31 +01:00 |
|
wiz
|
81984e9df5
|
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks
|
2022-03-13 13:57:20 +00:00 |
|
nymkappa
|
d8e986996f
|
Add pagination on /mining/blocks
|
2022-03-12 16:49:15 +01:00 |
|
nymkappa
|
0e0331d8ab
|
Create working template for the new blocks page
|
2022-03-12 16:49:15 +01:00 |
|
nymkappa
|
0dbc725c39
|
int -> bigint for all satoshis related indexed data
|
2022-03-12 15:48:22 +01:00 |
|
nymkappa
|
cd12e9bde9
|
Only insert hashrate states for bitcoin
|
2022-03-12 15:48:21 +01:00 |
|
nymkappa
|
87405ec4a5
|
Don't try to reset hashrates states if not bitcoin
|
2022-03-12 15:48:14 +01:00 |
|
nymkappa
|
afe7a360f7
|
Make blocks.fees larger data type
|
2022-03-11 20:42:07 +01:00 |
|
softsimon
|
9dbfd96249
|
Merge pull request #1320 from antonilol/regtest-1
regtest fixes
|
2022-03-11 14:07:58 +01:00 |
|
nymkappa
|
9a71c15b49
|
Fix block indexing log
|
2022-03-10 14:23:29 +01:00 |
|
nymkappa
|
8ca3f6e72b
|
Index more data using getblockstats core RPC
|
2022-03-10 14:21:11 +01:00 |
|
nymkappa
|
d82f9c4998
|
Index more data using getblockstats core RPC
|
2022-03-10 14:08:01 +01:00 |
|
nymkappa
|
9ccb23f651
|
Index weekly hashrates using last Monday midnight - Fix charts tooltip
|
2022-03-10 11:53:49 +01:00 |
|
nymkappa
|
643e5ceb7f
|
Increment db version to 10 (26ee4204ac )
|
2022-03-09 18:51:27 +01:00 |
|
Antoni Spaanderman
|
2cd24624b9
|
Merge branch 'master' into regtest-1
|
2022-03-09 17:55:09 +01:00 |
|
softsimon
|
381a310216
|
Display unknown for non standard output types
fixes #1262
|
2022-03-09 16:28:26 +01:00 |
|
Antoni Spaanderman
|
8d42b38234
|
simplify if statement
|
2022-03-09 11:51:36 +01:00 |
|
Antoni Spaanderman
|
b2f9c7db2d
|
add non null assertion
|
2022-03-08 20:59:46 +01:00 |
|
nymkappa
|
f23f7f1cfa
|
Cleanup empty block in api response - Update cache warmer
|
2022-03-08 20:46:19 +01:00 |
|
nymkappa
|
2b5d972e8d
|
Only show relevant hashrate in the pool page
|
2022-03-08 20:46:18 +01:00 |
|
nymkappa
|
ad2dcc46e4
|
Added pool hashrate chart
|
2022-03-08 20:46:14 +01:00 |
|
Antoni Spaanderman
|
71402f21c6
|
revert "add network regtest" 1f0ae60
|
2022-03-08 19:59:18 +01:00 |
|
Antoni Spaanderman
|
d179a563e4
|
Merge branch 'master' into regtest-1
|
2022-03-08 19:45:03 +01:00 |
|
softsimon
|
8267344cdc
|
Don't push full RBF-transactions to prevent old states.
|
2022-03-08 18:54:49 +01:00 |
|
softsimon
|
b15de021f7
|
Fixing bug where RBF wasn't detected when using bitcoind
|
2022-03-08 18:39:53 +01:00 |
|
softsimon
|
f85771e03f
|
Replace by fee storage
fixes #1222
|
2022-03-08 18:39:53 +01:00 |
|
nymkappa
|
26ee4204ac
|
Index blocks.blockTimestamp
|
2022-03-08 17:10:29 +01:00 |
|
softsimon
|
6f3443faba
|
UTXO spent tracking refactor
refs #1301
|
2022-03-07 19:45:09 +01:00 |
|
softsimon
|
beae88778b
|
Merge pull request #1308 from nymkappa/bugfix/fix-db-migration
Truncate hashrates table only for bitcoin (db migration v9)
|
2022-03-07 15:57:20 +01:00 |
|
nymkappa
|
32d66c03c6
|
Truncate hashrates table only for bitcoin (db migration v9)
|
2022-03-07 15:56:07 +01:00 |
|
softsimon
|
00ad58c26d
|
Merge branch 'master' into simon/track-utxos
|
2022-03-07 15:12:36 +01:00 |
|
softsimon
|
059e82a805
|
UTXO spent tracking
fixes #1301
|
2022-03-06 18:27:13 +01:00 |
|
nymkappa
|
2570dbfab4
|
Fix incorrect state naming
|
2022-03-06 17:06:55 +01:00 |
|
nymkappa
|
3d1a10cdfc
|
Use the latest timestamp in hashrate data ticker
|
2022-03-06 16:57:40 +01:00 |
|
nymkappa
|
2a170c07d1
|
Remove unnecessary await
|
2022-03-06 16:50:59 +01:00 |
|
nymkappa
|
4b859eb4f6
|
Re-index hashrates because we have different timestamp handling
|
2022-03-06 16:48:14 +01:00 |
|
nymkappa
|
89411f23d8
|
Set connection pool timezone to UTC - Close mysql connections upon error
|
2022-03-06 16:44:09 +01:00 |
|
nymkappa
|
1ced44d970
|
Remove useless mining function wrapper in backend
|
2022-03-06 12:52:39 +01:00 |
|
nymkappa
|
8532d13a0d
|
Update hashrate indexing logs
|
2022-03-06 12:52:39 +01:00 |
|
nymkappa
|
7314582dd1
|
Split network daily hashrate indexing and weekly pool hashrate indexing
|
2022-03-06 12:52:38 +01:00 |
|
softsimon
|
552c717693
|
Merge branch 'master' into simon/address-prefix-bug
|
2022-03-05 17:08:23 +01:00 |
|
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 |
|