aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_P2SH_tests.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-07-12 14:22:32 -0400
committerGavin Andresen <[email protected]>2012-07-26 14:24:19 -0400
commitc555400ca134991e39d5e3a565fcd2215abe56f6 (patch)
treeaa7732ac591c53f222e755ec5fc636bf6d417e63 /src/test/script_P2SH_tests.cpp
parentMerge branch 'checknewblock' of git://github.com/luke-jr/bitcoin (diff)
downloaddiscoin-c555400ca134991e39d5e3a565fcd2215abe56f6.tar.xz
discoin-c555400ca134991e39d5e3a565fcd2215abe56f6.zip
When creating new blocks, sort 'paid' area by fee-per-kb
Modify CreateNewBlock so that instead of processing all transactions in priority order, process the first 27K of transactions in priority order and then process the rest in fee-per-kilobyte order. This is the first, minimal step towards better a better fee-handling system for both miners and end-users; this patch should be easy to backport to the old versions of Bitcoin, and accomplishes the most important goal-- allow users to "buy their way in" to blocks using transaction fees.
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions