Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Gavin Andresen on January 24, 2011, 04:57:16 PM



Title: Please build and test: bitcoin 0.3.20
Post by: Gavin Andresen on January 24, 2011, 04:57:16 PM
Please checkout the git integration branch from:
  https://github.com/bitcoin/bitcoin

... and help test.  The new features that need testing are:

-nolisten : https://github.com/bitcoin/bitcoin/pull/11
-rescan : scan block chain for missing wallet transactions
-printtoconsole : https://github.com/bitcoin/bitcoin/pull/37
RPC gettransaction details : https://github.com/bitcoin/bitcoin/pull/24
listtransactions new features : https://github.com/bitcoin/bitcoin/pull/10

Bug fixes that also need testing:

-maxconnections= : https://github.com/bitcoin/bitcoin/pull/42
RPC listaccounts minconf : https://github.com/bitcoin/bitcoin/pull/27
RPC move, add time to output : https://github.com/bitcoin/bitcoin/pull/21
...and several improvements to --help output.

This needs more testing on Windows!  Please drop me a quick private message, email, or IRC message if you are able to do some testing.  If you find bugs, please open an issue at:
  https://github.com/bitcoin/bitcoin/issues


Title: Re: Please build and test: bitcoin 0.3.20
Post by: alkor on January 24, 2011, 06:43:27 PM
Is there any information on what is new in this release? Any compelling reason to upgrade once the new version is released?


Title: Re: Please build and test: bitcoin 0.3.20
Post by: LZ on January 24, 2011, 06:55:18 PM
Will be -rescan option in GUI?


Title: Re: Please build and test: bitcoin 0.3.20
Post by: bitcoinex on January 25, 2011, 12:40:37 PM
After first time run db seems to have changed and no longer work with the old (0.3.19) version. This is as planned?

Code:
$ ./bitcoin-0.3.19/bin/32/bitcoin


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



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

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Aвapийный ocтaнoв (core dumped)


Title: Re: Please build and test: bitcoin 0.3.20
Post by: bitcoinex on January 25, 2011, 12:47:32 PM
I am propose to add 'Build' section to build-unix.txt:

Code:
Build
-----

cd bitcoin-git
make -f makefile.unix
or
make -f makefile.unix bitcoind


Title: Re: Please build and test: bitcoin 0.3.20
Post by: bitcoinex on January 25, 2011, 01:35:17 PM
wxWidget :(
Especially frustrating is what I do not need GUI

Code:
$ make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9" -DGUI -o obj/util.o util.cpp
In file included from /usr/local/include/wx-2.9/wx/defs.h:26,
                 from /usr/local/include/wx-2.9/wx/wx.h:15,
                 from headers.h:30,
                 from util.cpp:5:
/usr/local/include/wx-2.9/wx/platform.h:256:22: error: wx/setup.h: No such file or directory
In file included from /usr/local/include/wx-2.9/wx/platform.h:711,
                 from /usr/local/include/wx-2.9/wx/defs.h:26,
                 from /usr/local/include/wx-2.9/wx/wx.h:15,
                 from headers.h:30,
                 from util.cpp:5:


$ lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux 5.0.8 (lenny)
Release:   5.0.8
Codename:   lenny


Title: Re: Please build and test: bitcoin 0.3.20
Post by: Gavin Andresen on January 25, 2011, 02:31:32 PM
After first time run db seems to have changed and no longer work with the old (0.3.19) version. This is as planned?

You must have compiled against a newer version of Berkeley DB, and it uses a new log file format.  Try removing the ~/.bitcoin/log.* files before running the older bitcoin version.

I changed build-unix.txt as you suggested.


Title: Re: Please build and test: bitcoin 0.3.20
Post by: Gavin Andresen on January 25, 2011, 02:36:34 PM
Will be -rescan option in GUI?

No.  Unless you're changing your wallet outside of bitcoin, rescanning isn't necessary.

It would be nice if the GUI had "backup wallet" and "merge backed up wallet with current wallet" options-- the "merge wallet" would need do a rescan.  Maybe next release somebody will implement those features...


Title: Re: Please build and test: bitcoin 0.3.20
Post by: bitcoinex on January 26, 2011, 01:16:21 PM
Has anyone been able to build under debian?


Title: Re: Please build and test: bitcoin 0.3.20
Post by: FreeMoney on January 26, 2011, 01:22:51 PM
Will be -rescan option in GUI?

No.  Unless you're changing your wallet outside of bitcoin, rescanning isn't necessary.

It would be nice if the GUI had "backup wallet" and "merge backed up wallet with current wallet" options-- the "merge wallet" would need do a rescan.  Maybe next release somebody will implement those features...


It might still be nice to have a rescan button in the options somewhere. If someone who wasn't up on all this switches a wallet in from a backup or to a new machine they're going to be all  ??? ???

If there was a "click here after you switch wallets" button that would probably save a good number of people a brief heart attack.

 


Title: Re: Please build and test: bitcoin 0.3.20
Post by: ribuck on January 26, 2011, 01:29:36 PM
If there was a "click here after you switch wallets" button that would probably save a good number of people a brief heart attack.

It shouldn't even need a click. The client should check on starting for a new wallet. I would like to see a wallet subdirectory that you could drop any number of wallet files into, and the client would recognise all of them when starting up.


Title: Re: Please build and test: bitcoin 0.3.20
Post by: FreeMoney on January 26, 2011, 01:32:18 PM
If there was a "click here after you switch wallets" button that would probably save a good number of people a brief heart attack.

It shouldn't even need a click. The client should check on starting for a new wallet. I would like to see a wallet subdirectory that you could drop any number of wallet files into, and the client would recognise all of them when starting up.

Indeed that sounds much better.


Title: Re: Please build and test: bitcoin 0.3.20
Post by: Gavin Andresen on January 29, 2011, 02:29:25 AM
I haven't heard from anybody...  I'll ask again:  PLEASE HELP TEST


Title: Re: Please build and test: bitcoin 0.3.20
Post by: bitcoinex on January 29, 2011, 05:24:58 AM
I am tested only bitcoind, on debian linux 32bit AMD:

-nolisten : works

-rescan : option passed but I don't know how to test this option

-printtoconsole : works
may be add 'no detach' functionality to them for bitcoind? or as separate option

gettransaction and listtransactions : work

getbalance '*' 1 also work

-maxconnections= : work

listaccounts N ignores the N - bug confirmed

RPC move, add time to output : https://github.com/bitcoin/bitcoin/pull/21 - I am not checked this


Title: Re: Please build and test: bitcoin 0.3.20
Post by: tuxsoul on February 14, 2011, 05:15:39 AM
I haven't heard from anybody...  I'll ask again:  PLEASE HELP TEST

Hi,

I can build the next development version, for debian (sid or wheezy) and ubuntu (natty).

What you think ?

Greetings.


Title: Please test: bitcoin 0.3.20
Post by: Gavin Andresen on February 14, 2011, 05:14:47 PM
Linux and Windows binaries are at:
  https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.20/

Summary of changes and new features (see pull requests for details):

-nolisten : https://github.com/bitcoin/bitcoin/pull/11
-rescan : scan block chain for missing wallet transactions
-printtoconsole : https://github.com/bitcoin/bitcoin/pull/37
RPC gettransaction details : https://github.com/bitcoin/bitcoin/pull/24
listtransactions new features : https://github.com/bitcoin/bitcoin/pull/10

Bug fixes:

New seed nodes : https://github.com/bitcoin/bitcoin/pull/59
New testnet genesis block : https://github.com/bitcoin/bitcoin/pull/53
Optimize database writes : https://github.com/bitcoin/bitcoin/pull/43
-maxconnections= : https://github.com/bitcoin/bitcoin/pull/42
RPC listaccounts minconf : https://github.com/bitcoin/bitcoin/pull/27
RPC move, add time to output : https://github.com/bitcoin/bitcoin/pull/21
several improvements to --help output.


Title: Re: Please build and test: bitcoin 0.3.20
Post by: BitterTea on February 14, 2011, 09:40:11 PM
I'll be installing the Windows client tonight. Should I post in this or the other if I run into issues?


Title: Re: Please build and test: bitcoin 0.3.20
Post by: Gavin Andresen on February 14, 2011, 09:49:54 PM
I'll be installing the Windows client tonight. Should I post in this or the other if I run into issues?

Submit issues at the issue tracker on github if you run into issues:
  https://github.com/bitcoin/bitcoin/issues


Title: Re: Please build and test: bitcoin 0.3.20
Post by: ender_x on February 14, 2011, 10:19:27 PM
Love the rescan feature.. ty..


Title: Re: Fatal error: can't create obj/util.o: No such file or directory
Post by: Gavin Andresen on March 02, 2011, 04:50:00 PM
The only things in my obj dir are cpu.o and sha.o

I did install wxwidgets and I'm running on Ubuntu 10.10

... and you get 'fatal error, can't create' when you try to compile bitcoin?

Sounds like your obj/ dir is not writeable by whichever user you're using to compile.