From ed676d5140567c823ad8390f1f821e7bd24857ad Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 22 Oct 2014 16:39:46 -0700 Subject: [PATCH] "getaddr", "mempool", "ping" compiled. --- src/bitcoindjs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 4a21b178..aa9995bc 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -3636,7 +3636,6 @@ NAN_METHOD(HookPackets) { cblock_to_jsblock(block, 0, jsblock); // cblock_to_jsblock(block, 0, o); o->Set(NanNew("block"), jsblock); -#if 0 } else if (strCommand == "getaddr") { ; // not much other information in getaddr as long as we know we got a getaddr } else if (strCommand == "mempool") { @@ -3655,6 +3654,7 @@ NAN_METHOD(HookPackets) { assert(written == 20); o->Set(NanNew("nonce"), NanNew(sNonce)); } +#if 0 } else if (strCommand == "pong") { int64_t pingUsecEnd = nTimeReceived; uint64_t nonce = 0;