stateroot: add and use DataMPTAux for auxiliary data

Use DataMPT for nodes only, otherwise with 1M blocks with have 1M
height-stateroot mapping entries that our GC has to iterate over for no
reason.
This commit is contained in:
Roman Khimov 2022-02-12 22:48:16 +03:00
parent ad606101c7
commit ccdda21718
4 changed files with 14 additions and 20 deletions

View file

@ -44,7 +44,7 @@ import (
// Tuning parameters.
const (
headerBatchCount = 2000
version = "0.2.2"
version = "0.2.3"
defaultInitialGAS = 52000000_00000000
defaultGCPeriod = 10000