sinetek
ff7fe8b19e
Fix for correctly including climits on certain platforms {DragonFlyBSD}.
10 years ago
jtimon
691161d419
Consensus: Create consensus/consensus.h with some constants
10 years ago
Jorge Timón
bd006110fb
Consensus: Refactor: Introduce Consensus::Params class
10 years ago
Jorge Timón
26c16d9de9
Includes: Refactor: Move CValidationInterface and CMainSignals out of main
10 years ago
Cory Fields
a354a59f1f
wallet: move crypter to wallet
10 years ago
Cory Fields
d7d187e8a4
allocators: split allocators and pagelocker
...
Pagelocker is only needed for secure (usually wallet) operations, so don't make
the zero-after-free allocator depend on it.
10 years ago
Jonas Schnelli
50c72f23ad
[Move Only] Move wallet related things to src/wallet/
...
could once be renamed from /src/wallet to /src/legacywallet.
10 years ago
Wladimir J. van der Laan
4414f5ffe1
build: Endian compatibility
...
- Detect endian instead of stopping configure on big-endian
- Add `byteswap.h` and `endian.h` header for compatibility with
Windows and other operating systems that don't come with them
- Update `crypto/common.h` functions to use compat
endian header
10 years ago
Cory Fields
16a58a8644
keys: remove libsecp256k1 verification until it's actually supported
...
This was added a while ago for testing purposes, but was never intended to be
used. Remove it until upstream libsecp256k1 decides that verification is
stable/ready.
10 years ago
Cory Fields
aa3673064c
build: remove libstdc++ backwards-compat
...
Backwards-compatibility for libstdc++ is not limited to straightforward abi
changes. Symbol visibility also needs to be taken into consideration, and
that really can't be addressed simply.
Instead, just static-link libstdc++ for backwards-compat.
10 years ago
Cory Fields
1630219d90
openssl: abstract out OPENSSL_cleanse
...
This makes it easier for us to replace it if desired, since it's now only in
one spot. Also, it avoids the openssl include from allocators.h, which
essentially forced openssl to be included from every compilation unit.
10 years ago
randy-waterhouse
72ac792b4a
Format build flags in src/Makefile.am.
10 years ago
Cory Fields
fe925e221f
Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code
10 years ago
Pieter Wuille
7268f7b120
Move arith_uint256 out of consensus and util
10 years ago
Pieter Wuille
1a9576de9d
Use libsecp256k1's RFC6979 implementation
10 years ago
Wladimir J. van der Laan
bfc6070342
uint256->arith_uint256 blob256->uint256
...
Introduce new opaque implementation of `uint256`, move old
"arithmetic" implementation to `arith_uint256.
10 years ago
Matt Corallo
afd4b94b6d
Move CMerkleBlock and CPartialMerkleTree to their own file
10 years ago
Luke Dashjr
d227011184
MOVEONLY: core/ -> primitives/
10 years ago
Pavel Janík
494f6e7d35
Check for strnlen and provide it if it is not found.
10 years ago
Pieter Wuille
3060e36098
Add the RFC6979 PRNG
10 years ago
Pieter Wuille
a8f5087e53
Add HMAC-SHA256
10 years ago
Pieter Wuille
36fa4a78ac
Split up crypto/sha2
10 years ago
Cory Fields
cdd36c6c5c
build: add --with-libs so that libs are optional
10 years ago
Cory Fields
2cf5f16c25
build: add libbitcoinconsensus files and hook up the lib build
...
Credit BlueMatt for libbitcoinsonsensus.h/cpp
10 years ago
Cory Fields
e0077de5de
build: make a distinction between static app ldflags and static lib ldflags
...
For windows builds, exe's are always static, but libs should still conform to
--enabled-shared and --enable-static.
10 years ago
Cory Fields
4300876c81
build: secp256k1 as a subdir, since it's required
10 years ago
Pieter Wuille
07a9901703
Always build and link libsecp256k1
10 years ago
Cory Fields
ab9edbd6b6
script: create sane error return codes for script validation and remove logging
...
Attempt to codify the possible error statuses associated with script
validation. script/types.h has been created with the expectation that it will
be part of the public lib interface. The other flag enums will be moved here in
a future commit.
Logging has also been removed in order to drop the dependency on core.h. It can
be re-added to bitcoind as-needed. This makes script verification finally free
of application state and boost!
10 years ago
Jeff Garzik
e2655e0ab1
Add unauthenticated HTTP REST interface to public blockchain data.
10 years ago
Pieter Wuille
bfe029feeb
Reduce bitcoin-tx dependencies
10 years ago
Pieter Wuille
93a6022400
Reduce bitcoin-cli dependencies
10 years ago
Cory Fields
d2e74c55bd
boost: moveonly: split CPubKey and friends to new files
10 years ago
Cory Fields
900078aeb4
boost: moveonly: create eccryptoverify.h|cpp and move helper functions there
...
Eventually (after 0.10) these files will hold the logic for crypto
verification routines, and CKey/CPubKey will call into them.
10 years ago
Cory Fields
71697f97d3
Separate protocol versioning from clientversion
10 years ago
Cory Fields
50f71cd52e
boost: code movement only: split CECKey into separate files
10 years ago
jtimon
99f41b9cf7
MOVEONLY: core.o -> core/block.o
10 years ago
jtimon
561e9e9de9
MOVEONLY: Move script/compressor out of script and put CTxOutCompressor (from
...
core) with it
10 years ago
jtimon
999a2ab41e
MOVEONLY: separate CTxUndo out of core
10 years ago
jtimon
4a3587d8db
MOVEONLY: Separate CTransaction and dependencies from core
10 years ago
jtimon
eda3733091
MOVEONLY: Move CFeeRate and Amount constants to amount.o
10 years ago
jtimon
071473c55c
Build util and common before building server
10 years ago
Cory Fields
fa7361907a
boost: split stream classes out of serialize.h
...
serialization now has no dependencies.
10 years ago
Cory Fields
28d412ff20
build: quit abusing LIBS for Windows builds.
...
Similar to the INCLUDES changes in 6b099402b4
, split out LIBS into individual
entries for more fine-grained control.
Also add MINIUPNPC_LIBS which was missing before, and hook it up to
executables.
10 years ago
Pieter Wuille
5c1e798a8e
Make signature cache optional
10 years ago
Mark Friedenbach
a372168e77
Use a typedef for monetary values
10 years ago
Philip Kaufmann
611116d4e3
header include cleanup
...
- ensures alphabetical ordering for includes etc. in source file headers
10 years ago
Philip Kaufmann
2d79bba36b
cleanup new script files (no code changes)
...
- add missing header end comments
- ensure alphabetical ordering
- update copyright year and license
10 years ago
jtimon
c1e433b717
Rename scriptutils.o to wallet_ismine.o
10 years ago
jtimon
0d2fa14a34
Move scriptutils.o to wallet
10 years ago
jtimon
e8b5f0d549
Move CBlockIndex, CChain and related code out of main
10 years ago