Page MenuHomePhabricator

Adds PeerMessagingState enum to seeder/bitcoin.*
ClosedPublic

Authored by nakihito on Mar 9 2020, 21:22.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rSTAGING411bd9b97e91: Adds PeerMessagingState enum to seeder/bitcoin.*
rABC411bd9b97e91: Adds PeerMessagingState enum to seeder/bitcoin.*
Summary

Moves enum from just the p2p_messaging_tests.cpp to bitcoin.h allowing
use in the rest of the seeder code.

Test Plan
ninja check-bitcoin-seeder

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Mar 9 2020, 21:22
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/seeder/bitcoin.h
24 ↗(On Diff #16857)

Put the false state first.

This revision is now accepted and ready to land.Mar 12 2020, 15:21

Put false state first in enum.