aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-14 01:03:16 +0800
committerobscuren <geffobscura@gmail.com>2015-02-14 01:03:16 +0800
commit0f3c25b26589f5667b618d6a91b73392d02ccd1e (patch)
tree9badb0df243fbb076c2f5b24c24faf3b779d6a96 /miner/worker.go
parent790de35e7ff5235c83e081faf00aff35640cdcc6 (diff)
downloaddexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.gz
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.bz2
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.lz
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.xz
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.zst
dexon-0f3c25b26589f5667b618d6a91b73392d02ccd1e.zip
Propagate blocks
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go
index cd1c6e28f..9cb4ab76b 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -131,6 +131,7 @@ func (self *worker) wait() {
self.current.block.Header().Nonce = work.Nonce
self.chain.InsertChain(types.Blocks{self.current.block})
+ self.mux.Post(core.NewMinedBlockEvent{self.current.block})
}
break
}