OSDN Git Service

feat(block witness):finish adding and update tests (#1906)
authorMingjing <2595400537@qq.com>
Wed, 21 Apr 2021 06:46:48 +0000 (14:46 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Apr 2021 06:46:48 +0000 (14:46 +0800)
commit73ed867684fe9c122746b02633611a2bb55c5884
tree8020a96a3c9565b114df382b99fb02fcef64d90f
parentf166529f26e131df7e99081acb1e33af0ff5397e
feat(block witness):finish adding and update tests (#1906)

* feat(block witness):finish adding and update tests

* style(block witness):modify name

* style(protocol types):keep the origin space

* fix(test):fix block_test after add block witness

* style(types):adjust import order

* style(types):add comments

* feat(block witness):use true signature

* style(protocol types): add comments and space

* style(protocol types):delete code

* feat(block witness):delete test cases

* feat(block witness):use testing.Run

* style(block witness):remove comments

* style(block witness):remove comments

Co-authored-by: Paladz <yzhu101@uottawa.ca>
protocol/bc/types/block_header.go
protocol/bc/types/block_header_test.go
protocol/bc/types/block_test.go
protocol/bc/types/block_witness_test.go [new file with mode: 0644]