Skip to content
Bitcoin Roots

v29.4-roots.1 · Commit 10: [PATCH 10/13] fix: harden final Roots assurance

src/policy/policy.h

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

File metadata
index 77a5b898e895edfb36c2723a9f469371c237eb32..29c7e46806cb89bfe59cce7af42bb98150c41de2 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/policy/policy.h CHANGED
@@ -76,6 +76,8 @@ static constexpr bool DEFAULT_PERMIT_BAREPUBKEY{false};
76
  static constexpr bool DEFAULT_PERMIT_BAREMULTISIG{false};
77
  /** Default for -rejectparasites */
78
  static constexpr bool DEFAULT_REJECT_PARASITES{true};
 
 
79
  /** Default for -acceptunknownwitness */
80
  static constexpr bool DEFAULT_ACCEPTUNKNOWNWITNESS{true};
81
  /** The maximum number of witness stack items in a standard P2WSH script */
 
76
  static constexpr bool DEFAULT_PERMIT_BAREMULTISIG{false};
77
  /** Default for -rejectparasites */
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};
81
  /** Default for -acceptunknownwitness */
82
  static constexpr bool DEFAULT_ACCEPTUNKNOWNWITNESS{true};
83
  /** The maximum number of witness stack items in a standard P2WSH script */