Add block_timeout, block_ratelimit and read_only of dht_settings to python binding.

This commit is contained in:
Thomas Yuan 2015-09-04 14:28:38 -04:00
parent 4d6de4bcd8
commit 60cedf881f
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ void bind_session_settings()
.def_readwrite("privacy_lookups", &dht_settings::privacy_lookups)
.def_readwrite("enforce_node_id", &dht_settings::enforce_node_id)
.def_readwrite("ignore_dark_internet", &dht_settings::ignore_dark_internet)
.def_readwrite("block_timeout", &dht_settings::block_timeout)
.def_readwrite("block_ratelimit", &dht_settings::block_ratelimit)
.def_readwrite("read_only", &dht_settings::read_only)
;
#endif