OSDN Git Service

Rollback pr2, rollback 的时候,更新 wallet 的状态, 改内核的下一个版本发 (#493)
authoripqhjjybj <250657661@qq.com>
Wed, 19 Feb 2020 10:09:43 +0000 (18:09 +0800)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2020 10:09:43 +0000 (18:09 +0800)
commit08b66fd0baccc544749fb8a07666da3a29d0a9d2
tree5786c3d8e56ba650ccbefc7156eb6428bbe03274
parent9bc68a78ad3d53cec6593dcb029bea64f21cc140
Rollback pr2, rollback 的时候,更新 wallet 的状态, 改内核的下一个版本发 (#493)

* add rollback_func

* add wallet rollback

* update wallet finished

* add new wallet rollback flag

* fix one flag

* new design of new wallet

* update one comment

* rollback status from one wallet best hash start

* change two func name

* fix one test

* change rollback func return info

* remove ugly code

* fix ugly code

* remove ugly code
cmd/vapord/commands/rollback_node.go [new file with mode: 0644]
node/node.go
test/wallet_test_util.go
wallet/wallet.go