From 8ed88a6eb32e01da4c6a72bca4c6aa90b65647ad Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 7 Aug 2013 08:43:50 -0300 Subject: [PATCH] dhtget/dhtput threadsafe --- src/bitcoinrpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 4d422572..cf44de7f 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -236,8 +236,8 @@ static const CRPCCommand vRPCCommands[] = { "sendnewusertransaction", &sendnewusertransaction, false, false }, { "verifychain", &verifychain, true, false }, // twister dht network - { "dhtput", &dhtput, false, false }, - { "dhtget", &dhtget, false, false }, + { "dhtput", &dhtput, false, true }, + { "dhtget", &dhtget, false, true }, }; CRPCTable::CRPCTable()