No description
![]() * socket_timeout unit tests * Rename socket::stop_timer to socket:set_last_completion All stop timer does is to set a variable. It is a simply setter function. It is confusing to call it stop_timer because it implies that it does something more than just set a timestamp. * Rename start_timer() to set_next_deadline() * Remove network constant socket_dev_idle_timeout We do not need it. * Rename update_last_receive_time() to set_last_receive_time() To make it obvious it is setter function and to make it consistent with other setter functions. * Minor code improvement - no functional change * Rename the nano::socket concept of deadline to timeout A deadline makes people imagine a fixed point in time, a timestamp. However, socket::next_deadline is a timeout value and not a deadline. It signifies the seconds of inactivity that would cause a socket timeout. Renames: set_next_deadline -> set_default_timeout set_next_deadline(timeout) -> set_timeout(timeout) io_timeout -> default_timeout timeout_set -> set_default_timeout_value next_deadline -> timeout * Add some comments to nano::socket class * Remove needless code * Use guard ifs to make nano::socket::async_write more readable |
||
---|---|---|
.github | ||
api/flatbuffers | ||
ci | ||
CL | ||
cmake | ||
coverage | ||
cpptoml@5399650056 | ||
crypto | ||
debian-control | ||
diskhash@0b81937e1b | ||
docker | ||
etc | ||
flatbuffers@a9a295fecf | ||
gtest@e2239ee604 | ||
images | ||
lmdb@e931980823 | ||
miniupnp@2df8120326 | ||
nano | ||
nano-pow-server@00591aeae9 | ||
rocksdb@38e99ec803 | ||
systest | ||
util | ||
valgrind | ||
.clang-format | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
asan_blacklist | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
doxygen.config | ||
Info.plist.in | ||
LICENSE | ||
logo.png | ||
Nano.icns | ||
Nano.ico | ||
Nano.rc | ||
nanocurrency-beta.spec.in | ||
nanocurrency.spec.in | ||
qt.conf | ||
README.md | ||
rep_weights_beta.bin | ||
rep_weights_live.bin | ||
resources.qrc | ||
SECURITY.md | ||
tsan_clang_blacklist | ||
tsan_suppressions | ||
valgrind.supp |
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.
Links & Resources
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.