* doubled clock skew for blocks to 120 secs
* added onionr .onion to public api disclaimer page
This commit is contained in:
parent
2d78d3d017
commit
c4fa0c15f0
@ -246,7 +246,7 @@ class OnionrUtils:
|
|||||||
'''Validate metadata meets onionr spec (does not validate proof value computation), take in either dictionary or json string'''
|
'''Validate metadata meets onionr spec (does not validate proof value computation), take in either dictionary or json string'''
|
||||||
# TODO, make this check sane sizes
|
# TODO, make this check sane sizes
|
||||||
retData = False
|
retData = False
|
||||||
maxClockDifference = 60
|
maxClockDifference = 120
|
||||||
|
|
||||||
# convert to dict if it is json string
|
# convert to dict if it is json string
|
||||||
if type(metadata) is str:
|
if type(metadata) is str:
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
<p>Onionr is a decentralized peer-to-peer data storage system.</p>
|
<p>Onionr is a decentralized peer-to-peer data storage system.</p>
|
||||||
|
|
||||||
<p>To learn more about Onionr, see the website at <a href="https://onionr.net/">https://Onionr.net/</a></p>
|
<p>To learn more about Onionr, see the website at <a href="http://onionr.onionkvc5ibm37bmxwr56bdxcdnb6w3wm4bdghh5qo6f6za7gn7styid.onion ">http://onionr.onionkvc5ibm37bmxwr56bdxcdnb6w3wm4bdghh5qo6f6za7gn7styid.onion</a> or <a href='https://onionr.net/'>Onionr.net</a></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user