aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Code simplifications after CTransaction::GetHash() cachingPieter Wuille2014-06-2212-78/+67
|
* Add CMutableTransaction and make CTransaction immutable.Pieter Wuille2014-06-2119-106/+181
| | | | | In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again.
* Merge pull request #4100Pieter Wuille2014-06-2126-610/+1387
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * Add <Hasher>::OUTPUT_SIZEPieter Wuille2014-06-218-16/+31
| |
| * crypto: create a separate lib for crypto functionsCory Fields2014-06-214-11/+18
| | | | | | | | | | This lib has no dependencies on other bitcoin functionality. Attempting to use bitcoin headers will result in a failure to compile.
| * crypto: explicitly check for byte read/write functionsCory Fields2014-06-212-17/+69
| | | | | | | | Don't depend on hard-coded platform lists
| * build: move bitcoin-config.h to its own directoryCory Fields2014-06-213-2/+4
| | | | | | | | This allows us to include its path without making other header includes valid.
| * Extend and move all crypto tests to crypto_tests.cppPieter Wuille2014-06-214-186/+203
| |
| * Move {Read,Write}{LE,BE}{32,64} to common.h and use builtins if possiblePieter Wuille2014-06-215-61/+52
| |
| * Add built-in RIPEMD-160 implementationPieter Wuille2014-06-215-4/+248
| |
| * Move crypto implementations to src/crypto/Pieter Wuille2014-06-2110-12/+12
| |
| * Add built-in SHA-1 implementation.Pieter Wuille2014-06-216-3/+262
| |
| * Switch miner.cpp to use sha2 instead of OpenSSL.Pieter Wuille2014-06-213-165/+29
| |
| * Remove getwork() RPC callPieter Wuille2014-06-214-165/+1
| |
| * Switch script.cpp and hash.cpp to use sha2.cpp instead of OpenSSL.Pieter Wuille2014-06-213-81/+111
| |
| * Add a built-in SHA256/SHA512 implementation.Pieter Wuille2014-06-218-76/+536
| | | | | | | | This also moves the HMAC-SHA512 implementation to sha2.cpp.
* | Merge pull request #4379 from Diapolo/cleanup_compatJeff Garzik2014-06-215-29/+58
|\ \ | |/ |/| small cleanup in src/compat .h and .cpp
| * small cleanup in src/compat .h and .cppPhilip Kaufmann2014-06-215-29/+58
| | | | | | | | | | | | - add license header - fix include guards - fix indentation
* | Merge pull request #4380Wladimir J. van der Laan2014-06-212-2/+12
|\ \ | |/ |/| | | | | 38405ac Add comment regarding experimental-use service bits (Peter Todd) 99ddc6c Add nLocalServices info to RPC getinfo (Peter Todd)
| * Add comment regarding experimental-use service bitsPeter Todd2014-06-211-0/+8
| | | | | | | | As per mailing list discussion.
| * Add nLocalServices info to RPC getinfoPeter Todd2014-06-211-2/+4
| | | | | | | | | | Also show full 64 bits of services. Previously service bits >32 that were advertised just didn't show up at all.
* | Merge pull request #4371Wladimir J. van der Laan2014-06-201-1/+1
|\ \ | |/ |/| | | ea3acaf AvailableCoins: acquire cs_main mutex (Pavel Vasin)
| * AvailableCoins: acquire cs_main mutexPavel Vasin2014-06-201-1/+1
|/ | | | It's required when called from WalletModel
* Merge pull request #4310Wladimir J. van der Laan2014-06-191-22/+22
|\ | | | | | | 7a9e0b6 Move checkpoint based heuristic checks to AcceptBlockHeader (Pieter Wuille)
| * Move checkpoint based heuristic checks to AcceptBlockHeaderPieter Wuille2014-06-091-22/+22
| |
* | Merge pull request #4358Wladimir J. van der Laan2014-06-191-3/+12
|\ \ | | | | | | | | | | | | 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)
| * | rpc: Add acceptors only when listening succeededWladimir J. van der Laan2014-06-191-1/+1
| | |
| * | rpc: Ignore and log errors during cancelWladimir J. van der Laan2014-06-191-2/+11
|/ / | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #4334Wladimir J. van der Laan2014-06-181-2/+2
|\ \ | | | | | | | | | 6763018 [Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
| * | [Qt] rename In:/Out: to Received/Sent in traffic tabPhilip Kaufmann2014-06-161-2/+2
| | | | | | | | | | | | | | | - collides with In:/Out: used for displaying number of connections when translating
* | | Merge pull request #4339Wladimir J. van der Laan2014-06-186-4/+137
|\ \ \ | | | | | | | | | | | | | | | | | | | | 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)
| * | | sanity: hook up sanity checksCory Fields2014-06-161-2/+3
| | | |
| * | | sanity: add libc/stdlib sanity checksCory Fields2014-06-164-1/+133
| | | | | | | | | | | | | | | | | | | | These are meant to test our back-compat stubs, but they are enabled for all builds for the sake of consistency.
| * | | sanity: autoconf check for sys/select.hCory Fields2014-06-161-1/+1
| | | |
* | | | Merge pull request #4354Wladimir J. van der Laan2014-06-181-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | 7ad720d Added encryptwallet call to bitrpc.py (dllud)
| * | | | Added encryptwallet call to bitrpc.pydllud2014-06-171-0/+12
| |/ / / | | | | | | | | 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.
* | | | Merge pull request #4346Wladimir J. van der Laan2014-06-171-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | 1569353 Add `-stopafterblockimport` option (Wladimir J. van der Laan)
| * | | | Add `-stopafterblockimport` optionWladimir J. van der Laan2014-06-161-0/+6
| | |/ / | |/| | | | | | | | | | | | | | Stop after importing blocks. This can be useful for development and trouble shooting.
* | | | Merge pull request #4333Wladimir J. van der Laan2014-06-175-9/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f6984e8 Add "chain" to getmininginfo, improve help in getblockchaininfo (jtimon) b82b7ec Get rid of Params().RPCisTestNet() (jtimon)
| * | | | Add "chain" to getmininginfo, improve help in getblockchaininfojtimon2014-06-172-1/+3
| | | | |
| * | | | Get rid of Params().RPCisTestNet()jtimon2014-06-174-8/+2
|/ / / /
* | | | Merge pull request #4357Wladimir J. van der Laan2014-06-171-3/+4
|\ \ \ \ | |_|/ / |/| | | | | | | 1020f59 add comment to HelpMessage() to ensure alphabetical ordering (Philip Kaufmann)
| * | | add comment to HelpMessage() to ensure alphabetical orderingPhilip Kaufmann2014-06-171-3/+4
|/ / / | | | | | | | | | - also rename hmm to mode, to be consistent between .h and .cpp
* | | Merge pull request #4349Wladimir J. van der Laan2014-06-169-13/+21
|\ \ \ | | | | | | | | | | | | 09eb201 Remove `using namespace std` from header file (Wladimir J. van der Laan)
| * | | Remove `using namespace std` from header fileWladimir J. van der Laan2014-06-169-13/+21
|/ / / | | | | | | | | | | | | 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.
* | | Merge pull request #4326Wladimir J. van der Laan2014-06-168-33/+14
|\ \ \ | | | | | | | | | | | | f5ae6c9 add NetworkIDString() to chainparams (Philip Kaufmann)
| * | | add NetworkIDString() to chainparamsPhilip Kaufmann2014-06-128-33/+14
| | | | | | | | | | | | | | | | | | | | | | | | - returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
* | | | Merge pull request #4337Wladimir J. van der Laan2014-06-161-5/+4
|\ \ \ \ | |_|/ / |/| | | | | | | 88df548 base58: add paranoid return value checks (Jeff Garzik)
| * | | base58: add paranoid return value checksJeff Garzik2014-06-111-5/+4
| | | |
* | | | Merge pull request #4232Wladimir J. van der Laan2014-06-155-196/+160
|\ \ \ \ | | | | | | | | | | | | | | | b750cf1 Remove cli functionality from bitcoind (Wladimir J. van der Laan)