primitives should only be used for the raw datastructures (parsing and format). It is not the right place to document relay policy.
Move TX_MAX_STANDARD_VERSION to policy #20611
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2012-mvTxStandardVersion changing 4 files +28 −25-
MarcoFalke commented at 10:16 AM on December 10, 2020: member
-
fade6195b1
Move TX_MAX_STANDARD_VERSION to policy
Also remove extraneous whitespace, should be reviewed with --ignore-all-space
- MarcoFalke added the label Refactoring on Dec 10, 2020
-
in src/policy/policy.h:93 in fade6195b1
89 | @@ -90,25 +90,32 @@ CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFee); 90 | bool IsDust(const CTxOut& txout, const CFeeRate& dustRelayFee); 91 | 92 | bool IsStandard(const CScript& scriptPubKey, TxoutType& whichType); 93 | - /**
laanwj commented at 11:42 AM on December 10, 2020:This indentation was weird!
laanwj commented at 12:31 PM on December 10, 2020: memberAgree that
primitives.his for consensus data structures only. Code review ACK fade6195b1c230edd561443637a7bde81c2594a4lontivero commented at 12:13 AM on December 13, 2020: contributorluke-jr commented at 4:26 PM on December 14, 2020: memberConcept ACK
laanwj merged this on Dec 15, 2020laanwj closed this on Dec 15, 2020sidhujag referenced this in commit d4f28e2614 on Dec 15, 2020MarcoFalke deleted the branch on Dec 16, 2020DrahtBot locked this on Aug 16, 2022ContributorsLabels
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me