aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-05-03Merge pull request #2599 from sipa/norecvdiscPieter Wuille
Do not kill connections on recv buffer overflow
2013-05-03Merge pull request #2614 from jonasschnelli/icon_testnet_macGavin Andresen
osx: show testnet icon in dock as early as possible
2013-05-03Merge pull request #2610 from gavinandresen/scriptcleanupGavin Andresen
Remove implementation of disabled opcodes
2013-05-03Merge pull request #2566 from sipa/nodefGavin Andresen
Allow the default key to be unavailable
2013-05-03Merge pull request #2607 from gavinandresen/loadwalletfixGavin Andresen
Do not write to wallet during LoadWallet
2013-05-03Merge pull request #2603 from sipa/nobestblockPieter Wuille
Bugfix: if no bestblock record is present, do a -rescan
2013-05-03Merge pull request #2602 from sipa/utxostateGavin Andresen
Improve gettxoutsetinfo command
2013-05-03Merge pull request #2598 from Diapolo/initPieter Wuille
small init.cpp changes (strings / Winsock init)
2013-05-03small init.cpp changes (strings / Winsock init)Philip Kaufmann
- add a check that requested Winsock version is available - update some strings - remove -gen=0 from help-message as this is default
2013-05-03Un-hardcode TX_FEE constantsGavin Andresen
Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with -mintxfee / -mintxrelayfee Default values are the same (0.0001 BTC).
2013-05-03CreateTransaction: return strFailReason on failureGavin Andresen
2013-05-03Define dust transaction outputs, and make them non-standardGavin Andresen
2013-05-03Remove flaky util thread unit testsGavin Andresen
2013-05-03osx: show testnet icon in dock as early as possibleJonas Schnelli
A green testnet splashscreen with a normal, orange dock icon looks strange and can confuse users. Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-05-03Merge pull request #2608 from jonasschnelli/pathCacheFixPieter Wuille
clear path cache after getting a proper config file (fixes #2605)
2013-05-02Remove implementation of disabled opcodesGavin Andresen
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.
2013-05-02clear path cache after getting a proper config file (fixes #2605)Jonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-05-02Do not write to wallet during LoadWalletGavin Andresen
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.
2013-05-02Exit cleanly if AppInit2 returns falseGavin Andresen
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
2013-05-01Do not kill connections on recv buffer overflowPieter Wuille
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).
2013-05-01Bugfix: if no bestblock record is present, do a -rescanPieter Wuille
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.
2013-05-01Improve gettxoutsetinfo commandPieter Wuille
* 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.
2013-05-01RPC: strictly require HTTP URI "/"Jeff Garzik
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/".
2013-04-30Don't announce to non-peer CNodesPieter Wuille
2013-04-29Merge pull request #2583 from laanwj/2013_04_netbase_bitfieldPieter Wuille
netbase: fix !O_NONBLOCK where ~O_NONBLOCK was meant
2013-04-29Merge pull request #2589 from sipa/win32ldberrPieter Wuille
Some win32-leveldb related fixes
2013-04-29Merge pull request #2568 from sipa/rlimitGavin Andresen
Try to increase file descriptor rlimit if necessary
2013-04-29Merge pull request #2349 from dserrano5/masterPieter Wuille
Accept negative -par values to leave N CPUs free.
2013-04-29Accept negative -par values to leave N CPUs free.David Serrano
2013-04-29Merge pull request #2569 from sipa/win1024fdWladimir J. van der Laan
Allow select()ing up to 1024 file descriptors on Windows
2013-04-29Try to increase file descriptor rlimit if necessaryPieter Wuille
As the default can be too low, especially on OSX.
2013-04-28Allow files to be opened for reading multiple timesPieter Wuille
2013-04-28move WSAStartup to initWladimir J. van der Laan
WSAStartup should be called before using any other socket functions. BindListenPort is not called if not listening. Closes #2585.
2013-04-27Checking whether closing succeedsPieter Wuille
2013-04-27Print actual Win32 error that occurred on file creation failure.Pieter Wuille
2013-04-27Prevent prevent file descriptor leak in ShrinkDebugFile()Tariq Bashir
2013-04-27fix !O_NONBLOCK where ~O_NONBLOCK was meantWladimir J. van der Laan
Using ! on a non-zero value will always return 0. Also remove some duplicate and superfluous code in other places.
2013-04-27Merge pull request #2530 from jonasschnelli/mac_win_reopen_fixWladimir J. van der Laan
fixes #1522: GUI Disappearing (Mac OSX)
2013-04-27Merge pull request #2564 from Diapolo/walletviewWladimir J. van der Laan
small updates for walletview.cpp
2013-04-27qt: remove fee recommendation in settingsWladimir J. van der Laan
This value gets stale really quickly, do not hardcode it into a message. Completely remove it for now. Later on, a mechanism will be added to determine fees based on the mempool. Closes #2576
2013-04-26qt: remove extraneous padding introduced in multiwallet support patchWladimir J. van der Laan
solve issue #2529
2013-04-26Allow select()ing up to 1024 file descriptors on WindowsPieter Wuille
2013-04-25Allow the default key to be unavailablePieter Wuille
This solves the issue where no default key can be added after -salvagewallet.
2013-04-25translations update 2013-04-25Philip Kaufmann
- new language "se" - update bitcoin.qrc and bitcoin_en.ts - fetch current translations from Transifex
2013-04-25small updates for walletview.cppPhilip Kaufmann
- make "&Export" translatable - fix some includes - small formatting changes
2013-04-24Remove database/ after clean shutdownPieter Wuille
2013-04-24Try moving database/ away in case of failurePieter Wuille
2013-04-24remove duplicate bitdb.Open() code from initPhilip Kaufmann
- remove code from step 7, which we already have in step 5 of init
2013-04-24Reduce number of open LevelDB files to 64Pieter Wuille
2013-04-23Merge pull request #2526 from Diapolo/Qt_miscWladimir J. van der Laan
Bitcoin-Qt: misc small changes