No description
![]() Blocks now have a method to calculate and return the difficulty based on their work value, work version, and root. Work validation has been cleaned up, removing optional output difficulty from all methods, and with new work_difficulty and work_threshold methods. These are now used where they make sense, such as when previously work_validate was done even though we only wanted to compare the resulting difficulty. Functionally the same, but much less verbose. Without changing the interface, we can decide to cache the difficulty in the block in the future, if it ever shows up in profiling. Further changes will be required when a new work version is added, especially if the proof is larger than 8 bytes, but these changes are a step forward in that directtion. |
||
---|---|---|
.github | ||
api/flatbuffers | ||
ci | ||
CL | ||
cmake/Modules | ||
cpptoml@5399650056 | ||
crypto | ||
docker | ||
etc | ||
flatbuffers@3b458f7a17 | ||
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.