dht: allow to configure rate limiter

This commit is contained in:
Adrien Béraud committed 2019-11-07 16:43:04 -05:00
1 parent f5a6801ab9
commit cb7d7f6614
8 files changed
+110 -62

No files matched your search

+3
View File
@@ -211,6 +211,9 @@ cdef extern from "opendht/callbacks.h" namespace "dht":
uint32_t network
bool is_bootstrap
bool maintain_storage
string persist_path
size_t max_req_per_sec
size_t max_peer_req_per_sec
cppclass SecureDhtConfig:
Config node_config
Identity id