use a smaller offset for obscuring block metadb time
This commit is contained in:
parent
4696e7be3f
commit
481cb5aeff
@ -36,7 +36,7 @@ def add_to_block_DB(newHash, selfInsert=False, dataSaved=False):
|
||||
raise BlockMetaEntryExists
|
||||
conn = sqlite3.connect(dbfiles.block_meta_db, timeout=onionrvalues.DATABASE_LOCK_TIMEOUT)
|
||||
c = conn.cursor()
|
||||
currentTime = epoch.get_epoch() + secrets.randbelow(301)
|
||||
currentTime = epoch.get_epoch() + secrets.randbelow(61)
|
||||
if selfInsert or dataSaved:
|
||||
selfInsert = 1
|
||||
else:
|
||||
|
@ -1 +1 @@
|
||||
1584652661
|
||||
1584769913
|
Loading…
Reference in New Issue
Block a user