Author

Topic: [solved] Tx not accepted by 0.8.5 (Read 582 times)

hero member
Activity: 488
Merit: 500
November 19, 2013, 05:03:37 AM
#3
All outputs must be at least 0.0000543XBT

Ahh, thank you! Now I remember Cheesy
legendary
Activity: 1792
Merit: 1111
November 19, 2013, 03:34:16 AM
#2
All outputs must be at least 0.0000543XBT
hero member
Activity: 488
Merit: 500
November 19, 2013, 02:38:23 AM
#1
Transaction:
Code:
0100000009c0576ac4d3e697ed98f853183610f9c0347014ca616f57ba67e008e0c514645c000000006c493046022100ff9e008de0fed0d3c7c090d1826242a1f7e3767da010e86061f50135dbce97a0022100ee99b2523648d0cc2ada55f2c8f617565624b55f7d7462ce36f73e26415a7b650121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff44f3b2dbb41ddaa5b58b10fff613dac5b0721a5e2aef4869e01f7c008bc4e2fa000000006b483045022032ad0f5c77198719351f904405cdb55d6f75dbdd014f916f8770c1a0c781d4f0022100e5ce3ab3a55686c502d7d8e3faa8a266514d19833cb7071f710be3e1d80730350121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff7870b99767967f1812b215e008ae190effd11342ed73cd1b192b8c19054e3efb000000006b483045022055354515ec723fbe200e6fe1d7474989a36f2f2ce1f413ac16331a9929ba5edc02210090b30e397a7f86547ed18cee853d94c7eae709c671f04f11b5ed1f61eb54724b0121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff00adc7e0a4ed3d17a628c76205dcf1f2e9a03db54889433eaae3ad3b2f974330000000006a473044022011c3605be7f92465023c19fa8c0f917a675ac2b638c9a6175889b3c7befad1130220488fcf876d28b9dd9da1e46080e7da2704abf3ff1faf1f2ac77195286893dd540121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff23d3adac3f7f0cfe3102cb4f0d1f4a7cea9e7978f2e83fd63f4a5febce5df863000000006b483045022002ced02afbe93a70c5e3d620747c6a0c9329f04e28f38efc030628bf65938fe8022100ee9b9bdcafeea51714a8aac9bebe854478abfde078bd75af14048c62db3baf170121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff1579e053fe0af032d9271215c0233dcca1f3a67e0440925cfd799f5752a1a2fd000000006a473044022026824ebeb62477d042fcd0351cd5f082faa5ed86b4e8d71a6b3668a4aa52e383022014c595e409fb20a13a10a2507565708bdce434588bdedc46c0b13808655daea70121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffffdc9b6a08f6dac48086be61caf8ae626f5749705bbf2ae164e0c5303a2ac9ccad000000006a47304402205b8196ce2488988aab198ca7d256b0e0a38e136f4a384f0a2c2b176080577b150220479ad0c1d056207a350dc8ac55bdb5e8b6499da856d771f593d60fc43e359ac50121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff76b38261c104eb3e0e60ff6d3f6136736f9f8cd22cf4b0d1ddd5679d73b7e136000000006a47304402207c26b9ff3b383485ad3a48223365010387da7cd99a1d9bfaf92b13bf19dbd144022040f1131532f96c8b09a1acaf7ef227a5470cb8e53ec32f3d6e69bdf2ea76519e0121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2ffffffff0813e26178d5f897e6d71900593e7bdd1d3878455116340d403a3e447e9a16b4000000006a47304402202597c24484131f2fc6431c308edede3ba9841b5bf45438105e5c03495e83b0d102205b6f102590900f9a7ca02e35d908d814dfab6333885377ad3f4a306788d8d242012103edfc76606c411ca35f7d217636655166e77e6a94d85cf30ca0e25537e53bb0ccffffffff0276000000000000001976a9140fe21ebf7c8eea94f794fd55bedd9aa2c40888fd88ac12602100000000001976a9141188311bf0f8690764532dc09d38894bad8c636e88ac00000000

Output from decoderawtransaction:
Code:
{
    "txid" : "b2f19e6ac7ddce5dcdfeb2dbf0e78733d37709ff12723c044cf68ed8cb997d83",
    "version" : 1,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "5c6414c5e008e067ba576f61ca147034c0f910361853f898ed97e6d3c46a57c0",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3046022100ff9e008de0fed0d3c7c090d1826242a1f7e3767da010e86061f50135dbce97a0022100ee99b2523648d0cc2ada55f2c8f617565624b55f7d7462ce36f73e26415a7b6501 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "493046022100ff9e008de0fed0d3c7c090d1826242a1f7e3767da010e86061f50135dbce97a0022100ee99b2523648d0cc2ada55f2c8f617565624b55f7d7462ce36f73e26415a7b650121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "fae2c48b007c1fe06948ef2a5e1a72b0c5da13f6ff108bb5a5da1db4dbb2f344",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3045022032ad0f5c77198719351f904405cdb55d6f75dbdd014f916f8770c1a0c781d4f0022100e5ce3ab3a55686c502d7d8e3faa8a266514d19833cb7071f710be3e1d807303501 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "483045022032ad0f5c77198719351f904405cdb55d6f75dbdd014f916f8770c1a0c781d4f0022100e5ce3ab3a55686c502d7d8e3faa8a266514d19833cb7071f710be3e1d80730350121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "fb3e4e05198c2b191bcd73ed4213d1ff0e19ae08e015b212187f966797b97078",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3045022055354515ec723fbe200e6fe1d7474989a36f2f2ce1f413ac16331a9929ba5edc02210090b30e397a7f86547ed18cee853d94c7eae709c671f04f11b5ed1f61eb54724b01 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "483045022055354515ec723fbe200e6fe1d7474989a36f2f2ce1f413ac16331a9929ba5edc02210090b30e397a7f86547ed18cee853d94c7eae709c671f04f11b5ed1f61eb54724b0121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "3043972f3bade3aa3e438948b53da0e9f2f1dc0562c728a6173deda4e0c7ad00",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3044022011c3605be7f92465023c19fa8c0f917a675ac2b638c9a6175889b3c7befad1130220488fcf876d28b9dd9da1e46080e7da2704abf3ff1faf1f2ac77195286893dd5401 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "473044022011c3605be7f92465023c19fa8c0f917a675ac2b638c9a6175889b3c7befad1130220488fcf876d28b9dd9da1e46080e7da2704abf3ff1faf1f2ac77195286893dd540121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "63f85dceeb5f4a3fd63fe8f278799eea7c4a1f0d4fcb0231fe0c7f3facadd323",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3045022002ced02afbe93a70c5e3d620747c6a0c9329f04e28f38efc030628bf65938fe8022100ee9b9bdcafeea51714a8aac9bebe854478abfde078bd75af14048c62db3baf1701 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "483045022002ced02afbe93a70c5e3d620747c6a0c9329f04e28f38efc030628bf65938fe8022100ee9b9bdcafeea51714a8aac9bebe854478abfde078bd75af14048c62db3baf170121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "fda2a152579f79fd5c9240047ea6f3a1cc3d23c0151227d932f00afe53e07915",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3044022026824ebeb62477d042fcd0351cd5f082faa5ed86b4e8d71a6b3668a4aa52e383022014c595e409fb20a13a10a2507565708bdce434588bdedc46c0b13808655daea701 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "473044022026824ebeb62477d042fcd0351cd5f082faa5ed86b4e8d71a6b3668a4aa52e383022014c595e409fb20a13a10a2507565708bdce434588bdedc46c0b13808655daea70121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "adccc92a3a30c5e064e12abf5b7049576f62aef8ca61be8680c4daf6086a9bdc",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "304402205b8196ce2488988aab198ca7d256b0e0a38e136f4a384f0a2c2b176080577b150220479ad0c1d056207a350dc8ac55bdb5e8b6499da856d771f593d60fc43e359ac501 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "47304402205b8196ce2488988aab198ca7d256b0e0a38e136f4a384f0a2c2b176080577b150220479ad0c1d056207a350dc8ac55bdb5e8b6499da856d771f593d60fc43e359ac50121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "36e1b7739d67d5ddd1b0f42cd28c9f6f7336613f6dff600e3eeb04c16182b376",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "304402207c26b9ff3b383485ad3a48223365010387da7cd99a1d9bfaf92b13bf19dbd144022040f1131532f96c8b09a1acaf7ef227a5470cb8e53ec32f3d6e69bdf2ea76519e01 039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2",
                "hex" : "47304402207c26b9ff3b383485ad3a48223365010387da7cd99a1d9bfaf92b13bf19dbd144022040f1131532f96c8b09a1acaf7ef227a5470cb8e53ec32f3d6e69bdf2ea76519e0121039079c7a737d25142ea96d31e701cb97d2daf6e20dbccc622053ada118444e9e2"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "b4169a7e443e3a400d3416514578381ddd7b3e590019d7e697f8d57861e21308",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "304402202597c24484131f2fc6431c308edede3ba9841b5bf45438105e5c03495e83b0d102205b6f102590900f9a7ca02e35d908d814dfab6333885377ad3f4a306788d8d24201 03edfc76606c411ca35f7d217636655166e77e6a94d85cf30ca0e25537e53bb0cc",
                "hex" : "47304402202597c24484131f2fc6431c308edede3ba9841b5bf45438105e5c03495e83b0d102205b6f102590900f9a7ca02e35d908d814dfab6333885377ad3f4a306788d8d242012103edfc76606c411ca35f7d217636655166e77e6a94d85cf30ca0e25537e53bb0cc"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 0.00000118,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 0fe21ebf7c8eea94f794fd55bedd9aa2c40888fd OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9140fe21ebf7c8eea94f794fd55bedd9aa2c40888fd88ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "12Sz1yjHkbM4QXFbd32staHs3czgYTF64e"
                ]
            }
        },
        {
            "value" : 0.02187282,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 1188311bf0f8690764532dc09d38894bad8c636e OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9141188311bf0f8690764532dc09d38894bad8c636e88ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "12bhe34ZEmUobxdDqU3H3wPUyEbip91uPz"
                ]
            }
        }
    ]
}

The tx was generated with createrawtransaction and signed accordingly with a 0.7.x bitcoin client. Now when I try to send with sendrawtransaction the behaviour is different it with 0.7.x (transaction gets accepted) and 0.8.5 (transaction is rejected with Code -22). It seems that IsStandard() fails with 0.8.5 but succeeds with 0.7.

Does someone know where the behaviour is changed? Unfortunately I can't debug this at the moment and from just looking at the code i am not understanding why it fails.

Thank you!
Jump to: