neo-go/pkg/core/dao
Roman Khimov e3af560d11 dao: optimize storage cache flushing
Items were serialized several times if there were several successful
transactions in a block, prevent that by using State field as a bitfield (as
it almost was intended to) and adding one more bit. It also eliminates useless
duplicate MPT traversions.

Confirmed to not break storage changes up to 3.3M on testnet.
2020-06-04 17:21:58 +03:00
..
cacheddao.go dao: optimize storage cache flushing 2020-06-04 17:21:58 +03:00
cacheddao_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
dao.go dao: prevent double serialization of StorageItems 2020-06-04 17:18:15 +03:00
dao_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
storage_item.go dao: optimize storage cache flushing 2020-06-04 17:21:58 +03:00