Trent Russell
Full Member
 

Activity: 132
Merit: 100
willmathforcrypto.com
|
 |
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

Activity: 1330
Merit: 1000
Blockchain Developer
|
 |
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  Edit: Also speaking of exchanges, I have been messing around with a 'master' depth chart. Damn clams has good buy support. 
|
|
|
|
|
SuperClam (OP)
|
 |
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.  The CLAM market is difficult as so much volume occurs "out-of-band"/Over-The-Counter(OTC). EDIT: Awesome, btw 
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1335
|
 |
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
|
 |
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
Online
Activity: 4648
Merit: 1404
AltQuick.com Owner
|
 |
June 25, 2015, 01:51:01 AM |
|
|
https://AltQuick.com/exchange/ - A Bitcoin-based exchange for Altcoins, Signet, & Bitcoin Testnet (no fiat, stables, or KYC) - PGP D2F6EB9E127D75D6F994BA5F6862DDA3084922EE
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1335
|
 |
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

Activity: 2940
Merit: 1335
|
 |
June 25, 2015, 06:46:30 AM |
|
Still having problems with ORPHAN BLOCK 751  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 |
|
|
|
almightyruler
Legendary

Activity: 2338
Merit: 1092
|
 |
June 25, 2015, 09:08:26 AM |
|
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. That's something I hadn't considered. So a block which is verified as valid is corrupted as it's being committed to storage... from that point, verification of the following block, which arrives in perfect condition from peers, will always fail. I no longer have the corrupt files as I couldn't wait around indefinitely. It would be handy if there was an RPC command to forget every block past a specified height (or hardened checkpoint). Or even just be able to delete one specific block.
|
|
|
|
|
almightyruler
Legendary

Activity: 2338
Merit: 1092
|
 |
June 25, 2015, 02:19:41 PM |
|
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. That's something I hadn't considered. So a block which is verified as valid is corrupted as it's being committed to storage... from that point, verification of the following block, which arrives in perfect condition from peers, will always fail. One thing that just popped into my head. Wouldn't a -rescan reject the previous corrupt block? That's the first thing I tried after a couple of restarts.
|
|
|
|
|
cloverme
Legendary

Activity: 1512
Merit: 1059
SpacePirate.io
|
 |
June 25, 2015, 02:20:15 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.ioShows as "Unknown exchange pair" this morning.... run out of clam?
|
|
|
|
|
chilly2k
Legendary

Activity: 1007
Merit: 1000
|
 |
June 25, 2015, 05:48:30 PM |
|
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. That's something I hadn't considered. So a block which is verified as valid is corrupted as it's being committed to storage... from that point, verification of the following block, which arrives in perfect condition from peers, will always fail. I no longer have the corrupt files as I couldn't wait around indefinitely. It would be handy if there was an RPC command to forget every block past a specified height (or hardened checkpoint). Or even just be able to delete one specific block. Along these lines, I seem to be getting a lot of clients connecting to me, that are not up to sync. They end up killing my bandwidth. I have to stop/start the client. Last time I checked it was 8 out of 40 connections were not even close to the current block height. I'm going to start writing down the connections and initial block height before I recycle, and see if there is a pattern. Otherwise is there a setting to limit the number of new connections that require syncing?
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1335
|
 |
June 25, 2015, 06:42:40 PM Last edit: June 25, 2015, 07:00:49 PM by dooglus |
|
One thing that just popped into my head. Wouldn't a -rescan reject the previous corrupt block? That's the first thing I tried after a couple of restarts.
If the blk0001.dat file was OK, but the txleveldb/ files contained some corruption then -rescan wouldn't see the corruption. As I understand it, -rescan recreates the txleveldb/ files from the blk0001.dat file. I just tried running the Windows binary of v1.4.12 but didn't have much luck. I put the bootstrap.dat file in place and it started syncing, but then this happens after it has loaded a few blocks:  Is that something that happens a lot on Windows still? It's part of why I stopped using Windows in the first place. I guess I'll try syncing from bootstrap.dat on Linux a few times and see how well that works. Edit: I'm running 4 clamd processes, all syncing from bootstrap.dat into different datadirs. None of them have "encountered a problem" yet: ==> /home/clam/.clam.bs3/debug.log <== SetBestChain: new best=9109e501431fb62e64dfce26112a22703e5feecb56501232bd4a5e8bf09c63a2 height=12200 trust=14866939091 blocktrust=1130602 date=05/28/14 02:23:26 ==> /home/clam/.clam.bs1/debug.log <== SetBestChain: new best=10a98d283d1952cf2ef5cf073faf1b9ec955f785511634fc202b5af0e9ed4bff height=19200 trust=22450387823 blocktrust=1048577 date=06/12/14 02:06:00 ==> /home/clam/.clam.bs2/debug.log <== SetBestChain: new best=2c47724a65e02a69a103f0bbf5f7e15b17e7915b92052e529b554226972edf4f height=14800 trust=17681301681 blocktrust=1157520 date=06/02/14 15:45:53 ==> /home/clam/.clam.bs4/debug.log <== SetBestChain: new best=28c04885cd701375d847853b814decb4bf1ef346f8b996703834f1cd0c6f080d height=10400 trust=12685082747 blocktrust=1231051 date=05/25/14 07:15:07 I'm surprised to see that the processes are CPU bound: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16265 clam 20 0 817072 29660 11732 S 95.0 0.4 7:41.56 clamd 16295 clam 20 0 823492 32428 11340 S 93.4 0.4 6:20.31 clamd 16187 clam 20 0 815872 34408 11760 S 88.4 0.4 9:49.87 clamd 16226 clam 20 0 837548 44116 26332 S 80.1 0.5 8:37.20 clamd I would expect the 4 of them all reading from bootstrap.dat and writing to database files to hit an hdd bottleneck, but no.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1335
|
 |
June 25, 2015, 10:45:11 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.ioShows as "Unknown exchange pair" this morning.... run out of clam? They were having problems recently but say they're fixed now: https://bitcointalk.org/index.php?topic=717973.msg11711979#msg11711979 Along these lines, I seem to be getting a lot of clients connecting to me, that are not up to sync. They end up killing my bandwidth. I have to stop/start the client. Last time I checked it was 8 out of 40 connections were not even close to the current block height. I'm going to start writing down the connections and initial block height before I recycle, and see if there is a pattern.
Otherwise is there a setting to limit the number of new connections that require syncing?
I don't think there's anything to limit that, other than limiting your total number of connections: -maxconnections=<n> Maintain at most <n> connections to peers (default: 125)
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|
|
|
SuperClam (OP)
|
 |
June 26, 2015, 04:26:10 AM |
|
CLAM v. 1.4.13 Test Build Released!Release Notes Linux 32bit43c0c0e47efb0c459a2b9c8fc28dc621e03be9be7ca0048f409bb1e55aa2fc9aLinux 64bit0ff672c900c2e337a24049f625a3ac1c3f8333bf840c05f3b8b1aff856da9731Windows 32bit7915eefb92508df6faae9fb257821103ff8df5ed3dc92a524a2ea89800a2f12aWindows 64bit55504d541ac6a5d46437810bde189ddfae7683741be16cd89f4021854e9f55f3OSXf910c3014f8b44cd8219ee4aeff774f32f92e32bd7f0c59a40ef11fc8d1b712f
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1335
|
 |
June 26, 2015, 05:52:42 AM |
|
I'm running 4 clamd processes, all syncing from bootstrap.dat into different datadirs. None of them have "encountered a problem" yet: ==> /home/clam/.clam.bs3/debug.log <== SetBestChain: new best=9109e501431fb62e64dfce26112a22703e5feecb56501232bd4a5e8bf09c63a2 height=12200 trust=14866939091 blocktrust=1130602 date=05/28/14 02:23:26 ==> /home/clam/.clam.bs1/debug.log <== SetBestChain: new best=10a98d283d1952cf2ef5cf073faf1b9ec955f785511634fc202b5af0e9ed4bff height=19200 trust=22450387823 blocktrust=1048577 date=06/12/14 02:06:00 ==> /home/clam/.clam.bs2/debug.log <== SetBestChain: new best=2c47724a65e02a69a103f0bbf5f7e15b17e7915b92052e529b554226972edf4f height=14800 trust=17681301681 blocktrust=1157520 date=06/02/14 15:45:53 ==> /home/clam/.clam.bs4/debug.log <== SetBestChain: new best=28c04885cd701375d847853b814decb4bf1ef346f8b996703834f1cd0c6f080d height=10400 trust=12685082747 blocktrust=1231051 date=05/25/14 07:15:07 I'm surprised to see that the processes are CPU bound: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16265 clam 20 0 817072 29660 11732 S 95.0 0.4 7:41.56 clamd 16295 clam 20 0 823492 32428 11340 S 93.4 0.4 6:20.31 clamd 16187 clam 20 0 815872 34408 11760 S 88.4 0.4 9:49.87 clamd 16226 clam 20 0 837548 44116 26332 S 80.1 0.5 8:37.20 clamd I would expect the 4 of them all reading from bootstrap.dat and writing to database files to hit an hdd bottleneck, but no. 11 hours later and they're almost synced: ==> /home/clam/.clam.bs3/debug.log <== SetBestChain: new best=4c0d2aba8bee376948a003197aaeeb75f9d0ae2ec9a9470962ab09ffbc0c1ce9 height=518500 trust=46209241304519735506 blocktrust=214081308084412 date=06/19/15 16:16:16 ==> /home/clam/.clam.bs4/debug.log <== SetBestChain: new best=77ea9911d97d948ecb2db594cd4d25057fe1d172da0463f17e2dc6bbed33ba21 height=520900 trust=46720474082846055251 blocktrust=187154986340951 date=06/21/15 08:46:08 ==> /home/clam/.clam.bs1/debug.log <== SetBestChain: new best=0aa6d484cb63573b9201b62cb4a4f1aa1e0c9e51b39951c18a55f958f530caec height=520700 trust=46680370544722329270 blocktrust=191413849329254 date=06/21/15 05:30:08 ==> /home/clam/.clam.bs2/debug.log <== SetBestChain: new best=1a93ba543b1826bbfafb7f38937638ad14d1eb647d87630186e7d0c20f57c76b height=511700 trust=44734730882778317181 blocktrust=206964479678105 date=06/14/15 21:59:44 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17289 clam 20 0 1201112 255176 17416 S 91.8 3.2 433:21.03 clamd 17266 clam 20 0 1202744 258492 14580 S 85.9 3.2 434:16.70 clamd 17272 clam 20 0 1200672 246056 6472 S 84.5 3.1 434:00.44 clamd 17269 clam 20 0 1197652 252428 16520 S 83.6 3.1 434:49.66 clamd
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
almightyruler
Legendary

Activity: 2338
Merit: 1092
|
 |
June 26, 2015, 06:36:18 AM |
|
Along these lines, I seem to be getting a lot of clients connecting to me, that are not up to sync. They end up killing my bandwidth. I have to stop/start the client. Last time I checked it was 8 out of 40 connections were not even close to the current block height. I'm going to start writing down the connections and initial block height before I recycle, and see if there is a pattern.
Otherwise is there a setting to limit the number of new connections that require syncing?
I'm having problems with large syncs hogging my outbound bandwidth too, and now I see that my IP is now listed as an addnode in the OP of this thread.  It should be possible to add code to drop the connection if the connecting peer reports a height well below yours, but that's a kind of rude thing to do in a peer to peer network. I doubt the official client would ever support anything like this. Perhaps a reasonable compromise would be an option to send at most X (older only?) blocks to a new peer, or perhaps some sort of outbound bandwidth rate limiting.
|
|
|
|
|
almightyruler
Legendary

Activity: 2338
Merit: 1092
|
 |
June 26, 2015, 06:43:19 AM |
|
One thing that just popped into my head. Wouldn't a -rescan reject the previous corrupt block? That's the first thing I tried after a couple of restarts.
If the blk0001.dat file was OK, but the txleveldb/ files contained some corruption then -rescan wouldn't see the corruption. As I understand it, -rescan recreates the txleveldb/ files from the blk0001.dat file. That doesn't make sense. If only txleveldb/* was corrupt, then rebuilding it would fix the corruption (or at least reject the corrupt block), surely? I restarted the client several times, including at least one -rescan and -reindex, and I think I may have also tried -salvagewallet. My command history has been rotated out, so I can't see for sure. I just tried running the Windows binary of v1.4.12 but didn't have much luck. I put the bootstrap.dat file in place and it started syncing, but then this happens after it has loaded a few blocks:
Is that something that happens a lot on Windows still? It's part of why I stopped using Windows in the first place.
Did you check debug.log to see what happened immediately before the crash? I'm surprised to see that the processes are CPU bound: I run several *coin daemons and it's quite normal to see high CPU load when they're syncing a large number of blocks.
|
|
|
|
|
chilly2k
Legendary

Activity: 1007
Merit: 1000
|
 |
June 26, 2015, 01:03:18 PM |
|
Along these lines, I seem to be getting a lot of clients connecting to me, that are not up to sync. They end up killing my bandwidth. I have to stop/start the client. Last time I checked it was 8 out of 40 connections were not even close to the current block height. I'm going to start writing down the connections and initial block height before I recycle, and see if there is a pattern.
Otherwise is there a setting to limit the number of new connections that require syncing?
I'm having problems with large syncs hogging my outbound bandwidth too, and now I see that my IP is now listed as an addnode in the OP of this thread.  It should be possible to add code to drop the connection if the connecting peer reports a height well below yours, but that's a kind of rude thing to do in a peer to peer network. I doubt the official client would ever support anything like this. Perhaps a reasonable compromise would be an option to send at most X (older only?) blocks to a new peer, or perhaps some sort of outbound bandwidth rate limiting. I have no problem with the new clients syncing, I'm often on the other side of the equation. It would be nice if the client kept track of nodes that were syncing and only allow X number to be syncing at the same time. Once a client gets up to speed allow another to join. I make this problem even worse because I run a daemon on linux for staking, and the full client on windows to see whats going on. So I can end up with a lot of new connections. I was testing out maxconnections, and noticed I had 6 connections and 4 of those were still syncing. I think as the price of clams climbs, the number of new clients will grow too. People getting the wallet to see if they have unclaimed clams.
|
|
|
|
|