Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Gavin Andresen on March 18, 2013, 03:35:28 PM



Title: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Gavin Andresen on March 18, 2013, 03:35:28 PM
Bitcoin-Qt/bitcoind version 0.8.1 is now available from:
  http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/ (http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/)

This is a maintenance release that adds a new network rule to avoid
a chain-forking incompatibility with versions 0.7.2 and earlier.

Please report bugs using the issue tracker at github:
  https://github.com/bitcoin/bitcoin/issues (https://github.com/bitcoin/bitcoin/issues)


How to Upgrade
--------------

If you are running an older version, shut it down. Wait
until it has completely shut down (which might take a few minutes for older
versions), then run the installer (on Windows) or just copy over
/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux).

If you are upgrading from version 0.7.2 or earlier, the first time you
run 0.8.1 your blockchain files will be re-indexed, which will take
anywhere from 30 minutes to several hours, depending on the speed of
your machine.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: cypherdoc on March 18, 2013, 03:53:06 PM
for those of us already on 0.8 who mine but don't tweak around with tx construction, do we need to upgrade?


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: HappMacDonald on March 18, 2013, 03:58:10 PM
for those of us already on 0.8 who mine but don't tweak around with tx construction, do we need to upgrade?

This.

For those of us who run full 0.8.0 nodes, who either don't mine or only pool mine, is 0.8.1 a necessary step up, and if so why? And .. if not can we get an official blessing for our laziness? ;3


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Gavin Andresen on March 18, 2013, 03:59:36 PM
for those of us already on 0.8 who mine but don't tweak around with tx construction, do we need to upgrade?
No; the only 0.8 users who should upgrade are miners who are creating blocks themselves (mining pool operators, solo miners, or people using p2pool).

Big merchants/services/exchanges who want to be as certain as possible they don't end up on the wrong side of a blockchain fork should also upgrade, although I think the risk of that happening if they keep running 0.8.0 is small.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: cypherdoc on March 18, 2013, 04:01:23 PM
this is very well played Gavin.  its time to get everyone off BDB due to its bugginess.  we'll all be better off on Level DB.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: SRoulette on March 18, 2013, 04:02:37 PM
Thanks for the continued hard work  ;D


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Dayofswords on March 18, 2013, 06:45:37 PM
hopefully the PPA gets updated faster than last time, it was three days after the release before us linux guys got it.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Severian on March 18, 2013, 06:49:56 PM
Many thanks for your diligence. Some in userspace tend to forget that would be no Bitcoin but for the efforts and cooperation of the development and mining communities.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Bitsky on March 18, 2013, 07:28:32 PM
I'd like to update, but for me the coincontrol version has become an essential feature for a better control of privacy.
So I'm stuck with the DB_CONFIG workaround until this feature gets picked up by the devs :(


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: cypherdoc on March 18, 2013, 10:33:51 PM
I'd like to update, but for me the coincontrol version has become an essential feature for a better control of privacy.
So I'm stuck with the DB_CONFIG workaround until this feature gets picked up by the devs :(

Armory will allow this and can be integrated with 0.8.1


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: solex on March 18, 2013, 11:04:33 PM
Many thanks for your diligence. Some in userspace tend to forget that would be no Bitcoin but for the efforts and cooperation of the development and mining communities.

Agreed. Fast work and much more helpful than the "contributions" made by the authors of the anti-dev threads.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Ivica on March 18, 2013, 11:40:17 PM
hopefully the PPA gets updated faster than last time, it was three days after the release before us linux guys got it.

Archlinux here. Latest bitcoin ver is 0.8.1 here.
Don't forget that entire linux world doesn't stop on debs with debian/ubuntu/mint and so on. :)


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: mb300sd on March 19, 2013, 01:45:10 AM
I'd like to update, but for me the coincontrol version has become an essential feature for a better control of privacy.
So I'm stuck with the DB_CONFIG workaround until this feature gets picked up by the devs :(

Raw transactions can do everything coin control can, just make sure you include your change as an output.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: grantbdev on March 19, 2013, 02:03:00 AM
hopefully the PPA gets updated faster than last time, it was three days after the release before us linux guys got it.

Who maintains this PPA anyway? Is there a way we can verify the .debs from the normal packages just to be 100% safe?

Is it possible to run the linux bitcoin client 100% portably off a flash drive?


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: shaitand on March 19, 2013, 06:13:18 AM
0.8.1 is there but SF still claims 0.8.0 is the latest version.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: minorman on March 19, 2013, 08:18:11 AM
Just installed 0.81.

Small issue:
Under help->about bitcoin it still says version 0.8.0-beta ?


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: evilpete on March 19, 2013, 11:21:51 PM
Just installed 0.81.

Small issue:
Under help->about bitcoin it still says version 0.8.0-beta ?

Even if it does, you're still OK.  0.8.0 or better is fine.

The only people that 0.8.0 vs 0.8.1 makes a difference for are the large mining pool operators (not the members) or large solo miners.  Those folks already have it under control.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: saddambitcoin on March 20, 2013, 06:05:24 AM
upgraded from 0.8 - had to reindex the blockchain for a 2nd time - but i'll do whatever needs to be done


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Dayofswords on March 20, 2013, 07:26:57 AM
hopefully the PPA gets updated faster than last time, it was three days after the release before us linux guys got it.

Who maintains this PPA anyway? Is there a way we can verify the .debs from the normal packages just to be 100% safe?

Is it possible to run the linux bitcoin client 100% portably off a flash drive?

Unless bitcoin.org has been comprismised, we're fine since they advertise the PPA.

Bluematt does, he's a contributed a lot to bitcoin development.

Should be possible to run of a flash drive, IDK why you would though.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: neoivan1987 on March 21, 2013, 05:11:07 AM
Help!!!

I am using Multibit. Do i need to move my bitcoins to another wallet? for example, Blockchain or Bitcoin-Qt 0.8? I am not mining


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: BenTuras on March 21, 2013, 07:02:07 AM
I am on a Mac, running OSX 10.8.2
After updating from 0.7 to 0.8.1, is there some cleanup(obviously moving to offline storage and not deleting) to be done in the bitcoin directory /Users/uid/Library/Application Support/Bitcoin ?
The directory now contains 16.3Gb of stuff ;) in 146 items.
The biggest files I see are .../Bitcoin/blk000[1-4].dat, total 6.5Gb and
also .../Bitcoin/blocks/blk0000[0-4].dat, total 6.5Gb.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: LightRider on March 21, 2013, 07:49:33 AM
Upgraded on Win7x64 just fine.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: foo on March 21, 2013, 09:00:45 AM
The directory now contains 16.3Gb of stuff ;) in 146 items.

No it doesn't, the block files are hardlinked.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: BenTuras on March 21, 2013, 09:35:51 AM
The directory now contains 16.3Gb of stuff ;) in 146 items.

No it doesn't, the block files are hardlinked.
Thanks, you're right :)

Code:
uids-macbook-pro-2:Bitcoin uid$ ls -li blk* blocks/blk*
 414582 -rw-------  2 uid  staff  2097361271 Jul 11  2012 blk0001.dat
 414585 -rw-------  2 uid  staff  2097178774 Dec  6 10:28 blk0002.dat
1894633 -rw-------  2 uid  staff  2097168427 Mar 11 08:55 blk0003.dat
6274757 -rw-------  2 uid  staff   261849998 Mar 20 19:28 blk0004.dat
1894636 -rw-------  1 uid  staff  2067894272 Mar 20 19:28 blkindex.dat
 414582 -rw-------  2 uid  staff  2097361271 Jul 11  2012 blocks/blk00000.dat
 414585 -rw-------  2 uid  staff  2097178774 Dec  6 10:28 blocks/blk00001.dat
1894633 -rw-------  2 uid  staff  2097168427 Mar 11 08:55 blocks/blk00002.dat
6274757 -rw-------  2 uid  staff   261849998 Mar 20 19:28 blocks/blk00003.dat
8335820 -rw-------  1 uid  staff    33554432 Mar 21 10:19 blocks/blk00004.dat

First column is inode number, same inode number means same data on disk.
Third column is link count, higher than 1 means there is more than one directory entry for the entry.

So actual data usage on disk in Megabyte for ../Bitcoin directory is:
Code:
uids-macbook-pro-2:Bitcoin uid$ du -m .
32 ./blocks/index
859 ./blocks
182 ./chainstate
30 ./database
9296 .

I am still puzzled about the database engine change, how come the data files are still the same.
Perhaps  those blk files are not the database files ? -> they are, but the format stayed the same.
Perhaps only the index file changed format from BDB to LevelDB? -> yes, that's correct
I deducted the answer myself from https://en.bitcoin.it/wiki/Data_directory

For now I will not change anything.
In the future I might move the BDB files to offline storage (while bitcoin-qt is not active) and start bitcoin-qt again to check all is still ok.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: TooCasual on March 22, 2013, 05:03:06 AM
Gavin,

Is there a possibility to have an optional Yubi key (issued from bitcoinfoundation.org - like Mt. Gox) for extra wallet security introduced in the next release?

This would help the bitcoinfoundation with extra funding too.  Sort of a two-fold benefit for all.

Just a thought...

TC


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: xerces8 on March 22, 2013, 08:48:27 PM
Hi!

I missed this information from the release notes (README.txt), found it later by googling, maybe it could be added to the official docs:
 - updating on Windows when not using the setup.exe but ZIP version: shut down old bitcoin-qs.exe then just copy over the new one (like on Mac or Linux)
 - the disk usage apparently doubles due to hardlinked "copies" of the data files

If I understand correctly, the "old" files (blk0001.dat, blk0002.dat, blk0003.dat and blkindex.dat ) can be deleted without any ill effects.
Why are they left there anyway? For compatibility with v0.7.x in case the user wants to revert?


Another thing, the notes say:
Quote
Mac and Windows binaries are signed with certificates owned by the Bitcoin
Foundation, to be compatible with the new security features in OSX 10.8 and
Windows 8.
But opening the file Properties on bitcoin-qt.exe does not have a Digital Signatures tab. Also running it on one Windows PC brought up a warning dialog, saying the file has an unknown publisher.

Is it some different kind of signature?

Regards,
David


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: instaBoost on March 22, 2013, 08:49:04 PM
final.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: BenTuras on March 23, 2013, 05:19:00 PM
If I understand correctly, the "old" files (blk0001.dat, blk0002.dat, blk0003.dat and blkindex.dat ) can be deleted without any ill effects.
You can NOT delete those files, they are used by the new version too!!
See my earlier email above.

I now see that you are on Windows, I would still be very carefull deleting those files. I am not sure whether or not the 'old' and 'new' files are somehow linked. I know Windows does support linking of files.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: xerces8 on March 23, 2013, 05:36:30 PM
Wow, so my datadir went from ~7GB to ~13.5GB.

Is there any of this that is deprecated and can be pruned? I regularly backup the entire datadir and having it double in size in one day as opposed to over a couple of years is kind of harsh.

You can remove blk0001.dat, blk0002.dat, blk0003.dat and blkindex.dat from the data directory after a reindex is complete and you are caught up with the blockchain (and you don't plan on going back to an older version). Only blkindex should actually be using disk space, as the old BLK000x data are moved upon upgrade, and the blk000x.dat files you see there are hardlinks (shortcuts) on any filesystem that supports hardlinking.


That is why this should be clarified in official documentation. To clear up contradicting information on the internet.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Gavin Andresen on March 23, 2013, 10:20:24 PM
If you're on Linux or Mac, run contrib/tidy_datadir.sh if you want to get rid of old, not-used-any-more files in your data directory.

It will safely remove the blkindex.dat and blk000?.dat files.

If somebody wants to write an equivalent .bat file that does the same on Windows, that'd be fantastic!  I don't know hardly nuthin about Windows batch files.

As deepceleron says, the blk000?.dat files are hardlinks, so even though it looks like they're taking up space they're not. And they're safe to delete (just don't delete anything in the blocks/ or chainstate/ folders).


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: Stapleddiet on March 24, 2013, 12:14:21 AM
Win7 x64, all good but only a couple of transactions done. I leave the client open a fair bit with no drama.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: ralree on March 28, 2013, 01:27:31 AM
If you're on Linux or Mac, run contrib/tidy_datadir.sh if you want to get rid of old, not-used-any-more files in your data directory.

It will safely remove the blkindex.dat and blk000?.dat files.

If somebody wants to write an equivalent .bat file that does the same on Windows, that'd be fantastic!  I don't know hardly nuthin about Windows batch files.

As deepceleron says, the blk000?.dat files are hardlinks, so even though it looks like they're taking up space they're not. And they're safe to delete (just don't delete anything in the blocks/ or chainstate/ folders).


Tried this and it still didn't work on my Mac.  I'll try moving the dir aside and see if it works.

EDIT: Looks like this is working, but a full resync will have to happen before I really know.  I have plenty of bandwidth for the chain!


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: ydenys on March 29, 2013, 03:35:38 AM
Just to confirm that it works okay after removing blkindex.dat and four blk000*.dat files from users/[user name]/appdata/roaming/bitcoin/. Hard-linked block files in two different directories may be okay for now, but blkindex.dat should ideally be removed by setup due to its size.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: wumpus on March 31, 2013, 07:40:57 AM
Gavin,

Is there a possibility to have an optional Yubi key (issued from bitcoinfoundation.org - like Mt. Gox) for extra wallet security introduced in the next release?

This would help the bitcoinfoundation with extra funding too.  Sort of a two-fold benefit for all.

Just a thought...
I like the idea, but what I think is problematic is that the encryption key for the wallet would be stored in the yubikey. What if you lose it? Ok, the same is true for pass phrases, but at least that key should be human memorable and could be written down somewhere.

Please make an issue on github to make sure this doesn't get lost.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: BenTuras on March 31, 2013, 09:36:32 AM
Gavin,

Is there a possibility to have an optional Yubi key (issued from bitcoinfoundation.org - like Mt. Gox) for extra wallet security introduced in the next release?

This would help the bitcoinfoundation with extra funding too.  Sort of a two-fold benefit for all.

Just a thought...

TC
I would like to suggest Yubi key or Google Authenticator.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: wumpus on March 31, 2013, 11:14:02 AM
Google Authenticator won't work here. It is just an authentication mechanism and cannot store keys.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: fredtrader on April 05, 2013, 12:10:29 AM
Stupid question but, how do I know which version my wallet is? I use a QT wallet but I cant find anywhere it says the version.


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: drrussellshane on April 05, 2013, 03:15:56 AM
Stupid question but, how do I know which version my wallet is? I use a QT wallet but I cant find anywhere it says the version.

Click "Help"

then "About Bitcoin"

tips welcome: 1FyKZ1uC5tyY8ZAWJGfyEUoC1fSkSozbYJ

 ;D


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: dlb76 on April 15, 2013, 07:50:11 PM
updated to 0.8.1-beta
Thanks!


Title: Re: Bitcoin-Qt/bitcoind version 0.8.1 available
Post by: mctrix on April 17, 2013, 08:14:10 AM
im using 0.8.1-beta and it wont synch - whats going on ?

scrap the above it is synching just slowly...