Page MenuHomePhabricator

Create Priority type to handle transaction priority calculations
Open, Needs TriagePublic

Description

Currently the priority of a transaction is represented by a double which has units of blocks * satoshis / bytes with calculations spread across coins.cpp, transaction.cpp, miner.cpp, and validation.cpp. This value should be wrapped in a type that ensures that calculations and updates to priority are done properly and updated in a single place. This will allow properly replacing the calculation with something more sane in the future.

Event Timeline

schancel created this task.Jan 16 2018, 07:51
schancel updated the task description. (Show Details)
ryanmce awarded a token.Jan 16 2018, 10:28