Author

Topic: Bottlecaps 2.1 UPDATE REQUIRED - HARDFORK JULY 4 2014 to 200% Annual PoS - page 166. (Read 388610 times)

hero member
Activity: 490
Merit: 501
so, are all the problems solved, or is there any fork?  Huh
legendary
Activity: 1197
Merit: 1000
same happened to coinmine pool - redownloading once again...
member
Activity: 93
Merit: 10
Was on the same chain as block crawler for ~5 days and I had >30 connections steady (as high as 43 sometimes).

I was even on the block crawler list all this time.

BUT

Woke up this morning and found there was a fork. I am now down to ~25 active connections and my getmininginfo differ from the block crawler. I am not on their list anymore.

How do I know which fork is "right"? Is the block crawler THE reference no matter what?


My getmininginfo @12:47:14
{
"blocks" : 90889,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 0.56681370,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"pooledtx" : 0,
"testnet" : false
}

Block Crawler at the same time
Block Count: 90,900
Block Reward: 10
Difficulty: 0.62017375
Connections: 25

hero member
Activity: 504
Merit: 500
Well my client is now stuck for several weeks at 18042 remaining and does not move
It has about 12 connects but nothing changed i deleted also several times the old blockchain
Every time same at around 18000 to go and stops

Make sure you have the line...

reservebalance=100000000

Inside of your config... If you are generating POS (Which can be done before the chain finishes syncing.) They may be cutting your connection because you are attempting to submit POS work while downloading, and you are getting severed from that issue, which is not fixed yet.

Just restart the client/wallet... don't keep deleting the database. The other clients are cutting you off, from data delivery or the data is getting corrupted from one packet (Thus, stopping that block from being added to the database). Restarting will cause it to drop that packet and continue from where it got the last good packet delivered.

Once you are sure you are at the correct height, stop the wallet/client, and backup everything except "peers.dat", "wallet.dat" and your config file. (You can optionally backup your wallet to another location, but don't restore it when you restore the database. Wallet backups should only be restored if you are in dire trouble, and your wallet somehow gets corrupted or damaged.)

Use those other files to restore the database if you "fall off the tall chain"... Because the wallet does not seem to have the ability to "fix" or rebuild the taller chain after you have gotten blocks from the shorter chain. (If it can, it does not do it within a reasonable time. I waited hours and it never fixed itself, though it could see the taller chain and see I was not synched.)

And the wallet doesn't seem to "archive" the "known good database", for easy restoring from that point forward.

Also try the connect thing a few posts up... using the list of connections from the block-crawler list of connections.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
Well my client is now stuck for several weeks at 18042 remaining and does not move
It has about 12 connects but nothing changed i deleted also several times the old blockchain
Every time same at around 18000 to go and stops
legendary
Activity: 2674
Merit: 2965
Terminated.
A few more things in the works now  Wink.
legendary
Activity: 1064
Merit: 1002
P2pool have ability to send blocks between nodes, this might help if we would have running at least few fully updated nodes that are mining.

Yep i have not been uble to get the front page updated but as soon as I will it be emphasized Smiley
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
P2pool have ability to send blocks between nodes, this might help if we would have running at least few fully updated nodes that are mining.
legendary
Activity: 1064
Merit: 1002
CAP on multipool is disabled

Dedicated pool has been up for about the last week. Thanks to Flound for keeping an eye on it. Currently about 30 Mh

https://www.multipool.us/stats.php?curr=cap
hero member
Activity: 490
Merit: 501
CAP on multipool is disabled
legendary
Activity: 1064
Merit: 1002
Multipool.us has a substantial % of global hashrate. If you are mining there please consider switching to cap.coinmine.pl at least temporarily.

Both pools have been on the correct chain for almost 5 days now and have great operators
hero member
Activity: 504
Merit: 500
Another wierd thing I noticed...

When the application froze, after trying to shut it down to delete the bad chain, and restore a known good backup, for rebuilding the correct chain... (Because, again, it saw the correct height, it just didn't do anything to "fix" the chain itself at that point. Rebuilding from the split, as one would assume it would do.)...

I had to go to taskmanager, which is not abnormal for the last 1.4.1 and 1.4.2 builds... and kill the app. However, there were three bottlecap-qt.exe's running in the taskmanager. There were not 3 when it was running normally. But I can not confirm if "trying to exit normally", caused the three instances... or if somehow while running, and losing connections...that 2 more instances just launched themselves? It was strange. (I will wait until it gets to that point again, and make some observations. Tongue However, I suspect that the "exit" function is screwy, causing the app to attempt to relaunch, in order to close itself or finish closing work, and just hanging in the process.)
hero member
Activity: 504
Merit: 500
The best luck I have had, staying on the right chain is by doing this...

EDIT: (Also, using reservebalance=100000000 to stop POS from happening by my wallet.)

Took the list of connections from the block-crawler and changed 8 of the "addnode" to "connect". That gave me more than the normal 8 connections that I would seem to be limited to, if I just had all "addnode" links. Giving a total of 13-14 connections, as opposed to 8.

EG...
I turn this list... (Which normally only give me 8 connections.)
maxconnections=100
addnode=92.5.104.42
addnode=108.20.60.26
addnode=192.241.222.16
addnode=192.241.216.151
addnode=192.241.222.102
addnode=192.95.37.194
addnode=24.5.121.137
addnode=188.165.211.202
addnode=88.100.132.85
addnode=70.79.24.157
addnode=80.198.94.98
addnode=217.169.211.146
addnode=69.9.152.126
addnode=69.10.44.115
addnode=67.11.24.42
addnode=192.64.86.238
addnode=72.238.120.59
addnode=50.137.233.14

Into this... (Which gives me 13-14 connections.)
maxconnections=100
connect=92.5.104.42
connect=108.20.60.26
connect=192.241.222.16
connect=192.241.216.151
connect=192.241.222.102
connect=192.95.37.194
connect=24.5.121.137
connect=188.165.211.202
addnode=88.100.132.85
addnode=70.79.24.157
addnode=80.198.94.98
addnode=217.169.211.146
addnode=69.9.152.126
addnode=69.10.44.115
addnode=67.11.24.42
addnode=192.64.86.238
addnode=72.238.120.59
addnode=50.137.233.14

That is the only solution I have to those showing low connections. This trick should also work if you have high connections, and you should now see more than what you would see, if you only had "addnode" for your connection types.

However, even the "connects", eventually kill the connection, and I get left with only "addnode" links, which thus returns to 8 or less. At the time I noticed that the chain was not matching, I only had 6 connections left. Which took almost three days to happen.

Now, I started again with 13-14 connections, using the same trick above... But 12 hours later, I am down to 11 connections. So, I assume I have the 8 addnodes and lost 2-3 of the ones I forced to connect. They either left, changed IP's, disconnected from me for ??, decided to link another wallet instead of me, or are now mining on a private chain/fork...

So connections are still being rejected, for no apparent reason, causing the issues. Having more connections only delays what happens, and when it happens. The result is still the same. The constant severing of connections leads to isolation at some point, when the cross-thread-IP connections can no longer communicate with the largest hash-rate miners. (Those are the ones that eventually become the tallest chain, because they just find blocks faster than total of severed units that are still joined.)
legendary
Activity: 1064
Merit: 1002
Nothing on git, I manually added some checkpoints using data from crawler.
It works last time, but network forks again and I stay in "bad" fork...
Downloading chain again, but this should not happen Sad

https://github.com/bottlecaps-foundation/bottlecaps/commit/33f4cee4ec3b8c9e131dcb3f6f430424e8cdf732
Is the only recent change. Relax it's being worked on.

Looks like some random debug commit, that don't even belong in git history

I was working with another dev who suggested we print the questionable ntargettimespan to the log to verify it was being calculated the same accros all platforms.

I slipped it into github so if anyone compiled it and went off on the wrong chain I could verify that wasnt the issue.

Much more work has been done behind the scenes

As far as yesterdays fork all 5 of the machines I use including the 3 vps that host the nodes show no record of the block in question. Which is yet another good sign as in the past they as well have been pulled to the wrong chain

if you went to the other chain last night... How many connections were you averaging? All my nodes / wallets average 30 connections. It seems some peers have trouble achieving more than 10 connections and may be the reason they are the only ones effected. But it is not the cause of the issue just explains why few peers are experiencing it lately.

Both pools cap.coinmine.pl and multipool.us were not effected it seems
member
Activity: 84
Merit: 10
Yeah since debug is really useless..
The works are behind the scene. Will be pushed to github once ready I belive.

commited line starts with "+-", it just compiles by accident
How many times do I need to repeat myself?

It's not like u got anything else to do it seems ...
legendary
Activity: 2674
Merit: 2965
Terminated.
commited line starts with "+-", it just compiles by accident

Relax it's being worked on.
The works are behind the scene.
How many times do I need to repeat myself?
member
Activity: 84
Merit: 10
Yeah since debug is really useless..
The works are behind the scene. Will be pushed to github once ready I belive.

commited line starts with "+-", it just compiles by accident
legendary
Activity: 2674
Merit: 2965
Terminated.
Yeah since debug is really useless..
The works are behind the scene. Will be pushed to github once ready I belive.
member
Activity: 84
Merit: 10
Nothing on git, I manually added some checkpoints using data from crawler.
It works last time, but network forks again and I stay in "bad" fork...
Downloading chain again, but this should not happen Sad

https://github.com/bottlecaps-foundation/bottlecaps/commit/33f4cee4ec3b8c9e131dcb3f6f430424e8cdf732
Is the only recent change. Relax it's being worked on.

Looks like some random debug commit, that don't even belong in git history
legendary
Activity: 2674
Merit: 2965
Terminated.
Nothing on git, I manually added some checkpoints using data from crawler.
It works last time, but network forks again and I stay in "bad" fork...
Downloading chain again, but this should not happen Sad

https://github.com/bottlecaps-foundation/bottlecaps/commit/33f4cee4ec3b8c9e131dcb3f6f430424e8cdf732
Is the only recent change. Relax it's being worked on.
Jump to: