mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-28 14:59:22 +01:00
scripted-diff: Modernize naming of nChainTx and nTxCount
-BEGIN VERIFY SCRIPT- sed -i 's/nChainTx/m_chain_tx_count/g' $(git grep -l 'nChainTx' ./src) sed -i 's/nTxCount/tx_count/g' $(git grep -l 'nTxCount' ./src) -END VERIFY SCRIPT-
This commit is contained in:
@@ -180,7 +180,7 @@ public:
|
||||
chainTxData = ChainTxData{
|
||||
// Data from RPC: getchaintxstats 4096 000000000000000000026811d149d4d261995ec5b3f64f439a0a10e1a464af9a
|
||||
.nTime = 1704194835,
|
||||
.nTxCount = 946728933,
|
||||
.tx_count = 946728933,
|
||||
.dTxRate = 6.569290261471664,
|
||||
};
|
||||
}
|
||||
@@ -272,7 +272,7 @@ public:
|
||||
{
|
||||
.height = 2'500'000,
|
||||
.hash_serialized = AssumeutxoHash{uint256S("0xf841584909f68e47897952345234e37fcd9128cd818f41ee6c3ca68db8071be7")},
|
||||
.nChainTx = 66484552,
|
||||
.m_chain_tx_count = 66484552,
|
||||
.blockhash = uint256S("0x0000000000000093bcb68c03a9a168ae252572d348a2eaeba2cdf9231d73206f")
|
||||
}
|
||||
};
|
||||
@@ -280,7 +280,7 @@ public:
|
||||
chainTxData = ChainTxData{
|
||||
// Data from RPC: getchaintxstats 4096 000000000001323071f38f21ea5aae529ece491eadaccce506a59bcc2d968917
|
||||
.nTime = 1703579240,
|
||||
.nTxCount = 67845391,
|
||||
.tx_count = 67845391,
|
||||
.dTxRate = 1.464436832560951,
|
||||
};
|
||||
}
|
||||
@@ -312,7 +312,7 @@ public:
|
||||
chainTxData = ChainTxData{
|
||||
// Data from RPC: getchaintxstats 4096 0000000870f15246ba23c16e370a7ffb1fc8a3dcf8cb4492882ed4b0e3d4cd26
|
||||
.nTime = 1706331472,
|
||||
.nTxCount = 2425380,
|
||||
.tx_count = 2425380,
|
||||
.dTxRate = 0.008277759863833788,
|
||||
};
|
||||
} else {
|
||||
@@ -382,7 +382,7 @@ public:
|
||||
{
|
||||
.height = 160'000,
|
||||
.hash_serialized = AssumeutxoHash{uint256S("0xfe0a44309b74d6b5883d246cb419c6221bcccf0b308c9b59b7d70783dbdf928a")},
|
||||
.nChainTx = 2289496,
|
||||
.m_chain_tx_count = 2289496,
|
||||
.blockhash = uint256S("0x0000003ca3c99aff040f2563c2ad8f8ec88bd0fd6b8f0895cfaf1ef90353a62c")
|
||||
}
|
||||
};
|
||||
@@ -498,21 +498,21 @@ public:
|
||||
{ // For use by unit tests
|
||||
.height = 110,
|
||||
.hash_serialized = AssumeutxoHash{uint256S("0x6657b736d4fe4db0cbc796789e812d5dba7f5c143764b1b6905612f1830609d1")},
|
||||
.nChainTx = 111,
|
||||
.m_chain_tx_count = 111,
|
||||
.blockhash = uint256S("0x696e92821f65549c7ee134edceeeeaaa4105647a3c4fd9f298c0aec0ab50425c")
|
||||
},
|
||||
{
|
||||
// For use by fuzz target src/test/fuzz/utxo_snapshot.cpp
|
||||
.height = 200,
|
||||
.hash_serialized = AssumeutxoHash{uint256S("0x4f34d431c3e482f6b0d67b64609ece3964dc8d7976d02ac68dd7c9c1421738f2")},
|
||||
.nChainTx = 201,
|
||||
.m_chain_tx_count = 201,
|
||||
.blockhash = uint256S("0x5e93653318f294fb5aa339d00bbf8cf1c3515488ad99412c37608b139ea63b27"),
|
||||
},
|
||||
{
|
||||
// For use by test/functional/feature_assumeutxo.py
|
||||
.height = 299,
|
||||
.hash_serialized = AssumeutxoHash{uint256S("0xa4bf3407ccb2cc0145c49ebba8fa91199f8a3903daf0883875941497d2493c27")},
|
||||
.nChainTx = 334,
|
||||
.m_chain_tx_count = 334,
|
||||
.blockhash = uint256S("0x3bb7ce5eba0be48939b7a521ac1ba9316afee2c7bada3a0cca24188e6d7d96c0")
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user