aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Fix build date for from-tarball buildsPieter Wuille2013-06-291-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #2793 from Diapolo/translationsPieter Wuille2013-06-262-92/+123
|\ \ \ \ \ | | | | | | | | | | | | translation update 2013-06-25
| * | | | | translation update 2013-06-25Philip Kaufmann2013-06-252-92/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - updates bitcoinstrings.cpp and bitcoin_en.ts so new translations can be made on Transifex
* | | | | | Merge pull request #2174 from CodeShark/sync_macro_clarificationPieter Wuille2013-06-261-0/+42
|\ \ \ \ \ \ | | | | | | | | | | | | | | Added comments to sync.h to make it easier to understand the macros
| * | | | | | Added comments to sync.h to make it easier to understand the macrosEric Lombrozo2013-06-251-0/+42
| |/ / / / /
* | | | | | Merge pull request #2209 from CodeShark/WalletRegistrationLocksPieter Wuille2013-06-253-1/+17
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Wallet registration locks in main.cpp + UnregisterAllWallet() function
| * | | | | Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in ↵Eric Lombrozo2013-06-242-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | init.cpp
| * | | | | Added locks on the setpwalletRegistered functions in main.cpp and added an ↵Eric Lombrozo2013-06-241-0/+14
| |/ / / / | | | | | | | | | | | | | | | UnregisterAllWallets function.
* | | | | Merge pull request #2792 from sipa/coreimplJeff Garzik2013-06-253-280/+316
|\ \ \ \ \ | |_|_|_|/ |/| | | | Move core implementations to core.cpp
| * | | | Move core implementations to core.cppPieter Wuille2013-06-253-280/+316
| |/ / /
* | | | Truncate oversize 'tx' messages before relaying/storing.Peter Todd2013-06-251-0/+10
| | | | | | | | | | | | | | | | Fixes a memory exhaustion attack on low-memory peers.
* | | | Merge pull request #2679 from vhf/patch-1Gavin Andresen2013-06-253-4/+19
|\ \ \ \ | |/ / / |/| | | Too many bitcoins allowed as amount. (Issue #2401)
| * | | Too many bitcoins allowed in amount. (#2401)vhf / victor felder2013-06-023-4/+19
| | | | | | | | | | | | | | | | | | | | Using magic number doesn't seem right. Could we factor this out, together with https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L96 ? And what about BitcoinUnits::parse() as well ?
* | | | main.h->core.h include dependency improvements.Jeff Garzik2013-06-244-4/+3
| | | |
* | | | Merge pull request #2789 from sipa/overdumpJeff Garzik2013-06-242-3/+6
|\ \ \ \ | | | | | | | | | | Dump addresses every 15 minutes instead of 10 seconds
| * | | | Dump addresses every 15 minutes instead of 10 secondsPieter Wuille2013-06-242-3/+6
| | | | |
* | | | | Moved CBlock from main.h to core.hEric Lombrozo2013-06-232-122/+123
| | | | |
* | | | | Pulled AcceptBlock out of CBlock.Eric Lombrozo2013-06-232-21/+20
| | | | |
* | | | | Pulled CheckBlock out of CBlock.Eric Lombrozo2013-06-233-21/+21
| | | | |
* | | | | Pulled AddToBlockIndex out of CBlock.Eric Lombrozo2013-06-232-11/+10
| | | | |
* | | | | Pulled ConnectBlock out of CBlock.Eric Lombrozo2013-06-232-22/+23
| | | | |
* | | | | Pulled DisconnectBlock out of CBlock.Eric Lombrozo2013-06-232-12/+16
| | | | |
* | | | | Moved ReadBlockFromDisk implementation to main.cppEric Lombrozo2013-06-232-24/+25
| | | | |
* | | | | Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in ↵Eric Lombrozo2013-06-235-48/+42
| | | | | | | | | | | | | | | | | | | | main.h
* | | | | Moved WriteBlockToDisk implementation from main.h to main.cppEric Lombrozo2013-06-232-25/+27
| | | | |
* | | | | Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk ↵Eric Lombrozo2013-06-232-27/+28
|/ / / / | | | | | | | | | | | | in main.h
* | | | Merge pull request #2783 from sipa/newtxindexPieter Wuille2013-06-231-6/+6
|\ \ \ \ | | | | | | | | | | Initialize database before checking changed txindex
| * | | | Initialize database before checking changed txindexPieter Wuille2013-06-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case no database exists yet, and -txindex(=1) is passed, we currently first check whether fTxIndex differs from -txindex (and ask the user to reindex in that case), and only afterwards initialize the database. By swapping these around (the initialization is a no-op in case the database already exists), we allow it to be born in txindex mode, without warning. That also means we don't need to check -reindex anymore, as the wiping/reinit of the databases happens before checking.
* | | | | Merge pull request #2592 from sipa/dumpwalletPieter Wuille2013-06-238-18/+295
|\ \ \ \ \ | | | | | | | | | | | | Add dumpwallet and importwallet RPC commands
| * | | | | Add dumpwallet and importwallet RPCsPieter Wuille2013-06-223-16/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dumpwallet: produce a dump of all keys in a wallet, in a format compatible with Bitcoin Wallet for Android and Multibit. importwallet: import such a dump
| * | | | | Add GetKeyBirthTimes to walletPieter Wuille2013-06-223-2/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute safe lower bounds on the birth times of all wallet keys. For pool keys or keys with metadata, the actually stored birth time is used. For all others, the birth times are inferred from the wallet transactions.
| * | | | | Add ExtractAffectedKeys to scriptPieter Wuille2013-06-222-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function finds all keys affected by a particular output script, supporting everything ExtractDestinations supports (pay-to-pubkey, pay-to-pubkeyhash, multisig) and recurses into subscripts (P2SH).
* | | | | | fix makefiles and init.cpp after chainparams mergePhilip Kaufmann2013-06-234-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing chainparams.o to some makefiles - remove a double-include of chainparams.h in init.cpp
* | | | | | Merge pull request #2778 from jgarzik/rpc-verifydbJeff Garzik2013-06-226-6/+26
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | RPC: add 'verifychain' to verify chain database at runtime
| * | | | | RPC: add 'verifychain', to verify chain database at runtimeJeff Garzik2013-06-194-1/+21
| | | | | |
| * | | | | Pass check level, check depth to VerifyDB()Jeff Garzik2013-06-193-5/+5
| | | | | |
* | | | | | Merge pull request #2660 from TheBlueMatt/gmfrefactorPieter Wuille2013-06-223-29/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | Refactor fee rules to make them actually readable.
| * | | | | | Refactor fee rules to make them actually readable.Matt Corallo2013-06-143-29/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This (nearly) doesn't change fee rules at all: * To make it into the fee transaction area, the dPriority comparison changed from < to <= * We now just ignore transactions > MAX_BLOCK_SIZE/4 instead of doing some calculations to require increasingly large fees as size increases.
* | | | | | | Merge pull request #2765 from vobornik/masterPieter Wuille2013-06-221-0/+6
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | recognize Debian kFreeBSD port by build_detect_platform script
| * | | | | | Added GNU/kFreeBSD kernel name (TARGET_OS)Vaclav Vobornik2013-06-121-0/+6
| |/ / / / / | | | | | | | | | | | | uname -s returns "GNU/kFreeBSD" on Debian GNU/kFreeBSD port. See http://www.debian.org/ports/kfreebsd-gnu/
* | | | | | Merge pull request #2632 from mikehearn/chainparamsPieter Wuille2013-06-2225-462/+636
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Refactor chain-specific tweaks into a CChainParams class and introduce a regtest mode
| * | | | | Introduce a CChainParameters singleton class and regtest mode.Mike Hearn2013-06-1925-375/+538
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new class is accessed via the Params() method and holds most things that vary between main, test and regtest networks. The regtest mode has two purposes, one is to run the bitcoind/bitcoinj comparison tool which compares two separate implementations of the Bitcoin protocol looking for divergence. The other is that when run, you get a local node which can mine a single block instantly, which is highly convenient for testing apps during development as there's no need to wait 10 minutes for a block on the testnet.
| * | | | | Move implementation of some CBlockLocator methodsMike Hearn2013-06-192-89/+100
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Move out of main.h to improve compile times and add documentation for what the methods do.
* / | | | Refactor keytime/metadata and wallet encryption bugfixPieter Wuille2013-06-204-28/+36
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor keytime: * Key metadata is kept in a CWallet::mapKeyMetadata (std::map<CKeyId,CKeyMetadata>). * When generating a new key, time is put in that map, and new key is written. * AddKeyPubKey and AddCryptedKey do not take a creation time argument, but instead pull it from that map, if it exists there. Bugfix: * AddKeyPubKey and AddCryptedKey in CWallet didn't override the CKeyStore definition anymore. This is fixed, as they no longed need the nCreationTime argument now. Also a few related other changes: * Metadata can be overwritten. * Only GenerateNewKey calls GetTime(), as it's the only place where we know for sure a key was not constructed earlier. * When the nTimeFirstKey is known to be inaccurate, it is set to the value 1 (instead of 0, which would mean unknown). * Use CPubKey instead of std::vector<unsigned char> where possible.
* | | | Merge pull request #2760 from cozz/cozz2Jeff Garzik2013-06-181-2/+2
|\ \ \ \ | | | | | | | | | | fix comment about dust logic
| * | | | fix comment about dust logicCozz Lovan2013-06-111-2/+2
| |/ / /
* | | | Merge pull request #2763 from bitsofproof/masterPieter Wuille2013-06-171-1/+1
|\ \ \ \ | |_|_|/ |/| | | Send tx relay flag with version message
| * | | send tx relay flag with versionbitsofproof2013-06-111-1/+1
| |/ /
* | | Merge pull request #2648 from Diapolo/txindexPieter Wuille2013-06-152-5/+8
|\ \ \ | | | | | | | | allow txindex to be removed and add a reindex dialog
| * | | allow txindex to be removed and add a reindex dialogPhilip Kaufmann2013-06-102-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | - adds a reindex dialog for Bitcoin-Qt to change -txindex without the need to supply -reindex - now also does a -reindex, when removing the -txindex switch