aboutsummaryrefslogtreecommitdiff
path: root/src/policy
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-1/+1
|
* fees: Reduce minimum relay fee to 0.001 DOGE, final change from tx to 0.01Michi Lumin2021-08-111-1/+1
|
* Use CAmount for constant amounts tooRoss Nicoll2021-08-081-3/+3
|
* Use CAmount for amountsRoss Nicoll2021-08-082-2/+2
| | | | | | | | | | Use CAmount rather than unsigned int for amounts for consistency with other fee rate amounts. This does change the type from unsigned int to unsigned int64, and while it is unlikely anyone would need a dust limit higher than unsigned int, again this ensures the theoretical maximum is in line with other rates.
* [fees] Express policies in COIN instead of KoinuPatrick Lodder2021-08-051-2/+2
|
* [fees] introduce configurable hard dust limitPatrick Lodder2021-08-052-0/+9
| | | | Co-authored-by: Ross Nicoll <[email protected]>
* Add Dogecoin current fee calculation logic (#1413)Ross Nicoll2018-09-191-1/+1
| | | Introduces 1 COIN/kb fees, rounded up to the next 1 COIN.
* Merge #9380: Separate different uses of minimum feesWladimir J. van der Laan2017-01-162-1/+15
|\ | | | | | | | | | | eb30d1a Introduce -dustrelayfee (Alex Morcos) 7b1add3 Introduce -incrementalrelayfee (Alex Morcos) daec955 Introduce -blockmintxfee (Alex Morcos)
| * Introduce -dustrelayfeeAlex Morcos2017-01-162-1/+9
| |
| * Introduce -incrementalrelayfeeAlex Morcos2017-01-162-0/+4
| |
| * Introduce -blockmintxfeeAlex Morcos2017-01-041-0/+2
| |
* | Fix edge case with stale fee estimatesAlex Morcos2017-01-041-1/+3
| |
* | Add clarifying comments to fee estimationAlex Morcos2017-01-041-0/+5
| |
* | Add extra logging to processBlock in fee estimation.Alex Morcos2017-01-042-10/+23
| |
* | Pass pointers to existing CTxMemPoolEntries to fee estimationAlex Morcos2017-01-042-7/+7
| |
* | Always update fee estimates on new blocks.Alex Morcos2017-01-042-7/+2
| | | | | | | | All decisions about whether the transactions are valid data points are made at the time the transaction arrives. Updating on blocks all the time will now cause stale fee estimates to decay quickly when we restart a node.
* | rename bool to validFeeEstimateAlex Morcos2017-01-042-3/+3
| |
* | Remove member variable hadNoDependencies from CTxMemPoolEntryAlex Morcos2017-01-041-13/+8
| | | | | | | | Fee estimation can just check its own mapMemPoolTxs to determine the same information. Note that now fee estimation for block processing must happen before those transactions are removed, but this shoudl be a speedup.
* | Remove extraneous LogPrint from fee estimationAlex Morcos2017-01-042-11/+8
|/ | | | Once priority estimation was removed, not all transactions in the mempool are tracked in the fee estimation mempool tracking. So there is no error if a transaction is not found for removal.
* Merge #9288: Fix a bug if the min fee is 0 for FeeFilterRounderWladimir J. van der Laan2017-01-042-2/+3
|\ | | | | | | | | f8d43b8 Avoid rollingMinimumFeeRate never being able to decay below half (Alex Morcos) eab8e1b fix a bug if the min fee is 0 for FeeFilterRounder (Alex Morcos)
| * fix a bug if the min fee is 0 for FeeFilterRounderAlex Morcos2016-12-082-2/+3
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-312-2/+2
| | | | | | | | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* | Move CTxInWitness inside CTxInPieter Wuille2016-12-041-4/+4
|/
* Merge #9260: Mrs Peacock in The Library with The Candlestick (killed ↵Pieter Wuille2016-12-021-1/+1
|\ | | | | | | | | | | | | | | main.{h,cpp}) 76faa3c Rename the remaining main.{h,cpp} to validation.{h,cpp} (Matt Corallo) e736772 Move network-msg-processing code out of main to its own file (Matt Corallo) 87c35f5 Remove orphan state wipe from UnloadBlockIndex. (Matt Corallo)
| * Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
| |
* | Disable fee estimates for a confirm target of 1 blockAlex Morcos2016-11-291-1/+6
|/
* update comments for tx weightBrian Deery2016-11-141-1/+1
|
* Remove unused var UNLIKELY_PCT from fees.hfanquake2016-11-091-1/+0
|
* Merge #7730: Remove priority estimationWladimir J. van der Laan2016-11-072-207/+76
|\ | | | | | | | | 0bd581a add release notes for removal of priority estimation (Alex Morcos) b2322e0 Remove priority estimation (Alex Morcos)
| * Remove priority estimationAlex Morcos2016-11-072-207/+76
| |
* | [copyright] copyright header style uniformisle29832016-11-066-6/+6
|/ | | | | | | | | | | | | | | | | | | | | | | Three categories of modifications: 1) 1 instance of 'The Bitcoin Core developers \n', 1 instance of 'the Bitcoin Core developers\n', 3 instances of 'Bitcoin Core Developers\n', and 12 instances of 'The Bitcoin developers\n' are made uniform with the 443 instances of 'The Bitcoin Core developers\n' 2) 3 instances of 'BitPay, Inc\.\n' are made uniform with the other 6 instances of 'BitPay Inc\.\n' 3) 4 instances where there was no '(c)' between the 'Copyright' and the year where it deviates from the style of the local directory.
* Merge #8914: Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-182-1/+3
|\ | | | | | | 5eaaa83 Kill insecure_random and associated global state (Wladimir J. van der Laan)
| * Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-172-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are only a few uses of `insecure_random` outside the tests. This PR replaces uses of insecure_random (and its accompanying global state) in the core code with an FastRandomContext that is automatically seeded on creation. This is meant to be used for inner loops. The FastRandomContext can be in the outer scope, or the class itself, then rand32() is used inside the loop. Useful e.g. for pushing addresses in CNode or the fee rounding, or randomization for coin selection. As a context is created per purpose, thus it gets rid of cross-thread unprotected shared usage of a single set of globals, this should also get rid of the potential race conditions. - I'd say TxMempool::check is not called enough to warrant using a special fast random context, this is switched to GetRand() (open for discussion...) - The use of `insecure_rand` in ConnectThroughProxy has been replaced by an atomic integer counter. The only goal here is to have a different credentials pair for each connection to go on a different Tor circuit, it does not need to be random nor unpredictable. - To avoid having a FastRandomContext on every CNode, the context is passed into PushAddress as appropriate. There remains an insecure_random for test usage in `test_random.h`.
* | Require compressed keys in segwit as policy and disable signing with ↵Johnson Lau2016-10-161-2/+3
| | | | | | | | uncompressed keys for segwit scripts
* | Add standard limits for P2WSH with testsJohnson Lau2016-10-162-1/+65
|/
* Add policy: null signature for failed CHECK(MULTI)SIGJohnson Lau2016-09-271-0/+1
|
* Make non-minimal OP_IF/NOTIF argument non-standard for P2WSHJohnson Lau2016-09-231-0/+1
|
* Merge #8381: Make witness v0 outputs non-standardWladimir J. van der Laan2016-07-262-5/+8
|\ | | | | | | | | c59c434 qa: Add test for standardness of segwit v0 outputs (Suhas Daftuar) 1ffaff2 Make witness v0 outputs non-standard before segwit activation (Johnson Lau)
| * qa: Add test for standardness of segwit v0 outputsSuhas Daftuar2016-07-231-1/+1
| |
| * Make witness v0 outputs non-standard before segwit activationJohnson Lau2016-07-222-5/+8
| |
* | Treat high-sigop transactions as larger rather than rejecting themPieter Wuille2016-07-192-6/+12
|/
* Rename "block cost" to "block weight"Suhas Daftuar2016-07-182-11/+11
|
* Remove -blockminsize optionSuhas Daftuar2016-06-301-2/+1
|
* BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-222-4/+20
| | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* BIP143: Verification logicPieter Wuille2016-06-221-1/+1
| | | | Includes simplifications by Eric Lombrozo.
* BIP141: Witness programPieter Wuille2016-06-221-1/+3
|
* Merge #7812: Tiny refactor of `IsRBFOptIn`, avoid exceptionWladimir J. van der Laan2016-04-142-8/+15
|\ | | | | | | 4f7c959 Refactor IsRBFOptIn, avoid exception (Jonas Schnelli)
| * Refactor IsRBFOptIn, avoid exceptionJonas Schnelli2016-04-062-8/+15
| |
* | Merge #7786: Doc: Update isStandardTx commentWladimir J. van der Laan2016-04-091-2/+2
|\ \ | | | | | | | | | 03c77fd Doc: Update isStandardTx comment (Matthew English)
| * | Doc: Update isStandardTx commentMatthew English2016-04-081-2/+2
| |/