Gavin Andresen
7b22c8e8ca
Merge pull request #2881 from Diapolo/translations_rem_newline
...
remove a newline from a string in init.cpp
2013-08-06 04:46:02 -07:00
Gavin Andresen
ae759b3788
Merge pull request #2849 from petertodd/if-else-else
...
Add unittests for multiple ELSEs in a row
2013-08-05 01:53:57 -07:00
Gavin Andresen
15047f5af0
Merge pull request #2851 from TheBlueMatt/master
...
Prepare for mempool testing in pull-tester and fix multi-block transaction resurrection
2013-08-05 01:53:17 -07:00
Gavin Andresen
2af267c150
Merge pull request #2857 from Diapolo/compat_cleanup
...
cleanup compat.h Windows stuff
2013-08-05 01:48:35 -07:00
Gavin Andresen
e622f3f195
Merge pull request #2855 from Diapolo/guard_CreatePidFile
...
exclude CreatePidFile() function on WIN32 as it is unused
2013-08-05 01:05:59 -07:00
Gavin Andresen
a4ae02969e
Merge pull request #2827 from Diapolo/rpccon_winpos
...
Bitcoin-Qt: save and restore position of debug window
2013-08-05 00:58:05 -07:00
Gavin Andresen
d687aaa311
Merge pull request #2865 from Diapolo/fix_intro_translation
...
fix string in intro.cpp, which is untranslatable on Transifex
2013-08-05 00:24:49 -07:00
Gavin Andresen
050d2e953f
Remove #define loop from util.h
...
Replace the loop macro with while (true). The #define caused
problems for Qt.
2013-07-31 14:06:44 +10:00
Gavin Andresen
5e67e124cf
Merge pull request #1889 from tcatm/multi-wallet
...
let user select wallet file with -wallet=foo.dat
2013-07-24 22:52:21 -07:00
Gavin Andresen
e057486cdf
Merge pull request #2817 from Michagogo/release-process-followable-verbatim
...
Made the build/release process completable verbatim as listed in release-process.md
2013-07-09 18:49:10 -07:00
Gavin Andresen
b9e24d74a4
Merge pull request #2816 from wtogami/gitianwtogami
...
Add wtogami to gitian download scripts.
2013-07-08 14:51:39 -07:00
Gavin Andresen
6e802ac85d
Merge pull request #2801 from gavinandresen/urifix
...
Fixes for bitcoin: URI handling on Linux
2013-07-02 06:45:57 -07:00
Gavin Andresen
89781d00dd
README for contrib/debian
2013-06-27 11:11:02 -04:00
Gavin Andresen
bf81a3ef78
Fix Gnome bitcoin: URI handler
2013-06-26 20:31:34 -04:00
Gavin Andresen
2e01ec3207
Merge pull request #2679 from vhf/patch-1
...
Too many bitcoins allowed as amount. (Issue #2401 )
2013-06-25 06:47:53 -07:00
Gavin Andresen
ef9acc5124
Bump build number to 0.8.2.2 for v0.8.2rc3
2013-05-24 16:11:44 -04:00
Gavin Andresen
378c526ee1
Merge pull request #2683 from Diapolo/translations
...
translations update 2013-05-23
2013-05-24 13:07:36 -07:00
Gavin Andresen
dbc6dea1b2
Fix crash-at-shutdown if exiting before initializing wallet
2013-05-24 15:52:52 -04:00
Gavin Andresen
8ab6d0a568
All-resolution pixmap, to make win32 builds determisitic again
2013-05-24 15:46:00 -04:00
Gavin Andresen
1472a2991b
Merge pull request #2688 from gavinandresen/issue2687
...
Clean up mining CReserveKey to prevent crash at shutdown
2013-05-24 12:41:04 -07:00
Gavin Andresen
36e826cea1
Clean up mining CReserveKey to prevent crash at shutdown
...
Fixes issue#2687
2013-05-23 14:17:15 -04:00
Gavin Andresen
36dc41f427
doc/README was replaced by README.md
2013-05-22 17:21:12 -04:00
Gavin Andresen
0c4434cf77
Merge pull request #2652 from gavinandresen/version_0.8.2_final
...
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
2013-05-22 13:23:38 -07:00
Gavin Andresen
f1e76e8121
Merge pull request #2649 from Diapolo/translations
...
translations update 2013-05-19 (for 0.8.2 release)
2013-05-22 12:22:45 -07:00
Gavin Andresen
6b99cfae3c
Merge pull request #2677 from sipa/fastcreate
...
CreateNewBlock performance improvements
2013-05-22 10:24:17 -07:00
Gavin Andresen
53704da897
Merge pull request #2680 from fanquake/patch-1
...
Update links in build-osx.md
2013-05-22 09:38:49 -07:00
Gavin Andresen
b1f8068ab2
Merge pull request #2681 from wtogami/gitianfix
...
gitian deps-win32.yml needs psmisc package for killall to end the build
2013-05-22 07:51:43 -07:00
Gavin Andresen
8ae290d266
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
2013-05-13 10:53:53 -04:00
Gavin Andresen
5b5d399593
Update version numbers for 0.8.2rc1 release
2013-05-10 09:50:33 -04:00
Gavin Andresen
8f6709076e
Release notes for 0.8.2rc1
2013-05-10 09:37:56 -04:00
Gavin Andresen
056ab5b43f
Merge pull request #2630 from Diapolo/translations
...
translations update 2013-05-08 (for 0.8.2 release)
2013-05-10 06:35:27 -07:00
Gavin Andresen
dc4cf7c183
Merge pull request #2635 from gavinandresen/boost_chrono_osx
...
Link with boost_chrono library on OSX
2013-05-09 18:19:29 -07:00
Gavin Andresen
4332be71a2
Link with boost_chrono library on OSX
...
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).
2013-05-09 17:08:38 -04:00
Gavin Andresen
e5ddaf5ec8
Merge pull request #2410 from gmaxwell/salvageharder
...
Make explicitly requested salvage operations keep going when there is an error.
2013-05-07 08:58:35 -07:00
Gavin Andresen
92f2c1fe0f
Use boost::asio::deadline_timer for walletpassphrase timeout
...
New method in bitcoinrpc: RunLater, that uses a map of deadline
timers to run a function later.
Behavior of walletpassphrase is changed; before, calling
walletpassphrase again before the lock timeout passed
would result in: Error: Wallet is already unlocked.
You would have to call lockwallet before walletpassphrase.
Now: the last walletpassphrase with correct password
wins, and overrides any previous timeout.
Fixes issue# 1961 which was caused by spawning too many threads.
Test plan:
Start with encrypted wallet, password 'foo'
NOTE:
python -c 'import time; print("%d"%time.time())'
... will tell you current unix timestamp.
Try:
walletpassphrase foo 600
getinfo
EXPECT: unlocked_until is about 10 minutes in the future
walletpassphrase foo 1
sleep 2
sendtoaddress mun74Bvba3B1PF2YkrF4NsgcJwHXXh12LF 11
EXPECT: Error: Please enter the wallet passphrase with walletpassphrase first.
walletpassphrase foo 600
walletpassphrase foo 0
getinfo
EXPECT: wallet is locked (unlocked_until is 0)
walletpassphrase foo 10
walletpassphrase foo 600
getinfo
EXPECT: wallet is unlocked until 10 minutes in future
walletpassphrase foo 60
walletpassphrase bar 600
EXPECT: Error, incorrect passphrase
getinfo
EXPECT: wallet still scheduled to lock 60 seconds from first (successful) walletpassphrase
2013-05-07 11:47:33 -04:00
Gavin Andresen
7aaaff37ff
Merge pull request #2532 from jonasschnelli/mac_plist_fix
...
fixes #2506 : mac binary with proper version and copyright meta-informati...
2013-05-07 08:37:21 -07:00
Gavin Andresen
33edd0a477
Merge pull request #2577 from gavinandresen/fee_bandaid
...
Treat dust outputs as non-standard, un-hardcode TX_FEE constants
2013-05-04 10:15:39 -07:00
Gavin Andresen
db1dc95f0a
Merge pull request #2614 from jonasschnelli/icon_testnet_mac
...
osx: show testnet icon in dock as early as possible
2013-05-03 14:39:22 -07:00
Gavin Andresen
4a4e9a3f8d
Merge pull request #2610 from gavinandresen/scriptcleanup
...
Remove implementation of disabled opcodes
2013-05-03 14:38:18 -07:00
Gavin Andresen
61a845dcb6
Merge pull request #2566 from sipa/nodef
...
Allow the default key to be unavailable
2013-05-03 14:33:02 -07:00
Gavin Andresen
aa62b2c433
Merge pull request #2607 from gavinandresen/loadwalletfix
...
Do not write to wallet during LoadWallet
2013-05-03 14:32:47 -07:00
Gavin Andresen
26585c36b2
Merge pull request #2602 from sipa/utxostate
...
Improve gettxoutsetinfo command
2013-05-03 11:00:31 -07:00
Gavin Andresen
000dc55181
Un-hardcode TX_FEE constants
...
Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with
-mintxfee / -mintxrelayfee
Default values are the same (0.0001 BTC).
2013-05-03 10:54:31 -04:00
Gavin Andresen
1f00f4e9c9
CreateTransaction: return strFailReason on failure
2013-05-03 10:54:31 -04:00
Gavin Andresen
8de9bb53af
Define dust transaction outputs, and make them non-standard
2013-05-03 10:52:09 -04:00
Gavin Andresen
b8e1dc2e53
Remove flaky util thread unit tests
2013-05-03 10:45:00 -04:00
Gavin Andresen
bce697d7fa
Remove implementation of disabled opcodes
...
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-02 17:33:57 -04:00
Gavin Andresen
2f15e86a68
Do not write to wallet during LoadWallet
...
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-02 12:43:07 -04:00
Gavin Andresen
d605bc4cd1
Exit cleanly if AppInit2 returns false
...
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-02 12:26:33 -04:00
Gavin Andresen
67f93dc513
Merge pull request #2568 from sipa/rlimit
...
Try to increase file descriptor rlimit if necessary
2013-04-29 13:25:13 -07:00
Gavin Andresen
77a1e12eed
Merge pull request #2554 from fanquake/qt-pro-brew-patch
...
bitcoin-qt.pro Brew patch
2013-04-24 08:48:06 -07:00
Gavin Andresen
fe15aa335c
Merge pull request #2557 from sipa/leveldb64
...
Reduce number of open LevelDB files to 64
2013-04-24 08:39:39 -07:00
Gavin Andresen
2272f8bb47
Merge pull request #2546 from fanquake/osx-instructions
...
Update osx build instructions to ensure users are building with the correct version of OpenSSL when using HomeBrew
2013-04-22 09:14:06 -07:00
Gavin Andresen
ce8de31fbf
Merge pull request #2540 from sipa/nodosnocan
...
Do not invoke DoS for non-canonical sigs
2013-04-19 10:29:37 -07:00
Gavin Andresen
8b1d72be32
Merge pull request #2536 from jcalvinowens/makefile-clarifying-comments
...
Add comments to UNIX Makefile regarding USE_UPNP
2013-04-17 14:21:34 -07:00
Gavin Andresen
7c7b618f4d
Merge pull request #2537 from jonasschnelli/toolbaricon_linux
...
new toolbar icon for liunx/win fix #2518
2013-04-17 14:20:59 -07:00
Gavin Andresen
a3e7577a81
Merge pull request #2520 from sipa/strictmempool
...
Require strictly-standard encodings in mempool
2013-04-14 17:40:49 -07:00
Gavin Andresen
1b4b463c01
Merge pull request #2418 from sipa/uintwork
...
Use a uint256 for bnChainWork
2013-04-12 10:27:56 -07:00
Gavin Andresen
2aa462ec30
Merge pull request #2514 from TheBlueMatt/master
...
Add test patches for pull-tester to contrib/
2013-04-11 18:22:14 -07:00
Gavin Andresen
1258dde48d
Merge pull request #2498 from jonasschnelli/addressbookpage_mac_fix
...
fix mac specific button modification on addressbookpage
2013-04-09 13:29:27 -07:00
Gavin Andresen
c553fe8d43
Merge pull request #2469 from Diapolo/clientmodel-progress
...
Bitcoin-Qt: emit numBlocksChanged for changed reindex or importing state
2013-04-09 10:59:29 -07:00
Gavin Andresen
54c0b3eac7
Merge pull request #2474 from sipa/pre0.8.2
...
Switch version numbers to 0.8.1.99
2013-04-09 10:57:59 -07:00
Gavin Andresen
f158e363a4
Merge pull request #2478 from sipa/fullhash
...
Always print full hashes (tx, block, inv)
2013-04-09 10:57:16 -07:00
Gavin Andresen
f439fe945d
Merge pull request #2491 from Diapolo/assets-attribution
...
small assets-attribution.txt updates
2013-04-09 10:55:32 -07:00
Gavin Andresen
1fd3ed25be
Merge pull request #2461 from sipa/syncnode
...
Make sure we always have a node to do IBD from
2013-04-09 10:51:06 -07:00
Gavin Andresen
f49992d983
Merge pull request #2243 from luke-jr/bugfix_leveldb
...
LevelDB build bugfix
2013-04-08 18:03:03 -07:00
Gavin Andresen
1829134afe
Merge pull request #2272 from gavinandresen/getbalancefix
...
Fix getbalance discrepency
2013-04-08 06:37:58 -07:00
Gavin Andresen
aaf47eac3a
Merge pull request #2423 from TheBlueMatt/limitedmapalreadyaskedfor
...
Limited mapAlreadyAskedFor
2013-04-03 18:31:35 -07:00
Gavin Andresen
f7955fafbd
Merge pull request #2449 from Diapolo/doc
...
move multiwallet-qt.txt from root to doc folder
2013-04-03 18:25:56 -07:00
Gavin Andresen
a0a437c86a
Merge pull request #2357 from gavinandresen/shutdowncleanup
...
Thread / shutdown cleanup
2013-04-03 18:25:00 -07:00
Gavin Andresen
1c4f02139c
Merge pull request #2453 from sipa/txstats
...
Update transaction statistics
2013-04-03 18:23:50 -07:00
Gavin Andresen
723035bb68
Have Qt poll for shutdown requested, the QT way.
2013-04-03 19:58:47 -04:00
Gavin Andresen
b31499ec72
Clean up shutdown process
2013-04-03 19:57:53 -04:00
Gavin Andresen
21eb5adadb
Port Thread* methods to boost::thread_group
2013-04-03 19:57:13 -04:00
Gavin Andresen
72f14d26ec
LoopForever and ThreadTrace helpers
2013-04-03 19:57:13 -04:00
Gavin Andresen
1b43bf0d3a
Rename util.h Sleep --> MilliSleep
...
Two reasons for this change:
1. Need to always use boost::thread's sleep, even on Windows, so the
sleeps can be interrupted (prior code used Windows' built-in Sleep).
2. I always forgot what units the old Sleep took.
2013-04-03 14:04:21 -04:00
Gavin Andresen
c8c2fbe07f
Shutdown cleanup prep-work
...
Create a boost::thread_group object at the qt/bitcoind main-loop level
that will hold pointers to all the main-loop threads.
This will replace the vnThreadsRunning[] array.
For testing, ported the BitcoinMiner threads to use its
own boost::thread_group.
2013-04-03 14:04:21 -04:00
Gavin Andresen
87b9931bed
Fix signed/unsigned comparison warnings
2013-04-03 14:04:21 -04:00
Gavin Andresen
d8aae1ce1d
Merge pull request #2420 from sipa/globclean
...
Global cleanups
2013-04-02 10:00:31 -07:00
Gavin Andresen
06db61f09e
Merge pull request #2431 from jgarzik/gen-bitcoins-init
...
Move GenerateBitcoins() call out of net.cpp's StartNode()
2013-04-02 08:56:57 -07:00
Gavin Andresen
3d9d2d423b
Recommend alertnotify
2013-03-21 10:08:21 -04:00
Gavin Andresen
8ab14e6976
Merge pull request #2384 from gmaxwell/trim_error0
...
Deleting everything except the wallet will not help recover from BDB errors.
2013-03-19 14:20:22 -07:00
Gavin Andresen
e5f163a041
-alertnotify=<cmd>
...
Runs a shell command when an AppliesToMe() alert is received.
%s in the <cmd> string is replaced with the alert.strStatusBar
message.
2013-03-19 15:16:30 -04:00
Gavin Andresen
1472308d67
Some unit tests for CAlert
2013-03-19 11:35:04 -04:00
Gavin Andresen
d3e8c6a9d3
Update unit test to match rule enforcement starts 21 March
2013-03-17 22:01:59 -04:00
Gavin Andresen
f817c496a1
Checkpoint at first block in 11 March chain fork
2013-03-17 21:53:17 -04:00
Gavin Andresen
402f19b645
Before 15 May, limit created block size to 500K
2013-03-17 21:53:01 -04:00
Gavin Andresen
8c222dca4f
CheckBlock rule until 15-May for 10,000 BDB lock compatibility
2013-03-17 21:52:47 -04:00
Gavin Andresen
1a9ee5da32
Merge pull request #2336 from petertodd/invalid-opcode-coverage
...
Explicitly unittest the canonical prunable txout format
2013-03-11 16:16:51 -07:00
Gavin Andresen
5d6f36296e
Merge pull request #2337 from petertodd/gitignore-test-files
...
Minor: Add two unittest-related files to .gitignore
2013-03-11 16:08:22 -07:00
Gavin Andresen
bd80c66ac0
Merge pull request #2348 from freewil/crpccommand-table
...
make vRPCCommands comment match property names
2013-03-11 16:07:43 -07:00
Gavin Andresen
65497f4ee7
Merge pull request #2338 from TheBlueMatt/bloom
...
Short-circuit bloom checking if we will always return true.
2013-02-26 07:30:37 -08:00
Gavin Andresen
cc67f1e2b4
Merge pull request #2221 from sipa/perfo
...
Various performance tweaks to CCoinsView
2013-02-22 09:01:30 -08:00
Gavin Andresen
b8f4e42e1b
Merge pull request #2229 from sipa/prealloc
...
Native versions for AllocateFileRange()
2013-02-22 09:00:13 -08:00
Gavin Andresen
9dca7190f9
Merge pull request #2310 from sipa/progressbar
...
Progressbar based on time-based estimation of transactions.
2013-02-22 08:59:36 -08:00
Gavin Andresen
aaeb443791
Merge pull request #2312 from gmaxwell/random_random
...
ApproximateBestSubset internal RNG to prevent degenerate behavior.
2013-02-22 08:57:38 -08:00
Gavin Andresen
1167af7e5c
Merge pull request #2308 from apoelstra/safemode-privkey
...
Enable dumpprivkey in safe mode
2013-02-22 08:50:12 -08:00
Gavin Andresen
69c5609699
Merge pull request #2026 from colindean/doc/reformat-and-update-osx-instructions
...
reformat OS X build instrcs, add 10.8 + Homebrew
2013-02-22 08:48:52 -08:00
Gavin Andresen
802a3dfdcc
Merge pull request #2160 from petertodd/add-adjustedtime-to-rpc-getinfo
...
Add adjustedtime to getinfo RPC call
2013-02-22 08:47:45 -08:00
Gavin Andresen
49e332f6fc
Merge pull request #1974 from kjj2/walletnotify
...
Add -walletnotify to call an external script on wallet transactions
2013-02-22 08:47:04 -08:00