neobytes/src
Andrew Poelstra 4a09e1df51
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.
2014-06-03 12:09:51 -07:00
..
compat build: add symbol for upcoming gcc 4.9's libstdc++ 2014-04-11 19:02:01 -04:00
json json_spirit: #include <stdint.h> 2014-05-13 11:41:59 +02:00
leveldb Merge src/leveldb changes for LevelDB 1.17. 2014-05-09 18:23:34 +02:00
m4 Bugfix: configure: Look in libx32 subdirectory for boost libraries 2014-04-09 12:59:17 +00:00
obj
obj-test
qt Merge pull request #3683 2014-06-02 17:59:20 +02:00
test Merge pull request #4268 2014-06-02 10:54:20 +02:00
addrman.cpp Remove redundant .c_str()s 2014-01-23 16:05:01 +01:00
addrman.h Remove redundant c_str 2014-05-22 00:23:03 +07: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 Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
allocators.cpp Changing LockedPageManager to use a managed instance 2013-10-20 14:29:24 +07:00
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-10 00:42:31 +02:00
base58.h Move base58.h implementation code to base58.cpp 2014-05-10 00:42:31 +02: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-13 10:15:00 +00:00
bitcoind-res.rc qt: Update remaining "The Bitcoin Core Developers" 2014-01-14 11:19:52 +01:00
bitcoind.cpp Remove fDaemon flag checking on return from main(), which is useless and looks really strange. 2014-05-20 01:22:33 +08: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 Move {Get,Set}Compact from bignum to uint256 2014-05-09 16:44:59 +02:00
chainparams.h Reduce bignum.h now it is only needed for scriptnum_tests 2014-05-09 17:38:44 +02:00
checkpoints.cpp Fix incorrect checkpoint data for testnet3 2014-05-13 16:38:36 -04: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 obtained from source instead of the previous git tag. 2014-04-15 21:48:44 -10: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 CTransaction::IsNewerThan which is never used 2014-05-20 14:58:21 +02:00
core.h remove CTransaction::IsNewerThan which is never used 2014-05-20 14:58:21 +02: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-06-03 12:09:51 -07: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-06-03 12:09:51 -07:00
key.h key.cpp: fail with a friendlier message on missing ssl EC support 2014-06-03 12:09:51 -07:00
keystore.cpp Check redeemScript size does not exceed 520 byte limit 2014-05-08 00:55:01 -04: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 Remove redundant c_str 2014-05-22 00:23:03 +07:00
limitedmap.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
main.cpp Merge pull request #4183 2014-05-25 16:19:54 +02:00
main.h Merge pull request #4206 2014-05-25 16:46:49 +02:00
Makefile.am Move bignum.h to test/ 2014-05-09 17:56:16 +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 Merge pull request #4138 2014-05-12 14:01:48 +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-05-30 12:01:53 +02:00
net.cpp Use pnode->nLastRecv as sync score directly 2014-05-30 23:44:44 +08:00
net.h Limit number of known addresses per peer 2014-05-30 12:01:53 +02:00
netbase.cpp Merge pull request #4183 2014-05-25 16:19:54 +02:00
netbase.h remove dup of extern int nConnectTimeout; in netbase 2014-05-31 12:04:34 +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 Reduce bignum.h now it is only needed for scriptnum_tests 2014-05-09 17:38:44 +02:00
rpcblockchain.cpp removed a few unnecessary casts 2014-05-13 11:42:00 +02:00
rpcclient.cpp switch from boost int types to <stdint.h> 2014-05-13 11:41:59 +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-13 11:41:59 +02:00
rpcmisc.cpp removed a few unnecessary casts 2014-05-13 11:42:00 +02:00
rpcnet.cpp Merge pull request #4166 2014-05-23 11:39:18 +02:00
rpcprotocol.cpp Replace non-threadsafe gmtime and setlocale 2014-05-23 15:23:11 +02:00
rpcprotocol.h Support IPv6 lookup in bitcoin-cli even when IPv6 only bound on localhost 2014-05-13 07:23:23 +02:00
rpcrawtransaction.cpp switch from boost int types to <stdint.h> 2014-05-13 11:41:59 +02:00
rpcserver.cpp Add -rpcbind option to allow binding RPC port on a specific interface 2014-05-13 07:23:23 +02:00
rpcserver.h Add tests for BoostAsioToCNetAddr 2014-05-09 16:45:57 +02:00
rpcwallet.cpp No references to centralized databases in help text. 2014-05-29 18:17:34 +02:00
script.cpp Merge pull request #3637 2014-05-09 16:24:57 +02:00
script.h Remove redundant c_str 2014-05-22 00:23:03 +07:00
serialize.h remove an assignment which is never used. 2014-03-28 20:22:00 +09: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 Move {Get,Set}Compact from bignum to uint256 2014-05-09 16:44:59 +02:00
txdb.h Move {Get,Set}Compact from bignum to uint256 2014-05-09 16:44:59 +02: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 Deduplicate uint* comparison operator logic 2014-05-09 16:45:00 +02:00
util.cpp Merge pull request #4183 2014-05-25 16:19:54 +02:00
util.h Merge pull request #4183 2014-05-25 16:19:54 +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 remove CWallet::AddReserveKey which is never used 2014-05-20 14:58:20 +02:00
wallet.h Merge pull request #4206 2014-05-25 16:46:49 +02:00
walletdb.cpp Remove dummy PRIszX macros for formatting 2014-05-06 15:29:16 +02:00
walletdb.h Add -zapwallettxes cli/config option, used for wallet recovery 2014-02-14 11:33:07 -05:00