Author

Topic: Ubuntu install. (Read 1188 times)

full member
Activity: 154
Merit: 102
Bitcoin!
November 01, 2011, 12:39:16 PM
#12
Eventually the client needs to support downloading compressed "recent" copy of blockchain via a bitorrent type protocol.  The client can still verify every block back to the genesis block locally so there is no risk of fraud.

The blockchain will only get larger and larger.  By "recent" I mean the network could take a snapshot of the client every say 1000 blocks (roughly week) on the even 1000.  Compress the blockchain and offer it as a seed via private bittorrent type protocol.  The ability for all clients to download larger compressed "chunks" of the blockchain in out of order allocation to maximize throughput should speed up new block downloads.  The error checking built into bittorrent protocol would reduce the issue of block corruption.  Many people like myself would gladly devote bandwith to provide highspeed continual seeds of the "block snapshot".

Once client has completed the torrent (w/ nice progress bar) it will verify each block from genesis block and then begin to download new blocks beyon xxx000 which at most would be 999 more blocks.

 
You should outline this suggestion somewhere (here or github) where the devs will see it and can evaluate the idea.
hero member
Activity: 955
Merit: 1002
October 31, 2011, 09:46:00 AM
#11
Run a second Ubuntu in a virtual machine just for bitcoin and keep lots of snapshots so you don't need to keep downloading the block-chain in full.
donator
Activity: 1218
Merit: 1079
Gerald Davis
October 31, 2011, 09:20:36 AM
#10
Eventually the client needs to support downloading compressed "recent" copy of blockchain via a bitorrent type protocol.  The client can still verify every block back to the genesis block locally so there is no risk of fraud.

The blockchain will only get larger and larger.  By "recent" I mean the network could take a snapshot of the blockchain say ever 1000 blocks (roughly once a week) on the even 1000th block.  Compress the blockchain and offer it as a seed via private torrent.  Client could have a single function bittorrent client inside.  The current method of passing new blocks is fine but that method is not the best for downloading tens of thousands of blocks.

The ability for all clients to download larger compressed "chunks" of the blockchain in out of order allocation to maximize throughput should speed up new block downloads.  The error checking built into bittorrent protocol would reduce the issue of block corruption.  Many people like myself would gladly devote bandwith to provide highspeed continual seeds of the "block snapshot".

Once client has completed the torrent (w/ nice progress bar) it would need to verify each block from genesis block to ensure the blockchain is accurate and then begin to download new blocks beyond xxx000 which at most would be 999 more blocks.

  
newbie
Activity: 4
Merit: 0
October 31, 2011, 08:22:53 AM
#9
I just had this crash when shutting down 0.4 on ubuntu 64 bit.
(first time I ran 0.4 version, kept it running for a couple of days...)
Seems to still work afterwards anyway.


************************
UNKNOWN EXCEPTION       
bitcoin in CMyApp::OnUnhandledException()       

Segmentation fault
member
Activity: 84
Merit: 13
October 25, 2011, 10:53:15 AM
#8
Very usual problem on ubuntu if shutting down client while its downloading blocks.
Is there solution to not download blocks from start? Takes 24 h on my old notebook  Tongue

One thing you could easily do is to copy the block chain from another client, if you have access to one. (for example on another computer, or from a friend, etc...)
In that case, just copy files blk0001.dat and blkindex.dat from that computers's bitoin data directory to your data directory, overwriting files if needed.
If you have files like blk0002.dat, blk0003.dat and so on, copy them too.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
October 24, 2011, 06:59:18 AM
#7
your database is of a wrong version. be sure to use the 4.8 version of libdb++ in ubuntu, when you are compiling
newbie
Activity: 14
Merit: 0
October 24, 2011, 06:53:52 AM
#6
Very usual problem on ubuntu if shutting down client while its downloading blocks.
Is there solution to not download blocks from start? Takes 24 h on my old notebook  Tongue
If you don't download the blockchain, you practically can't use the client.
full member
Activity: 453
Merit: 101
RISE WITH RAYS FOR THE FUTURE
October 24, 2011, 03:45:25 AM
#5
Very usual problem on ubuntu if shutting down client while its downloading blocks.
Is there solution to not download blocks from start? Takes 24 h on my old notebook  Tongue
legendary
Activity: 1372
Merit: 1003
October 23, 2011, 03:34:10 PM
#4
Try emptying ~/.bitcoin/ (except for wallet.dat). Let it redownload the blockchain, something probably got corrupted.

Yes that worked thanks  Grin
newbie
Activity: 14
Merit: 0
October 23, 2011, 03:24:57 PM
#3
Try emptying ~/.bitcoin/ (except for wallet.dat). Let it redownload the blockchain, something probably got corrupted.
full member
Activity: 156
Merit: 100
Firstbits: 1dithi
October 23, 2011, 03:16:28 PM
#2
Did you run 0.5.0rc1 then tried to run 0.4? I think I got the same error message when tried that. I did a backup of ~/.bitcon before, however, in case this would happen (but didn't restored it as the wallet is empty). I'll edit my post about compiling bitcoin recommending to backup ~/.bitcoin
legendary
Activity: 1372
Merit: 1003
October 23, 2011, 02:10:18 PM
#1
Hi whenever I try and run Bitcoin on my Ubuntu PC I get the error message -

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()

Then the error message -

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in CMyApp::OnUnhandledException()

Can anyone please help?
Jump to: