neo-go/pkg/consensus
Roman Khimov b5b05a969c keys: make NEP2Decrypt return a PrivateKey rather than WIF
There is no point in encoding the output of this function in a WIF format,
most of the users actually want the real key and those who need a WIF can
easily get if from the key (and it's simpler than getting the key from the
WIF).

It also fixes a severe bug in NEP2Decrypt, base58 decoding errors were not
processed correctly.
2020-01-09 18:05:14 +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 keys: make NEP2Decrypt return a PrivateKey rather than WIF 2020-01-09 18:05:14 +03:00
consensus_test.go consensus: add tests for getTx 2019-12-27 14:12:58 +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 consensus: verify payloads correctly 2019-12-26 10:49:56 +03:00
payload_test.go consensus: verify payloads correctly 2019-12-26 10:49:56 +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: verify payloads correctly 2019-12-26 10:49:56 +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