mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Make new identity hashcash algo memory hard, and tweak generation time a bit. Current hashcash cost should be overkill for what we need but still tolerable to users.
This commit is contained in:
parent
a31c54b44b
commit
bc715fbd51
5 changed files with 46 additions and 28 deletions
|
@ -93,7 +93,7 @@ int main(int argc,char **argv)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (!id.locallyValidate(true)) {
|
||||
if (!id.locallyValidate()) {
|
||||
std::cerr << argv[2] << " FAILED validation." << std::endl;
|
||||
return -1;
|
||||
} else std::cout << argv[2] << " is a valid identity (full check performed)" << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue