aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-15 06:25:16 +0800
committerobscuren <geffobscura@gmail.com>2014-08-15 06:25:16 +0800
commitc7ee9844bd6f8ed2bb466f8adf21f437ecc83564 (patch)
tree041ff6019d4515460e0e696d8b598081cf17a0c6 /ethchain
parent0fcc6065692f2692072cdf0d61fe1ada547fc235 (diff)
downloaddexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.tar.gz
dexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.tar.zst
dexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.zip
Removed old code
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_manager.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index d7860b2a2..1f47a2e0b 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -380,14 +380,18 @@ func (sm *StateManager) createBloomFilter(state *ethstate.State) *BloomFilter {
sm.Ethereum.Reactor().Post("object:"+addr, stateObject)
}
- for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges {
- for addr, value := range mappedObjects {
- // Set the bloom filter's bin
- bloomf.Set(ethcrypto.Sha3Bin([]byte(stateObjectAddr + addr)))
+ sm.Ethereum.Reactor().Post("messages", state.Manifest().Messages)
- sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, &ethstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value})
+ /*
+ for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges {
+ for addr, value := range mappedObjects {
+ // Set the bloom filter's bin
+ bloomf.Set(ethcrypto.Sha3Bin([]byte(stateObjectAddr + addr)))
+
+ sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, &ethstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value})
+ }
}
- }
+ */
return bloomf
}