Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.09 KB

op-codes.md

File metadata and controls

37 lines (24 loc) · 1.09 KB
latest-revision original-author created status title contributors type description discussions-to category
2019-01-27T00:00:00.000Z
Ryan Shea (ryan-shea)
2019-01-01T00:00:00.000Z
Accepted
Opcodes
Ryan Shea (ryan-shea)
article
GitHub URL
bitcoin-basics

Opcodes

Overview

Operation codes originate from the Bitcoin Script language which pushes data or performs functions within a pubkey script or signature script.

Details

Pubkey Script

A pubkey script is included in transaction outputs and sets the conditions that must be fulfilled for those satoshis to be spent. Data for fulfilling the conditions can be provided in a signature script. Pubkey Scripts are called a scriptPubKey in code.

Signature Script

A signature script is generated by a spender. Signature scripts are almost always used as variables to satisfy a pubkey script. Signature Scripts are called scriptSig in code.

Resources

Op codes list

References

[1] https://bitcoin.org/en/glossary/op-code