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
Branch
showcashmagic
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 872
Build 872: arc lint + arc unit

Event Timeline

schancel added a subscriber: schancel.
schancel added inline comments.
src/net.cpp
673

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

Yes.

This revision was automatically updated to reflect the committed changes.