Age | Commit message (Collapse) | Author |
|
b3c912d [Qt] Change Coin control labels and tooltips because of non-rounding fees (Cozz Lovan)
|
|
`&vch[vch.size()]` and even `&vch[0]` on vectors can cause assertion
errors with VC in debug mode. This is the problem mentioned in #4239.
The deeper problem with this is that we rely on undefined behavior.
- Add `begin_ptr` and `end_ptr` functions that get the beginning and end
pointer of vector in a reliable way that copes with empty vectors and
doesn't reference outside the vector
(see https://stackoverflow.com/questions/1339470/how-to-get-the-address-of-the-stdvector-buffer-start-most-elegantly/1339767#1339767).
- Add a convenience constructor to CFlatData that wraps a vector.
I added `begin_ptr` and `end_ptr` as separate functions as I imagine
they will be useful in more places.
|
|
3dc1464 add missing vhListenSocket.clear(); to CNetCleanup() (Philip Kaufmann)
2831a03 remove unused CNode::Cleanup() (Philip Kaufmann)
|
|
b612bde remove unneded class CNodeCombinedStats; from rpcconsole.cpp (Philip Kaufmann)
|
|
- also 2 small style fixes
|
|
d38da59 Code simplifications after CTransaction::GetHash() caching (Pieter Wuille)
4949004 Add CMutableTransaction and make CTransaction immutable. (Pieter Wuille)
|
|
806fd19 Allocate receive buffers in on the fly (Pieter Wuille)
|
|
|
|
|
|
|
|
In addition, introduce a cached hash inside CTransaction, to prevent
recalculating it over and over again.
|
|
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)
|
|
small cleanup in src/compat .h and .cpp
|
|
|
|
This lib has no dependencies on other bitcoin functionality. Attempting to
use bitcoin headers will result in a failure to compile.
|
|
Don't depend on hard-coded platform lists
|
|
This allows us to include its path without making other header includes valid.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This also moves the HMAC-SHA512 implementation to sha2.cpp.
|
|
38405ac Add comment regarding experimental-use service bits (Peter Todd)
99ddc6c Add nLocalServices info to RPC getinfo (Peter Todd)
|
|
As per mailing list discussion.
|
|
Also show full 64 bits of services. Previously service bits >32 that
were advertised just didn't show up at all.
|
|
|
|
- add license header
- fix include guards
- fix indentation
|
|
It's required when called from WalletModel
|
|
7a9e0b6 Move checkpoint based heuristic checks to AcceptBlockHeader (Pieter Wuille)
|
|
|
|
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.
|
|
6763018 [Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
|
|
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)
|
|
1569353 Add `-stopafterblockimport` option (Wladimir J. van der Laan)
|
|
|
|
|
|
- also rename hmm to mode, to be consistent between .h and .cpp
|
|
|
|
These are meant to test our back-compat stubs, but they are enabled for all
builds for the sake of consistency.
|
|
|
|
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.
|
|
f5ae6c9 add NetworkIDString() to chainparams (Philip Kaufmann)
|
|
88df548 base58: add paranoid return value checks (Jeff Garzik)
|
|
Stop after importing blocks. This can be useful for development
and trouble shooting.
|
|
- collides with In:/Out: used for displaying number of
connections when translating
|
|
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.
|