• UdjinM6's avatar
    Budget module refactor · 70741159
    UdjinM6 authored
    - readability (names / spaces / simplify constructions / etc)
    - proper types (int for block height, CAmount for money)
    - prettify log output / drop c_str() there
    - read budgets on dump before writing (safety)
    - microoptimization (++it)
    - sort proposals by Yeas
    - sort finalized budgets by votes
    - fix few small bugs
    70741159
masternode-budget.cpp 52.5 KB