mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
core/state: add note about code size caching
This commit is contained in:
parent
1c920578fb
commit
4fbcd9bff2
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,9 @@ type Account struct {
|
||||||
Balance *big.Int
|
Balance *big.Int
|
||||||
Root common.Hash // merkle root of the storage trie
|
Root common.Hash // merkle root of the storage trie
|
||||||
CodeHash []byte
|
CodeHash []byte
|
||||||
|
|
||||||
|
// TODO(fjl): track code size here to get it into the cache
|
||||||
|
// codeSize int
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewObject creates a state object.
|
// NewObject creates a state object.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue