This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
comment updates for state
pull/122/head
Jae Kwon
10 years ago
parent
e7c1febb65
commit
344ad54984
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
state/block_cache.go
+0
-2
state/tx_cache.go
+ 1
- 0
state/block_cache.go
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
+ 0
- 2
state/tx_cache.go
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
)
{
Write
Preview
Loading…
Cancel
Save