CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

XRP Price Looks Solid, Will There be a Significant Upward Surge?

xrpprice

The post XRP Price Looks Solid, Will There be a Significant Upward Surge? appeared first on Coinpedia – Fintech & Cryptocurreny News Media| Crypto Guide

BTC and ETH both reversed direction as they looked for fundamental support, implying that bears are trying to catch over-leveraged bulls. Despite Ripple’s legal battle with US securities regulators, XRP is looking solid. XRP is likely to convert a historic level of resistance into support, paving the stage for a significant surge. XRP Price Action …

What does this transaction script mean?

I was looking for scripts on the blockchain to test my program, and I encountered a weird scriptPubKey in this tx that I couldn’t understand. The opcodes are pk1 = 02085C6600657566ACC2D6382A47BC3F324008D2AA10940DD7705A48AA2A5A5E33 pk2 = 03F5D0FB955F95DD6BE6115CE85661DB412EC6A08ABCBFCE7DA0BA8297C6CC0EC4 hash1 = D68DF9E32A147CFFA36193C6F7C43A1C8C69CDA530E1C6DB354BFABDCFEFAF3C hash2 = F531F3041D3136701EA09067C53E7159C8F9B2746A56C3D82966C54BBC553226 OP_PUSHDATA <pk1> OP_CHECKSIG OP_SWAP OP_PUSHDATA <pk2> OP_CHECKSIG OP_SWAP 3 OP_PICK OP_SHA256 OP_PUSHDATA <hash1> OP_EQUAL 3::Listen

I was looking for scripts on the blockchain to test my program, and I encountered a weird scriptPubKey in this tx that I couldn’t understand.

The opcodes are

pk1 = 02085C6600657566ACC2D6382A47BC3F324008D2AA10940DD7705A48AA2A5A5E33 pk2 = 03F5D0FB955F95DD6BE6115CE85661DB412EC6A08ABCBFCE7DA0BA8297C6CC0EC4 hash1 = D68DF9E32A147CFFA36193C6F7C43A1C8C69CDA530E1C6DB354BFABDCFEFAF3C hash2 = F531F3041D3136701EA09067C53E7159C8F9B2746A56C3D82966C54BBC553226  OP_PUSHDATA <pk1> OP_CHECKSIG OP_SWAP  OP_PUSHDATA <pk2> OP_CHECKSIG OP_SWAP  3 OP_PICK OP_SHA256 OP_PUSHDATA <hash1> OP_EQUAL  3 OP_PICK OP_SHA256 OP_PUSHDATA <hash2> OP_EQUAL  OP_BOOLAND  4 OP_PICK OP_SIZE OP_NIP OP_PUSHDATA 0x20 OP_PUSHDATA 0x22 OP_WITHIN  OP_BOOLAND  3 OP_PICK OP_NIP OP_PUSHDATA 0x20 OP_PUSHDATA 0x22 OP_WITHIN  OP_BOOLAND  OP_IF  3 OP_PICK OP_SIZE OP_NIP  3 OP_PICK OP_SIZE OP_NIP  OP_EQUAL OP_PICK  OP_ELSE OP_BOOLAND OP_ENDIF 

I tried to somehow decipher it, and this is the pseudocode in my understanding

bool pk_script(dat1, dat2, sig1, sig2) {     if (sha256(dat1) == hash1 &&         sha256(dat2) == hash2 &&         size(dat1) == 32 or 33 &&         size(dat2) == 32 or 33) {         if (size(dat1) == size(dat2)) {             return checksig(sig2, pk2);         } else {             return checksig(sig1, pk1);         }     } else {         return checksig(sig1, pk1) && checksig(sig2, pk2);     } } 

If this is correct, I can’t understand what the condition of the main if is trying to do, nor can I see the meaning of the first branch.

The output was spent in this tx which only pushes two empty strings and two signatures in the scriptSignature.

Could anyone please explain what’s the meaning of the rest of the script besides checking the validity of two signatures?

Crypto Hats, Crypto Shirts, Crypto Socks, Crypto Clothing

XRP Price Looks Solid, Will There be a Significant Upward Surge?

Shopping cart
There are no products in the cart!
Continue shopping
0