monero/src/cryptonote_core
moneromooo-monero 1ba9bafd33
tx_pool: do not divide by 0
In case of a 0 tx weight, we use a placeholder value to insert in the
fee-per-byte set. This is used for pruning and mining, and those txes
are pruned, so will not be too large, nor added to the block template
if mining, so this is safe.

CID 204465
2019-10-11 14:09:31 +00:00
..
blockchain.cpp Merge pull request #5915 2019-10-08 15:55:03 -05:00
blockchain.h Merge pull request #5915 2019-10-08 15:55:03 -05:00
blockchain_storage_boost_serialization.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
CMakeLists.txt core: move hardforks into its own lib 2019-09-19 11:28:18 +00:00
cryptonote_core.cpp cryptonote: don't leave block_weight uninitialized 2019-10-11 14:09:31 +00:00
cryptonote_core.h monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
cryptonote_tx_utils.cpp RandomX integration 2019-09-25 21:29:42 +01:00
cryptonote_tx_utils.h RandomX integration 2019-09-25 21:29:42 +01:00
tx_pool.cpp tx_pool: do not divide by 0 2019-10-11 14:09:31 +00:00
tx_pool.h monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
tx_sanity_check.cpp Merge pull request #5755 2019-08-21 15:23:58 -05:00
tx_sanity_check.h rpc: new sanity check on relayed transactions 2019-04-12 20:22:09 +00:00