aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Bump Year Number to 2013super32013-10-201-1/+1
| |
* | Merge pull request #2945 from gmaxwell/fee-logic_encourage_sweepingGavin Andresen2013-10-191-2/+14
|\ \ | | | | | | [Fee logic] Don't count txins for priority to encourage sweeping.
| * | [Fee logic] Don't count txins for priority to encourage sweeping.Gregory Maxwell2013-09-171-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the priority calculation to not include the size of per-txin data including up to 110 bytes of scriptsig so that transactions which sweep up extra UTXO don't lose priority relative to ones that don't. I'd toyed with some other variations, but it seems like any formulation which results in an incentive stronger than making them not count will sometimes create incentives to add extra outputs so that you have extra inputs to consume later. The maximum credit is limited so that users don't lose the disincentive to stuff random data in their transactions, the limit of 110 is based on the size of a P2SH redemption with a compressed public key. This shouldn't need a staged deployment because the priority is not used as a relay criteria, only a mining criteria.
* | | Refactor/encapsulate chain globals into a CChain classPieter Wuille2013-10-111-4/+4
| |/ |/|
* | internal miner: move 2 globals from main to minerPhilip Kaufmann2013-09-251-6/+2
| | | | | | | | | | | | - moves 2 global variables from main.cpp/h to miner.cpp/h - also removes 2 unneded includes in miner.cpp, that come from miner.h already
* | Replace printf with LogPrintf / LogPrintGavin Andresen2013-09-181-12/+12
|/
* miner: constify CreateNewBlock() arg scriptPubKeyInJeff Garzik2013-08-251-1/+1
|
* CreateNewBlock() now takes scriptPubKey argument,Jeff Garzik2013-08-241-6/+12
| | | | | | | rather than a key. CreateNewBlockWithKey() helper is added to restore existing functionality, making this an equivalent-transformation change.
* Move internal miner/block creation to separate miner.cpp module.Jeff Garzik2013-07-311-0/+663
Public functions referenced elsewhere are added to miner.h.