c# pow implementation work
This commit is contained in:
parent
60c1ec07e9
commit
499981ed52
5 changed files with 34 additions and 8 deletions
12
scripts/testblock.py
Executable file
12
scripts/testblock.py
Executable 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))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue