aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-10 08:17:31 +0800
committerobscuren <geffobscura@gmail.com>2014-11-10 08:17:31 +0800
commitcbeebcd47da846e1b8990313f1ff1ffe7d0bf00f (patch)
tree95db04f468e66ebb26afd81bc72abea8fbcf7c0e /cmd/mist/gui.go
parentf538ea25e46d59dfa225ed105343d9c6a9909c2c (diff)
downloaddexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.gz
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.bz2
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.lz
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.xz
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.zst
dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.zip
Fixed bloom, updated mining & block processing
* Reverted back to process blocks in batches method * Bloom generation and lookup fix * Minor UI changed (mainly debug)
Diffstat (limited to 'cmd/mist/gui.go')
-rw-r--r--cmd/mist/gui.go13
1 files changed, 1 insertions, 12 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index 295011244..7e867395e 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -250,17 +250,6 @@ func (gui *Gui) setInitialChainManager() {
blk := gui.eth.ChainManager().GetBlock(sBlk)
for ; blk != nil; blk = gui.eth.ChainManager().GetBlock(sBlk) {
sBlk = blk.PrevHash
- addr := gui.address()
-
- // Loop through all transactions to see if we missed any while being offline
- for _, tx := range blk.Transactions() {
- if bytes.Compare(tx.Sender(), addr) == 0 || bytes.Compare(tx.Recipient, addr) == 0 {
- if ok, _ := gui.txDb.Get(tx.Hash()); ok == nil {
- gui.txDb.Put(tx.Hash(), tx.RlpEncode())
- }
-
- }
- }
gui.processBlock(blk, true)
}
@@ -404,7 +393,7 @@ func (gui *Gui) update() {
gui.loadAddressBook()
gui.loadMergedMiningOptions()
gui.setPeerInfo()
- gui.readPreviousTransactions()
+ //gui.readPreviousTransactions()
}()
for _, plugin := range gui.plugins {