neo-go/pkg/consensus
Roman Khimov 0bf2fa915e consensus: don't decrypt the key again and again, cache it
It's cached in dbft for a view anyway, so there is no big difference here
from security POV. Lets us squeeze yet another 4% TPS improvement.

Make the system fail if unable to decrypt the key along the way, which is a
part of #1312.
2020-08-20 18:50:18 +03:00
..
testdata Merge pull request #1169 from nspcc-dev/neo3/rpc/fields_names_adjustment 2020-07-15 18:24:54 +03:00
block.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
block_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
cache.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
cache_test.go consensus: added partial message decoding 2020-04-16 14:35:58 +03:00
change_view.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
change_view_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
commit.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
commit_test.go random: make use or random package in tests 2020-03-27 10:27:46 +03:00
consensus.go consensus: don't decrypt the key again and again, cache it 2020-08-20 18:50:18 +03:00
consensus_test.go native: sort GetValidators result 2020-08-10 19:49:09 +03:00
crypto.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
crypto_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
payload.go remove github.com/pkg/errors from dependencies 2020-08-07 12:21:52 +03:00
payload_test.go consensus: update binary test data 2020-08-19 09:41:11 +03:00
prepare_request.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
prepare_request_test.go consensus: drop NextConsensus from the prepareRequest 2020-07-11 19:54:50 +03:00
prepare_response.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
prepare_response_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
recovery_message.go consensus: payloads from recovery messages are network-dependent too 2020-08-18 16:26:20 +03:00
recovery_message_test.go consensus: update binary test data 2020-08-19 09:41:11 +03:00
recovery_request.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
recovery_request_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00