aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2011-12-19Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen
2011-12-19Merge pull request #574 from sipa/dumpprivkeyGavin Andresen
Dumpprivkey
2011-12-19Implement BIP 14 : separate protocol version from client versionGavin Andresen
2011-12-17Preparations for key import/exportPieter Wuille
2011-12-01Orphan block fill-up-memory attack preventionGavin Andresen
2011-12-01Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen
attacks
2011-11-07Some extra commentsPieter Wuille
2011-10-06Merge pull request #564 from luke-jr/optimize_remove_CheckWork_delayGavin Andresen
Remove 2 second sleep from CheckWork
2011-10-05Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen
2011-10-04Remove 2 second sleep from CheckWorkDavid Joel Schwartz
2011-10-01Added RPC call 'getmemorypool' that provides everything needed to construct ↵Forrest Voight
a block with a custom generation transaction and submit a solution getmemorypool [data] If [data] is not specified, returns data needed to construct a block to work on: "version" : block version "previousblockhash" : hash of current highest block "transactions" : contents of non-coinbase transactions that should be included in the next block "coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees "time" : timestamp appropriate for next block "bits" : compressed target of next block If [data] is specified, tries to solve the block and returns true if it was successful.
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-28Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: .gitignore (used upstream version) bitcoin-qt.pro
2011-09-28use median filter for peer-reported reported number of blocksWladimir J. van der Laan
- fixes problem that one misconfigured or malicious node can mess up progress bar - implementation in src/util.h - testcase in src/test/util_tests.cpp
2011-09-27Remove DoS penalty for SigOpCount or immature transactionsGavin Andresen
2011-09-26Skip verifying transaction signatures during initial block-chain downloadGavin Andresen
2011-09-26Merge pull request #517 from gavinandresen/DoSpreventionGavin Andresen
Denial-of-service prevention
2011-09-26Merge pull request #521 from laanwj/qtGavin Andresen
Qt GUI
2011-09-23Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-09-21More denial-of-service misbehavior detection: version/addr/inv/getdata messagesGavin Andresen
2011-09-21Transaction/Block denial-of-service detection/responseGavin Andresen
2011-09-17log low-level network messages only when fDebug is setNils Schneider
2011-09-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-09-11clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' ↵Wladimir J. van der Laan
blocks as initial value for number of peer blocks
2011-09-07Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: .gitignore
2011-09-07Merge branch 'unique_coinbase' of ↵Gavin Andresen
git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin into unique_coinbase
2011-09-06Bugfix: Use timestamp in coinbase rather than "bits", needed to ensure ↵Luke Dashjr
coinbase txn is unique even if address is the same
2011-09-06Merge branch 'getwork_dedupe' into unique_coinbaseLuke Dashjr
2011-09-05Optimize database writes for transactions with lots of TxIns.Gavin Andresen
Patch from ArtForz, who discovered the problem.
2011-09-03Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-09-02Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid ↵Gavin Andresen
them
2011-09-02update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan
2011-09-02Do not try to download blockchain from 0.3.23 nodesGavin Andresen
2011-09-02Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: src/main.cpp
2011-09-01Merge pull request #467 from gavinandresen/keypoolzeroGavin Andresen
Logic running with -keypool=0 was wrong (empty keys were being returned).
2011-09-01Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen
2011-09-01Logic running with -keypool=0 was wrong (empty keys were being returned). ↵Gavin Andresen
Fixes #445 Renames GetOrReuseKeyFromKeyPool to GetKeyFromPool, with fAllowReuse arg and bool result.
2011-09-01Merge pull request #470 from fabianhjr/masterGavin Andresen
Checkpoints
2011-08-31Fix rpc-hanging deadlocksGavin Andresen
Collapsed multiple wallet mutexes to a single cs_wallet, to avoid deadlocks with wallet methods that acquired locks in different order. Also change master RPC call handler to acquire cs_main and cs_wallet locks before executing RPC calls; requiring each RPC call to acquire the right set of locks in the right order was too error-prone.
2011-08-22Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-19Make some global variables less-global (static)Giel van Schijndel
Explicitly make these global variables less-global to reduce the maximum scope of this global state. In my experience global variables tend to be a major source of bugs. As such the less accessible they are the less likely they are to be the source of a bug. Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-08-16Remove unused ScanMessageStart functionGavin Andresen
2011-08-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-15Updated checkpoints, maybe Tx fee should be reduced to 0.0001 from 0.0005 ↵Fabian H jr.
and maximum minimum tx should be 0.0010.
2011-08-11Merge pull request #458 from TheBlueMatt/copyrightGavin Andresen
Unify copyright notices.
2011-08-11Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-10Merge pull request #459 from jgarzik/char-msgstartGavin Andresen
Use 'unsigned char' rather than 'char' for pchMessageStart.
2011-08-10Use 'unsigned char' rather than 'char' for pchMessageStart.Venkatesh Srinivas
Regarding https://bitcointalk.org/index.php?topic=28022.0 main.cpp has: "char pchMessageStart[4] = { 0xf9, 0xbe, 0xb4, 0xd9 };" Per discussion on the thread linked, leaving the signedness of pchMessageStart is unsafe for values > 0x80. This patch specifies 'unsigned char' in main.cpp and net.h. Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2011-08-09Unify copyright notices.Matt Corallo
To a variation on: // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers
2011-07-31Check for duplicate txins in CheckTransaction.Matt Corallo