aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Add a few data-driven tests for SIGHASH_ANYONECANPAYMatt Corallo2013-05-212-2/+17
|/ / / / / / /
* | | | | | | Update version numbers for 0.8.2rc1 releasev0.8.2rc1Gavin Andresen2013-05-101-2/+2
| | | | | | |
* | | | | | | Merge pull request #2630 from Diapolo/translationsGavin Andresen2013-05-1045-2397/+3882
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | translations update 2013-05-08 (for 0.8.2 release)
| * | | | | | | translations update 2013-05-08Philip Kaufmann2013-05-0845-2397/+3882
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - integrates current translations from Transifex
* | | | | | | | Merge pull request #2635 from gavinandresen/boost_chrono_osxGavin Andresen2013-05-091-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Link with boost_chrono library on OSX
| * | | | | | | | Link with boost_chrono library on OSXGavin Andresen2013-05-091-0/+2
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compiling on my OSX 10.6 build machine, I get: Undefined symbols: "boost::chrono::steady_clock::now()", referenced from: boost::cv_status boost::condition_variable::wait_for<long long, boost::ratio<1ll, 1000000000ll> >(boost::unique_lock<boost::mutex>&, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > const&)in bitcoinrpc.o Linking against the boost_chrono fixes the issue. Windows builds already link against boost_chrono; Linux doesn't, but compiles (on pull-tester / gitian, at least).
* / / / / / / / Specified base_uint component sizeWilliam Yager2013-05-071-2/+3
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A base_uint used to be made of an array of unsigned ints. This works fine on most platforms, but might not work on certain present or future platforms. The code breaks if an unsigned int is 16 or 64 bits, so it's important to be specific. Also changed "u" to "you".
* | | | | | | Merge pull request #2410 from gmaxwell/salvageharderGavin Andresen2013-05-071-2/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Make explicitly requested salvage operations keep going when there is an error.
| * | | | | | | Make explicitly requested salvage operations keep going when there is an error.Gregory Maxwell2013-03-241-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In my tests corrupted wallets would often result in BDB dropping an error just due to duplicate records being found, which appears harmless.
* | | | | | | | translations update 2013-05-07Philip Kaufmann2013-05-0747-3610/+3411
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | - updates bitcoin_en.ts and bitcoinstrings.cpp - integrates current translations from Transifex
* | | | | | | Merge pull request #2577 from gavinandresen/fee_bandaidGavin Andresen2013-05-0411-67/+147
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Treat dust outputs as non-standard, un-hardcode TX_FEE constants
| * | | | | | | Un-hardcode TX_FEE constantsGavin Andresen2013-05-035-40/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with -mintxfee / -mintxrelayfee Default values are the same (0.0001 BTC).
| * | | | | | | CreateTransaction: return strFailReason on failureGavin Andresen2013-05-034-17/+37
| | | | | | | |
| * | | | | | | Define dust transaction outputs, and make them non-standardGavin Andresen2013-05-036-27/+74
| | | | | | | |
* | | | | | | | Merge pull request #2606 from gavinandresen/threadfixPieter Wuille2013-05-042-3/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Exit cleanly if AppInit2 returns false
| * | | | | | | | Exit cleanly if AppInit2 returns falseGavin Andresen2013-05-022-3/+6
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bitcoin-Qt could core dump if application initialization failed in certain ways. I double-fixed this: 1) qt/bitcoin.cpp now shuts down core threads cleanly if AppInit2 returns false 2) init.cpp now exits before StartNode() if strErrors is set (no reason to StartNode if we're just going to exit immediately anyway). Tested by triggering all of the various ways AppInit2 can fail, either by passing bogus command-line arguments or just recompiling tweaked code to simulate failure. This is a partial fix for #2480
* | | | | | | | translations update 2013-05-04Philip Kaufmann2013-05-0448-2250/+3052
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - updates bitcoin_en.ts and bitcoinstrings.cpp - removes bitcoin_se.ts - adds bitcoin_ar.ts - integrates current translations from Transifex
* | | | | | | | Merge pull request #2558 from sipa/nodbdirPieter Wuille2013-05-033-16/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Some database/-related recovery improvements
| * | | | | | | | Remove database/ after clean shutdownPieter Wuille2013-04-242-5/+7
| | | | | | | | |
| * | | | | | | | Try moving database/ away in case of failurePieter Wuille2013-04-241-2/+16
| | | | | | | | |
| * | | | | | | | remove duplicate bitdb.Open() code from initPhilip Kaufmann2013-04-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove code from step 7, which we already have in step 5 of init
* | | | | | | | | Merge pull request #2599 from sipa/norecvdiscPieter Wuille2013-05-031-15/+30
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Do not kill connections on recv buffer overflow
| * | | | | | | | | Do not kill connections on recv buffer overflowPieter Wuille2013-05-011-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of killing a connection when the receive buffer overflows, just temporarily halt receiving before that happens. Also, no matter what, always allow at least one full message in the receive buffer (otherwise blocks larger than the configured buffer size would pause indefinitely).
* | | | | | | | | | Merge pull request #2614 from jonasschnelli/icon_testnet_macGavin Andresen2013-05-031-0/+11
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | osx: show testnet icon in dock as early as possible
| * | | | | | | | | | osx: show testnet icon in dock as early as possibleJonas Schnelli2013-05-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A green testnet splashscreen with a normal, orange dock icon looks strange and can confuse users. Signed-off-by: Jonas Schnelli <[email protected]>
* | | | | | | | | | | Merge pull request #2610 from gavinandresen/scriptcleanupGavin Andresen2013-05-031-166/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove implementation of disabled opcodes
| * | | | | | | | | | | Remove implementation of disabled opcodesGavin Andresen2013-05-021-166/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So we stop getting pull requests (like #2604) fixing problems with disabled Script opcodes. A hard fork would be required to re-enable these, and if we ever did that we'd require extensive review and testing.
* | | | | | | | | | | | Merge pull request #2566 from sipa/nodefGavin Andresen2013-05-034-24/+32
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the default key to be unavailable
| * | | | | | | | | | | | Allow the default key to be unavailablePieter Wuille2013-04-254-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves the issue where no default key can be added after -salvagewallet.
* | | | | | | | | | | | | Merge pull request #2607 from gavinandresen/loadwalletfixGavin Andresen2013-05-032-1/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not write to wallet during LoadWallet
| * | | | | | | | | | | | | Do not write to wallet during LoadWalletGavin Andresen2013-05-022-1/+6
| | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When debugging another issue, I found a hang-during-startup race condition due to LoadWallet calling SetMinVersion (via LoadCryptedKey). Writing to the file that you're in the process of reading is a bad idea.
* | | | | | | | | | | | | Merge pull request #2603 from sipa/nobestblockPieter Wuille2013-05-031-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix: if no bestblock record is present, do a -rescan
| * | | | | | | | | | | | | Bugfix: if no bestblock record is present, do a -rescanPieter Wuille2013-05-011-0/+4
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible to have a wallet.dat file without any bestblock record at all (if created offline, for example), which - when loaded into a client with a up-to-date chain - does no rescan and shows no transactions. Also make sure to write the current best block after a rescan, so it isn't necessary twice.
* | | | | | | | | | | | | Merge pull request #2602 from sipa/utxostateGavin Andresen2013-05-033-5/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve gettxoutsetinfo command
| * | | | | | | | | | | | | Improve gettxoutsetinfo commandPieter Wuille2013-05-013-5/+27
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bugfix: output the correct best block hash (during IBD, it can differ from the actual current best block) * Add height to output * Add hash_serialized, which is a hash of the entire UTXO state. Can be useful to compare two nodes. * Add total_amount, the sum of all UTXOs' values.
* | | | | | | | | | | | | Merge pull request #2598 from Diapolo/initPieter Wuille2013-05-031-6/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | small init.cpp changes (strings / Winsock init)
| * | | | | | | | | | | | small init.cpp changes (strings / Winsock init)Philip Kaufmann2013-05-031-6/+5
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a check that requested Winsock version is available - update some strings - remove -gen=0 from help-message as this is default
* / | | | | | | | | | | Remove flaky util thread unit testsGavin Andresen2013-05-031-58/+0
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #2608 from jonasschnelli/pathCacheFixPieter Wuille2013-05-031-3/+6
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | clear path cache after getting a proper config file (fixes #2605)
| * | | | | | | | | | clear path cache after getting a proper config file (fixes #2605)Jonas Schnelli2013-05-021-3/+6
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jonas Schnelli <[email protected]>
* / / / / / / / / / RPC: strictly require HTTP URI "/"Jeff Garzik2013-05-011-0/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, JSON-RPC clients accessed URI "/", and the JSON-RPC server did not care about the URI at all, and would accept any URI as valid. Change the JSON-RPC server to require URI "/" for all current accesses. This changes enables the addition of future interfaces at different URIs, such as pull request #1982 which demonstrates HTTP REST wallet download. Or, a future, breaking change in JSON-RPC interface could be introduced by serving JSON-RPC calls from new URI "/v2/".
* | / / / / / / / Don't announce to non-peer CNodesPieter Wuille2013-04-301-1/+1
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #2583 from laanwj/2013_04_netbase_bitfieldPieter Wuille2013-04-291-17/+10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | netbase: fix !O_NONBLOCK where ~O_NONBLOCK was meant
| * | | | | | | | fix !O_NONBLOCK where ~O_NONBLOCK was meantWladimir J. van der Laan2013-04-271-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using ! on a non-zero value will always return 0. Also remove some duplicate and superfluous code in other places.
* | | | | | | | | Merge pull request #2589 from sipa/win32ldberrPieter Wuille2013-04-291-4/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Some win32-leveldb related fixes
| * | | | | | | | | Allow files to be opened for reading multiple timesPieter Wuille2013-04-281-1/+1
| | | | | | | | | |
| * | | | | | | | | Checking whether closing succeedsPieter Wuille2013-04-271-2/+2
| | | | | | | | | |
| * | | | | | | | | Print actual Win32 error that occurred on file creation failure.Pieter Wuille2013-04-271-1/+1
| |/ / / / / / / /
* | | | | | | | | Merge pull request #2568 from sipa/rlimitGavin Andresen2013-04-295-2/+48
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Try to increase file descriptor rlimit if necessary
| * | | | | | | | | Try to increase file descriptor rlimit if necessaryPieter Wuille2013-04-295-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the default can be too low, especially on OSX.