aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
AgeCommit message (Collapse)Author
2014-08-19Merge branch '2014_univalue_warn' into merge-PR4715Jeff Garzik
Merge pull request #4715
2014-08-18build: add option for reducing exports (v2)Cory Fields
This was committed previously as 4975ae172 and reverted, because the flags were applied even if the checks didn't pass. This is the same commit, fixed up to actually disable the functionality when necessary. Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
2014-08-18Revert "build: add option for reducing exports"Wladimir J. van der Laan
Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
2014-08-18Univalue: Do not build JSON escape list at runtimeJeff Garzik
No need to waste startup time building something that can be done at compile time. This also resolves a clang++ warning originally reported in #4714, univalue/univalue_write.cpp:33:12: warning: array subscript is of type 'char escapes['"'] = "\\""; ^~~~ etc.
2014-08-17build: Add --with-utils (bitcoin-cli and bitcoin-tx, default=yes).randy-waterhouse
Help string consistency tweaks. Target sanity check fix.
2014-08-17Merge pull request #4663Wladimir J. van der Laan
4975ae1 build: add option for reducing exports (Cory Fields)
2014-08-16build : fix CPPFLAGS for libbitcoin_clirandy-waterhouse
2014-08-15build: add option for reducing exportsCory Fields
Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
2014-08-15build: fix automake warnings about the use of INCLUDESCory Fields
While we're at it, reduce the use of LIBS as well. This makes dependencies explicit. Fixes building with (the not-yet-merged) libsecp256k1 as well. Github-Pull: #4689 Rebased-By: Wladimir J. van der laan <laanwj@gmail.com> Rebased-From: 909b347 c0e5dda
2014-08-03Add built-in seeds for .onionWladimir J. van der Laan
This makes it possible for a node with `-onlynet=tor` to bootstrap itself. It also adds the base infrastructure for adding IPv6 seed nodes. Also represent IPv4 fixed seed addresses in 16-byte format.
2014-07-29Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik
This is a simple utility that provides command line manipulation of a hex-encoded TX. The utility takes a hex string on the command line as input, performs zero or more mutations, and outputs a hex string to standard output. This utility is also an intentional exercise of the "bitcoin library" concept. It is designed to require minimal libraries, and works entirely without need for any RPC or P2P communication. See "bitcoin-tx --help" for command and options summary.
2014-07-29Consolidate CTransaction hex encode/decode into core_io.h, core_{read,write}.cppJeff Garzik
2014-07-17build: silence false errors during make cleanCory Fields
2014-07-09move rand functions from util to new random.h/.cppPhilip Kaufmann
2014-07-08build: fix win32 static linking after libtool mergeCory Fields
Libtool eats the -static flag rather than passing it along to the compiler. To get the same effect, -all-static is used instead.
2014-07-01secp256k1: Add build-side changes for libsecp256k1Cory Fields
Note: This is added to our existing automake targets rather than as a libtool-style lib. The switch to libtool-style targets can come later if it proves to not add any complications.
2014-06-28Move non-trivial uint256.h methods to uint256.cppPieter Wuille
2014-06-25Move coins.cpp and keystore.cpp to libbitcoin_commonWladimir J. van der Laan
Prepare for introduction of `bitcoin-tx` tool.
2014-06-25Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan
This commit removes all the unnecessary dependencies (key, core, netbase, sync, ...) from bitcoin-cli. To do this it shards the chain parameters into BaseParams, which contains just the RPC port and data directory (as used by utils and bitcoin-cli) and Params, with the rest.
2014-06-25Move network-time related functions to timedata.cpp/hWladimir J. van der Laan
The network time-offset-mangement functions from util.cpp are moved to timedata.(cpp|h). This breaks the dependency of util on netbase.
2014-06-23Refactor proof of work related functions out of mainjtimon
2014-06-23build: fix build weirdness after 54372482.Cory Fields
bitcoin-config.h moved, but the old file is likely to still exist when reconfiguring or switching branches. This would've caused files to not rebuild correctly, and other strange problems. Make the path explicit so that the old one cannot be found. Core libs use config/bitcoin-config.h. Libs (like crypto) which don't want access to bitcoin's headers continue to use -Iconfig and #include bitcoin-config.h.
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-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-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-21Add a built-in SHA256/SHA512 implementation.Pieter Wuille
This also moves the HMAC-SHA512 implementation to sha2.cpp.
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-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-05build: fix version dependencyCory Fields
2014-06-05build: quit abusing AM_CPPFLAGSCory Fields
Now that the build is non-recursive, adding to AM_CPPFLAGS means adding to _all_ cppflags. Logical groups of includes have been added instead, and are used individually by various targets.
2014-06-05build: avoid the use of top_ and abs_ dir pathsCory Fields
Using them has the side effect of confusing the dependency-tracking logic.
2014-06-05build: Tidy up file generation outputCory Fields
- Some file generation was still noisy, silence it. - AM_V_GEN is used rather than @ so that 'make V=1' works as intended - Cut down on file copies and moves when using sed, use pipes instead - Avoid the use of top_ and abs_ dirs where possible
2014-06-05build: nuke Makefile.include from orbitCory Fields
Rules and targets no longer need to be shared between subdirectories, so this is no longer needed.
2014-06-05build: Switch to non-recursive makeCory Fields
Build logic moves from individual Makefile.am's to include files, which the main src/Makefile.am includes. This avoids having to manage a gigantic single Makefile. TODO: Move the rules from the old Makefile.include to where they actually belong and nuke the old file.
2014-05-09Move bignum.h to test/Pieter Wuille
2014-04-22Merge pull request #4042Wladimir J. van der Laan
05c20a5 build: add symbol for upcoming gcc 4.9's libstdc++ (Cory Fields) 49a3352 gitian-linux: --enable-glibc-back-compat (Warren Togami) d5aab70 build: add an option for enabling glibc back-compat (Cory Fields) ffc6b67 build: add glibc/libstdc++ back-compat stubs (Cory Fields)
2014-04-22Replace DecodeBase58/EncodeBase58 with direct implementation.Pieter Wuille
This removes the bignum/OpenSSL dependency. The base58 transformation code is also moved to a separate .cpp file.
2014-04-10build: add an option for enabling glibc back-compatCory Fields
Using "./configure --enable-glibc-back-compat" will attempt to be compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4.
2014-03-26Remove duplicate from src/makefile.amWladimir J. van der Laan
chainparams.cpp should not be in both libbitcoin_common and libbitcoin_server. Also re-sort the sources list.
2014-01-23Typesafe strprintf/error/LogPrint functionsWladimir J. van der Laan
Switch to tinyformat-based formatting. Tinyformat is a typesafe drop-in replacement for C99 printf functions: https://github.com/c42f/tinyformat
2014-01-18configure: Internal changes to make building bitcoind and bitcoin-cli optionalLuke Dashjr
2014-01-18Cleanup LevelDB library dependenciesLuke Dashjr
2014-01-11makefile.am: split long lines into one file per lineWladimir J. van der Laan
This makes it easier to read diffs. Cosmetic change to build system only.
2014-01-07build: Correctly put boost at end of LDADDWladimir J. van der Laan
This fixes linking issues when statically linking (thanks @imwuzhh).
2013-12-13add new RPC implementation file `rpcmisc.cpp`Wladimir J. van der Laan
2013-12-09Allow mining RPCs with --disable-walletWladimir J. van der Laan
The following mining-related RPC calls don't use the wallet: - getnetworkhashps - getmininginfo - getblocktemplate - submitblock Enable them when compiling with --disable-wallet.
2013-12-08Merge pull request #3322Wladimir J. van der Laan
26d1b65 src/Makefile.am: Simplify clean of leveldb (Josh Triplett) a26a367 configure.ac: Check for miniupnpc headers, not just -lminiupnpc (Josh Triplett) 82ccb05 autogen.sh: Stop passing --verbose to autoreconf (Josh Triplett) e12dafd autogen.sh: Use long options to autoreconf, for self-documentation (Josh Triplett) 19b9add autogen.sh: Support running from outside the source directory (Josh Triplett) 97d285a autogen.sh: Use set -e to fail if any command fails (Josh Triplett) f80b723 autogen.sh: Add a /bin/sh shebang. (Josh Triplett)