Commit Graph
1159 Commits
Author SHA1 Message Date
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 2c431d5df5 Optimize RPC calls 2022-03-15 21:16:02 +01:00
Antoni Spaanderman 7183b588aa fix and improve block time predictions
dce775e but then on the backed after refractor #1352
2022-03-15 20:39:25 +01:00
softsimon 21cbea9e0a Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
softsimon 45206ea90e Difficulty adjustment refactor
fixes #1157
2022-03-14 16:48:59 +01:00
wiz 5a04ffd128 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 d8ac35027e Cleanup MySQL unix socket code and add to sample config 2022-03-14 13:11:04 +00:00
Djuri Baars 320ce82885 sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars bc729dc6f4 Add MySQL socket support 2022-03-14 13:45:34 +01:00
nymkappa 2900374bc8 Remove unnecessary migration version 15 2022-03-13 16:08:33 +01:00
nymkappa 24310d0c8f 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 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
wiz 398dbb5e98 Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00
nymkappa 112880f332 Add pagination on /mining/blocks 2022-03-12 16:49:15 +01:00
nymkappa aa7476807b Create working template for the new blocks page 2022-03-12 16:49:15 +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 42e31b8410 Don't try to reset hashrates states if not bitcoin 2022-03-12 15:48:14 +01:00
nymkappa e48df811a6 Make blocks.fees larger data type 2022-03-11 20:42:07 +01:00
softsimon 3782934045 Merge pull request #1320 from antonilol/regtest-1
regtest fixes
2022-03-11 14:07:58 +01:00
nymkappa 4f403d3808 Fix block indexing log 2022-03-10 14:23:29 +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 3558389eea Index weekly hashrates using last Monday midnight - Fix charts tooltip 2022-03-10 11:53:49 +01:00
nymkappa a455e769e5 Increment db version to 10 (26ee4204ac) 2022-03-09 18:51:27 +01:00
Antoni Spaanderman c45f301424 Merge branch 'master' into regtest-1 2022-03-09 17:55:09 +01:00
softsimon a63c07e39e Display unknown for non standard output types
fixes #1262
2022-03-09 16:28:26 +01:00
Antoni Spaanderman 40804b3426 simplify if statement 2022-03-09 11:51:36 +01:00
Antoni Spaanderman 95b8a77bf1 add non null assertion 2022-03-08 20:59:46 +01:00
nymkappa 216ff9f968 Cleanup empty block in api response - Update cache warmer 2022-03-08 20:46:19 +01:00
nymkappa dd3f43f7b2 Only show relevant hashrate in the pool page 2022-03-08 20:46:18 +01:00
nymkappa 0e2e420a1c Added pool hashrate chart 2022-03-08 20:46:14 +01:00
Antoni Spaanderman cd14a91523 revert "add network regtest" 1f0ae60 2022-03-08 19:59:18 +01:00
Antoni Spaanderman 27f6654299 Merge branch 'master' into regtest-1 2022-03-08 19:45:03 +01:00
softsimon d265db136b Don't push full RBF-transactions to prevent old states. 2022-03-08 18:54:49 +01:00
softsimon 0d1d1ab449 Fixing bug where RBF wasn't detected when using bitcoind 2022-03-08 18:39:53 +01:00
softsimon c7639b4768 Replace by fee storage
fixes #1222
2022-03-08 18:39:53 +01:00
nymkappa 91bef41b7e Index blocks.blockTimestamp 2022-03-08 17:10:29 +01:00
softsimon 01ff8f79a8 UTXO spent tracking refactor
refs #1301
2022-03-07 19:45:09 +01:00
softsimon 3080243bee 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 020e09f86f Truncate hashrates table only for bitcoin (db migration v9) 2022-03-07 15:56:07 +01:00
softsimon 6f5729088b Merge branch 'master' into simon/track-utxos 2022-03-07 15:12:36 +01:00
softsimon ec0f78b13a UTXO spent tracking
fixes #1301
2022-03-06 18:27:13 +01:00
nymkappa 48584d6c98 Fix incorrect state naming 2022-03-06 17:06:55 +01:00
nymkappa 0f1ee5f059 Use the latest timestamp in hashrate data ticker 2022-03-06 16:57:40 +01:00
nymkappa 8e5dd7b333 Remove unnecessary await 2022-03-06 16:50:59 +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