remove "|" to make full mode a bit more compact
This commit is contained in:
parent
3a4c3e401b
commit
64c1a8b147
@ -584,7 +584,7 @@ Value masternodelist(const Array& params, bool fHelp)
|
|||||||
"\nAvailable modes:\n"
|
"\nAvailable modes:\n"
|
||||||
" active - Print '1' if active and '0' otherwise (can be additionally filtered by 'true' (active only) / 'false' (non-active only))\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"
|
" 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"
|
" 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"
|
" 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"
|
" 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);
|
CBitcoinAddress address2(address1);
|
||||||
|
|
||||||
std::ostringstream stringStream;
|
std::ostringstream stringStream;
|
||||||
stringStream << (mn.IsEnabled() ? "1" : "0") << " | " <<
|
stringStream << (mn.IsEnabled() ? "1" : "0") << " " <<
|
||||||
mn.protocolVersion << " | " <<
|
mn.protocolVersion << " " <<
|
||||||
address2.ToString() << " | " <<
|
address2.ToString() << " " <<
|
||||||
mn.vin.prevout.hash.ToString() << " | " <<
|
mn.vin.prevout.hash.ToString() << " " <<
|
||||||
mn.lastTimeSeen << " | " << setw(8) <<
|
mn.lastTimeSeen << " " << setw(8) <<
|
||||||
(mn.lastTimeSeen - mn.sigTime);
|
(mn.lastTimeSeen - mn.sigTime);
|
||||||
std::string output = stringStream.str();
|
std::string output = stringStream.str();
|
||||||
stringStream << " " << strAddr;
|
stringStream << " " << strAddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user