"getaddr", "mempool", "ping" compiled.
This commit is contained in:
parent
04d5452088
commit
ed676d5140
|
@ -3636,7 +3636,6 @@ NAN_METHOD(HookPackets) {
|
|||
cblock_to_jsblock(block, 0, jsblock);
|
||||
// cblock_to_jsblock(block, 0, o);
|
||||
o->Set(NanNew<String>("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<String>("nonce"), NanNew<String>(sNonce));
|
||||
}
|
||||
#if 0
|
||||
} else if (strCommand == "pong") {
|
||||
int64_t pingUsecEnd = nTimeReceived;
|
||||
uint64_t nonce = 0;
|
||||
|
|
Loading…
Reference in New Issue