Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jackjack on July 28, 2013, 04:47:37 PM



Title: Is this transaction valid?
Post by: jackjack on July 28, 2013, 04:47:37 PM
Hi,
Can someone tell me if this transaction is valid? (except the fact that it's a double spending attempt)

Code:
01000000010fff030dfce93c3e4457af8ad0cd47c184a9671db28cb3cb1188b4366ce5906800000000473045022100a4b143ff81dd6ab899aef5234a02054354de8a309eff811d654cd21d6e0b536102207100585568dafba3663720a710aa0cafed27e2379292c246cf0b3cb5b21b3579ffffffff01905f0100000000001976a91428d4cb88f005376046ab1fca64ae9c8a4bcfc73a88ac00000000


Title: Re: Is this transaction valid?
Post by: Remember remember the 5th of November on July 28, 2013, 04:50:23 PM
Hi,
Can someone tell me if this transaction is valid? (except the fact that it's a double spending attempt)
Which?


Title: Re: Is this transaction valid?
Post by: jackjack on July 28, 2013, 04:52:05 PM
Hi,
Can someone tell me if this transaction is valid? (except the fact that it's a double spending attempt)
Which?
The one I forgot to put in my post ;D


Title: Re: Is this transaction valid?
Post by: piotr_n on July 28, 2013, 04:56:44 PM
There is no known input
Code:
Transaction details (for your information):
1 Input(s):
   0 6890e56c36b48811cbb38cb21d67a984c147cdd08aaf57443e3ce9fc0d03ff0f-000 - UNKNOWN INPUT
1 Output(s):
      0.00090000 BTC to 14itww7qbQNVYdsEnjovLDT7ZjWL5PRRj2
WARNING: There are missing inputs and we cannot calc input BTC amount.


Title: Re: Is this transaction valid?
Post by: jackjack on July 28, 2013, 04:59:46 PM
The input should be http://blockchain.info/fr/tx/6890e56c36b48811cbb38cb21d67a984c147cdd08aaf57443e3ce9fc0d03ff0f


Title: Re: Is this transaction valid?
Post by: Remember remember the 5th of November on July 28, 2013, 05:01:58 PM
You must've copy/pasted it from the Qt client, it's been known to add the -000 at the end for some reason, not sure if it's an error, or intentional though.


Title: Re: Is this transaction valid?
Post by: piotr_n on July 28, 2013, 05:02:12 PM
The input should be http://blockchain.info/fr/tx/6890e56c36b48811cbb38cb21d67a984c147cdd08aaf57443e3ce9fc0d03ff0f
but its already spent


Title: Re: Is this transaction valid?
Post by: jackjack on July 28, 2013, 05:06:11 PM
The input should be http://blockchain.info/fr/tx/6890e56c36b48811cbb38cb21d67a984c147cdd08aaf57443e3ce9fc0d03ff0f
but its already spent
(except the fact that it's a double spending attempt)


Title: Re: Is this transaction valid?
Post by: piotr_n on July 28, 2013, 05:09:17 PM
The input should be http://blockchain.info/fr/tx/6890e56c36b48811cbb38cb21d67a984c147cdd08aaf57443e3ce9fc0d03ff0f
but its already spent
(except the fact that it's a double spending attempt)
so what is the problem?
it doesnt work, or what? :)


Title: Re: Is this transaction valid?
Post by: jackjack on July 28, 2013, 05:13:28 PM
I wanted to check this tx because I'm working on a Bitcoin software that is new to me and I currently don't have my own files to check by myself what this software gives me
Btw looks like the public key is not in the scriptsig... Sorry guys I should have at least seen that


Title: Re: Is this transaction valid?
Post by: piotr_n on July 28, 2013, 05:17:03 PM
in general, before you can confirm, mine a tx in deep enough, it is equally valid as is orphaned copy - that's the only risk,


Title: Re: Is this transaction valid?
Post by: dserrano5 on July 28, 2013, 05:50:34 PM
Issuing a decoderawtransaction on that yields this:

Code:
{
    "vin" : [
        {
            "scriptSig" : {
                "asm" : "45022100a4b143ff81dd6ab899aef5234a02054354de8a309eff811d654cd21d6e0b536102207100585568dafba36637 [error]",
                "hex" : "3045022100a4b143ff81dd6ab899aef5234a02054354de8a309eff811d654cd21d6e0b536102207100585568dafba3663720a710aa0cafed27e2379292c246cf0b3cb5b21b3579"
            },

[...]

So it seems to be broken at some point.