forked from LBRYCommunity/lbry-sdk
Merge branch 'increase_announce_duration'
This commit is contained in:
commit
88c6eb7816
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ at anytime.
|
||||||
* Renamed `channel_list_mine` to `channel_list`
|
* Renamed `channel_list_mine` to `channel_list`
|
||||||
* Changed `channel_list` to include channels where the certificate info has been imported but the claim is not in the wallet
|
* Changed `channel_list` to include channels where the certificate info has been imported but the claim is not in the wallet
|
||||||
* Changed `file_list`, `file_delete`, `file_set_status`, and `file_reflect` to no longer return claim related information.
|
* Changed `file_list`, `file_delete`, `file_set_status`, and `file_reflect` to no longer return claim related information.
|
||||||
|
* Increased assumption for time it takes to announce single hash from 1 second to 5 seconds
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* Added `channel_import` and `channel_export` commands
|
* Added `channel_import` and `channel_export` commands
|
||||||
|
|
|
@ -96,7 +96,7 @@ class DHTHashSupplier(object):
|
||||||
MIN_HASH_REANNOUNCE_TIME = 60*60
|
MIN_HASH_REANNOUNCE_TIME = 60*60
|
||||||
# conservative assumption of the time it takes to announce
|
# conservative assumption of the time it takes to announce
|
||||||
# a single hash
|
# a single hash
|
||||||
SINGLE_HASH_ANNOUNCE_DURATION = 1
|
SINGLE_HASH_ANNOUNCE_DURATION = 5
|
||||||
|
|
||||||
"""Classes derived from this class give hashes to a hash announcer"""
|
"""Classes derived from this class give hashes to a hash announcer"""
|
||||||
def __init__(self, announcer):
|
def __init__(self, announcer):
|
||||||
|
|
Loading…
Reference in a new issue