Skip to content

Commit

Permalink
Merge pull request #41 from deadmanoz/patch-1
Browse files Browse the repository at this point in the history
Update pushdata-opcodes.mdx - 520 byte limit elaboration
  • Loading branch information
jrakibi authored Dec 17, 2024
2 parents bb6f693 + 73e5894 commit d0c176d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decoding/pushdata-opcodes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ In bitcoin's scripting language, several opcodes are used to push data onto the
4. **OP_1NEGATE**: Pushes the number -1 onto the stack.

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

<ExpandableAlert
Expand Down

0 comments on commit d0c176d

Please sign in to comment.