HomePhabricator

Add enum for parse_name() return value

Description

Add enum for parse_name() return value

Summary:
Currently, parse_name() returns an int that doesn't describe what has
actually happened (at least without reading the comment that was in
dns.h). This changes the return value to something more descriptive.

Depends on D5470

Test Plan:

ninja check-bitcoin-seeder

Run sanitizer builds

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox, deadalnix

Subscribers: deadalnix, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5471

Details

Provenance
nakihitoAuthored on Mar 9 2020, 23:48
nakihitoPushed on Mar 16 2020, 18:18
Reviewer
Restricted Owners Package
Differential Revision
D5471: Add enum for parse_name() return value
Parents
rSTAGING76ed7221bf77: Use a sane default version for PPA releases
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/16955, tag: phabricator/base/16952