• N
    Ref #19: Progress, tests · 37e32542
    Nathan Hourt 提交于
    Progress:
    - When an account adds/removes stake, we now update votes for its
    approved producers
    - Name map<AccountName, AccountName> as RoundChanges, and define
    operator- such that RoundChanges = ProducerRound - ProducerRound
    
    Test the vote updates, making sure that producer votes are updated when
    an account adds stake
    
    TODO: Calculate the producer round changes in generate_block and add to
    block header
    37e32542
chain_controller.cpp 42.6 KB