mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 01:04:43 +02:00
Use int32_t type for most transaction size/weight values
This change gets rid of a few casts and makes the following commit diff smaller.
This commit is contained in:
@@ -137,7 +137,7 @@ BOOST_FIXTURE_TEST_CASE(miniminer_1p1c, TestChain100Setup)
|
||||
|
||||
std::vector<CTransactionRef> all_transactions{tx1, tx2, tx3, tx4, tx5, tx6, tx7, tx8};
|
||||
struct TxDimensions {
|
||||
size_t vsize; CAmount mod_fee; CFeeRate feerate;
|
||||
int32_t vsize; CAmount mod_fee; CFeeRate feerate;
|
||||
};
|
||||
std::map<uint256, TxDimensions> tx_dims;
|
||||
for (const auto& tx : all_transactions) {
|
||||
|
||||
Reference in New Issue
Block a user