Skip to content

Commit d0c176d

Browse files
authored
Merge pull request #41 from deadmanoz/patch-1
Update pushdata-opcodes.mdx - 520 byte limit elaboration
2 parents bb6f693 + 73e5894 commit d0c176d

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)