We use 2 prefixes for storing items because of state synchronization. This commit allows to parametrize dao with the default prefix. Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This check prevents infinite loop if something goes wrong with MPT nodes restore process.
getstate