New answers tagged

2 votes

Is there any way for a script to depend on blockchain info?

No, by design. Script evaluation gives an unconditional boolean output: valid or invalid. If script validation could depend on context, that would mean script validity would need to be re-evaluated ...
Pieter Wuille's user avatar
3 votes
Accepted

If no push opcode, how does item still end up on stack (tx verification)

The notation < > implies a push opcode of appropriate length precedes the data item. It's just a convention when writing about Bitcoin scripts.
RedGrittyBrick's user avatar
2 votes
Accepted

Can OP_DROP be used to include arbitrary data?

OP_RETURN is only limited to 80 bytes by Bitcoin Core's default standardness rules. Some people increase this limit using the -datacarriersize option. Other people have been running Peter Todd's "...
Vojtěch Strnad's user avatar

Top 50 recent answers are included