209 похожих чатов

Https://Reference.Cash/Protocol/Blockchain/Script >OP_NUM2BIN 128 0x80 a

b out Converts numeric value a into byte sequence of length b. Known as OP_LEFT before 2018-05-15.

>OP_BIN2NUM 129 0x81 x out Converts byte sequence x into a numeric value. Known as OP_RIGHT before 2018-05-15.

This says that these opcodes were called OP_LEFT and OP_RIGHT before being reimplemented on Bitcoin Cash. But the descriptions are very different from these.

https://en.bitcoin.it/wiki/Script

OP_LEFT 128 0x80 in size out Keeps only characters left of the specified point in a string. disabled.

OP_RIGHT 129 0x81 in size out Keeps only characters right of the specified point in a string. disabled.

Is that a mistake or do I not understand something?

6 ответов

13 просмотров

Reference.cash is wrong. OP_NUM2BIN uses the opcode of the removed OP_LEFT. But they are different things. Also reference.cash category for OP_NUM2BIN is wrong, they copied and pasted it from the btc script document.

Fernando
Reference.cash is wrong. OP_NUM2BIN uses the opcod...

If you have time an issue & of for this would be good

Mathieu G
If you have time an issue & of for this would be g...

time is one of those luxuries that seems to perpetually elude me 😁

Fernando
Reference.cash is wrong. OP_NUM2BIN uses the opcod...

oh? I didn't notice, gonna make a PR for that

Fernando
Reference.cash is wrong. OP_NUM2BIN uses the opcod...

teble here is correct https://documentation.cash/protocol/blockchain/script#splice

Похожие вопросы

Карта сайта