Skip to content

Rewrite other balance calculating loops

Michal Zander requested to merge mzander/new-loop-2 into develop

hardfork_hive_operation needs better support in balance tracker - requires adding informations about balances, saving balances and reward balances taken from accounts - currently the information is limited to the sum of those 3 balances instead of presenting it separately.

Adding additional data to this vop will greatly simplify the processing functions. With current implementation there is great possibility for error in both balances - hive/hbd/vests and savings. Rewards are not yet rewritten but it will have a potencial error for the same reason.}

hive#743

(tested on steem11) FROM:

NOTICE:  Btracker is attempting to process a block range: <19960001, 19970000>
NOTICE:  Btracker processed block range: <19960001, 19970000> successfully in 7.987591 s
    
NOTICE:  Btracker is attempting to process a block range: <19970001, 19980000>
NOTICE:  Btracker processed block range: <19970001, 19980000> successfully in 9.154493 s
    
NOTICE:  Btracker is attempting to process a block range: <19980001, 19990000>
NOTICE:  Btracker processed block range: <19980001, 19990000> successfully in 10.634847 s
    
NOTICE:  Btracker is attempting to process a block range: <19990001, 20000000>
NOTICE:  Btracker processed block range: <19990001, 20000000> successfully in 8.952123 s

TO:

NOTICE:  Btracker is attempting to process a block range: <19960001, 19970000>
NOTICE:  Btracker processed block range: <19960001, 19970000> successfully in 5.637729 s
    
NOTICE:  Btracker is attempting to process a block range: <19970001, 19980000>
NOTICE:  Btracker processed block range: <19970001, 19980000> successfully in 6.066899 s
    
NOTICE:  Btracker is attempting to process a block range: <19980001, 19990000>
NOTICE:  Btracker processed block range: <19980001, 19990000> successfully in 7.342102 s
    
NOTICE:  Btracker is attempting to process a block range: <19990001, 20000000>
NOTICE:  Btracker processed block range: <19990001, 20000000> successfully in 6.013807 s

(steem-11 sync to head)

new btracker 11,5h

old btracker 16h

Edited by Michal Zander

Merge request reports

Loading