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. |
||
|---|---|---|
| .. | ||
| error.go | ||
| log.go | ||
| mempool_test.go | ||
| mempool.go | ||
| policy_test.go | ||
| policy.go | ||
| README.md | ||