Questions tagged [input-script]

The input script ("scriptSig") is a transaction component used to satisfy the spending conditions specified in the output script ("scriptPubKey"). It is only used with legacy output types, for native segwit outputs it is empty and replaced by the witness structure.

88 questions
4
votes
1 answer

Decoding ScriptSig

I noticed that there can be what seems to be more than 1 signature in a ScriptSig. The transaction in question is: https://blockchain.info/tx/32e8677c968981549acc25f46641c74a3055d949c90bd22c15a5236bf92a622d Below is a ScriptSig sample in…
thotheolh
  • 207
  • 2
  • 6
2
votes
2 answers

Testnet transaction - OPCODE MISSING OR NOT UNDERSTOOD error

I'm trying to broadcast a manually generated raw testnet transaction. I'm getting the following error from SmartBit: PUSH TRANSACTION ERROR: 16: MANDATORY-SCRIPT-VERIFY-FLAG-FAILED (OPCODE MISSING OR NOT UNDERSTOOD). My raw transaction looks like…
user2298995
  • 193
  • 3
  • 14
1
vote
1 answer

Can you help me with a puzzle transaction?

I am hoping there is someone out there that can help me with probably a simple bit coin scripting question...but maybe there is something more to it. I am trying to fully test a custom script on a regtest bitcoind node network. I have worked through…
Dave
  • 21
  • 3
1
vote
1 answer

Signing a transaction with openSSL

I've read a bit about signing a transaction using openSSL, I've tried implementing it but it seems like the signatures generated are not accepted. So I'm wondering if the following commands provide a valid signature. Let's create a private key:…
user2298995
  • 193
  • 3
  • 14
0
votes
1 answer

i don't know if there is an error in the scriptsig generation method of input in p2psh

I don't know if there is an error in the scriptsig generation method of input in P2PSH. My address is a single signing address with one Private key, I created a transaction that will generate hex string via Bitcoinj. script =…
0
votes
1 answer

Is scriptSig different for each input?

Since scriptSig is a signed transaction hash with the spender's private key, how is the scriptsig different for each input?
user2298995
  • 193
  • 3
  • 14