HomePhabricator

Drop minor GetSerializeSize template

Description

Drop minor GetSerializeSize template

Summary:
Now that GetType() is not propagated, the benefits are not worth the code.

This is a partial backport of Core PR13558 : https://github.com/bitcoin/bitcoin/pull/13558/commits/893628be0166b4096b6e52f516e0f65bb63a75a2

Depends on D4605 and D4603

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Jun 15 2018, 00:48
deadalnixCommitted on Dec 2 2019, 13:58
deadalnixPushed on Dec 2 2019, 13:58
Reviewer
Restricted Project
Differential Revision
D4606: Drop minor GetSerializeSize template
Parents
rABC9f49375e4158: Avoid creating a temporary vector for size-prefixed elements
Branches
Unknown
Tags
Unknown