Skip to content

Commit 73e5894

Browse files
authored
Update pushdata-opcodes.mdx
Comment on the 520 byte limit making OP_PUSHDATA4 unusable
1 parent d63b06b commit 73e5894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

decoding/pushdata-opcodes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ In bitcoin's scripting language, several opcodes are used to push data onto the
2323
4. **OP_1NEGATE**: Pushes the number -1 onto the stack.
2424

2525
<ExpandableAlert title="Maximum Data Size" type="warning" expandable={false}>
26-
The maximum amount of data that can be pushed in a single operation is **520
27-
bytes**.
26+
Due to practical limitations and security considerations, the maximum amount of data that can be pushed in a single operation is **520
27+
bytes**. As such, the **OP_PUSHDATA4** opcode is never used in practice (it allows for pushing 65536-4294967295 bytes).
2828
</ExpandableAlert>
2929

3030
<ExpandableAlert

0 commit comments

Comments
 (0)