"block" compiling.
This commit is contained in:
parent
0345ba1590
commit
04d5452088
@ -3629,14 +3629,14 @@ NAN_METHOD(HookPackets) {
|
|||||||
ctx_to_jstx(tx, 0, jstx);
|
ctx_to_jstx(tx, 0, jstx);
|
||||||
// ctx_to_jstx(tx, 0, o);
|
// ctx_to_jstx(tx, 0, o);
|
||||||
o->Set(NanNew<String>("tx"), jstx);
|
o->Set(NanNew<String>("tx"), jstx);
|
||||||
#if 0
|
|
||||||
} else if (strCommand == "block") { // && !fImporting && !fReindex) {
|
} else if (strCommand == "block") { // && !fImporting && !fReindex) {
|
||||||
CBlock block;
|
CBlock block;
|
||||||
*cur->vRecv >> block;
|
*cur->vRecv >> block;
|
||||||
Local<Object> jstx = NanNew<Object>();
|
Local<Object> jsblock = NanNew<Object>();
|
||||||
cblock_to_jsblock(block, 0, jsblock);
|
cblock_to_jsblock(block, 0, jsblock);
|
||||||
// cblock_to_jsblock(block, 0, o);
|
// cblock_to_jsblock(block, 0, o);
|
||||||
o->Set(NanNew<String>("tx"), jstx);
|
o->Set(NanNew<String>("block"), jsblock);
|
||||||
|
#if 0
|
||||||
} else if (strCommand == "getaddr") {
|
} else if (strCommand == "getaddr") {
|
||||||
; // not much other information in getaddr as long as we know we got a getaddr
|
; // not much other information in getaddr as long as we know we got a getaddr
|
||||||
} else if (strCommand == "mempool") {
|
} else if (strCommand == "mempool") {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user