neobytes/src
Andrew Poelstra f6f4c83382 key.cpp: fail with a friendlier message on missing ssl EC support
Previously if bitcoind is linked with an OpenSSL which is compiled
without EC support, this is seen as an assertion failure "pKey !=
NULL" at key.cpp:134, which occurs after several seconds. It is an
esoteric piece of knowledge to interpret this as "oops, I linked
with the wrong OpenSSL", and because of the delay it may not even
be noticed.

The new output is

: OpenSSL appears to lack support for elliptic curve cryptography. For
more information, visit
https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries
: Initialization sanity check failed. Bitcoin Core is shutting down.

which occurs immediately after attempted startup.

This also blocks in an InitSanityCheck() function which currently only
checks for EC support but should eventually do more. See #4081.

Rebased-From: 4a09e1d
2014-08-18 15:34:29 +02:00
..
compat build: add symbol for upcoming gcc 4.9's libstdc++ 2014-04-11 19:02:01 -04:00
json switch from boost int types to <stdint.h> 2014-05-21 11:25:18 +02:00
leveldb Squashed 'src/leveldb/' changes from 9094c7f..7924331 2014-05-12 11:30:33 +02:00
m4 Bugfix: configure: Look in libx32 subdirectory for boost libraries 2014-04-09 12:59:17 +00:00
obj
obj-test
qt qt: fix 'opens in testnet mode when presented with a BIP-72 link with no fallback' 2014-08-18 15:34:28 +02:00
test Remove bignum dependency for scripts 2014-08-18 15:34:28 +02:00
addrman.cpp Remove redundant .c_str()s 2014-01-23 16:05:01 +01:00
addrman.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
alert.cpp Fixed compile error on Debian jessie (gcc version 4.8.2 (Debian 4.8.2-16)) 2014-03-18 22:54:47 +01:00
alert.h Add a way to limit deserialized string lengths 2014-08-18 15:34:29 +02:00
allocators.cpp
allocators.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
base58.cpp Move base58.h implementation code to base58.cpp 2014-05-12 14:57:02 +02:00
base58.h Move base58.h implementation code to base58.cpp 2014-05-12 14:57:02 +02:00
bignum.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
bitcoin-cli-res.rc qt: Update remaining "The Bitcoin Core Developers" 2014-01-14 11:19:52 +01:00
bitcoin-cli.cpp SetupEnvironment() - clean commit 2014-05-19 15:16:33 +02:00
bitcoind-res.rc qt: Update remaining "The Bitcoin Core Developers" 2014-01-14 11:19:52 +01:00
bitcoind.cpp SetupEnvironment() - clean commit 2014-05-19 15:16:33 +02:00
bloom.cpp Fix bloom filter not to use bit_mask 2014-03-20 13:21:23 +09:00
bloom.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
chainparams.cpp Remove bignum dependency for scripts 2014-08-18 15:34:28 +02:00
chainparams.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
checkpoints.cpp Add a new checkpoint at block 295,000 2014-08-18 15:34:29 +02:00
checkpoints.h [Qt] rescan progress 2014-04-02 03:48:07 +02:00
checkqueue.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
clientversion.h Version bump for 0.9.3 2014-08-18 15:05:38 +02:00
coincontrol.h Coincontrol cleanup (e.g. add missing license) 2013-11-18 08:16:12 +01:00
coins.cpp Add verbose boolean to getrawmempool 2013-11-30 15:42:10 +10:00
coins.h Add verbose boolean to getrawmempool 2013-11-30 15:42:10 +10:00
compat.h reorder includes to compile on OpenBSD 2014-05-02 20:45:03 +02:00
core.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
core.h Merge pull request #3305 from mikehearn/fee_drop 2014-02-24 14:05:54 -05:00
crypter.cpp Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
crypter.h Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
db.cpp unified and better log/error messages for CDBEnv/CDB 2014-04-01 09:41:49 +02:00
db.h Move CAddrDB frrom db to net 2013-12-04 12:46:13 +01:00
hash.cpp
hash.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
init.cpp key.cpp: fail with a friendlier message on missing ssl EC support 2014-08-18 15:34:29 +02:00
init.h Allow -noserver with bitcoind 2013-12-20 16:07:33 +01:00
key.cpp key.cpp: fail with a friendlier message on missing ssl EC support 2014-08-18 15:34:29 +02:00
key.h key.cpp: fail with a friendlier message on missing ssl EC support 2014-08-18 15:34:29 +02:00
keystore.cpp Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
keystore.h Update moved and dead links 2014-03-24 20:26:02 +00:00
leveldbwrapper.cpp Wrap create_directory calls in try...catch blocks. 2014-03-31 09:51:58 +02:00
leveldbwrapper.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
limitedmap.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
main.cpp Add a way to limit deserialized string lengths 2014-08-18 15:34:29 +02:00
main.h Remove NumBlocksOfPeers 2014-07-04 06:58:45 +02:00
Makefile.am Merge pull request #4042 2014-04-22 16:24:43 +02:00
Makefile.include don't use sed's -i option to stay posix compliant 2014-05-02 21:32:12 +02:00
miner.cpp Remove bignum dependency for scripts 2014-08-18 15:34:28 +02:00
miner.h setgenerate creates multiple blocks in -regtest mode 2013-11-22 09:51:13 +10:00
mruset.h Limit number of known addresses per peer 2014-06-01 09:54:00 +02:00
net.cpp Don't poll showmyip.com, it doesn't exist anymore 2014-08-18 15:11:15 +02:00
net.h Limit number of known addresses per peer 2014-06-01 09:54:00 +02:00
netbase.cpp Replace non-threadsafe strerror 2014-05-23 16:03:43 +02:00
netbase.h Replace non-threadsafe strerror 2014-05-23 16:03:43 +02:00
noui.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
noui.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
protocol.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
protocol.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
rpcblockchain.cpp Avoid a segfault on getblock if it can't read a block from disk. 2014-08-18 15:34:28 +02:00
rpcclient.cpp switch from boost int types to <stdint.h> 2014-05-21 11:25:18 +02:00
rpcclient.h bitcoin-cli: remove unneeded dependencies (only code movement) 2013-12-03 09:07:13 +01:00
rpcdump.cpp [Qt] importwallet progress 2014-04-23 01:50:25 +02:00
rpcmining.cpp switch from boost int types to <stdint.h> 2014-05-21 11:25:18 +02:00
rpcmisc.cpp switch from boost int types to <stdint.h> 2014-05-21 11:25:18 +02:00
rpcnet.cpp switch from boost int types to <stdint.h> 2014-05-21 11:25:18 +02:00
rpcprotocol.cpp Replace non-threadsafe gmtime and setlocale 2014-05-23 16:04:02 +02:00
rpcprotocol.h 'sendrawtransaction' improvements 2014-03-27 12:33:55 +01:00
rpcrawtransaction.cpp Clarify that redeemScript is often optional 2014-08-18 15:34:28 +02:00
rpcserver.cpp rpc: Add acceptors only when listening succeeded 2014-06-19 09:41:25 +02:00
rpcserver.h rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
rpcwallet.cpp No references to centralized databases in help text. 2014-05-29 19:11:05 +02:00
script.cpp Remove bignum dependency for scripts 2014-08-18 15:34:28 +02:00
script.h Remove bignum dependency for scripts 2014-08-18 15:34:28 +02:00
serialize.h Add a way to limit deserialized string lengths 2014-08-18 15:34:29 +02:00
sync.cpp Wallet locking fixes for -DDEBUG_LOCKORDER 2014-02-18 12:11:46 -05:00
sync.h Use mutex pointer instead of name for AssertLockHeld 2013-12-19 09:46:11 +01:00
threadsafety.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
tinyformat.h Make tinyformat errors raise an exception instead of assert()ing 2014-02-28 09:25:00 +01:00
txdb.cpp use standard __func__ instead of __PRETTY_FUNCTION__ 2014-04-30 14:45:24 +02:00
txdb.h Change new constants in txdb.h to int64_t 2014-02-18 17:13:32 +01:00
txmempool.cpp Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
txmempool.h Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
ui_interface.h [Qt] rescan progress 2014-04-02 03:48:07 +02:00
uint256.h Unittests for uint256.h 2013-12-25 11:07:21 +01:00
util.cpp Replace non-threadsafe gmtime and setlocale 2014-05-23 16:04:02 +02:00
util.h Replace non-threadsafe gmtime and setlocale 2014-05-23 16:04:02 +02:00
version.cpp VERSION obtained from source instead of the previous git tag. 2014-04-15 21:48:44 -10:00
version.h Bump protocol version to 70002 2013-11-11 10:31:09 +10:00
wallet.cpp AvailableCoins: acquire cs_main mutex 2014-08-18 15:34:28 +02:00
wallet.h Add a way to limit deserialized string lengths 2014-08-18 15:34:29 +02:00
walletdb.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
walletdb.h Add -zapwallettxes cli/config option, used for wallet recovery 2014-02-14 11:33:07 -05:00