Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Luke-Jr on July 22, 2013, 09:26:14 PM



Title: Bitcoin-Qt next-test 2013-07-21
Post by: Luke-Jr on July 22, 2013, 09:26:14 PM

next-test is a branch of the master bitcoind & Bitcoin-Qt code with as many pull requests merged as possible.
These pull requests are often not well-tested, and may contain serious bugs.

Please note these might possibly corrupt your wallet, destroy your coins (on the network), or worse. No warranty of any kind of provided. BACKUP YOUR WALLET

  • Windows: installer (http://luke.dashjr.org/programs/bitcoin/files/bitcoind/next/test/20130721/bitcoin-next-test-20130721-win32-setup.exe) ‖ zip (http://luke.dashjr.org/programs/bitcoin/files/bitcoind/next/test/20130721/bitcoin-next-test-20130721-win32.zip) (sigs (http://luke.dashjr.org/programs/bitcoin/files/bitcoind/next/test/20130721/SHA256SUMS.asc))
  • Source code: git (http://luke.dashjr.org/programs/bitcoin/w/bitcoind/luke-jr.git/shortlog/refs/tags/next-test_20130721) ‖ tar.gz (http://luke.dashjr.org/programs/bitcoin/w/bitcoind/luke-jr.git/snapshot/next-test_20130721.tar.gz) ‖ zip (http://luke.dashjr.org/programs/bitcoin/w/bitcoind/luke-jr.git/snapshot/next-test_20130721.zip)

Today's next-test includes the following pull requests (green are merged now; red are disputed):
  • Parse URIs with non-BTC amounts (https://github.com/bitcoin/bitcoin/pull/553)
  • -acceptnonstdtxn option to skip "non-standard transaction" checks (https://github.com/bitcoin/bitcoin/pull/559)
  • Support for Tonal Bitcoin units (ᵇTBC, ˢTBC, and TBC) (https://github.com/bitcoin/bitcoin/pull/929)
  • JSON-RPC method: prioritisetransaction <txid> <priority delta> (https://github.com/bitcoin/bitcoin/pull/1583)
  • A set of build scripts on top of gitian and vagrant for automating gitian builds... (https://github.com/bitcoin/bitcoin/pull/1597)
  • Change window titles to "Bitcoin-Qt - <purpose>" / misc related renames (https://github.com/bitcoin/bitcoin/pull/1620)
  • Specify fees explicitly via JSON-RPC (https://github.com/bitcoin/bitcoin/pull/1645)
  • CreateNewBlock: Child-pays-for-parent / Add transaction fee later (https://github.com/bitcoin/bitcoin/pull/1647)
  • Add small-data OP_DROP transactions as standard transactions. (https://github.com/bitcoin/bitcoin/pull/1809)
  • FreeBSD and OpenBSD build fixes (https://github.com/bitcoin/bitcoin/pull/1815)
  • Support for specific BIP 22 rejection reasons and BIP 23 block proposal (https://github.com/bitcoin/bitcoin/pull/1816)
  • Base58 en-/de-coding (https://github.com/bitcoin/bitcoin/pull/1828)
  • Fixes for when listtransactions encounters non-standard outputs (https://github.com/bitcoin/bitcoin/pull/1850)
  • let user select wallet file with -wallet=foo.dat (https://github.com/bitcoin/bitcoin/pull/1889)
  • Add wget(1)-friendly crypted key dump via GET /wallet-ckeys.json (https://github.com/bitcoin/bitcoin/pull/1982)
  • RPC: Avoid cleartext passwords by default (https://github.com/bitcoin/bitcoin/pull/1986)
  • Restore FIRST_CLASS_MESSAGING (https://github.com/bitcoin/bitcoin/pull/2014)
  • sipa's optimized secp256k1 library
  • P2P: do not return addresses older than 7 days in "addr" messages (https://github.com/bitcoin/bitcoin/pull/2076)
  • break after ProcessMessage() to give other peers a chance. (https://github.com/bitcoin/bitcoin/pull/2125)
  • Update for the Windows Installer (https://github.com/bitcoin/bitcoin/pull/2128)
  • wallet encapsulation (https://github.com/bitcoin/bitcoin/pull/2130)
  • Only create signatures with even S, and verification mode to check. (https://github.com/bitcoin/bitcoin/pull/2131)
  • Support for building against system LevelDB (https://github.com/bitcoin/bitcoin/pull/2241)
  • Filter listaddressgroupings (https://github.com/bitcoin/bitcoin/pull/2291)
  • Discourage fee sniping with nLockTime (https://github.com/bitcoin/bitcoin/pull/2340)
  • Fix off-by-one errors in the interpretation of IsFinal() (https://github.com/bitcoin/bitcoin/pull/2342)
  • Yet another Coin Control Release (https://github.com/bitcoin/bitcoin/pull/2343)
  • Added -txnotify to call a script when a transaction is received (https://github.com/bitcoin/bitcoin/pull/2364)
  • Allow createrawtransaction to accept duplicate addresses (https://github.com/bitcoin/bitcoin/pull/2366)
  • Add user interface to set dust limit and filtered addresses (https://github.com/bitcoin/bitcoin/pull/2383)
  • Fix LevelDB removing /dev/null at build time (https://github.com/bitcoin/bitcoin/pull/2406)
  • Added CWalletManager class to support loading of multiple wallets. (https://github.com/bitcoin/bitcoin/pull/2407)
  • Network activity toggle (https://github.com/bitcoin/bitcoin/pull/2412)
  • 0mq - Zero MQ Support. (https://github.com/bitcoin/bitcoin/pull/2415)
  • Adding blockhash parameter to getrawtransaction - Issue #2077 (https://github.com/bitcoin/bitcoin/pull/2421)
  • Enable tx replacement on testnet. (https://github.com/bitcoin/bitcoin/pull/2516)
  • Payment Protocol Work (https://github.com/bitcoin/bitcoin/pull/2539)
  • Bugfix: Store last/next wallet resend times unique per CWallet object (https://github.com/bitcoin/bitcoin/pull/2541)
  • extend core proxy options and handling (https://github.com/bitcoin/bitcoin/pull/2575)
  • ListTransactionsOfBlock RPC method (https://github.com/bitcoin/bitcoin/pull/2579)
  • Resolve path to allow for Bitcoin directory to be a symlink (https://github.com/bitcoin/bitcoin/pull/2590)
  • Watch for double spends of wallet transactions (https://github.com/bitcoin/bitcoin/pull/2596)
  • Bitcoin-Qt: updates to options handling code (https://github.com/bitcoin/bitcoin/pull/2612)
  • Partial solaris support (https://github.com/bitcoin/bitcoin/pull/2618)
  • always show wallet encryption commands in `help` (https://github.com/bitcoin/bitcoin/pull/2619)
  • Inline signature serializer (https://github.com/bitcoin/bitcoin/pull/2645)
  • display txfee in first sendCoinsDialog message box (issue #1715) (https://github.com/bitcoin/bitcoin/pull/2651)
  • Detect any sufficiently long fork and alert the user just like any other alert (https://github.com/bitcoin/bitcoin/pull/2658)
  • Leveldb subtree at 1 12 0 (https://github.com/bitcoin/bitcoin/pull/2702)
  • Relay OP_RETURN data TxOut as standard transaction type. (https://github.com/bitcoin/bitcoin/pull/2738)
  • UTF-8 support for JSON-RPC (https://github.com/bitcoin/bitcoin/pull/2740)
  • Free tx area should be configurable for fee calculation, also (https://github.com/bitcoin/bitcoin/pull/2750)
  • Cleanup code by using forward declarations and other methods... (https://github.com/bitcoin/bitcoin/pull/2767)
  • RPC: keypoolrefill now permits optional size parameter, to bump keypool (https://github.com/bitcoin/bitcoin/pull/2776)
  • Reduce keepalive ping/timeout (https://github.com/bitcoin/bitcoin/pull/2784)
  • Prune provably-unspendable outputs (https://github.com/bitcoin/bitcoin/pull/2791)
  • Log aborted block database rebuilds (https://github.com/bitcoin/bitcoin/pull/2795)
  • Add an address-based transaction index (https://github.com/bitcoin/bitcoin/pull/2802)
  • Minor cleanup of connection and confirmation icons. Additionally removes unused v0.3.0. image resources. (https://github.com/bitcoin/bitcoin/pull/2809)
  • Child-pays-for-parent mempool (https://github.com/bitcoin/bitcoin/pull/2814)
  • Add michagogo to gitian download scripts (https://github.com/bitcoin/bitcoin/pull/2818)
  • Add forcerescan (https://github.com/bitcoin/bitcoin/pull/2824)
  • fix invalid conversion error with MinGW 4.8.1 in net.cpp (https://github.com/bitcoin/bitcoin/pull/2826)
  • Bitcoin-Qt: save and restore position of debug window (https://github.com/bitcoin/bitcoin/pull/2827)
  • Use shared lock for wallet registration functions. (https://github.com/bitcoin/bitcoin/pull/2828)
  • BIP 32 derivation + test vectors (https://github.com/bitcoin/bitcoin/pull/2829)
  • P2SH related RPC improvements (https://github.com/bitcoin/bitcoin/pull/2830)
  • Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used (https://github.com/bitcoin/bitcoin/pull/2832)
  • getblocktemplate: longpolling support (https://github.com/bitcoin/bitcoin/pull/2834)
  • makefile.mingw: Use normal boost libraries instead of debug for Windows (https://github.com/bitcoin/bitcoin/pull/2836)
  • update SelectParamsFromCommandLine() handling/order (https://github.com/bitcoin/bitcoin/pull/2837)
  • Add block blacklisting RPC (https://github.com/bitcoin/bitcoin/pull/2839)
  • Allow SendMessages to run partially without cs_main (https://github.com/bitcoin/bitcoin/pull/2840)
  • Bugfix: Include block creation and SSL options headings in usage (https://github.com/bitcoin/bitcoin/pull/2842)


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: hazek on July 23, 2013, 09:05:19 AM
I set the topic as sticky for a while because I think that if anything needs extensive testing it's the software that handles our money.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: BCB on July 23, 2013, 01:34:53 PM
Testing.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: BCB on July 23, 2013, 08:20:57 PM
in bitcoin-qt in console

typed "walletpassphrase xxxxxx 1"

error:

https://i.imgur.com/CrlVIba.png

selected "retry"

https://i.imgur.com/wtqsSZP.png

Window 7 Professional
64 Bit


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Gavin Andresen on July 23, 2013, 10:59:22 PM
I set the topic as sticky for a while because I think that if anything needs extensive testing it's the software that handles our money.

I would much rather people help test individual pull requests or 'git HEAD' rather than "random collection of changes". Putting eleven unrelated changes together makes figuring out what caused a bug/regression much harder.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: hazek on July 24, 2013, 06:03:11 AM
I will set other threads asking people to test as sticky as well. If there is already such a thread please pm it to me.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Luke-Jr on July 24, 2013, 06:17:48 AM
I don't think this needs to be stickied; thanks though!
As far as I am aware, no useful test results have ever come from next-test itself, just from my process of putting it together.
If anyone has found bugs for specific pullrequests, or even reported success for any pullrequests using next-test, please feel free to correct me on this.

It's handy as a risky client (I use it myself), and if people want to take advantage of it for that or for testing, they're welcome to.
However, since no other clients have stickies, I don't see any reason next-test should be special in this regard.

I agree it would be nice to have a clear forum thread describing the basic process of testing pullrequests individually.

in bitcoin-qt in console

typed "walletpassphrase xxxxxx 1"

error:
This is an example of an (unfortunately) not useful bug report :(
There are probably a dozen pullrequests this could have been triggered by, and I cannot reproduce it myself (it works fine for me).

BCB, if you want to help debug this further, I suggest you go through the list of individual pull requests in the opening post one at a time (they're links)
For each one, do:
1. Look for the most recent post by BitcoinPullTester saying "Automatic sanity-testing: PASSED, see <link>"; if there is one, click on that first link.
2. Browse to the bitcoin/ subdirectory, and download bitcoin-qt.exe
3. Try to reproduce the problem using that bitcoin-qt.exe
4. If it has the bug, go back to the main pullrequest page and post a comment there.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Luke-Jr on July 25, 2013, 08:26:46 PM
Note that this will cause older versions (including 0.8.3 and git master!) to think they need to reindex the block database!
This is due to unspent (and unspendable) outputs being pruned (which older code thinks is a problem because they don't understand it's unspendable).
p2pool uses these every block it finds.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: inceptor on July 26, 2013, 02:04:56 PM
Note that this will cause older versions (including 0.8.3 and git master!) to think they need to reindex the block database!
This is due to unspent (and unspendable) outputs being pruned (which older code thinks is a problem because they don't understand it's unspendable).
p2pool uses these every block it finds.

yes agreed
used before older version same happened

better use online wallet like block chain etc?


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: phelix on July 30, 2013, 09:33:27 AM
+1 for CoinControl


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Blockhead on August 12, 2013, 11:50:09 PM
This is causing me problems, since I am trying to get my coins out of my wallet, but it doesn't work right now.  It started to re-index, but hangs at about 12 days ago.  I am using v0.8.1


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: kuzetsa on August 14, 2013, 09:01:53 AM
+1 for CoinControl


Indeed.

Thanks cozz  :)


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Machinery on August 15, 2013, 12:22:47 AM
I'm doing some testing. Thanks to the programmers who are doing the hard work.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: faiza1990 on August 17, 2013, 02:53:15 PM
+1 for CoinControl


Indeed.

Thanks cozz  :)

agree


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: pythonista on August 17, 2013, 08:45:29 PM
Hi Luke,

Thanks for your hard work.

Would it be possible for the importaddress function for watch-only wallets to be merged in? This is something that merchants & services desperately need - to be free from thirdparty sites like blockchain.info

Here it is:
https://github.com/bitcoin/bitcoin/pull/2861


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: Luke-Jr on August 17, 2013, 09:38:54 PM
Would it be possible for the importaddress function for watch-only wallets to be merged in? This is something that merchants & services desperately need - to be free from thirdparty sites like blockchain.info

Here it is:
https://github.com/bitcoin/bitcoin/pull/2861
That's just watch-only addresses, and not necessarily useful when you need watch-only wallets (ie, every real-world use case). It missed the merge window for this next-test (it was outdated code and unmergable when I made this), but perhaps it will make it into the next one. Please also remember next-test is not necessarily a good idea to run in production.

You can easily get a watch-only wallet today by using keypoolrefill with an absurdly high number (5 times your expected transaction volume is good) on your spending client, making a backup, and using wallet encryption on that backup with a crazy-long password (you can/should throw away) to destroy the private keys. Note that this will break after <keypoolrefill number> transactions, and is probably pretty dangerous to try for non-experts, but if done right can get you a watch-only address that works until Bitcoin-Qt has real support for them.

sipa is working on HD wallet support for Bitcoin-Qt (a prerequisite to real watch-only wallets), so I expect we should see that pop up sometime before 0.10 is released.


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: phelix on August 19, 2013, 01:46:57 PM
My karma was meant for Luke because he keeps including CC.  :-*


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: bernard75 on August 24, 2013, 07:39:00 PM
sipa is working on HD wallet support for Bitcoin-Qt (a prerequisite to real watch-only wallets), so I expect we should see that pop up sometime before 0.10 is released.

could you link to it or him?


Title: Re: Bitcoin-Qt next-test 2013-07-21
Post by: WSDN on September 02, 2013, 05:55:35 PM
Thanks Luke jr for this exellent job! we are testing right now!