From 0bcc7d46a3355e05c3f79a0e1bc4f6a000395e9b Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 16 May 2016 18:39:34 -0700 Subject: Disable debug code. --- node/NetworkConfig.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'node') diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 35382a3d..a7ed77b9 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -353,8 +353,6 @@ public: template inline void serialize(Buffer &b) const { - printf("!!! sending\n"); - b.append((uint16_t)1); // version b.append((uint64_t)networkId); @@ -473,8 +471,6 @@ public: this->com.serialize(b); b.append((uint16_t)0); // extended bytes, currently 0 since unused - - dump(); } template @@ -482,8 +478,6 @@ public: { memset(this,0,sizeof(NetworkConfig)); - printf("!!! deserializing\n"); - unsigned int p = startAt; if (b.template at(p) != 1) @@ -608,7 +602,6 @@ public: p += b.template at(p) + 2; - dump(); return (p - startAt); } @@ -616,6 +609,7 @@ public: void fromDictionary(const char *ds,unsigned int dslen); #endif + /* inline void dump() const { printf("networkId==%.16llx\n",networkId); @@ -644,6 +638,7 @@ public: printf("name==%s\n",name); printf("com==%s\n",com.toString().c_str()); } + */ /** * Network ID that this configuration applies to -- cgit v1.2.3