OP_PUSHDATA Opcodes Used in Name Operations?

Post Reply
kefkius
Posts: 4
Joined: Sat Feb 14, 2015 12:02 am
os: linux

OP_PUSHDATA Opcodes Used in Name Operations?

Post by kefkius »

I wasn't sure where to post this, apologies if this is the wrong subforum.

In Bitcoin transactions, the opcode OP_PUSHDATA4 is used for the RIPEMD 160 hash of a key. In name operation scripts like

Code: Select all

OP_NAME_FIRSTUPDATE <identifier> <rand> <value> OP_2DROP OP_2DROP OP_DUP OP_HASH160 <Hash160> OP_EQUALVERIFY OP_CHECKSIG
and

Code: Select all

OP_NAME_UPDATE <identifier> <value> OP_2DROP OP_DROP OP_DUP OP_HASH160 <Hash160> OP_EQUALVERIFY OP_CHECKSIG
can one expect that OP_PUSHDATA4 is used for the identifier, rand, and value parameters? I can't find this anywhere.
Creator of Encompass multi-coin lite wallet. Pretty much always reachable on freenode in #mazaclub.

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: OP_PUSHDATA Opcodes Used in Name Operations?

Post by biolizard89 »

Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

Post Reply