OSDN Git Service

Btm2.0 remove pow (#1859)
authorMingjing <2595400537@qq.com>
Thu, 8 Apr 2021 11:09:18 +0000 (19:09 +0800)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 11:09:18 +0000 (19:09 +0800)
commit99152a87e0d7ad06be6c3f6019a04ea07a14eea8
treeffca278229ec62b29e6356688844ee6345c62b60
parented7148c711cf40b0e1f4c3a85864e91f34e8e06a
Btm2.0 remove pow (#1859)

* remove pow

* modify TestProcessBlock

* change comment to true remove

* remove pow from makefile

* fix remove pow

* remove TestPrintBlockMap

* merge btm2.0

* fix(remove pow):after merge btm2.0

* fix(remove pow): code format and wallet_test_util update function

* fix(remove pow): delete mining

* fix(remove pow): delete space

* fix(remove pow): remove space
25 files changed:
Makefile
api/block_retrieve.go
config/genesis.go
database/store_test.go
protocol/bc/bc.pb.go
protocol/bc/bc.proto
protocol/bc/blockheader.go
protocol/bc/types/block_header.go
protocol/bc/types/block_header_test.go
protocol/bc/types/block_test.go
protocol/bc/types/map.go
protocol/block_test.go
protocol/orphan_manage_test.go
protocol/protocol.go
protocol/state/blockindex.go
protocol/state/blockindex_test.go
protocol/txpool_test.go
protocol/validation/block_test.go
test/bench_blockchain_test.go
test/block_test_util.go
test/chain_test_util.go
test/integration/block_integration_test.go
test/protocol_test_util.go
test/utxo_view/utxo_view_test_util.go
test/wallet_test_util.go