Trent Russell
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 132
Merit: 100
willmathforcrypto.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2015, 12:01:52 PM |
|
I'm experimenting with multisig in clams. The first part worked (creating a p2sh and sending clams to it), but the second part (spending the funds) didn't do what I expected. I found a workaround, but it's possible there's a bug in signrawtransaction. Or I made a mistake, of course. Here's more detail:
...
I can reproduce the exact same behaviour. I'll investigate, and fix it if possible. It seems to not be using the private key provided in the signtransaction RPC call. Thanks for the report. ... I do still need to run signrawtransaction twice, since it will still only take private keys from EITHER the wallet OR the RPC parameters, not both at the same time. Thanks for this reply. It helps me a lot. Plus it's good in general to see that these reports can lead to such fast action. By the way, I'm doing these multisigs to test out an idea I posted about a few weeks ago: https://bitcointalk.org/index.php?topic=1078338It seems like a good application of clamspeech. When I'm satisfied with the results, I'll post details about the outcome and link to it from here.
|
|
|
|
ShapeShift.io
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2015, 04:22:03 PM |
|
Clam friends! ShapeShift has re-added Clams to our instant altcoin exchange! So for the downtime. Instantly exchange Clams with 35+ altcoins today with ShapeShift.io![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FtSI34x3l.png&t=665&c=BKJkPp6x6HYGrw)
|
Follow us on our new profile: ShapeShift.com
Sign up for our closed beta waitlist: beta.shapeshift.com
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2015, 05:03:21 PM |
|
I do still need to run signrawtransaction twice, since it will still only take private keys from EITHER the wallet OR the RPC parameters, not both at the same time.
Thanks for this reply. It helps me a lot. Plus it's good in general to see that these reports can lead to such fast action. I improved on my fix after posting that, and edited the post you quoted. You can now do what you were trying to do with a single 'signrawtransaction'. The change will be in v1.4.12 of the client, which should be built shortly. The sources are already available for you to build yourself if you're that way inclined. By the way, I'm doing these multisigs to test out an idea I posted about a few weeks ago: https://bitcointalk.org/index.php?topic=1078338It seems like a good application of clamspeech. When I'm satisfied with the results, I'll post details about the outcome and link to it from here. I look forward to reading about it.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 12:29:27 AM Last edit: June 24, 2015, 12:58:45 AM by SuperClam |
|
CLAM v. 1.4.12 Test Build Released!Release Notes Linux 32bit68500109793daa68f2fe87c54281bccc73405d9dff39099ad7e65a38e2c51533Linux 64bit6cee1813a8b13f1e8736a3447d74549b779ae4fc5a6e543fef6abe10896a306bWindows 32bit6f1e0363cca3a80ceefb23b6db67f1bb99081191aa9d7e8ebf1f0f4ffa0cc44bWindows 64bit20f89ba18481075e50eeaf0528aefd85fe73ce0b6de7eb5c27cb7a4e7b7eac08OSX811f94d63501f23eed79719057976fb51cf75052950dca8102127d7030d12361
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 12:41:31 AM |
|
Thanks! You might want to link to the specific release notes for that version: https://github.com/nochowderforyou/clams/releases/tag/v1.4.12
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 12:59:03 AM |
|
Fixed ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 01:31:32 AM Last edit: June 24, 2015, 04:26:35 AM by dooglus |
|
One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that. I forgot to address that. I created those weird staking transactions yesterday as an experiment. [...] So you won't find too many of those weird transactions in the blockchain so far I just noticed I left my experimental staking code running since I posted that. It has created thousands of ugly multi-input multi-output staking transactions. So much so that the address I was using jumped to #4 in the CLAM rich-list. Ugh. I've now begun merging all those small outputs back to the main JD staking address, a bit at a time: http://khashier.com/tx/77dd83f67379d7fd01b9665b5bd287e1e6dc63b07361b07279e2beb9ec2af134Edit: but this whole experiment / mistake gave me an idea... A few exchanges recently have been having problems with their CLAM wallets, where they fill up with 'dust' from faucets which costs more in transaction fees to spend than it is worth. That's not a good situation - the exchange either has to pay out of pocket to clean up the dust, or leave it polluting the blockchain in the form of unspent outputs forever. So how about if we add an option to allow the wallet to combine all the dust into a single new output each time it stakes? I wrote it up here: https://github.com/nochowderforyou/clams/issues/196 and pushed a commit implementing it to the repository. It'll be in the next CLAM client release unless there's a good reason that it shouldn't be. Here it is cleaning up dust from the Just-Dice hot wallet, and getting paid to do so: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fwt21zzP.png&t=665&c=MPv-804f0OrUBw) Edit: here's a better example: http://khashier.com/tx/1f879d7896af66e4d533e49d9b49bc7d10f1d0e9b792aa5bcf85c5bda608ebf8
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 04:05:18 AM |
|
One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that. I forgot to address that. I created those weird staking transactions yesterday as an experiment. [...] So you won't find too many of those weird transactions in the blockchain so far I just noticed I left my experimental staking code running since I posted that. It has created thousands of ugly multi-input multi-output staking transactions. So much so that the address I was using jumped to #4 in the CLAM rich-list. Ugh. I've now begun merging all those small outputs back to the main JD staking address, a bit at a time: http://khashier.com/tx/77dd83f67379d7fd01b9665b5bd287e1e6dc63b07361b07279e2beb9ec2af134Edit: but this whole experiment / mistake gave me an idea... A few exchanges recently have been having problems with their CLAM wallets, where they fill up with 'dust' from faucets which costs more in transaction fees to spend than it is worth. That's not a good situation - the exchange either has to pay out of pocket to clean up the dust, or leave it polluting the blockchain in the form of unspent outputs forever. So how about if we add an option to allow the wallet to combine all the dust into a single new output each time it stakes? I wrote it up here: https://github.com/nochowderforyou/clams/issues/196 and pushed a commit implementing it to the repository. It'll be in the next CLAM client release unless there's a good reason that it shouldn't be. Here it is cleaning up dust from the Just-Dice hot wallet, and getting paid to do so: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fwt21zzP.png&t=665&c=MPv-804f0OrUBw) The only argument I can think of would involve the bloat or lack of tx fees. Might be reasonable argument for some sanity limits. That said, I think it would also incentivize services to stake.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 04:29:09 AM |
|
The only argument I can think of would involve the bloat or lack of tx fees. Might be reasonable argument for some sanity limits.
That said, I think it would also incentivize services to stake.
But it's removing bloat, in the form of unspent transaction outputs. It leaves a bunch of spent dust, which presumably in the future will be prunable. Unspent outputs sticking around forever aren't prunable. There should be fees for creating dust, not for tidying it up. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Edit: as for the lack of fees, fees are paid to whoever stakes the block - so I'd be paying myself...
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 04:55:44 AM |
|
The only argument I can think of would involve the bloat or lack of tx fees. Might be reasonable argument for some sanity limits. That said, I think it would also incentivize services to stake.
But it's removing bloat, in the form of unspent transaction outputs. It leaves a bunch of spent dust, which presumably in the future will be prunable. Unspent outputs sticking around forever aren't prunable. There should be fees for creating dust, not for tidying it up. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Edit: as for the lack of fees, fees are paid to whoever stakes the block - so I'd be paying myself... The pruning argument is definitely persuasive.
|
|
|
|
presstab
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 05:19:26 AM |
|
The only argument I can think of would involve the bloat or lack of tx fees. Might be reasonable argument for some sanity limits.
That said, I think it would also incentivize services to stake.
But it's removing bloat, in the form of unspent transaction outputs. It leaves a bunch of spent dust, which presumably in the future will be prunable. Unspent outputs sticking around forever aren't prunable. There should be fees for creating dust, not for tidying it up. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Edit: as for the lack of fees, fees are paid to whoever stakes the block - so I'd be paying myself... The difference between your implementation and standard PPC is that you add the ability to combine outputs from multiple keys held by the same wallet? Interesting idea, and of course you will have to own those keys in order to sign the transaction over. An exchange would then have to stake their wallets in order to take advantage of this. Some exchanges have been known to stake, as far as I know poloniex does not stake their wallet. Your doing some really interesting work, keep it up ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 05:49:53 AM |
|
The difference between your implementation and standard PPC is that you add the ability to combine outputs from multiple keys held by the same wallet? Interesting idea, and of course you will have to own those keys in order to sign the transaction over. An exchange would then have to stake their wallets in order to take advantage of this. Some exchanges have been known to stake, as far as I know poloniex does not stake their wallet. Your doing some really interesting work, keep it up ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I'm not familiar with PPC, but I expect it's the same as CLAM in this respect. The client doesn't attempt to merge outputs belonging to different keys, but it will accept it when others do so. So you can unilaterally modify your client to do it, and your peers won't mind. Poloniex don't stake their wallet. I've made large deposits and watched them site idle for days, when they would almost certainly have staked many times in that period if the wallet was being staked. I don't know why they don't. If they staked their wallets and gave a share of the rewards to whoever holds the CLAM balances, that would give them a competitive advantage over the other altcoin exchanges. They seem to be losing ground to cryptsy according to coinmarketcap.com/currencies/clams/#markets - when I looked a couple of weeks ago poloniex had 98% of the recent volume, with bittrex and cryptsy having less than 1% each. Now they're down to 72% which cryptsy at 18%. And not staking is really just throwing away free money.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Trent Russell
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 132
Merit: 100
willmathforcrypto.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 02:00:34 PM |
|
Just to confirm: I've installed 1.4.12 and now signrawtransaction works as I expected.
|
|
|
|
presstab
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 02:56:31 PM Last edit: June 24, 2015, 03:26:56 PM by presstab |
|
I'm not familiar with PPC, but I expect it's the same as CLAM in this respect. The client doesn't attempt to merge outputs belonging to different keys, but it will accept it when others do so. So you can unilaterally modify your client to do it, and your peers won't mind.
Poloniex don't stake their wallet. I've made large deposits and watched them site idle for days, when they would almost certainly have staked many times in that period if the wallet was being staked.
I don't know why they don't. If they staked their wallets and gave a share of the rewards to whoever holds the CLAM balances, that would give them a competitive advantage over the other altcoin exchanges. They seem to be losing ground to cryptsy according to coinmarketcap.com/currencies/clams/#markets - when I looked a couple of weeks ago poloniex had 98% of the recent volume, with bittrex and cryptsy having less than 1% each. Now they're down to 72% which cryptsy at 18%. And not staking is really just throwing away free money.
Yes standard PPC is as you expected. Honestly the only real difference I find between blackcoins (and therefore clams) staking kernel is that weight is equal to the size of the utxo being offered for coinstake. Concerning exchanges staking. Cryptsy admitted to it a while back and got quite a bit of backlash. They claim they don't anymore, but a few very good blockchain detectives think that there is sufficient proof that they do in fact stake their coins. If an exchange were to credit their users for such staking I would imagine most of the backlash would disappear. For smaller coins, it can create a problem having too much staking from one node, I do know that clams seems not to have much issue with that one though ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Edit: Also speaking of exchanges, I have been messing around with a 'master' depth chart. Damn clams has good buy support. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FzeQR8St.jpg&t=665&c=Cqz5SO8fD1WhjQ)
|
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 04:29:10 PM |
|
... Edit: Also speaking of exchanges, I have been messing around with a 'master' depth chart. Damn clams has good buy support. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FzeQR8St.jpg&t=665&c=Cqz5SO8fD1WhjQ) The CLAM market is difficult as so much volume occurs "out-of-band"/Over-The-Counter(OTC). EDIT: Awesome, btw ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 24, 2015, 06:04:00 PM |
|
The CLAM market is difficult as so much volume occurs "out-of-band"/Over-The-Counter(OTC).
True that. Lots of large trades happen on an ad hoc basis in the Just-Dice chat tab. Understandably, some people don't want to leave large amounts of CLAM on the exchanges where they lose out on the opportunity to profit from staking, and so there's little apparently sell pressure, making the market depth chart look unbalanced. I suspect that there is a lot of "invisible" sell pressure waiting for buy orders.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
chriswen
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 25, 2015, 12:31:38 AM |
|
Yup there's invisible sell pressure because you can earn interest on JD. And a good thing about CLAM is that transactions confirm quick.
Also a reason that buy walls are lopsided is because someone was market making and offering liquidity on both sides of the book. I wouldn't think that he put all his CLAMS for sale though. Maybe he has more clams to add higher up.
Also once his walls were sold into all the way down past 0.005 and there was a looming sell wall.
|
|
|
|
BayAreaCoins
Legendary
Offline
Activity: 3948
Merit: 1248
Owner at AltQuick.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 25, 2015, 01:51:01 AM |
|
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 25, 2015, 06:09:24 AM |
|
Yup there's invisible sell pressure because you can earn interest on JD. And a good thing about CLAM is that transactions confirm quick.
Also a reason that buy walls are lopsided is because someone was market making and offering liquidity on both sides of the book. I wouldn't think that he put all his CLAMS for sale though. Maybe he has more clams to add higher up.
Also once his walls were sold into all the way down past 0.005 and there was a looming sell wall.
I was market-making for a long time. I started off buying at 0.005 and selling at 0.006. When the price got stuck around 0.0054 I dropped my selling price to 0.0055, and kept trading between 0.005 and 0.0055 for a few weeks. Eventually the price broke out of that range and I just let it go. There's no point trying to hold the price in a range it doesn't want to be in. I guess eventually the price will settle down again, and I can start putting up walls in a narrow range again, but I'd like to see where that is first. I'm guessing a lot of people are waiting to see what happens re. Scabby's 185 BTC buy-in on Friday.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 25, 2015, 06:46:30 AM |
|
Still having problems with ORPHAN BLOCK 751 ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) I think I've figured out what has happened this time. The client accepted block 516305, but seems to have completely ignored block 516306... and only that block. Subsequent blocks were received, but have been marked as orphans, since there is the gap between 516305 and 516307. I ended up restarting with a virgin db and a bootstrap.dat, and the same thing happened again, but almost immediately... ProcessBlock: ORPHAN BLOCK 394, prev=150bbc3b26c30450c72982a4ddd76849f27772f789d4b5547cae84deb35c6916 SetBestChain: new best=ee238d43767cae1369976b95d725a0fefcb43c38eb472fab85bb4518ced9f5e8 height=56532 trust=181383289202 blocktrust=1783141 date=08/05/14 12:33:40 ProcessBlock: ACCEPTED ProcessBlock: ORPHAN BLOCK 395, prev=1f04a53561e711ed5db2bd3d161a038aa7f537ec203cac8097dbcbe71ae60d21 ProcessBlock: ORPHAN BLOCK 396, prev=0c86aef87def03c22d332206bfbc3076b7205d24fe96462ce46fd1cdbecff6cc ProcessBlock: ORPHAN BLOCK 397, prev=d7ab32165d83bbdb17706272736e8bffff63dfcd85e497fd30900137d247e43e ERROR: CheckProofOfStake() : VerifySignature failed on coinstake 010c7653afd5e0d62dee0b077285749ac5e6bbd2e35a6091c333dee69778d4b9
Client is stuck at block 56532, rejected transaction 010c7653afd5e0d62dee0b077285749ac5e6bbd2e35a6091c333dee69778d4b9 is from block 56533, so it never accepts the block. Given that it's not failing at a consistent spot I'm starting to wonder if there's some obscure bug with my OS/hardware (it's an Odroid C1/ARM CPU so probably not so well tested) or maybe a hardware issue. It's important to note that transaction 010c7653afd5e0d62dee0b077285749ac5e6bbd2e35a6091c333dee69778d4b9 is repeatedly rejected (1679 times in this instance). Is this cached locally, or is it rejecting a "fresh" block from a peer each time? This could help determine whether it's a random bit flip that gets committed to disk, dooming that block forever, or there's some other reason it is repeatedly failing verification. Did you ever get this resolved? The code that produces that error message is the following: if (!txPrev.ReadFromDisk(txdb, txin.prevout, txindex)) return tx.DoS(1, error("CheckProofOfStake() : INFO: read txPrev failed")); // previous transaction not in main chain, may occur during initial download
// Verify signature if (!VerifySignature(txPrev, tx, 0, SCRIPT_VERIFY_NONE, 0, 0, 0)) return tx.DoS(100, error("CheckProofOfStake() : VerifySignature failed on coinstake %s", tx.GetHash().ToString())); ie. to verify the signature on the new block, it loads information about the transaction which created the input to the new block, and checks the signature on the new block against the script specified in that old transaction. So even though you've been sent the new block 1679 times, it's loading the same information about the previous transaction from the disk each time. I'm guessing that it's this previous transaction that is corrupted, and so it doesn't matter how many times you are resent the new transaction, it's never going to be correct. This is the transaction you're failing to verify the signature for. This is the previous transaction - the one that created the 4.70xxx CLAM output that is staking in the rejected block. So I'd like to see the output of: > getrawtransaction d4fbd093e9f895a13ccdae9ce4c050d823ed1896f5bbec088a61f999d2d3e7fc as well as the output of: > getrawtransaction 010c7653afd5e0d62dee0b077285749ac5e6bbd2e35a6091c333dee69778d4b9 I'll compare them with what I see, which might tell me what's going wrong.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|