HomePhabricator

revert to deprecated protobuf ByteSize() due to compatibility

Description

revert to deprecated protobuf ByteSize() due to compatibility

Summary:
the change in D5386 breaks compatibility with protobuf 2.6.1, which is what we target, the newer ByteSizeLong() function being introduced in protobuf 3.1

this diff reverts that change

Test Plan:

ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

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

Details

Provenance
majcostaAuthored on Mar 1 2020, 15:35
majcostaPushed on Mar 1 2020, 22:44
Reviewer
Restricted Owners Package
Differential Revision
D5392: revert to deprecated protobuf ByteSize() due to compatibility
Parents
rABC40e56e8fcc93: Stop using the deprecated google::protobuf::MessageLite::ByteSize()
Branches
Unknown
Tags
Unknown