HomePhabricator

Merge #13096: [Policy] Fix MAX_STANDARD_TX_WEIGHT check

Description

Merge #13096: [Policy] Fix MAX_STANDARD_TX_WEIGHT check

Summary:
2f1a30c63 Fix MAX_STANDARD_TX_WEIGHT check (Johnson Lau)

Pull request description:

As suggested by the constant name and its comment in policy.h, a transaction with a weight of exactly MAX_STANDARD_TX_WEIGHT should be allowed. Users could be confused.

Tree-SHA512: af417de1c6a2e6796ebbb39aa0caad8764302ded155cb1bbfbe457e4567c199cc53256189832b17d4aeec369e190b3edd4c6116d5f0b8cf0ede6dfb4ed83bdd3

Backport of Core PR13096

Test Plan:

ninja check-all

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jul 5 2018, 16:34
nakihitoCommitted on Jun 9 2020, 17:45
nakihitoPushed on Jun 9 2020, 17:45
Reviewer
Restricted Owners Package
Differential Revision
D6454: Merge #13096: [Policy] Fix MAX_STANDARD_TX_WEIGHT check
Parents
rABC0eddb715c412: [backport#15930] rpc: Deprecate getunconfirmedbalance and getwalletinfo balances
Branches
Unknown
Tags
Unknown