aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* s/DOGE/DIS/gTomo Ueda2021-09-021-33/+33
|
* really s/doge/dis/g this timeTomo Ueda2021-09-021-70/+70
|
* Initial back end framework to separate wallet and relay fees + dust.Michi Lumin2021-07-301-0/+2
|
* Rename binaries to match DogecoinRoss Nicoll2019-03-251-89/+89
|
* Re-introduce alert functionality (#1470)Ross Nicoll2018-09-191-0/+3
| | | Re-introduce alert functionality removed from Bitcoin upstream
* Add PureHeader sources to libdogecoinconsensuslangerhans2018-09-191-0/+2
|
* Merge AuxPoW support from NamecoreRoss Nicoll2018-09-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes are as below: Wrap CBlockHeader::nVersion into a new class (CBlockVersion). This allows to take care of interpreting the field into a base version, auxpow flag and the chain ID. Update getauxblock.py for new 'generate' RPC call. Add 'auxpow' to block JSON. Accept auxpow as PoW verification. Add unit tests for auxpow verification. Add check for memory-layout of CBlockVersion. Weaken auxpow chain ID checks for the testnet. Allow Params() to overrule when to check the auxpow chain ID and for legacy blocks. Use this to disable the checks on testnet. Introduce CPureBlockHeader. Split the block header part that is used by auxpow and the "real" block header (that uses auxpow) to resolve the cyclic dependency between the two. Differentiate between uint256 and arith_uint256. This change was done upstream, modify the auxpow code. Add missing lock in auxpow_tests. Fix REST header check for auxpow headers. Those can be longer, thus take that into account. Also perform the check actually on an auxpow header. Correctly set the coinbase for getauxblock results. Call IncrementExtraNonce in getauxblock so that the coinbase is actually initialised with the stuff it should be. (BIP30 block height and COINBASE_FLAGS.) Implement getauxblock plus regression test. Turn auxpow test into FIXTURE test. This allows using of the Params() calls. Move CMerkleTx code to auxpow.cpp. Otherwise we get linker errors when building without wallet. Fix rebase with BIP66. Update the code to handle BIP66's nVersion=3. Enforce that auxpow parent blocks have no auxpow block version. This is for compatibility with namecoind. See also https://github.com/namecoin/namecoin/pull/199. Move auxpow-related parameters to Consensus::Params.
* Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009) ↵Warren Togami2018-09-191-0/+2
| | | | Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher
* Add Dogecoin block subsidy calculations.Ross Nicoll2018-09-191-0/+2
|
* build: fix bitcoin-config.h regeneration after touching build filesCory Fields2017-05-311-0/+8
| | | | | | | | | This was a long-standing and annoying problem. If autogen.sh was not manually run after touching configure.ac, bitcoin-config.h would not be properly regenerated. This causes very subtle problems when configure appears to enable a new value, but it does not end up reflected in the build.
* build: add --enable-werror optionCory Fields2017-02-231-1/+1
| | | | | | | This turns some compiler warnings into errors. Useful for c-i. Github-Pull: #9789 Rebased-From: 205830a37b7ffa4f8fa306e5c9eafcee3777fa68
* Merge #9387: [Refactor] RAII of libevent stuff using unique ptrs with deletersWladimir J. van der Laan2017-01-051-0/+1
|\ | | | | | | | | | | | | 05a55a6 Added EVENT_CFLAGS to test makefile to explicitly include libevent headers. (Karl-Johan Alm) 280a559 Added some simple tests for the RAII-style events. (Karl-Johan Alm) 7f7f102 Switched bitcoin-cli.cpp to use RAII unique pointers with deleters. (Karl-Johan Alm) e5534d2 Added std::unique_ptr<> wrappers with deleters for libevent modules. (Karl-Johan Alm)
| * Added std::unique_ptr<> wrappers with deleters for libevent modules.Karl-Johan Alm2016-12-201-0/+1
| |
* | net: add CThreadInterrupt and InterruptibleSleepCory Fields2017-01-031-0/+2
| |
* | build: Include cuckoocache header in MakefileMarcoFalke2016-12-211-0/+1
|/
* Merge #9236: Fix races for strMiscWarning and fLargeWork*Found, make QT ↵Wladimir J. van der Laan2016-12-191-0/+2
|\ | | | | | | | | | | | | | | runawayException use GetWarnings 749be01 Move GetWarnings() into its own file. (Gregory Maxwell) e3ba0ef Eliminate data races for strMiscWarning and fLargeWork*Found. (Gregory Maxwell) c63198f Make QT runawayException call GetWarnings instead of directly access strMiscWarning. (Gregory Maxwell)
| * Move GetWarnings() into its own file.Gregory Maxwell2016-12-031-0/+2
| |
* | Simple fuzzing frameworkPatrick Strateman2016-12-151-0/+1
|/
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-2/+2
|
* Move network-msg-processing code out of main to its own fileMatt Corallo2016-12-021-0/+2
|
* net: add CVectorWriter and CNetMsgMakerCory Fields2016-11-251-0/+1
| | | | | | | CVectorWriter is useful for overwriting or appending an existing byte vector. CNetMsgMaker is a shortcut for creating messages on-the-fly which are suitable for pushing to CConnman.
* Merge #8753: Locked memory managerWladimir J. van der Laan2016-11-021-2/+2
|\ | | | | | | | | | | | | | | 444c673 bench: Add benchmark for lockedpool allocation/deallocation (Wladimir J. van der Laan) 6567999 rpc: Add `getmemoryinfo` call (Wladimir J. van der Laan) 4536148 support: Add LockedPool (Wladimir J. van der Laan) f4d1fc2 wallet: Get rid of LockObject and UnlockObject calls in key.h (Wladimir J. van der Laan) 999e4c9 wallet: Change CCrypter to use vectors with secure allocator (Wladimir J. van der Laan)
| * support: Add LockedPoolWladimir J. van der Laan2016-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a pool for locked memory chunks, replacing LockedPageManager. This is something I've been wanting to do for a long time. The current approach of locking objects where they happen to be on the stack or heap in-place causes a lot of mlock/munlock system call overhead, slowing down any handling of keys. Also locked memory is a limited resource on many operating systems (and using a lot of it bogs down the system), so the previous approach of locking every page that may contain any key information (but also other information) is wasteful.
* | moveonly: move `coincontrol` to `src/wallet`Wladimir J. van der Laan2016-10-211-1/+1
|/
* Add MIT license to MakefilesLuke Dashjr2016-09-211-0/+4
|
* net: move CBanDB and CAddrDB out of net.h/cppCory Fields2016-09-081-0/+2
| | | | This will eventually solve a circular dependency
* net: fixup nitsCory Fields2016-08-121-1/+1
|
* net: move CNetAddr/CService/CSubNet out of netbaseCory Fields2016-07-311-0/+2
|
* Add partial-block block encodings APIMatt Corallo2016-06-191-0/+2
|
* Merge #8133: build: Finish up out-of-tree changesWladimir J. van der Laan2016-06-101-4/+4
|\ | | | | | | | | | | | | | | | | | | d1a3d57 bulid: fix "make translate" when out-of-tree (Cory Fields) 340012d build: add temporary fix for "bad magic number" error in out-of-tree builds (Cory Fields) 142ffc7 travis: use out-of-tree build (Cory Fields) 92e37a3 build: fix out-of-tree 'make deploy' for osx (Cory Fields) ab95d5d build: a few ugly hacks to get the rpc tests working out-of-tree (Cory Fields) fc4ad0c build: more out-of-tree fixups (Cory Fields) 0cb0f26 build: out-of-tree fixups (Cory Fields)
| * build: more out-of-tree fixupsCory Fields2016-06-011-0/+1
| | | | | | | | | | | | - clear the __pycache__ during 'make clean' - Copy the qrc locale file to a temp location and remove it when finished (rcc expects everything to be in the same path)
| * build: out-of-tree fixupsCory Fields2016-06-011-4/+3
| | | | | | | | Don't glob the leveldb for dist. That means we need to enumerate the headers.
* | Merge #7997: replace mapNextTx with slimmer setSpendsPieter Wuille2016-06-031-0/+1
|\ \ | |/ |/| | | 9805f4a mapNextTx: use pointer as key, simplify value (Kaz Wesley)
| * mapNextTx: use pointer as key, simplify valueKaz Wesley2016-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Saves about 10% of application memory usage once the mempool warms up. Since the mempool is DynamicUsage-regulated, this will translate to a larger mempool in the same amount of space. Map value type: eliminate the vin index; no users of the map need to know which input of the transaction is spending the prevout. Map key type: replace the COutPoint with a pointer to a COutPoint. A COutPoint is 36 bytes, but each COutPoint is accessible from the same map entry's value. A trivial DereferencingComparator functor allows indirect map keys, but the resulting syntax is misleading: `map.find(&outpoint)`. Implement an indirectmap that acts as a wrapper to a map that uses a DereferencingComparator, supporting a syntax that accurately reflect the container's semantics: inserts and iterators use pointers since they store pointers and need them to remain constant and dereferenceable, but lookup functions take const references.
* | Merge #7689: Replace OpenSSL AES with ctaes-based versionPieter Wuille2016-06-011-33/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 723779c build: Enumerate ctaes rather than globbing (Cory Fields) 34ed64a crypter: add tests for crypter (Cory Fields) 0a36b9a crypter: shuffle Makefile so that crypto can be used by the wallet (Cory Fields) 976f9ec crypter: add a BytesToKey clone to replace the use of openssl (Cory Fields) 9049cde crypter: hook up the new aes cbc classes (Cory Fields) fb96831 crypter: constify encrypt/decrypt (Cory Fields) 1c391a5 crypter: fix the stored initialization vector size (Cory Fields) daa3841 crypto: add aes cbc tests (Cory Fields) 27a212d crypto: add AES 128/256 CBC classes (Cory Fields) 6bec172 Add ctaes-based constant time AES implementation (Pieter Wuille) a545127 Squashed 'src/crypto/ctaes/' content from commit cd3c3ac (Pieter Wuille)
| * | build: Enumerate ctaes rather than globbingCory Fields2016-05-271-1/+7
| | |
| * | crypter: shuffle Makefile so that crypto can be used by the walletCory Fields2016-05-131-32/+23
| | | | | | | | | | | | | | | | | | | | | Wallet must come before crypto, otherwise linking fails on some platforms. Includes a tangentially-related general cleanup rather than making the Makefile sloppier.
| * | Add ctaes-based constant time AES implementationPieter Wuille2016-05-131-1/+3
| |/
* / Always require OS randomness when generating secret keysPieter Wuille2016-05-291-1/+2
|/
* leveldb: integrate leveldb into our buildsystemCory Fields2016-04-191-16/+6
| | | | | | | | | | leveldb's buildsystem causes us a few problems: - breaks out-of-tree builds - forces flags used for some tools - limits cross builds Rather than continuing to add wrappers around it, simply integrate it into our build.
* Merge #7787: [Moveonly] Create ui_interface.cppWladimir J. van der Laan2016-04-191-0/+1
|\ | | | | | | | | fa10ce6 Move ui_interface.cpp to libbitcoin_server_a_SOURCES (MarcoFalke) fabbf80 [ui] Move InitError, InitWarning, AmountErrMsg (MarcoFalke)
| * Move ui_interface.cpp to libbitcoin_server_a_SOURCESMarcoFalke2016-04-191-1/+1
| | | | | | | | It is only needed by bitcoind and bitcoin-qt
| * [ui] Move InitError, InitWarning, AmountErrMsgMarcoFalke2016-04-021-0/+1
| |
* | wallet_ismine.h → script/ismine.hWladimir J. van der Laan2016-04-181-2/+2
| | | | | | | | | | | | Removes conditional dependency of `src/test` on wallet. Makes multisig and P2SH tests complete without wallet built-in.
* | Use relative paths instead of absolute pathsPavel Janík2016-04-041-1/+1
|/
* rpc: Register calls where they are definedWladimir J. van der Laan2016-03-311-0/+1
| | | | | | | | | | | | Split out methods to every module, apart from 'help' and 'stop' which are implemented in rpcserver.cpp itself. - This makes it easier to add or remove RPC commands - no longer everything that includes rpcserver.h has to be rebuilt when there's a change there. - Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions. - Removes most of the bitcoin-specific code from rpcserver.cpp and .h. Continues #7307 for the non-wallet.
* Remove p2p alert handlingBtcDrak2016-03-181-2/+0
|
* BIP9 ImplementationPieter Wuille2016-03-151-0/+2
| | | | | Inspired by former implementations by Eric Lombrozo and Rusty Russell, and based on code by Jorge Timon.
* make clean should clean .a filesPavel Janík2016-02-101-0/+1
|
* Merge #7349: Build against system UniValue when availableWladimir J. van der Laan2016-02-041-5/+10
|\ | | | | | | | | | | | | | | | | | | 42407ed build-unix: Update UniValue build conditions (Luke Dashjr) cdcad9f LDADD dependency order shuffling (Luke Dashjr) 62f7f2e Bugfix: Always include univalue in DIST_SUBDIRS (Luke Dashjr) 2356515 Change default configure option --with-system-univalue to "no" (Luke Dashjr) 5d3b29b doc: Add UniValue to build instructions (Luke Dashjr) ab22705 Build against system UniValue when available (Luke Dashjr) 2adf7e2 Bugfix: The var is LIBUNIVALUE,not LIBBITCOIN_UNIVALUE (Luke Dashjr)