aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr2011-12-201-43/+46
|
* Merge pull request #677 from luke-jr/minfee_modesGavin Andresen2011-12-201-2/+2
|\ | | | | API: GetMinFee modes
| * GetMinFee takes a mode parameter (GMF_{BLOCK,RELAY,SEND}) instead of fForRelayLuke Dashjr2011-12-141-2/+2
| |
| * Bugfix: fForRelay should be false when deciding required fee to include in ↵Luke Dashjr2011-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | blocks During the rushed transition from 0.01 BTC to 0.0005 BTC fees, we took the approach of dropping the relay and block-inclusion fee to 0.0005 BTC immediately, and only delayed adjusting the sending fee for the next release. Afterward, the relay fee was lowered to 0.0001 BTC to avoid having the same problem in the future. However, the block inclusion code was left setting fForRelay to true! This fixes that, so the lower 0.0001 BTC allowance is (as intended) only permitted for real relaying.
* | Merge branch 'op_eval'Gavin Andresen2011-12-201-59/+198
|\ \
| * | Update bitcoin address numbers for latest luke-jr/sipa schemeGavin Andresen2011-12-191-1/+1
| | |
| * | Use block times for 'hard' OP_EVAL switchover, and refactored EvalScriptGavin Andresen2011-12-191-16/+36
| | | | | | | | | | | | | | | | | | so it takes a flag for how to interpret OP_EVAL. Also increased IsStandard size of scriptSigs to 500 bytes, so a 3-of-3 multisig transaction IsStandard.
| * | Put OP_EVAL string in coinbase of generated blocksGavin Andresen2011-12-191-0/+7
| | |
| * | OP_EVAL implementationGavin Andresen2011-12-191-59/+171
| | | | | | | | | | | | | | | | | | OP_EVAL is a new opcode that evaluates an item on the stack as a script. It enables a new type of bitcoin address that needs an arbitrarily complex script to redeem.
* | | Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and ↵Gavin Andresen2011-12-191-1/+1
| | | | | | | | | | | | explicity init static var
* | | Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen2011-12-191-1/+1
|/ /
* | Merge pull request #574 from sipa/dumpprivkeyGavin Andresen2011-12-191-2/+2
|\ \ | | | | | | Dumpprivkey
| * | Preparations for key import/exportPieter Wuille2011-12-171-2/+2
| | |
* | | Implement BIP 14 : separate protocol version from client versionGavin Andresen2011-12-191-3/+8
|/ /
* | 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.