Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #22207

Category None
Changed by moneromooo-monero <moneromooo-moneroohnoyoudont@users.noreply.github.com>
Changed at Fri 11 Oct 2019 14:09:31
Repository https://github.com/monero-project/monero.git
Branch master
Revision 1ba9bafd3331f6534242e682bafbd6d863be42ed


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

Changed files