Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"
by
FrankS
on 09/12/2017, 21:05:57 UTC

Can you copy/paste that in text form?

And show some information about the output you're trying to spend. Output from 'validateoutputs' about it would be useful.
Sure thing; I recreated what I tried before and pasted it below.
"validateoutputs" obviously says not found, but that's a given. Not just because it does not actually exist, but because creating and signing is supposed to happen on a computer that hasn't been on the network so naturally it won't have any tx information at all. If a fully synced client is required, the whole process of offline signing would be meaningless.

My understanding of the process is that you create a valid raw-tx (what seems to work, at least the console does not complain) and then sign it with the privkey of the sender's address so you can use a pushtx service on another (online) computer to send it out. If that signed tx contains garbage (like a non-existant source tx), the miner is supposed to reject it. Please correct me if I am wrong on any of those assumptions.

Thanks for taking a look into that by the way Smiley

Quote
dumpprivkey xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g
Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt

dumpprivkey xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW
LnE8nFjSGVKhxoo5rxNZnQU31zT2JnDmVNsEEXoA8tq1HoXtJ4DC

createrawtransaction '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' '{"xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW ":3.5}'
01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000

validateaddress xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g
{
"isvalid" : true,
"address" : "xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g",
"ismine" : true,
"isscript" : false,
"pubkey" : "0317219581a420e433f18a7d28b282cddd4e900f1a7efad35d54d8b881c3e67497",
"iscompressed" : true,
"account" : ""
}

signrawtransaction "01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000" '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69,"scriptPubKey":"0317219581a420e433f18a7d28b282cddd4e900f1a7efad35d54d8b881c3e67497"}]' '["Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt"]'
{
"hex" : "01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000",
"complete" : false
}

validateoutputs '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]'
[
{
"txid" : "71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c",
"vout" : 69,
"status" : "txid not found"
}
]
(btw, the random whitespace in the hex strings seems to get added by the board, it's not there when I copy&paste it. Seems to be forced space after 79 characters)