From 36510a0a599a2c2647aabecf02ef7e5ea99543d7 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Tue, 28 Nov 2017 13:48:17 -0500 Subject: [PATCH] make auto_renew_claim_height_delta settable in API commands settings_set --- lbrynet/daemon/Daemon.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 048065c71..66f82605b 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -456,6 +456,7 @@ class Daemon(AuthJSONRPCServer): 'disable_max_key_fee': bool, 'peer_search_timeout': int, 'sd_download_timeout': int, + 'auto_renew_claim_height_delta': int } for key, setting_type in setting_types.iteritems(): @@ -1152,6 +1153,7 @@ class Daemon(AuthJSONRPCServer): [ | --share_usage_data=] [ | --peer_search_timeout=] [ | --sd_download_timeout=] + [ | --auto_renew_claim_height_delta=, --download_directory= : (str) @@ -1176,6 +1178,11 @@ class Daemon(AuthJSONRPCServer): , --share_usage_data= : (bool), True , --peer_search_timeout= : (int), 3 , --sd_download_timeout= : (int), 3 + , --auto_renew_claim_height_delta= : (int), 0 + claims set to expire within this many blocks will be + automatically renewed after startup (if set to 0, renews + will not be made automatically) + Returns: (dict) Updated dictionary of daemon settings