Skip to content

Commit 2d8099c

Browse files
committed
Mention units of MAX_STANDARD_ policy constants
1 parent 84e29c7 commit 2d8099c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/policy/policy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20;
3838
static const bool DEFAULT_PERMIT_BAREMULTISIG = true;
3939
/** The maximum number of witness stack items in a standard P2WSH script */
4040
static const unsigned int MAX_STANDARD_P2WSH_STACK_ITEMS = 100;
41-
/** The maximum size of each witness stack item in a standard P2WSH script */
41+
/** The maximum size in bytes of each witness stack item in a standard P2WSH script */
4242
static const unsigned int MAX_STANDARD_P2WSH_STACK_ITEM_SIZE = 80;
43-
/** The maximum size of each witness stack item in a standard BIP 342 script (Taproot, leaf version 0xc0) */
43+
/** The maximum size in bytes of each witness stack item in a standard BIP 342 script (Taproot, leaf version 0xc0) */
4444
static const unsigned int MAX_STANDARD_TAPSCRIPT_STACK_ITEM_SIZE = 80;
45-
/** The maximum size of a standard witnessScript */
45+
/** The maximum size in bytes of a standard witnessScript */
4646
static const unsigned int MAX_STANDARD_P2WSH_SCRIPT_SIZE = 3600;
4747
/** Min feerate for defining dust. Historically this has been based on the
4848
* minRelayTxFee, however changing the dust limit changes which transactions are

0 commit comments

Comments
 (0)