dcrd/mempool
Josh Rickmar fc245f8ac6 Only perform standard dust checks on regular transactions.
The old code ran dust checks on regular, vote, and revocation
transactions, while ignoring any dust checking on ticket purchases.
This change also removes the dust checking for votes and revocations
as these are required for the network to run and should not be
rejected just to minimize dust.  The output amounts for these votes
and revocations are determined by consensus rules so standard checks
must be relaxed on them.

If there were to be any dust checks performed on stake transactions,
it should only be done on the commitment amounts in ticket purchases.
By calculating the output amounts that a revocation would require
creating, the mempool could determine if the revocation outputs would
be considered dust with the current policy and reject the ticket
purchase.
2017-08-08 14:40:48 -04:00
..
error.go mempool: Refactor mempool code to its own package. 2016-11-29 15:32:22 -06:00
log.go mempool: Refactor mempool code to its own package. 2016-11-29 15:32:22 -06:00
mempool_test.go mempool/wire: Don't make policy decisions in wire. 2017-08-05 15:49:55 -05:00
mempool.go mempool/wire: Don't make policy decisions in wire. 2017-08-05 15:49:55 -05:00
policy_test.go multi: Separate tx serialization type from version. 2017-08-07 14:10:27 -05:00
policy.go Only perform standard dust checks on regular transactions. 2017-08-08 14:40:48 -04:00
README.md multi: Update markdown in README files to match change in github parser. 2017-05-26 12:06:19 -04:00

mempool

Build Status ISC License GoDoc

Overview

This package is currently a work in progress.

Installation and Updating

$ go get -u github.com/decred/dcrd/mempool

License

Package mempool is licensed under the copyfree ISC License.