v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
src/policy/settings.h
Before: src/policy/settings.h · After: src/policy/settings.h
File metadata
index c218c1628cd9e7b4fee095f44c64aad5321cef29..1506dc854036ddca64c32677d0153d5771b668ad 100644
Download original patch · Release notes
Diff rows 1–16 of 16. 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/settings.h
CHANGED
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
#ifndef BITCOIN_POLICY_SETTINGS_H
|
|
7
7
|
#define BITCOIN_POLICY_SETTINGS_H
|
|
8
8
|
|
|
9
|
+
/** Default for -maxscriptsize. */
|
|
10
|
+
static constexpr unsigned int DEFAULT_SCRIPT_SIZE_POLICY_LIMIT{1650};
|
|
11
|
+
/** Default for -bytespersigop. */
|
|
12
|
+
static constexpr unsigned int DEFAULT_BYTES_PER_SIGOP{20};
|
|
13
|
+
/** Default for -bytespersigopstrict. */
|
|
14
|
+
static constexpr unsigned int DEFAULT_BYTES_PER_SIGOP_STRICT{20};
|
|
15
|
+
|
|
16
|
+
extern unsigned int g_script_size_policy_limit;
|
|
9
17
|
extern unsigned int nBytesPerSigOp;
|
|
18
|
+
extern unsigned int nBytesPerSigOpStrict;
|
|
19
|
+
|
|
10
20
|
|
|
11
21
|
#endif // BITCOIN_POLICY_SETTINGS_H
|