Simon de la Rouviere
0caf2b187f
Add MESSAGE_START_SIZE from chainparams when loading blocks from external files.
2014-04-24 14:32:11 +02:00
Wladimir J. van der Laan
89bbd54fbf
Merge pull request #4085
...
b39a07d
Add missing AssertLockHeld in ConnectBlock (Wladimir J. van der Laan)
41106a5
qt: get required locks upfront in polling functions (Wladimir J. van der Laan)
ed67100
Add required locks in tests (Wladimir J. van der Laan)
2014-04-23 17:06:28 +02:00
Wladimir J. van der Laan
b39a07dc42
Add missing AssertLockHeld in ConnectBlock
2014-04-23 09:07:18 +02:00
Wladimir J. van der Laan
41106a50d2
qt: get required locks upfront in polling functions
...
This avoids the GUI from getting stuck on
periodical polls if the core is holding the locks for a longer time -
for example, during a wallet rescan.
2014-04-23 09:07:18 +02:00
Wladimir J. van der Laan
ed67100565
Add required locks in tests
...
Unit tests with DEBUG_LOCKORDER were running into assertions.
2014-04-23 08:05:05 +02:00
Cozz Lovan
bb1f1c90d6
[Qt] importwallet progress
2014-04-23 01:50:25 +02:00
Wladimir J. van der Laan
bbe53f61db
Merge pull request #4042
...
05c20a5
build: add symbol for upcoming gcc 4.9's libstdc++ (Cory Fields)
49a3352
gitian-linux: --enable-glibc-back-compat (Warren Togami)
d5aab70
build: add an option for enabling glibc back-compat (Cory Fields)
ffc6b67
build: add glibc/libstdc++ back-compat stubs (Cory Fields)
2014-04-22 16:24:43 +02:00
Wladimir J. van der Laan
2bbecc84e2
Merge pull request #4058
...
55a1db4
Solve chainActive-related locking issues (Wladimir J. van der Laan)
e07c943
Add AssertLockHeld for cs_main to ChainActive-using functions (Wladimir J. van der Laan)
2014-04-22 13:35:37 +02:00
Pieter Wuille
b58be132c9
Replace DecodeBase58/EncodeBase58 with direct implementation.
...
This removes the bignum/OpenSSL dependency.
The base58 transformation code is also moved to a separate .cpp file.
2014-04-22 09:30:21 +02:00
Wladimir J. van der Laan
8da64ca47e
Merge pull request #4014
...
4e9667b
Improve and expand base58 comments (rxl)
2014-04-19 09:05:42 +02:00
Wladimir J. van der Laan
913e90db9a
Merge pull request #3701
...
09ec3af
AddToWallet implies BindWallet (Wladimir J. van der Laan)
2014-04-19 08:51:40 +02:00
Gregory Maxwell
fe451fe944
Merge pull request #4037 from gmaxwell/fdleaks
...
Prevent socket leak in ThreadSocketHandler.
2014-04-18 15:16:52 -07:00
Wladimir J. van der Laan
55a1db4fa2
Solve chainActive-related locking issues
...
- In wallet and GUI code LOCK cs_main as well as cs_wallet when
necessary
- In main.cpp SendMessages move the TRY_LOCK(cs_main) up, to encompass the call
to IsInitialBlockDownload.
- Make ActivateBestChain, AddToBlockIndex, IsInitialBlockDownload,
InitBlockIndex acquire the cs_main lock
Fixes #3997
2014-04-18 12:49:41 +02:00
Wladimir J. van der Laan
e07c943ce8
Add AssertLockHeld for cs_main to ChainActive-using functions
...
All functions that use ChainActive but do not aquire the cs_main
lock themselves, need to be called with the cs_main lock held.
This commit adds assertions to all externally callable functions
that use chainActive or chainMostWork.
This will flag usages when built with -DDEBUG_LOCKORDER.
2014-04-17 16:46:01 +02:00
Wladimir J. van der Laan
2f3308f2d2
Translation update 2014-04
...
Push new English translation, as well as pull other translations that
changed since last month.
2014-04-17 13:47:14 +02:00
Warren Togami
3d20cd5f61
VERSION obtained from source instead of the previous git tag.
...
Drawback: The version string is no longer a valid git identifier.
For this reason the 'g' short hash prefix has been removed.
Exception: When building directly from a tag this behaves exactly like the previous behavior.
This allows formatting release versions with precision i.e. v0.9.2
This also allows arbitrary topicbranch names i.e. v0.9.1-glibc-compat
2014-04-15 21:48:44 -10:00
Wladimir J. van der Laan
74dd52a9fc
qt: remove de_AT translation
...
Got too many complaints that is was unserious and written by trolls.
I have also removed the translation from transifex.
Fixes #4054 and #3918 .
2014-04-14 14:20:40 +02:00
rxl
4e9667b844
Improve and expand base58 comments
...
update comments so doxygen will pick them up
2014-04-12 11:36:52 -04:00
Cory Fields
05c20a553a
build: add symbol for upcoming gcc 4.9's libstdc++
2014-04-11 19:02:01 -04:00
Wladimir J. van der Laan
8562179612
Merge pull request #3912
...
b1b9c76
Fix bloom filter not to use bit_mask (peryaudo)
2014-04-11 15:13:23 +02:00
Cory Fields
d5aab70490
build: add an option for enabling glibc back-compat
...
Using "./configure --enable-glibc-back-compat" will attempt to be
compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4.
2014-04-10 22:28:26 -04:00
Cory Fields
ffc6b678b9
build: add glibc/libstdc++ back-compat stubs
...
glibc/libstdc++ have added new symbols in later releases. When running a new
binary against an older glibc, the run-time linker is unable to resolve the
new symbols and the binary refuses to run.
This can be fixed by adding our own versions of those functions, so that the
build-time linker does not emit undefined symbols for them.
This enables our binary releases to work on older Linux distros, while not
incurring the downsides of a fully static binary.
2014-04-10 22:27:09 -04:00
Gregory Maxwell
0bd05b53b1
Correct some proxy related socket leaks.
2014-04-09 17:09:45 -07:00
Gregory Maxwell
d20791b0e5
Prevent socket leak in ThreadSocketHandler.
...
When we are over our outbound limit ThreadSocketHandler would try to
keep the connection if the peer was addnoded.
This didn't actually work for two reasons: It didn't actually run
the accept code due to mistaken code flow, and because we have a
limited number of outbound semaphores it couldn't actually use the
connection.
Instead it leaked the socket, which might have caused issue #4034 .
This patch just takes out the non-functioning white-listing for now.
2014-04-09 09:30:36 -07:00
Wladimir J. van der Laan
20ecf5c27d
Merge pull request #4024
...
ab64381
Fix a typo in RPC signrawtransaction help (Hector Jusforgues)
2014-04-09 16:25:24 +02:00
Wladimir J. van der Laan
06d1fc6112
Merge pull request #4020
...
71f82bf
Restart-warning for spendZeroConfChange option (langerhans)
2014-04-09 10:34:31 +02:00
Hector Jusforgues
ab643811ea
Fix a typo in RPC signrawtransaction help
2014-04-08 22:53:41 +07:00
Wladimir J. van der Laan
a7101b13f7
Merge pull request #4019
...
13a2283
build: Sync ax_boost_base.m4 with upstream. (Cory Fields)
2014-04-08 10:24:26 +02:00
langerhans
71f82bf2ab
Restart-warning for spendZeroConfChange option
...
According to the options model, a restart is required after changing this option. So let's notify the user about it.
2014-04-07 19:26:30 +02:00
Cory Fields
13a2283a6d
build: Sync ax_boost_base.m4 with upstream.
...
This should fix 32bit boost detection on Ubuntu Saucy+. Fixes #3945 .
2014-04-07 13:19:01 -04:00
Wladimir J. van der Laan
4ae5e72128
Show error message if ReadConfigFile fails
...
A runaway exception was raised if ReadConfigFile fails (usually
due to a parse error in bitcoin.conf). Show an error message instead.
Fixes #4013 .
2014-04-07 10:16:09 +02:00
Wladimir J. van der Laan
f4e1c347cf
Merge pull request #3972
...
fbf617a
remove an assignment which is never used. (Yoichi Hirai)
2014-04-07 08:09:42 +02:00
Gregory Maxwell
94c8bfb23b
Move assert(pindexNew); to above where we dereference pindexNew.
2014-04-05 22:11:16 -07:00
Wladimir J. van der Laan
b12dcb2c9e
Merge pull request #3572
...
f7257cf
unified and better log/error messages for CDBEnv/CDB (Philip Kaufmann)
2014-04-04 14:10:58 +02:00
Wladimir J. van der Laan
fecda6853d
Merge pull request #3929
...
4c35366
Fix importwallet nTimeFirstKey (Cozz Lovan)
2014-04-03 13:50:59 +02:00
Wladimir J. van der Laan
9bd1bdd08c
Merge pull request #3928
...
3927836
[Qt] rescan progress (Cozz Lovan)
2014-04-03 11:51:02 +02:00
Gavin Andresen
8556b0298d
Merge pull request #3842 from ditto-b/master
...
Fix for GetBlockValue() after block 13,440,000
2014-04-02 21:31:17 -04:00
ditto-b
5cfd3a70a6
Edit subsidy_limit_test to account for BIP42
...
Because no one wants 4 gold mines being discovered every mibillenium.
2014-04-02 18:00:08 -05:00
Cozz Lovan
392783697c
[Qt] rescan progress
2014-04-02 03:48:07 +02:00
Wladimir J. van der Laan
397521d632
Merge pull request #3931
...
f61287c
RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
2014-04-01 18:11:38 +02:00
Wladimir J. van der Laan
e5681a4fa8
Merge pull request #3986
...
65adc3a
qt: Don't require db_cxx.h when wallet disabled (Wladimir J. van der Laan)
4babd08
doc: Add note about memory reqs for compilation (Wladimir J. van der Laan)
25333a2
build: improve missing boost error reporting (Wladimir J. van der Laan)
2014-04-01 15:48:50 +02:00
Philip Kaufmann
d34b958406
[Qt] small cleanup of coincontroldialog
...
- use a little more Qt-style
- check for NULL pointers first and return in updateView()
- small space and formating changes
2014-04-01 10:11:18 +02:00
Philip Kaufmann
f7257cfbd9
unified and better log/error messages for CDBEnv/CDB
2014-04-01 09:41:49 +02:00
Manuel Araoz
81bfb5aebf
add checks for deserialization errors
2014-03-31 15:07:46 -03:00
Manuel Araoz
232aa9e034
Add code generating data/sighash.json test data
2014-03-31 12:39:32 -03:00
Manuel Araoz
43cb41859e
Add sighash tests from data file
2014-03-31 11:19:19 -03:00
paveljanik
db3a5e4151
Use the new name Bitcoin Core Daemon instead of Bitcoin server
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From-Github-Pull: #3801
2014-03-31 12:05:16 +02:00
Brandon Dahler
2b7709dc84
Wrap create_directory calls in try...catch blocks.
...
Ignores any exceptions thrown if directory exists, otherwise re-throws exception.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-03-31 09:51:58 +02:00
Wladimir J. van der Laan
e3e3728f46
Fix typo in createmultisig
help
...
iCreateMultisig is not a thing.
2014-03-31 09:04:51 +02:00
Wladimir J. van der Laan
b86ed6ff23
Merge pull request #3969
...
ffeb473
Add nHighTransactionFeeWarning as per #3969 . (Bardi Harborow)
2014-03-31 09:01:16 +02:00