c# pow implementation work

This commit is contained in:
Kevin Froman 2020-09-20 21:13:46 +00:00
parent 60c1ec07e9
commit 499981ed52
5 changed files with 34 additions and 8 deletions

12
scripts/testblock.py Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import sys
import os
if not os.path.exists('onionr.sh'):
os.chdir('../')
sys.path.append("src/")
import onionrblocks
expire = 600
print(onionrblocks.insert(data=os.urandom(32), expire=expire))