|
|
@ -380,6 +380,9 @@ func (sm *StateManager) createBloomFilter(state *ethstate.State) *BloomFilter { |
|
|
|
sm.Ethereum.Reactor().Post("object:"+addr, stateObject) |
|
|
|
sm.Ethereum.Reactor().Post("object:"+addr, stateObject) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sm.Ethereum.Reactor().Post("messages", state.Manifest().Messages) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges { |
|
|
|
for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges { |
|
|
|
for addr, value := range mappedObjects { |
|
|
|
for addr, value := range mappedObjects { |
|
|
|
// Set the bloom filter's bin
|
|
|
|
// Set the bloom filter's bin
|
|
|
@ -388,6 +391,7 @@ func (sm *StateManager) createBloomFilter(state *ethstate.State) *BloomFilter { |
|
|
|
sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, ðstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value}) |
|
|
|
sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, ðstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
return bloomf |
|
|
|
return bloomf |
|
|
|
} |
|
|
|
} |
|
|
|