Page MenuHomePhabricator

[rpc] Return fee and size from testmempoolaccept
ClosedPublic

Authored by PiRK on Oct 7 2021, 14:28.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCd5381a5e6878: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable