No description
Find a file
Thiago Silva 955c79e664
Migrate tests from the old message_parser to test the message_deserializer class (#4166)
* Replace message_parser test for confirm_ack to test message_deserializer

The old test checked the bytes generated the same confirm_ack object by
ensuring its visitor was processed only once. Also verified the
parse_status was success. In the new implementation the visitor isn't
part of the deserializer. The outcome object is compared to the
original, and the parse_status should be success. This is the sanity
test, where the deserialization is expected to happen successfully.

Also checks if the message pointer can be downcast to the proper type,
that is the same of verifying its type is supported.

* Move message_parser confirm_req tests to the message_deserializer format

* Move message_parser publish test to the message_deserializer format

* Move message_parser keepalive test to the message_deserializer format

* Remove the dev_visitor class

* Add message_deserialize tests for all the remaining message types

* Add more comments to the message_deserializer_success_checker function

* Update the file name to core_test/message_deserializer.cpp
2023-03-07 12:48:57 -03:00
.github Separate windows workflow build and run parts 2023-02-19 17:55:26 +01:00
api/flatbuffers Add Flatbuffers schema evolution rules to IDL (#2644) 2020-04-21 12:11:01 -05:00
ci Bump docker image Ubuntu version to 22.04 2023-03-06 22:04:19 +00:00
CL Fix typo in comment 2017-12-28 01:24:23 -06:00
cmake Weekly Coverage Runs to coveralls.io (#3055) 2021-07-21 05:30:24 -07:00
coverage Move all submodules into one directory 2023-01-23 13:52:35 +00:00
crypto Move all submodules into one directory 2023-01-23 13:52:35 +00:00
debian-control cmake format pass (#3053) 2020-11-19 08:46:48 -08:00
doc/diagram Create directory doc/diagram (#3968) 2022-10-05 15:00:44 +01:00
docker Bump docker image Ubuntu version to 22.04 2023-03-06 22:04:19 +00:00
doxygen Updates the doxigen.config (#3726) 2022-02-09 14:54:56 -03:00
etc GPG public key for Dimitrios Siganos 2021-04-21 16:10:01 +01:00
images Update images for README and QT wallet to be new symbol (#3586) 2021-12-21 09:50:27 -06:00
nano Migrate tests from the old message_parser to test the message_deserializer class (#4166) 2023-03-07 12:48:57 -03:00
submodules Updating flatbuffer library version. 2023-03-06 14:43:11 +00:00
systest add logging in systest/coi_wallet_create.sh (#4016) 2022-12-02 14:44:21 +00:00
util Remove external boost references from CI build (#4127) 2023-02-14 20:59:00 +01:00
valgrind Use the MDB_NOMEMINIT flag with the ledger db environment (#2077) 2019-06-25 12:11:21 +01:00
.clang-format Formatting rules update -- indentation rules improvements (#3506) 2021-10-19 14:23:07 +03:00
.gitignore Cleanup qt_system remnants (#3189) (#3488) 2021-10-12 13:14:41 +01:00
.gitlab-ci.yml adding support for rpm building (#1175) 2019-02-15 11:23:58 -05:00
.gitmodules Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
asan_blacklist Fixing an asan issue. 2014-11-04 22:01:22 -06:00
boost_checkout_lite.sh Adding boost as a submodule rather than requiring it to be provided externally. 2023-01-13 16:20:34 +00:00
CMakeLists.txt Updating flatbuffer library version. 2023-03-06 14:43:11 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#3834) 2023-01-12 13:20:00 +00:00
CONTRIBUTING.md Add basic contributing file with links to docs for details (#3650) 2022-01-05 10:03:57 -06:00
doxygen.config Updates the doxigen.config (#3726) 2022-02-09 14:54:56 -03:00
Info.plist.in add test network to build artifacts for non DB tags (#3000) 2020-10-20 10:04:56 -07:00
LICENSE Update LICENSE (#3669) 2022-01-14 15:38:03 -03:00
logo.png Update images for README and QT wallet to be new symbol (#3586) 2021-12-21 09:50:27 -06:00
Nano.icns Update images for README and QT wallet to be new symbol (#3586) 2021-12-21 09:50:27 -06:00
Nano.ico Update images for README and QT wallet to be new symbol (#3586) 2021-12-21 09:50:27 -06:00
Nano.rc Rename internal project bits from RaiBlocks to Nano (#1504) 2018-12-28 14:58:50 -06:00
nanocurrency-beta.spec.in Enforce Cxx17 (#2878) 2020-08-12 10:13:31 +01:00
nanocurrency.spec.in Enforce Cxx17 (#2878) 2020-08-12 10:13:31 +01:00
qt.conf Found the correct magic recipe to get packaging working. 2014-11-09 18:51:16 -06:00
README.md Update README.md 2021-07-26 17:28:46 +10:00
rep_weights_beta.bin Update live rep weights file for V24 (#4009) 2022-11-30 11:27:31 -03:00
rep_weights_live.bin Update live rep weights file for V24 (#4009) 2022-11-30 11:27:31 -03:00
resources.qrc fixed the inclusion of the logo file into the binary using QT resources 2017-04-20 13:19:26 -05:00
SECURITY.md Remove wezrule from security policy (#3396) 2021-07-26 11:09:08 -05:00
tsan_clang_blacklist TSAN suppressions file (#1941) 2019-04-30 16:55:32 +01:00
tsan_suppressions Add suppressions for Rijndael::Base::FillEncTable and Rijndael::Base::FillDecTable. There is a race condition when initializing these tables but since their contents is static, the fields will always have the correct, constant values. 2021-11-22 11:58:30 +00:00
valgrind.supp Valgrind fixes & suppressions (#1814) 2019-03-15 13:55:45 +03:00

Logo

Live Artifacts Beta Artifacts GitHub release (latest by date) GitHub tag (latest by date) Coverage Status Tests RelWithDebug Tests Discord


What is Nano?

Nano is a digital payment protocol designed to be accessible and lightweight, with a focus on removing inefficiencies present in other cryptocurrencies. With ultrafast transactions and zero fees on a secure, green and decentralized network, this makes Nano ideal for everyday transactions.


Guides & Documentation

Other documentation details can be found at https://docs.nano.org.



Want to Contribute?

Please see the contributors guide.


Contact us

We want to hear about any trouble, success, delight, or pain you experience when using Nano. Let us know by filing an issue, joining us on Reddit, or joining us on Discord.