OSDN Git Service

Recommit (#1547)
authorHAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Mon, 7 Jan 2019 08:48:54 +0000 (16:48 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 7 Jan 2019 08:48:54 +0000 (16:48 +0800)
commitf9e8455ed02759378767d4dc3222a40e33a024c9
tree2d8934b9482e2d9e9f79a6e59442c29c522e3920
parentbc3390c82893b3acf6d0bf11cdf9f052d46c7fc4
Recommit (#1547)

* Fix nil pointer error

* Init commitMap

* Init blockSnapshot

* Combine recover block & submitWork

* Add commitMap cleaning

* Clean up

* Refine code

* Add recommitTicker

* Add comments

* Clean

* Add config

* Save recommitInterval as uint64 in miningpool

* Fix typo

* Refine code

* Remake a block freshly

* Refine code

* Refine code

* Clean up

* Fix deleteMap logic

* Refine code

* Update Readme

* Fix test
README.md
api/miner.go
cmd/bytomd/commands/run_node.go
config/config.go
mining/miningpool/miningpool.go
node/node.go
test/integration/run_test.go