comment updates for state

This commit is contained in:
Jae Kwon
2015-07-22 09:35:21 -07:00
parent e7c1febb65
commit 344ad54984
2 changed files with 1 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ func makeStorage(db dbm.DB, root []byte) merkle.Tree {
return storage
}
// The blockcache helps prevent unnecessary IAVLTree updates and garbage generation.
type BlockCache struct {
db dbm.DB
backend *State

View File

@@ -134,8 +134,6 @@ func (cache *TxCache) Sync() {
cache.backend.UpdateAccount(toStateAccount(acc))
}
}
// TODO support logs, add them to the cache somehow.
}
func (cache *TxCache) AddLog(log *vm.Log) {