fixed pex
This commit is contained in:
parent
3ef29077e7
commit
d067a343e6
7 changed files with 9 additions and 9 deletions
|
@ -64,4 +64,4 @@ def lookup_new_peer_transports_with_communicator(shared_state):
|
|||
except ValueError:
|
||||
pass
|
||||
kv.get('newPeers').extend(newPeers)
|
||||
shared_state.get_by_string("OnionrCommunicatorDaemon").decrementThreadCount('clean_old_blocks')
|
||||
shared_state.get_by_string("OnionrCommunicatorDaemon").decrementThreadCount('lookup_new_peer_transports_with_communicator')
|
||||
|
|
|
@ -38,7 +38,7 @@ def block_mixer(upload_list: List[onionrtypes.BlockHash],
|
|||
to the said block list
|
||||
"""
|
||||
bl = onionrblockapi.Block(block_to_mix)
|
||||
print(bl.raw)
|
||||
|
||||
if time.time() - bl.claimedTime > onionrvalues.BLOCK_POOL_MAX_AGE:
|
||||
raise ValueError
|
||||
if block_to_mix:
|
||||
|
|
|
@ -23,7 +23,7 @@ import filepaths
|
|||
DENIABLE_PEER_ADDRESS = "OVPCZLOXD6DC5JHX4EQ3PSOGAZ3T24F75HQLIUZSDSMYPEOXCPFA"
|
||||
PASSWORD_LENGTH = 25
|
||||
ONIONR_TAGLINE = 'Private P2P Communication - GPLv3 - https://Onionr.net'
|
||||
ONIONR_VERSION = '6.1.0'
|
||||
ONIONR_VERSION = '6.1.1'
|
||||
ONIONR_VERSION_CODENAME = 'Genesis'
|
||||
ONIONR_VERSION_TUPLE = tuple(ONIONR_VERSION.split('.')) # (MAJOR, MINOR, VERSION)
|
||||
API_VERSION = '2' # increments of 1; only change when something fundamental about how the API works changes. This way other nodes know how to communicate without learning too much information about you.
|
||||
|
|
|
@ -12,7 +12,7 @@ from coredb import dbfiles
|
|||
from filepaths import block_data_location
|
||||
import onionrexceptions
|
||||
from onionrcrypto import hashers
|
||||
from . import setdata
|
||||
from . import setdata, removeblock
|
||||
from etc.onionrvalues import DATABASE_LOCK_TIMEOUT, BLOCK_EXPORT_FILE_EXT
|
||||
"""
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue