From 60cedf881f1a0ead861ea824a120e028a5dee848 Mon Sep 17 00:00:00 2001 From: Thomas Yuan Date: Fri, 4 Sep 2015 14:28:38 -0400 Subject: [PATCH] Add block_timeout, block_ratelimit and read_only of dht_settings to python binding. --- bindings/python/src/session_settings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/python/src/session_settings.cpp b/bindings/python/src/session_settings.cpp index a8dc7f526..a5c2a662b 100644 --- a/bindings/python/src/session_settings.cpp +++ b/bindings/python/src/session_settings.cpp @@ -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