make auto_renew_claim_height_delta settable in API commands settings_set
This commit is contained in:
parent
e4e60ebe9b
commit
36510a0a59
1 changed files with 7 additions and 0 deletions
|
@ -456,6 +456,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
'disable_max_key_fee': bool,
|
'disable_max_key_fee': bool,
|
||||||
'peer_search_timeout': int,
|
'peer_search_timeout': int,
|
||||||
'sd_download_timeout': int,
|
'sd_download_timeout': int,
|
||||||
|
'auto_renew_claim_height_delta': int
|
||||||
}
|
}
|
||||||
|
|
||||||
for key, setting_type in setting_types.iteritems():
|
for key, setting_type in setting_types.iteritems():
|
||||||
|
@ -1152,6 +1153,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
[<share_usage_data> | --share_usage_data=<share_usage_data>]
|
[<share_usage_data> | --share_usage_data=<share_usage_data>]
|
||||||
[<peer_search_timeout> | --peer_search_timeout=<peer_search_timeout>]
|
[<peer_search_timeout> | --peer_search_timeout=<peer_search_timeout>]
|
||||||
[<sd_download_timeout> | --sd_download_timeout=<sd_download_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:
|
Options:
|
||||||
<download_directory>, --download_directory=<download_directory> : (str)
|
<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
|
<share_usage_data>, --share_usage_data=<share_usage_data> : (bool), True
|
||||||
<peer_search_timeout>, --peer_search_timeout=<peer_search_timeout> : (int), 3
|
<peer_search_timeout>, --peer_search_timeout=<peer_search_timeout> : (int), 3
|
||||||
<sd_download_timeout>, --sd_download_timeout=<sd_download_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:
|
Returns:
|
||||||
(dict) Updated dictionary of daemon settings
|
(dict) Updated dictionary of daemon settings
|
||||||
|
|
Loading…
Reference in a new issue