nymkappa
|
884e3efc19
|
Added slug into pools table
|
2022-03-24 19:44:22 +09:00 |
|
nymkappa
|
2d8a8ae4a1
|
Truncate hashrates after #1435 - Fix hashrate indexing logs
|
2022-03-24 07:40:03 +09:00 |
|
nymkappa
|
fdea74db0a
|
Store hex in coinbase raw - Improve scripsig parsing
|
2022-03-16 12:10:18 +01:00 |
|
nymkappa
|
acaa6c6e45
|
Index asciiScriptSig and display it in /mining/blocks
|
2022-03-15 23:33:51 +01:00 |
|
nymkappa
|
2900374bc8
|
Remove unnecessary migration version 15
|
2022-03-13 16:08:33 +01:00 |
|
nymkappa
|
aa2480507c
|
Make sure to set avg_hashrate field to double unsigned
|
2022-03-13 16:08:32 +01:00 |
|
nymkappa
|
c601f92732
|
Set db connection to UTC - Fix hashrate indexing
|
2022-03-13 16:08:31 +01:00 |
|
nymkappa
|
cfbfa2f443
|
int -> bigint for all satoshis related indexed data
|
2022-03-12 15:48:22 +01:00 |
|
nymkappa
|
d7a270f0da
|
Only insert hashrate states for bitcoin
|
2022-03-12 15:48:21 +01:00 |
|
nymkappa
|
e48df811a6
|
Make blocks.fees larger data type
|
2022-03-11 20:42:07 +01:00 |
|
nymkappa
|
74d9762821
|
Index more data using getblockstats core RPC
|
2022-03-10 14:21:11 +01:00 |
|
nymkappa
|
950be63da0
|
Index more data using getblockstats core RPC
|
2022-03-10 14:08:01 +01:00 |
|
nymkappa
|
a455e769e5
|
Increment db version to 10 (26ee4204ac68ee718338db0adb4789cce2976112)
|
2022-03-09 18:51:27 +01:00 |
|
nymkappa
|
91bef41b7e
|
Index blocks.blockTimestamp
|
2022-03-08 17:10:29 +01:00 |
|
nymkappa
|
020e09f86f
|
Truncate hashrates table only for bitcoin (db migration v9)
|
2022-03-07 15:56:07 +01:00 |
|
nymkappa
|
b60e0844e9
|
Re-index hashrates because we have different timestamp handling
|
2022-03-06 16:48:14 +01:00 |
|
nymkappa
|
085f5e5cca
|
Set connection pool timezone to UTC - Close mysql connections upon error
|
2022-03-06 16:44:09 +01:00 |
|
nymkappa
|
ce14cd2496
|
Split network daily hashrate indexing and weekly pool hashrate indexing
|
2022-03-06 12:52:38 +01:00 |
|
nymkappa
|
abb96ca064
|
warn on re-index - fix hash indexing state issue - cleanup ui mining
|
2022-02-24 20:21:14 +09:00 |
|
nymkappa
|
d751662010
|
Create stacked pools historical hashrates to see dominance over time
|
2022-02-24 20:21:12 +09:00 |
|
nymkappa
|
e573f03b9e
|
Update database migration log levels
|
2022-02-21 23:57:44 +09:00 |
|
nymkappa
|
c770d15dad
|
Add --reindex command line parameter to force full re-indexing
|
2022-02-21 16:38:18 +09:00 |
|
nymkappa
|
ad51a0101c
|
Index new hashrates once every 24 hours
|
2022-02-21 14:48:59 +09:00 |
|
nymkappa
|
5a6f9269b1
|
Generate daily average hashrate data
|
2022-02-21 14:48:57 +09:00 |
|
nymkappa
|
c0082547c8
|
When blocks need re-indexing, truncate the table
|
2022-02-17 18:02:55 +09:00 |
|
nymkappa
|
11d771e477
|
Cleanup blocks/pools fields data type - Index more block data
|
2022-02-16 15:22:55 +09:00 |
|
nymkappa
|
a79609ff5c
|
Added /api/v1/blocksExtras endpoint
|
2022-02-10 22:11:10 +09:00 |
|
nymkappa
|
e3696bca61
|
Fixes post rebase
|
2022-01-28 15:01:24 +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
|
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
|
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
|
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 |
|
nymkappa
|
49689d8807
|
Import mining pools into the database - Increment db schema to 3
|
2022-01-19 18:50:52 +09:00 |
|
nymkappa
|
de16205d1c
|
Added missing log tags
|
2022-01-12 17:43:32 +09:00 |
|
nymkappa
|
d6d02c6d22
|
Sleep 10 seconds before ending the process after critical error in database migration
|
2022-01-12 17:26:10 +09:00 |
|
nymkappa
|
2fcf2f1d40
|
Extract all CREATE commands from transaction
|
2022-01-12 16:41:27 +09:00 |
|
nymkappa
|
3a75f578db
|
Print database engine version when migration script starts
|
2022-01-12 16:06:45 +09:00 |
|
nymkappa
|
7cfdf90bb9
|
Only create statistics.index if needed (supports old mariadb) - Make sure all db connections are released - Fix linter issues - Remove .toString()
|
2022-01-12 14:10:16 +09:00 |
|
nymkappa
|
50e828995e
|
Refactor migrations - Wrap with TRANSACTION
|
2022-01-11 20:43:59 +09:00 |
|
nymkappa
|
68881df2a4
|
Only create INDEX 'added' when it does not already exist
|
2022-01-11 11:47:04 +09:00 |
|
nymkappa
|
6c0dd4a5b3
|
INDEX 'added' in statistics table
|
2022-01-10 19:48:29 +09:00 |
|
softsimon
|
331e3b4c3e
|
Fix backend support for 'liquidtestnet' network
|
2021-12-31 01:26:45 +04:00 |
|
softsimon
|
dbd0901641
|
Automated database creation and migration
fixes #1002
|
2021-12-13 11:32:04 +04:00 |
|