From 91047566a8e94ba41505e4b02003f7cea4221f82 Mon Sep 17 00:00:00 2001 From: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Date: Wed, 10 Aug 2022 18:55:59 -0400 Subject: [PATCH] chore: bump ChainTxData for mainnet and testnet (#4961) mainnet ``` getchaintxstats { "time": 1660074878, "txcount": 43702293, "window_final_block_hash": "0000000000000002ee5a0d2caa3f78cd630ece1a12ce74f7a8146eb6689b1b66", "window_final_block_height": 1718597, "window_block_count": 17280, "window_tx_count": 476084, "window_interval": 2724994, "txrate": 0.174710109453452 } ``` testnet ``` > dash-cli getblockhash 771537 0000028ce7bc90ddaa75703bbe576b8821e470b4b98bbe13be81eb79546e111f > dash-cli getchaintxstats 17280 0000028ce7bc90ddaa75703bbe576b8821e470b4b98bbe13be81eb79546e111f { "time": 1659215338, "txcount": 5579961, "window_final_block_hash": "0000028ce7bc90ddaa75703bbe576b8821e470b4b98bbe13be81eb79546e111f", "window_final_block_height": 771537, "window_block_count": 17280, "window_tx_count": 43514, "window_interval": 2428572, "txrate": 0.01791752519587642 } ``` --- src/chainparams.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 38f25b2af1..50adec145f 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -360,10 +360,10 @@ public: }; chainTxData = ChainTxData{ - 1617874573, // * UNIX timestamp of last known number of transactions (Block 1450962) - 34709765, // * total number of transactions between genesis and that timestamp + 1660074878, // * UNIX timestamp of last known number of transactions (Block 1718597) + 43702293, // * total number of transactions between genesis and that timestamp // (the tx=... number in the ChainStateFlushed debug.log lines) - 0.3 // * estimated number of transactions per second after that timestamp + 0.175 // * estimated number of transactions per second after that timestamp }; } }; @@ -558,10 +558,10 @@ public: }; chainTxData = ChainTxData{ - 1617874832, // * UNIX timestamp of last known number of transactions (Block 477483) - 4926985, // * total number of transactions between genesis and that timestamp + 1659215338, // * UNIX timestamp of last known number of transactions (Block 771537) + 5579961, // * total number of transactions between genesis and that timestamp // (the tx=... number in the ChainStateFlushed debug.log lines) - 0.01 // * estimated number of transactions per second after that timestamp + 0.018 // * estimated number of transactions per second after that timestamp }; } };