aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-21Add CMutableTransaction and make CTransaction immutable.Pieter Wuille
In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again.
2014-06-21Merge pull request #4100Pieter Wuille
a0495bb Add <Hasher>::OUTPUT_SIZE (Pieter Wuille) 4791b99 crypto: create a separate lib for crypto functions (Cory Fields) f2647cc crypto: explicitly check for byte read/write functions (Cory Fields) 5437248 build: move bitcoin-config.h to its own directory (Cory Fields) 3820e01 Extend and move all crypto tests to crypto_tests.cpp (Pieter Wuille) 7ecd973 Move {Read,Write}{LE,BE}{32,64} to common.h and use builtins if possible (Pieter Wuille) a5bc9c0 Add built-in RIPEMD-160 implementation (Pieter Wuille) 13b5dfe Move crypto implementations to src/crypto/ (Pieter Wuille) 1cc344c Add built-in SHA-1 implementation. (Pieter Wuille) 85aab2a Switch miner.cpp to use sha2 instead of OpenSSL. (Pieter Wuille) cf0c47b Remove getwork() RPC call (Pieter Wuille) 7b4737c Switch script.cpp and hash.cpp to use sha2.cpp instead of OpenSSL. (Pieter Wuille) 977cdad Add a built-in SHA256/SHA512 implementation. (Pieter Wuille)
2014-06-21Merge pull request #4379 from Diapolo/cleanup_compatJeff Garzik
small cleanup in src/compat .h and .cpp
2014-06-21Add <Hasher>::OUTPUT_SIZEPieter Wuille
2014-06-21crypto: create a separate lib for crypto functionsCory Fields
This lib has no dependencies on other bitcoin functionality. Attempting to use bitcoin headers will result in a failure to compile.
2014-06-21crypto: explicitly check for byte read/write functionsCory Fields
Don't depend on hard-coded platform lists
2014-06-21build: move bitcoin-config.h to its own directoryCory Fields
This allows us to include its path without making other header includes valid.
2014-06-21Extend and move all crypto tests to crypto_tests.cppPieter Wuille
2014-06-21Move {Read,Write}{LE,BE}{32,64} to common.h and use builtins if possiblePieter Wuille
2014-06-21Add built-in RIPEMD-160 implementationPieter Wuille
2014-06-21Move crypto implementations to src/crypto/Pieter Wuille
2014-06-21Add built-in SHA-1 implementation.Pieter Wuille
2014-06-21Switch miner.cpp to use sha2 instead of OpenSSL.Pieter Wuille
2014-06-21Remove getwork() RPC callPieter Wuille
2014-06-21Switch script.cpp and hash.cpp to use sha2.cpp instead of OpenSSL.Pieter Wuille
2014-06-21Add a built-in SHA256/SHA512 implementation.Pieter Wuille
This also moves the HMAC-SHA512 implementation to sha2.cpp.
2014-06-21Merge pull request #4380Wladimir J. van der Laan
38405ac Add comment regarding experimental-use service bits (Peter Todd) 99ddc6c Add nLocalServices info to RPC getinfo (Peter Todd)
2014-06-21Add comment regarding experimental-use service bitsPeter Todd
As per mailing list discussion.
2014-06-21Add nLocalServices info to RPC getinfoPeter Todd
Also show full 64 bits of services. Previously service bits >32 that were advertised just didn't show up at all.
2014-06-21small cleanup in src/compat .h and .cppPhilip Kaufmann
- add license header - fix include guards - fix indentation
2014-06-20Merge pull request #4371Wladimir J. van der Laan
ea3acaf AvailableCoins: acquire cs_main mutex (Pavel Vasin)
2014-06-20AvailableCoins: acquire cs_main mutexPavel Vasin
It's required when called from WalletModel
2014-06-19Merge pull request #4310Wladimir J. van der Laan
7a9e0b6 Move checkpoint based heuristic checks to AcceptBlockHeader (Pieter Wuille)
2014-06-19Merge pull request #4358Wladimir J. van der Laan
6afa493 rpc: Add acceptors only when listening succeeded (Wladimir J. van der Laan) 33e5b42 rpc: Ignore and log errors during cancel (Wladimir J. van der Laan)
2014-06-19rpc: Add acceptors only when listening succeededWladimir J. van der Laan
2014-06-19rpc: Ignore and log errors during cancelWladimir J. van der Laan
Cancelling the RPC acceptors can sometimes result in an error about a bad file descriptor. As this is the shutdown sequence we need to continue nevertheless, ignore these errors, log a warning and proceed. Fixes #4352.
2014-06-18Merge pull request #4334Wladimir J. van der Laan
6763018 [Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
2014-06-18Merge pull request #4339Wladimir J. van der Laan
92a6220 sanity: hook up sanity checks (Cory Fields) 679240d sanity: add libc/stdlib sanity checks (Cory Fields) 11404af sanity: autoconf check for sys/select.h (Cory Fields)
2014-06-18Merge pull request #4354Wladimir J. van der Laan
7ad720d Added encryptwallet call to bitrpc.py (dllud)
2014-06-17Merge pull request #4346Wladimir J. van der Laan
1569353 Add `-stopafterblockimport` option (Wladimir J. van der Laan)
2014-06-17Merge pull request #4333Wladimir J. van der Laan
f6984e8 Add "chain" to getmininginfo, improve help in getblockchaininfo (jtimon) b82b7ec Get rid of Params().RPCisTestNet() (jtimon)
2014-06-17Add "chain" to getmininginfo, improve help in getblockchaininfojtimon
2014-06-17Get rid of Params().RPCisTestNet()jtimon
2014-06-17Merge pull request #4357Wladimir J. van der Laan
1020f59 add comment to HelpMessage() to ensure alphabetical ordering (Philip Kaufmann)
2014-06-17add comment to HelpMessage() to ensure alphabetical orderingPhilip Kaufmann
- also rename hmm to mode, to be consistent between .h and .cpp
2014-06-17Added encryptwallet call to bitrpc.pydllud
This was the only call requiring password input which was still missing. Much useful to avoid leaving a plain text passphrase in the shell log.
2014-06-16sanity: hook up sanity checksCory Fields
2014-06-16sanity: add libc/stdlib sanity checksCory Fields
These are meant to test our back-compat stubs, but they are enabled for all builds for the sake of consistency.
2014-06-16sanity: autoconf check for sys/select.hCory Fields
2014-06-16Merge pull request #4349Wladimir J. van der Laan
09eb201 Remove `using namespace std` from header file (Wladimir J. van der Laan)
2014-06-16Remove `using namespace std` from header fileWladimir J. van der Laan
It's considered bad form to import things into the global namespace in a header. Put it in the cpp files where it is needed instead.
2014-06-16Merge pull request #4326Wladimir J. van der Laan
f5ae6c9 add NetworkIDString() to chainparams (Philip Kaufmann)
2014-06-16Merge pull request #4337Wladimir J. van der Laan
88df548 base58: add paranoid return value checks (Jeff Garzik)
2014-06-16Add `-stopafterblockimport` optionWladimir J. van der Laan
Stop after importing blocks. This can be useful for development and trouble shooting.
2014-06-16[Qt] rename In:/Out: to Received/Sent in traffic tabPhilip Kaufmann
- collides with In:/Out: used for displaying number of connections when translating
2014-06-15Merge pull request #4232Wladimir J. van der Laan
b750cf1 Remove cli functionality from bitcoind (Wladimir J. van der Laan)
2014-06-15Remove cli functionality from bitcoindWladimir J. van der Laan
As it says on the tin. It was deprecated in version 0.9, and at some point it should be removed. Removes the dependency of bitcoind on libbitcoin-cli.a. Move some functions that used to be shared but are now only used in bitcoin-cli.cpp to that file. After this change, an error is printed (and exit code 1 is returned) when the user tries to send RPC commands using bitcoind.
2014-06-15bitcoin-cli, rpcclient: prefer EXIT_FAILURE cstdlib constantJeff Garzik
A more complex construction via abs() yields the same end result. Rebased-From: 34ff109 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-14Merge pull request #4316Wladimir J. van der Laan
18116b0 Ignore too-long redeemScripts while loading wallet (Wladimir J. van der Laan)
2014-06-12Merge pull request #4193Wladimir J. van der Laan
71aaff3 Remove double-dash parameters from mapArgs (Kosta Zertsekel)