neo-go/pkg/core/state
Roman Khimov 807309a0de core/state: only drop unregistered non-voted validators
Simple as that: UnregisteredAndHasNoVotes != !RegisteredAndHasVotes

Registered validators should stay in the DB, we might be in the process of
updating votes for them and that starts with subtraction.
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/state: only drop unregistered non-voted validators 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