neoneo-go/pkg/consensus
Evgenii Stratonikov 0efd9a6062 consensus: fix payload sign test
Do not fill verification script randomly as there is a probability
for it to be executed sucessfully.

time="2019-12-12T17:24:22+03:00" level=info msg="blockchain persist completed" blockHeight=0 headerHeight=0 persistedBlocks=0 persistedKeys=15 took="54.474µs"
time="2019-12-12T17:24:23+03:00" level=info msg="blockchain persist completed" blockHeight=0 headerHeight=0 persistedBlocks=0 persistedKeys=15 took="49.312µs"
2019-12-12T17:24:24.026+0300    DEBUG   can't verify payload from #%d1  {"module": "dbft"}
--- FAIL: TestPayload_Sign (0.00s)
    payload_test.go:302:
                Error Trace:    payload_test.go:302
                Error:          Should be false
                Test:           TestPayload_Sign
FAIL
coverage: 75.8% of statements
FAIL    github.com/CityOfZion/neo-go/pkg/consensus      2.145s
2019-12-13 12:09:51 +03:00
..
block.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
block_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
cache.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
cache_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
change_view.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
change_view_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
commit.go io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
commit_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
consensus.go core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
consensus_test.go consensus: sign and verify consensus messages 2019-12-06 11:35:06 +03:00
crypto.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
crypto_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
logger.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
payload.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
payload_test.go consensus: fix payload sign test 2019-12-13 12:09:51 +03:00
prepare_request.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
prepare_request_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
prepare_response.go io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
prepare_response_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
recovery_message.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
recovery_message_test.go consensus: return signed messages from recovery.Get* 2019-12-06 11:33:32 +03:00
recovery_request.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
recovery_request_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00