Fixing block syncing quirks
This commit is contained in:
parent
a83351a73c
commit
3422ca43ff
7 changed files with 7 additions and 15 deletions
|
@ -83,9 +83,7 @@ def lookup_blocks_from_communicator(comm_inst):
|
|||
try:
|
||||
lastLookupTime = kv.get('dbTimestamps')[peer]
|
||||
except KeyError:
|
||||
lastLookupTime = epoch.get_epoch() - \
|
||||
config.get("general.max_block_age",
|
||||
onionrvalues.DEFAULT_EXPIRE)
|
||||
lastLookupTime = epoch.get_epoch() - onionrvalues.DEFAULT_EXPIRE
|
||||
listLookupCommand += '?date=%s' % (lastLookupTime,)
|
||||
try:
|
||||
newBlocks = peeraction.peer_action(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue