add comments

This commit is contained in:
jmlee 2019-07-17 15:15:09 +09:00
parent 5d009f2389
commit 69fa644bd1

View file

@ -63,8 +63,8 @@ func (n *proofList) Delete(key []byte) error {
// * Contracts // * Contracts
// * Accounts // * Accounts
type StateDB struct { type StateDB struct {
db Database db Database // actually it's leveldb (jmlee)
trie Trie trie Trie // state trie from db above (jmlee)
// This map holds 'live' objects, which will get modified while processing a state transition. // This map holds 'live' objects, which will get modified while processing a state transition.
stateObjects map[common.Address]*stateObject stateObjects map[common.Address]*stateObject