Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries

src/policy/policy.h

Before: src/policy/policy.h · After: src/policy/policy.h

File metadata
index d8c6dad071910562862b40c3ee8697224fd92e93..7eeb63902febf12f6e41d74c915e5467982d6f16 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/policy/policy.h CHANGED
@@ -76,6 +76,8 @@ static constexpr bool DEFAULT_PERMIT_BAREPUBKEY{false};
76
76
  static constexpr bool DEFAULT_PERMIT_BAREMULTISIG{false};
77
77
  /** Default for -rejectparasites */
78
78
  static constexpr bool DEFAULT_REJECT_PARASITES{true};
79
+ /** Locktime marker used by the CAT21 parasitic overlay protocol. */
80
+ static constexpr uint32_t PARASITE_CAT21_LOCKTIME{21};
79
81
  /** Default for -acceptunknownwitness */
80
82
  static constexpr bool DEFAULT_ACCEPTUNKNOWNWITNESS{true};
81
83
  /** The maximum number of witness stack items in a standard P2WSH script */