Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks

src/common/args.h

Before: src/common/args.h · After: src/common/args.h

File metadata
index ea4e173bf72af616fa888cbe4122f1ca96df3110..97c32c87f7c069d3cca5b5b048e98578cb7b863c 100644

Download original patch · Release notes

Diff rows 1–7 of 7. 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/common/args.h CHANGED
@@ -113,6 +113,7 @@ public:
113
  // ALLOW_STRING = 0x08, //!< unimplemented, draft implementation in #16545
114
  // ALLOW_LIST = 0x10, //!< unimplemented, draft implementation in #16545
115
  DISALLOW_NEGATION = 0x20, //!< disallow -nofoo syntax
 
116
  DISALLOW_ELISION = 0x40, //!< disallow -foo syntax that doesn't assign any value
117
 
118
  DEBUG_ONLY = 0x100,
 
113
  // ALLOW_STRING = 0x08, //!< unimplemented, draft implementation in #16545
114
  // ALLOW_LIST = 0x10, //!< unimplemented, draft implementation in #16545
115
  DISALLOW_NEGATION = 0x20, //!< disallow -nofoo syntax
116
+ STRICT_NEGATION = 0x80, //!< require empty, 0 or 1 before negation conversion
117
  DISALLOW_ELISION = 0x40, //!< disallow -foo syntax that doesn't assign any value
118
 
119
  DEBUG_ONLY = 0x100,