No description
![]() * Extract stream.hpp from blocks.hpp * Add a probabilistic filter based on direct mapped caches, keyed by 128-bit SipHash. Co-Authored-By: Colin LeMahieu <clemahieu@gmail.com> The filter receives an array of bytes representing a network packet, and is checked for duplicity of the packet. The probability of a false duplicate is marginal, but not zero, and decreases with the size of the filter. The probability of a false non-duplicate is the infinitesimal probability of a 128-bit SipHash collision. Items are not normally erased. Instead, if a new item is different from the one at the insertion index (digest % capacity), the old item is replaced. There is also a function to erase an element from the filter, if the digest matches it. The filter state is protected by a mutex, whereas hashing is performed while not holding it. Uses 1MB of memory for every 64k elements. * Remove explicit instantiations * Remove alias * Optionally set digest in ::apply and add ::clear method directly from a digest |
||
---|---|---|
.github | ||
ci | ||
CL | ||
cmake/Modules | ||
cpptoml@5399650056 | ||
crypto | ||
docker | ||
etc | ||
gtest@dea0216d0c | ||
images | ||
lmdb@c6bb7edf9f | ||
miniupnp@582375b64f | ||
nano | ||
nano-pow-server@32e7826865 | ||
util | ||
valgrind | ||
.clang-format.base | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
asan_blacklist | ||
CMakeLists.txt | ||
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 | ||
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.