Bitcoin Forum
May 09, 2024, 02:52:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Nonstandard P2PKH in Altcoins  (Read 274 times)
barrysty1e (OP)
Hero Member
*****
Offline Offline

Activity: 636
Merit: 516



View Profile WWW
March 27, 2017, 03:50:41 PM
 #1

Hi all,

Realise this isn't exactly bitcoin related, but there doesnt appear to be much in the way of indepth technical talk in the other subs.

I'm writing some code that deals with transactions for yr standard X11/POS clone, to find that the transactions seem to be missing the byte that denotes inputs/utxo's; as well as differing in a ton of other ways.

for example:
Code:
010000004b1fd95801a696effab44fcc8c01dce6fbe3326ec630b350297820c709ee3821eaa3b4a365010000006a473044022047f3fb936f8174b373ad91485b011ae82f97791f97298a12f78ee43eae1f1827022002842cf172229640d8ff6c13178ef66f15f81c4352ce01bbc17d2e8b6d01d75f012103dbe6d1236d1352efd00af6359b7f66f266db6bb42abc7bc32671894820ce64a3ffffffff02bcbc1300000000001976a9142741acc7d11257a8bcc880608f995390cb2ad05a88ac40420f00000000001976a91439b16a2b091ef397bc81162add65246667fb987988ac00000000

this transaction has txid '92695e12e62fed76a27cb5199e227e6f6ba3b3b667e273b1b09b4c8f339ef96f":
Code:
{
  "version": 1,
  "time": 1490624512,
  "locktime": 0,
  "vin": [
    {
      "txid": "65a3b4a3ea2138ee09c720782950b330c66e32e3fbe6dc018ccc4fb4faef96a6",
      "vout": 1,
      "scriptSig": {
        "asm": "3044022047f3fb936f8174b373ad91485b011ae82f97791f97298a12f78ee43eae1f1827022002842cf172229640d8ff6c13178ef66f15f81c4352ce01bbc17d2e8b6d01d75f01 03dbe6d1236d1352efd00af6359b7f66f266db6bb42abc7bc32671894820ce64a3",
        "hex": "473044022047f3fb936f8174b373ad91485b011ae82f97791f97298a12f78ee43eae1f1827022002842cf172229640d8ff6c13178ef66f15f81c4352ce01bbc17d2e8b6d01d75f012103dbe6d1236d1352efd00af6359b7f66f266db6bb42abc7bc32671894820ce64a3"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 1.2935,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 2741acc7d11257a8bcc880608f995390cb2ad05a OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a9142741acc7d11257a8bcc880608f995390cb2ad05a88ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "NPVYDQo2gyYBGnWsFS8eNTF1XyBDvRZX9o"
        ]
      }
    },
    {
      "value": 1,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 39b16a2b091ef397bc81162add65246667fb9879 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a91439b16a2b091ef397bc81162add65246667fb987988ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "NRB2EgTQKxPQmTH3apzTrvjWHjA9V2Fm66"
        ]
      }
    }
  ]
}

i can't seem to find any bip/standard that this sort of transaction conforms to, and most bitcoin/litecoin push-tx handlers don't understand it.
any ideas?

james


my father wears sneakers in the pool
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!