Wladimir J. van der Laan
27116e87cc
devtools: Exclude default exports from symbol-checker script
...
See discussion in #4663 .
2014-08-17 10:07:46 +02:00
Wladimir J. van der Laan
2eb3c85c9a
Merge pull request #4663
...
4975ae1
build: add option for reducing exports (Cory Fields)
2014-08-17 09:29:59 +02:00
Ross Nicoll
5cbda4f10f
Changed LevelDB cursors to use scoped pointers to ensure destruction when going out of scope.
...
This corrects a bug where an exception thrown reading from the database causes the cursor to
be left open, which causes an assertion error to occur when the database is deleted (around
line 938 of init.cpp).
2014-08-16 15:27:18 +01:00
Wladimir J. van der Laan
9d26dc3b29
Merge pull request #4707
...
a65668d
build : fix CPPFLAGS for libbitcoin_cli (randy-waterhouse)
2014-08-16 10:04:26 +02:00
Wladimir J. van der Laan
6f0458d1ec
Merge pull request #4710
...
9322f1a
tests: fix test-runner for osx. Closes ##4708 (Cory Fields)
2014-08-16 10:00:05 +02:00
Cory Fields
9322f1a4d9
tests: fix test-runner for osx. Closes ##4708
...
Use the more portable $$ rather than $BASHPID
2014-08-15 23:17:43 -04:00
Cory Fields
e42363d800
build: add funcs.mk to the list of meta-depends
...
If anything in funcs.mk changes, everything must rebuild
2014-08-15 22:48:38 -04:00
Cory Fields
1910910dde
depends: fix shasum on osx < 10.9
...
Shasum verification from stdin doesn't work there, so we write to a file
instead.
Formatted a bit too.
2014-08-15 22:48:36 -04:00
randy-waterhouse
a65668ddc0
build : fix CPPFLAGS for libbitcoin_cli
2014-08-16 10:56:28 +12:00
Cory Fields
4975ae1722
build: add option for reducing exports
...
Enabled automatically if boost >= 1.49.
See: https://svn.boost.org/trac/boost/ticket/2309
Also, check for a default visibility attribute, so that we can mark future
api functions correctly.
2014-08-15 17:42:53 -04:00
Cory Fields
54c7df81f3
build: Fix boost build on some platforms
...
When the libpath doesn't line up with the value from config.sub, we don't find
the correct path to boost's libs. This adds a hack to try another path before
giving up.
Should close #3219 .
2014-08-15 12:20:15 -04:00
Wladimir J. van der Laan
984ff68c67
Merge pull request #4638
...
6f2c26a
Closely track mempool byte total. Add "getmempoolinfo" RPC. (Jeff Garzik)
2014-08-15 14:09:33 +02:00
Cory Fields
6b099402b4
build: fix automake warnings about the use of INCLUDES
...
While we're at it, reduce the use of LIBS as well. This makes dependencies
explicit.
Fixes building with (the not-yet-merged) libsecp256k1 as well.
Github-Pull: #4689
Rebased-By: Wladimir J. van der laan <laanwj@gmail.com>
Rebased-From: 909b347 c0e5dda
2014-08-15 10:42:10 +02:00
Jeff Garzik
6f2c26a457
Closely track mempool byte total. Add "getmempoolinfo" RPC.
...
Goal: Gain live insight into the mempool. Groundwork for future work
that caps mempool size.
2014-08-14 12:34:38 -04:00
Jeff Garzik
c7b6117deb
Create new signal for notification of new blocks. Use w/ -blocknotify
2014-08-14 12:32:34 -04:00
Jeff Garzik
beb36e800c
ui_interface: remove unused NotifyBlocksChanged signal
2014-08-14 12:19:54 -04:00
Wladimir J. van der Laan
7accb7dbad
Merge pull request #4659
...
c4bae53
[Qt] move SubstituteFonts() above ToolTipToRichTextFilter (Philip Kaufmann)
2014-08-14 15:52:01 +02:00
Wladimir J. van der Laan
99170259d2
Merge pull request #4696
...
616c243
bitcoin-tx: fix build warnings (Cory Fields)
2014-08-14 12:00:58 +02:00
Cory Fields
616c24307f
bitcoin-tx: fix build warnings
...
Cleans up a bunch of:
warning: missing braces around initializer for ‘const<anonymous struct>’
2014-08-13 11:57:47 -04:00
Peter Todd
9ee09dc64f
Reapply: Reject transactions with excessive numbers of sigops
...
Reverting was based on a misunderstanding, it appears.
Github-Pull: #4150
2014-08-13 14:37:56 +02:00
Wladimir J. van der Laan
ce094d83ce
Merge pull request #4682
...
c33b983
Don't poll showmyip.com, it doesn't exist anymore (Wladimir J. van der Laan)
2014-08-13 12:01:03 +02:00
Wladimir J. van der Laan
c33b983903
Don't poll showmyip.com, it doesn't exist anymore
...
Fixes #4679 .
This leaves us with only one candidate, checkip.dyndns.org.
GetMyExternalIP should be phased out as soon as possible.
2014-08-13 12:00:30 +02:00
Wladimir J. van der Laan
3b72fdfb86
Revert "Reject transactions with excessive numbers of sigops"
...
This reverts commit 4fad8e6d83
.
2014-08-12 15:06:20 +02:00
Wladimir J. van der Laan
8ebe42435a
Merge pull request #4150
...
4fad8e6
Reject transactions with excessive numbers of sigops (Peter Todd)
2014-08-12 14:57:13 +02:00
Wladimir J. van der Laan
e257b7c4c4
Merge pull request #4675
...
ea100c7
Reduce maximum coinscache size during verification (Wladimir J. van der Laan)
2014-08-12 14:40:59 +02:00
ntrgn
8bfdc9acaa
qt: better looking trayicon
...
Github-Pull: #4678
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-08-12 13:16:01 +02:00
Wladimir J. van der Laan
4c61ba40b9
build: check for sys/prctl.h in the proper way
...
Use AC_CHECK_HEADERS to check for the header, and include it only
if detected and the subsequent HAVE_SYS_PRCTL_H is set.
2014-08-12 13:04:55 +02:00
Wladimir J. van der Laan
76c49c4138
Fix thread name setting
...
Because of a typo, thread names no longer appeared in the overview.
This was broken in 51ed9ec
.
2014-08-12 12:24:04 +02:00
Wladimir J. van der Laan
a38a98c476
Merge pull request #4603
...
f0c2915
Simplify and rename CheckWork to ProcessBlockFound (jtimon)
2014-08-12 11:21:10 +02:00
Wladimir J. van der Laan
a63e86e01d
Merge pull request #4680
...
a381ee5
Remove unnecessary typedef and script.h include (jtimon)
2014-08-12 08:35:33 +02:00
Wladimir J. van der Laan
47963936d6
Merge pull request #4681
...
54e658f
Remove unused CKeyStoreIsMineVisitor (jtimon)
2014-08-12 08:25:31 +02:00
jtimon
a381ee5d1c
Remove unnecessary typedef and script.h include
2014-08-12 02:17:29 +02:00
jtimon
54e658f249
Remove unused CKeyStoreIsMineVisitor
2014-08-12 02:02:17 +02:00
Cozz Lovan
1c5f0af0fd
[Qt] Add column Watch-only to transactions list
2014-08-11 21:38:36 +02:00
Cozz Lovan
939ed97373
Add boolean HaveWatchonly and signal NotifyWatchonlyChanged
2014-08-11 18:47:02 +02:00
Wladimir J. van der Laan
8b11d3de7a
Merge pull request #4592
...
1dec09b
depends: add shared dependency builder (Cory Fields)
2014-08-11 17:38:55 +02:00
Wladimir J. van der Laan
d17ce77fc1
Merge pull request #4664
...
565e569
libc-compat: add new symbol that's now needed (Cory Fields)
8021cf8
build: fix FDELT_TYPE configure check (Cory Fields)
2014-08-11 17:32:27 +02:00
Cozz Lovan
6b5b7cbfb4
Categorize rpc help overview
...
Conflicts:
src/rpcserver.cpp
Github-Pull: #4539
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: df3d321
2014-08-11 16:20:40 +02:00
Wladimir J. van der Laan
fecab8773d
Merge pull request #4666
...
ab45ddb
Fix typo in gettransaction help (Derek701)
2014-08-11 15:07:24 +02:00
Wladimir J. van der Laan
3e089a00e7
Merge pull request #4668
...
9297763
[Qt] Add TRY_LOCK back to peertablemodel (Cozz Lovan)
2014-08-11 15:06:43 +02:00
Wladimir J. van der Laan
85af3856e7
Merge pull request #4622
...
c7f3876
URLs containing a / after the address no longer cause parsing errors. (Ross Nicoll)
2014-08-11 15:06:19 +02:00
Wladimir J. van der Laan
ea96475d23
build: Add mention of --disable-wallet to bdb48 error messages
2014-08-11 14:42:02 +02:00
Mike Hearn
da2ec100f3
Add a getutxos command to the p2p protocol. It allows querying of the UTXO set
...
given a set of outpoints.
2014-08-11 13:59:47 +02:00
Wladimir J. van der Laan
ea100c73fa
Reduce maximum coinscache size during verification
...
Due to growing coinsviewcaches, the memory usage with checklevel=3
(and standard settings for dbcache) could be up to 500MiB on a
64-bit system. This is about twice the peak during reindexing,
unnecessarily extending bitcoind's memory envelope.
This commit reduces the maximum total size of the caches used during
verification to just nCoinCacheSize, which should be the limit.
2014-08-11 08:43:06 +02:00
Matt Corallo
a35b55b522
Dont run full check every time we decrypt wallet.
2014-08-10 18:36:07 -07:00
Gregory Maxwell
1e21c17d20
Make CCryptoKeyStore::Unlock check all keys.
...
CCryptoKeyStore::Unlock has a loop to attempt decrypting each key which
only executes once, likely due to a simple mistake when the code was
originally written.
This patch fixes the behavior by making it check all keys. It also adds
a fatal assertion in the case some decrypt but some do not, since that
indicates that the wallet is in some kind of really bad state.
This may make unlocking noticeably slower on wallets with many keys.
2014-08-10 18:36:06 -07:00
Philip Kaufmann
22b3c4bbbd
remove unused class CAddrMan; from db.h
2014-08-10 14:30:30 +02:00
Cozz Lovan
9297763dad
[Qt] Add TRY_LOCK back to peertablemodel
2014-08-10 02:28:23 +02:00
Derek701
ab45ddb599
Fix typo in gettransaction help
2014-08-08 23:13:06 -05:00
Pieter Wuille
eb0b56b190
Simplify serialize.h's exception handling
...
Remove the 'state' and 'exceptmask' from serialize.h's stream implementations,
as well as related methods.
As exceptmask always included 'failbit', and setstate was always called with
bits = failbit, all it did was immediately raise an exception. Get rid of
those variables, and replace the setstate with direct exception throwing
(which also removes some dead code).
As a result, good() is never reached after a failure (there are only 2
calls, one of which is in tests), and can just be replaced by !eof().
fail(), clear(n) and exceptions() are just never called. Delete them.
2014-08-09 01:43:23 +02:00