HomePhabricator

[rpc] Return fee and size from testmempoolaccept

Description

[rpc] Return fee and size from testmempoolaccept

Summary:
Return fee and size if tx would pass ATMP.

This is a backport of core#19940

D1635 introduced CTransaction.billable_size, so use it instead of adding a new identical get_size method.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
codeShark149 <rajarshi149@gmail.com>Authored on May 24 2020, 12:58
PiRKCommitted on Oct 8 2021, 08:23
PiRKPushed on Oct 8 2021, 08:23
Reviewer
Restricted Project
Differential Revision
D10279: [rpc] Return fee and size from testmempoolaccept
Parents
rABCd044621ed44f: [rpc] add send method
Branches
Unknown
Tags
Unknown