neo-go/pkg/consensus
Ekaterina Pavlova 5bb7c6b715 services: update logs flush after services shutdown
Added sync logs for every service separately to provide the ability to
have a custom logger for each service. This commit makes the code follow
the zap usages rules: `Sync calls the underlying Core's Sync method,
flushing any buffered log entries. Applications should take care to
call Sync before exiting.`

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-02-27 15:10:51 +03:00
..
testdata wallet: fix wallet version to conform to NEP-6 2022-08-07 22:41:40 +03:00
block.go [#2442] English Check 2022-05-04 19:48:27 +03:00
block_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
cache.go [#2442] English Check 2022-05-04 19:48:27 +03:00
cache_test.go consensus: refactor payloads structure 2021-01-22 10:38:32 +03:00
change_view.go [#2442] English Check 2022-05-04 19:48:27 +03:00
change_view_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
commit.go [#2442] English Check 2022-05-04 19:48:27 +03:00
commit_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
consensus.go services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00
consensus_test.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00
crypto.go consensus: update dbft, drop marshaling from private key 2022-09-02 14:44:18 +03:00
crypto_test.go consensus: update dbft, drop marshaling from private key 2022-09-02 14:44:18 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
payload.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
payload_test.go *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
prepare_request.go consensus: don't use WriteArray for PrepareRequests 2022-06-02 15:38:39 +03:00
prepare_request_test.go consensus: remove nonce from PrepareRequest 2021-03-18 21:32:43 +03:00
prepare_response.go [#2442] English Check 2022-05-04 19:48:27 +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 network/consensus: always process dBFT messages as high priority 2022-08-02 13:07:18 +03:00
recovery_message_test.go *: remove dead code 2021-05-12 18:13:14 +03:00
recovery_request.go [#2442] English Check 2022-05-04 19:48:27 +03:00
recovery_request_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00