aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-04Test that the coin selection code is suitably random, and add tests re. ↵Chris Moore
sub-cent change.
2012-06-04Move the random_shuffle call back into SelectCoinsMinConf() so we can unit ↵Chris Moore
test it.
2012-06-04Refactor SelectCoinsMinConf() and add unit tests.Chris Moore
AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf(). This allows unit tests to test the coin selection algorithm without having the whole blockchain available.
2012-06-02Merge pull request #837 from sje397/ShowImmatureBalanceWladimir J. van der Laan
Added 'immature balance' for miners. Only displayed if the balance is > 0
2012-06-02Merge pull request #1368 from Diapolo/verifymessagepageWladimir J. van der Laan
GUI: change verifymessagepage behaviour to match RPC-call "verifymessage"
2012-06-02Merge pull request #1364 from Diapolo/move_HelpMessage_GUIUtil_add_RPCCon_ButtonWladimir J. van der Laan
GUI: move class HelpMessageBox to guiutil.cpp/.h
2012-06-01move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin ↵Philip Kaufmann
command-line options (in RPC Console -> Information) / resize Debug window a little to allow for a non-breaking display of the welcome message with non-english translation
2012-06-01change verifymessagepage behaviour to match RPC-call "verifymessage" (input ↵Philip Kaufmann
address, signature and message) / display messages in status label (remove message boxes) / resize window to make signature fully readable / change signature font to BC-address font (like in messagepage) / remove checkAddress() and place code directly in on_verifyMessage_clicked() / add visual feedback to LineEdits / remove AddressTableModel references, as they are now unused / add addr.GetKeyID(keyID) check
2012-05-31Use ConvertTo to simplify sendmany/addmultisigaddress argument handlingGavin Andresen
2012-05-31Make sendrawtx return txid to be consistent with other send methods.Gavin Andresen
2012-05-31Merge pull request #1403 from Diapolo/translation_master_fileNils Schneider
Translation: sync english translation master file with current master branch (2012-05-31)
2012-05-31sync english translation master file with current master branchPhilip Kaufmann
2012-05-30Update bitcoinstrings.cppPieter Wuille
2012-05-28Merge pull request #1394 from grimd34th/patch-1Gregory Maxwell
incorrect openssl when compared to makefile
2012-05-28incorrect openssl when compared to makefilegrimd34th
2012-05-27Merge pull request #1392 from gavinandresen/testnet_resetGregory Maxwell
Testnet reset
2012-05-26Merge pull request #1357 from sipa/keyidPieter Wuille
Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
2012-05-26Merge pull request #1370 from Diapolo/add_startuptime_to_logPieter Wuille
add client startup time as an entry to debug.log
2012-05-25Add a testnet checkpoint at block 546Gavin Andresen
2012-05-25Fix issue#1082, testnet difficulty unsigned integer underflowGavin Andresen
2012-05-25Testnet, Mark IIIGavin Andresen
2012-05-25Remove newlines from JSON stringsGavin Andresen
Newlines in JSON strings are against the JSON spec, so remove them from the script*.json unit tests to make python's jsonrpc happy (json::spirit didn't care).
2012-05-25Merge pull request #1366 from roques/completionGavin Andresen
Bash completion for bitcoind(1)
2012-05-25Unit tests for transaction size limitsGavin Andresen
2012-05-25Added 'immature balance' for miners. Only displayed if the balance is ↵sje397
greater than zero. This adds a field labelled 'Immature' in the overview section under the 'unconfirmed' field, which shows mined income that has not yet matured (which is currently not displayed anywhere, even though the transactions exist in the transaction list). To do that I added a 'GetImmatureBalance' method to the wallet, and connected that through to the GUI as per the 'GetBalance' and 'GetUnconfirmedBalance' methods. I did a small 'no-op' change to make the code in adjacent functions a little more readable (imo); it was a change I had made in my repo earlier...but I thought it wouldn't hurt so left it in. Immature balance comes from mined income that is at least two blocks deep in the chain (same logic as displayed transactions). My reasoning is: - as a miner, it's a critical stat I want to see - as a miner, and taking into account the label 'immature', the uncertainty is pretty clearly implied - those numbers are already displayed in the transaction list - this makes the overview numbers add up to what's in the transaction list - it's not displayed if the immature balance is 0, so won't bother non-miners I also 'cleaned' the overview UI a little, moving code to the XML and removing HTML.
2012-05-24Lots more Script unit test cases.Gavin Andresen
2012-05-24Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddressPieter Wuille
This introduces internal types: * CKeyID: reference (hash160) of a key * CScriptID: reference (hash160) of a script * CTxDestination: a boost::variant of the former two CBitcoinAddress is retrofitted to be a Base58 encoding of a CTxDestination. This allows all internal code to only use the internal types, and only have RPC and GUI depend on the base58 code. Furthermore, the header dependencies are a lot saner now. base58.h is at the top (right below rpc and gui) instead of at the bottom. For the rest: wallet -> script -> keystore -> key. Only keystore still requires a forward declaration of CScript. Solving that would require splitting script into two layers.
2012-05-24Encapsulate public keys in CPubKeyPieter Wuille
2012-05-24More CScript unit tests.Gavin Andresen
2012-05-24DoS_tests: fix signed/unsigned comparison warningsJeff Garzik
test/DoS_tests.cpp: In member function ‘void DoS_tests::DoS_mapOrphans::test_method()’: test/DoS_tests.cpp:200:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] test/DoS_tests.cpp:208:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] test/DoS_tests.cpp: In member function ‘void DoS_tests::DoS_checkSig::test_method()’: test/DoS_tests.cpp:260:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] test/DoS_tests.cpp:267:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] test/DoS_tests.cpp:280:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] test/DoS_tests.cpp:307:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2012-05-24Merge pull request #1387 from Diapolo/rem_unused_rpcdumpJeff Garzik
remove dead "using namespace boost::asio;" from rpcdump.cpp
2012-05-24Merge pull request #1383 from jgarzik/rawtxJeff Garzik
JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
2012-05-24remove dead "using namespace boost::asio;" from rpcdump.cppPhilip Kaufmann
2012-05-24Merge branch 'merge2' into mergeJeff Garzik
2012-05-23rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.Jeff Garzik
2012-05-23Refactor: move runCommand() to util.cppJeff Garzik
2012-05-23.gitignore: add test_bitcoinJeff Garzik
2012-05-23JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to networkJeff Garzik
2012-05-23Use debhelper to install bitcoind.bash-completionChristian von Roques
2012-05-23Bash programmable completion for bitcoind(1)Christian von Roques
2012-05-23add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann
debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
2012-05-23Refactor: add IsChainFile helper. LoadBlockIndex() code movement.Jeff Garzik
2012-05-22Merge pull request #1342 from rebroad/LastSeenMinusMinusGregory Maxwell
Should not be T minus, as this indicate duration to future event.
2012-05-22CDBEnv: fix qt buildLuke Dashjr
2012-05-22Merge pull request #1380 from gavinandresen/optimize2Pieter Wuille
Move signature cache from CKey::Verify to CheckSig in script.cpp
2012-05-22Merge branch 'dbenv' into tmpJeff Garzik
Conflicts: src/db.cpp
2012-05-22Merge pull request #1381 from jgarzik/check-deserJeff Garzik
Prevent crashes due to missing or corrupted database records
2012-05-22Merge pull request #1369 from sipa/bootorderPieter Wuille
Reorder AppInit2
2012-05-22ProcessMessage(): remove duplicate orphan tx debug messageJeff Garzik
2012-05-22Prevent crashes due to missing or corrupted blk????.dat recordsJeff Garzik
In LoadExternalBlockFile(), errors are already caught... silently. Add a warning message, even though we do not abort the program due to load error.