Page MenuHomePhabricator

Display if a node is using the cash magic in getpeerinfo
ClosedPublic

Authored by deadalnix on Sep 17 2017, 14:39.

Details

Summary

As per title. This will be useful to know when it is time to disable the legacy magic in the network layer.

Test Plan

Run a node on testnet, call getpeerinfo, ensure presented data are correct.
Modify a node to connect with the new cash magic and ensure it is properly marked as using cash.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

schancel added a subscriber: schancel.
schancel added inline comments.
src/net.cpp
673 ↗(On Diff #1385)

This looks like the only substantive change aside from adding the flag?

This revision is now accepted and ready to land.Sep 17 2017, 21:18
src/net.cpp
673 ↗(On Diff #1385)

Yes.

This revision was automatically updated to reflect the committed changes.