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