neoneo-go/pkg/core/state
Roman Khimov c8a248596e core: introduce ValidatorsCount, make a proper count
We were completely lacking ValidatorsCount that is supposed to track the
number of votes with particular count of consensus nodes which in theory can
change the number of active consensus nodes (if it ever to exceed the number
of standby validators), so we were not producing the right count and based on
that not giving the right set of validators.

Fixes #512.
2020-02-13 13:07:34 +03:00
..
account.go state: use open-coded array (de)serialization for accounts 2019-12-13 19:57:17 +03:00
account_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
asset.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
asset_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
coin.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
contract.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
contract_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
notification_event.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
notification_event_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
storage_item.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
storage_item_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
validator.go core: introduce ValidatorsCount, make a proper count 2020-02-13 13:07:34 +03:00
validator_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00