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"
|
||||
" 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;
|
||||
|
Loading…
Reference in New Issue
Block a user