use a smaller offset for obscuring block metadb time

master
Kevin Froman 2020-03-21 01:15:07 -05:00
parent 4696e7be3f
commit 481cb5aeff
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -1 +1 @@
1584652661 1584769913