mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08:00
v8: per byte fee, pad bulletproofs, fixed 11 ring size
This commit is contained in:
@@ -474,17 +474,17 @@ int import_from_file(cryptonote::core& core, const std::string& import_file_path
|
||||
txs.push_back(tx);
|
||||
}
|
||||
|
||||
size_t block_size;
|
||||
size_t block_weight;
|
||||
difficulty_type cumulative_difficulty;
|
||||
uint64_t coins_generated;
|
||||
|
||||
block_size = bp.block_size;
|
||||
block_weight = bp.block_weight;
|
||||
cumulative_difficulty = bp.cumulative_difficulty;
|
||||
coins_generated = bp.coins_generated;
|
||||
|
||||
try
|
||||
{
|
||||
core.get_blockchain_storage().get_db().add_block(b, block_size, cumulative_difficulty, coins_generated, txs);
|
||||
core.get_blockchain_storage().get_db().add_block(b, block_weight, cumulative_difficulty, coins_generated, txs);
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user