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
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
Gavin Andresen
123acb9a1b
Fix qt unit test build on OSX
2013-02-22 11:41:23 -05:00
Gavin Andresen
44d7f4cbeb
Set CC/CXX properly for gitian build
2013-02-18 18:38:34 -05:00
Gavin Andresen
1c3924df37
Merge pull request #2311 from gavinandresen/master
...
Pass compiler flags to leveldb make
2013-02-18 14:31:53 -08:00
Gavin Andresen
dbac38170a
Merge pull request #2315 from sipa/loaderror
...
Improve block database load error reporting
2013-02-18 14:31:20 -08:00
Gavin Andresen
1d83141803
Merge branch 'loaderror' of git://github.com/sipa/bitcoin
2013-02-16 19:08:57 -05:00
Gavin Andresen
efb6d9aae7
Minor build fixes
...
Two changes: make some linux-specific linker options linux and linker specific.
And in the cross-compile environment, prefer the $HOME/qt/bin tools to
whatever might be somewhere else in the path.
2013-02-15 19:55:44 -05:00
Gavin Andresen
fbd860287e
Pass compiler flags down into leveldb make
...
Fixes issue#2288. Includes cleanups from Luke's pull 2243.
2013-02-15 19:55:44 -05:00
Gavin Andresen
8269a0953e
Reimplement click-to-pay links. Add OSX support.
...
Switch to using Qt's QLocalServer/QLocalSocket to handle bitcoin
payment links (bitcoin:... URIs)
Reason for switch: the boost::interprocess mechanism seemed flaky,
and doesn't mesh as well with "The Qt Way"
qtipcserver.cpp/h is replaced by paymentserver.cpp/h
Click-to-pay now also works on OSX, with a custom Info.plist
that registers Bitcoin-Qt as a handler for bitcoin: URLs and
an event listener on the main QApplication that handles
QFileOpenEvents (Qt translates 'url clicked' AppleEvents into
QFileOpenEvents automagically).
2013-02-12 15:41:31 -05:00
Gavin Andresen
2f0fa79db2
Merge pull request #2286 from gavinandresen/fix2285
...
Do not use C++11 std::vector.data()
2013-02-11 16:01:24 -08:00
Gavin Andresen
ba1d08008e
Do not use C++11 std::vector.data()
...
std::vector.data() is a C++11 feature that makes my OSX build machine unhappy.
2013-02-07 18:54:22 -05:00
Gavin Andresen
f50706796b
Merge commit 'd38c6488d067c2e88726e2ca99bc76fd67dab49b'
2013-02-06 16:06:43 -05:00
Gavin Andresen
8f66aedfaa
Merge pull request #2279 from sipa/cvrbip30
...
Bugfix CValidationResult for BIP30 + add DoS
2013-02-06 12:58:52 -08:00
Gavin Andresen
817c44a00d
Merge pull request #2264 from gmaxwell/signrawtransaction_for_regular_missing_txins
...
Signrawtransaction shouldn't require redeemScript for non-p2sh txins.
2013-02-06 10:02:28 -08:00
Gavin Andresen
43ba1a19b8
Merge pull request #2259 from Criptomonedas/dontresend
...
Do not call ResendWalletTransactions when reindexing or importing
2013-02-06 09:17:36 -08:00
Gavin Andresen
79892883d7
Merge branch 'reindexgen' of git://github.com/sipa/bitcoin
2013-02-05 10:15:06 -05:00
Gavin Andresen
1d0851eca8
Merge pull request #2273 from gavinandresen/txsize
...
Make transactions larger than 100K non-standard
2013-02-05 07:12:27 -08:00
Gavin Andresen
41e1a0d766
Make transactions larger than 100K non-standard
...
Extremely large transactions with lots of inputs can cost the network
almost as much to process as they cost the sender in fees.
We would never create transactions larger than 100K big; this change
makes transactions larger than 100K non-standard, so they are not
relayed/mined by default. This is most important for miners that might
create blocks larger than 250K big, who could be vulnerable to a
make-your-blocks-so-expensive-to-verify-they-get-orphaned attack.
2013-02-05 10:08:35 -05:00
Gavin Andresen
0e2e4fdf27
Merge pull request #2253 from luke-jr/bugfix_valstate
...
Bugfixes for CValidationState
2013-02-04 17:28:20 -08:00
Gavin Andresen
d28bd8b7ca
Fix getbalance discrepency
...
Two changes:
Use IsConfirmed() instead of IsFinal(), so 'getbalance "*" 0' uses the same
'is this output spendable' criteria as 'getbalance'. Fixes issue #172 .
And a tiny refactor to CWallet::GetBalance() (redundant call to IsFinal -- IsConfirmed
calls IsFinal).
getbalance with no arguments and 'getbalance "*" 0' could return different different results,
2013-02-04 14:04:26 -05:00
Gavin Andresen
3d29d5d623
Merge pull request #2257 from fanquake/docs
...
Update default URL in verify.sh
2013-02-01 13:11:35 -08:00
Gavin Andresen
5b989722be
Merge pull request #2245 from gavinandresen/check216116
...
New checkpoint at block 216116 for the 0.8.0 release
2013-01-30 15:26:04 -08:00
Gavin Andresen
8fd65c944f
Merge pull request #2236 from sipa/largefiles
...
Support large files on 32-bit Linux
2013-01-30 15:25:30 -08:00
Gavin Andresen
cb2e1bdaa9
Merge pull request #2244 from sipa/files
...
Added information about used data files
2013-01-30 12:38:11 -08:00