aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Orphan block fill-up-memory attack preventionGavin Andresen2011-12-011-3/+46
|
* Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen2011-12-011-27/+5
| | | | attacks
* Some extra commentsPieter Wuille2011-11-071-0/+12
|
* Merge pull request #564 from luke-jr/optimize_remove_CheckWork_delayGavin Andresen2011-10-061-1/+0
|\ | | | | Remove 2 second sleep from CheckWork
| * Remove 2 second sleep from CheckWorkDavid Joel Schwartz2011-10-041-1/+0
| |
* | Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen2011-10-051-6/+15
|\ \
| * | remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider2011-09-301-6/+15
| | |
* | | Added RPC call 'getmemorypool' that provides everything needed to construct ↵Forrest Voight2011-10-011-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-281-31/+55
|\ \ | | | | | | | | | | | | | | | Conflicts: .gitignore (used upstream version) bitcoin-qt.pro
| * | Remove DoS penalty for SigOpCount or immature transactionsGavin Andresen2011-09-271-2/+2
| | |
| * | Skip verifying transaction signatures during initial block-chain downloadGavin Andresen2011-09-261-3/+10
| | |
| * | Merge pull request #517 from gavinandresen/DoSpreventionGavin Andresen2011-09-261-29/+46
| |\ \ | | | | | | | | Denial-of-service prevention
| | * | More denial-of-service misbehavior detection: version/addr/inv/getdata messagesGavin Andresen2011-09-211-0/+13
| | | |
| | * | Transaction/Block denial-of-service detection/responseGavin Andresen2011-09-211-29/+33
| | |/
| * | Merge pull request #521 from laanwj/qtGavin Andresen2011-09-261-0/+11
| |\ \ | | |/ | |/| Qt GUI
* | | use median filter for peer-reported reported number of blocksWladimir J. van der Laan2011-09-281-11/+5
| | | | | | | | | | | | | | | | | | - 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
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-231-3/+5
|\| | | |/ |/|
| * log low-level network messages only when fDebug is setNils Schneider2011-09-171-3/+5
| |
* | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-161-8/+8
|\|
| * Merge branch 'unique_coinbase' of ↵Gavin Andresen2011-09-071-8/+8
| |\ | | | | | | | | | git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin into unique_coinbase
| | * Bugfix: Use timestamp in coinbase rather than "bits", needed to ensure ↵Luke Dashjr2011-09-061-4/+3
| | | | | | | | | | | | coinbase txn is unique even if address is the same
| | * Merge branch 'getwork_dedupe' into unique_coinbaseLuke Dashjr2011-09-061-4/+5
| | |
* | | clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' ↵Wladimir J. van der Laan2011-09-111-5/+5
| | | | | | | | | | | | blocks as initial value for number of peer blocks
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-071-12/+12
|\| | | | | | | | | | | | | | Conflicts: .gitignore
| * | Optimize database writes for transactions with lots of TxIns.Gavin Andresen2011-09-051-12/+12
| | | | | | | | | | | | Patch from ArtForz, who discovered the problem.
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-031-1/+3
|\| |
| * | Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid ↵Gavin Andresen2011-09-021-1/+3
| | | | | | | | | | | | them
| * | Do not try to download blockchain from 0.3.23 nodesGavin Andresen2011-09-021-1/+1
| | |
* | | update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan2011-09-021-2/+9
| | |
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-021-11/+13
|\| | | | | | | | | | | | | | Conflicts: src/main.cpp
| * | Merge pull request #467 from gavinandresen/keypoolzeroGavin Andresen2011-09-011-1/+1
| |\ \ | | | | | | | | Logic running with -keypool=0 was wrong (empty keys were being returned).
| | * | Logic running with -keypool=0 was wrong (empty keys were being returned). ↵Gavin Andresen2011-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #445 Renames GetOrReuseKeyFromKeyPool to GetKeyFromPool, with fAllowReuse arg and bool result.
| * | | Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen2011-09-011-2/+2
| |\ \ \ | | |/ / | |/| |
| | * | Make some global variables less-global (static)Giel van Schijndel2011-08-191-2/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * | Merge pull request #470 from fabianhjr/masterGavin Andresen2011-09-011-7/+9
| |\ \ | | | | | | | | Checkpoints
| | * | Updated checkpoints, maybe Tx fee should be reduced to 0.0001 from 0.0005 ↵Fabian H jr.2011-08-151-7/+9
| | | | | | | | | | | | | | | | and maximum minimum tx should be 0.0010.
| * | | Fix rpc-hanging deadlocksGavin Andresen2011-08-311-1/+1
| | |/ | |/| | | | | | | | | | 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.
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-08-221-41/+0
|\| |
| * | Remove unused ScanMessageStart functionGavin Andresen2011-08-161-41/+0
| |/
* | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-08-161-0/+1
|\|
| * Merge pull request #458 from TheBlueMatt/copyrightGavin Andresen2011-08-111-0/+1
| |\ | | | | | | Unify copyright notices.
| | * Unify copyright notices.Matt Corallo2011-08-091-0/+1
| | | | | | | | | | | | | | | | | | To a variation on: // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-08-111-1/+10
|\| |
| * | Merge pull request #459 from jgarzik/char-msgstartGavin Andresen2011-08-101-1/+1
| |\ \ | | | | | | | | Use 'unsigned char' rather than 'char' for pchMessageStart.
| | * | Use 'unsigned char' rather than 'char' for pchMessageStart.Venkatesh Srinivas2011-08-101-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * / Check for duplicate txins in CheckTransaction.Matt Corallo2011-07-311-0/+9
| |/
* | Merge remote branch 'upstream/master'Wladimir J. van der Laan2011-07-261-3/+0
|\| | | | | | | | | Conflicts: src/bitcoinrpc.cpp
| * Merge pull request #403 from sipa/cbitcoinaddressJeff Garzik2011-07-241-3/+0
| |\ | | | | | | keys indexed by address + introduced CBitcoinaddress
| | * get rid of mapPubKeysPieter Wuille2011-07-171-3/+0
| | | | | | | | | | | | | | | Make CKeyStore's interface work on uint160's instead of pubkeys, so no separate global mapPubKeys is necessary anymore.
* | | Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-07-221-0/+1
|\| |