tylermzeller / pychain

An experimental blockchain in Python
MIT License
0 stars 0 forks source link

Research Bitcoin Scripting #10

Open tylermzeller opened 5 years ago

tylermzeller commented 5 years ago

Need to identify:

tylermzeller commented 5 years ago

Initial goal: Support P2PKH txs through scripting.

P2PKH output scripts can provide the pubKeyHash (and the rest of the locking script) using the scriptPubKey field. This will remove the pubKeyHash field from transaction outputs (at least for serialization).