Show service bits advertised by the local node in getinfo as well as showing full 64-bits.
Also as per mailing list discussion add a comment about the bits reserved for experimental use.
Show service bits advertised by the local node in getinfo as well as showing full 64-bits.
Also as per mailing list discussion add a comment about the bits reserved for experimental use.
I think "getnetworkinfo" is a more appropriate place for this item to be exported.
ACK the rest.
114 | @@ -115,7 +115,7 @@ Value getpeerinfo(const Array& params, bool fHelp) 115 | obj.push_back(Pair("addr", stats.addrName)); 116 | if (!(stats.addrLocal.empty())) 117 | obj.push_back(Pair("addrlocal", stats.addrLocal)); 118 | - obj.push_back(Pair("services", strprintf("%08x", stats.nServices))); 119 | + obj.push_back(Pair("services", strprintf("%016llx", stats.nServices)));
Nit: please leave out the size specifier (ll) - tinyformat doesn't care about it.
ACK apart from nit
Also show full 64 bits of services. Previously service bits >32 that
were advertised just didn't show up at all.
As per mailing list discussion.
ACK
ACK
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/38405ac1411ce73f6945f296980d559e2949027f for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
ACK
This wants a tiny BIP, IMO, noting the service bit experimental range.
Agreed. Though that BIP could be very short and simple. Basically just the contents of that comment.