Title: Doubt in tx Post by: FabioCarpi on December 23, 2016, 03:58:29 PM Playing in the regtest mode....
Where is the pubkey? Code: { Title: Re: Doubt in tx Post by: achow101 on December 23, 2016, 04:00:39 PM Check the output that you are spending from. It is likely to be a pay-to-pubkey output, so the pubkey is in that output and thus not in the spending transaction.
The p2pk outputs are created by default by the internal miner in Bitcoin Core as that behavior has not been changed since the switch to p2pkh. Title: Re: Doubt in tx Post by: FabioCarpi on December 23, 2016, 04:30:31 PM Strange....
Normally the pubkey come after the der sign... Title: Re: Doubt in tx Post by: achow101 on December 23, 2016, 04:37:44 PM Strange.... No, not strange at all. The pubkey did that for pay-to-pubkey-hash outputs. The output you are spending from is pay-to-pubkey so it already has the pubkey in the output.Normally the pubkey come after the der sign... Title: Re: Doubt in tx Post by: FabioCarpi on December 23, 2016, 04:59:42 PM I got it
The coinbase sent to a pubkey.... The script part of Bitcoin intrigued me yet... Ty |