|
iota.lib.cpp
IOTA C++ Library
|
#include <pow.hpp>
Public Member Functions | |
| Pow ()=default | |
| virtual | ~Pow ()=default |
| Types::Trytes | operator() (const Types::Trytes &trytes, int minWeightMagnitude, int threads=0) override |
Public Member Functions inherited from IOTA::Crypto::IPow | |
| IPow ()=default | |
| virtual | ~IPow ()=default |
Proof of work algorithm base on PearlDiver.
|
default |
Default ctor.
|
virtualdefault |
Default dtor.
|
overridevirtual |
Compute nonce from the given trytes.
| trytes | The trytes to compute nonce from. |
| minWeightMagnitude | The minimum number of zeroes the hash has to end with. |
| threads | The number of thread to run the algorithm to. |
Implements IOTA::Crypto::IPow.
1.8.14