From 64c1a8b147e3b5e39751ab908b77c6e9a2a5e058 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Mon, 2 Mar 2015 07:45:18 +0300 Subject: [PATCH] remove "|" to make full mode a bit more compact --- src/rpcdarksend.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rpcdarksend.cpp b/src/rpcdarksend.cpp index 57d2cf755..bb6f9f8c7 100644 --- a/src/rpcdarksend.cpp +++ b/src/rpcdarksend.cpp @@ -584,7 +584,7 @@ Value masternodelist(const Array& params, bool fHelp) "\nAvailable modes:\n" " active - Print '1' if active and '0' otherwise (can be additionally filtered by 'true' (active only) / 'false' (non-active only))\n" " activeseconds - Print number of seconds masternode recognized by the network as enabled\n" - " full - Print info in format 'active | protocol | pubkey | vin | lastseen | activeseconds' (can be additionally filtered, partial match)\n" + " full - Print info in format 'active protocol pubkey vin lastseen activeseconds' (can be additionally filtered, partial match)\n" " lastseen - Print timestamp of when a masternode was last seen on the network\n" " protocol - Print protocol of a masternode (can be additionally filtered, exact match))\n" " pubkey - Print public key associated with a masternode (can be additionally filtered, partial match)\n" @@ -615,11 +615,11 @@ Value masternodelist(const Array& params, bool fHelp) CBitcoinAddress address2(address1); std::ostringstream stringStream; - stringStream << (mn.IsEnabled() ? "1" : "0") << " | " << - mn.protocolVersion << " | " << - address2.ToString() << " | " << - mn.vin.prevout.hash.ToString() << " | " << - mn.lastTimeSeen << " | " << setw(8) << + stringStream << (mn.IsEnabled() ? "1" : "0") << " " << + mn.protocolVersion << " " << + address2.ToString() << " " << + mn.vin.prevout.hash.ToString() << " " << + mn.lastTimeSeen << " " << setw(8) << (mn.lastTimeSeen - mn.sigTime); std::string output = stringStream.str(); stringStream << " " << strAddr;