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
Branch
AddEnumsToSeeder
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9778
Build 17431: Default Diff Build & Tests
Build 17430: arc lint + arc unit

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

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.