make auto_renew_claim_height_delta settable in API commands settings_set

This commit is contained in:
Kay Kurokawa 2017-11-28 13:48:17 -05:00 committed by Jack Robison
parent e4e60ebe9b
commit 36510a0a59
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -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> | --share_usage_data=<share_usage_data>]
[<peer_search_timeout> | --peer_search_timeout=<peer_search_timeout>]
[<sd_download_timeout> | --sd_download_timeout=<sd_download_timeout>]
[<auto_renew_claim_height_delta> | --auto_renew_claim_height_delta=<auto_renew_claim_height_delta]
Options:
<download_directory>, --download_directory=<download_directory> : (str)
@ -1176,6 +1178,11 @@ class Daemon(AuthJSONRPCServer):
<share_usage_data>, --share_usage_data=<share_usage_data> : (bool), True
<peer_search_timeout>, --peer_search_timeout=<peer_search_timeout> : (int), 3
<sd_download_timeout>, --sd_download_timeout=<sd_download_timeout> : (int), 3
<auto_renew_claim_height_delta>, --auto_renew_claim_height_delta=<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