dcrd/internal/fees
Dave Collins 318d81bc90
multi: Wrap errors for better errors.Is/As support.
This updates all remaining cases of unwrapped errors in fmt.Errorf calls
to wrap the underlying errors with the %w format verb to ensure they
work nicely with errors.Is and errors.As.
2023-08-25 16:31:11 -05:00
..
cmd/dumpfeedb multi: sprinkle on more errors.As/Is 2020-12-24 13:46:38 -06:00
doc.go multi: Go 1.19 doc comment formatting. 2022-07-30 04:08:58 -05:00
estimator.go multi: Wrap errors for better errors.Is/As support. 2023-08-25 16:31:11 -05:00
log.go fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
README.md fees: Move to internal. 2020-07-25 18:10:39 -05:00

fees

Build Status ISC License Doc

Package fees provides decred-specific methods for tracking and estimating fee rates for new transactions to be mined into the network. Fee rate estimation has two main goals:

  • Ensuring transactions are mined within a target confirmation range (expressed in blocks);
  • Attempting to minimize fees while maintaining be above restriction.

This package was started in order to resolve issue decred/dcrd#1412 and related. See that issue for discussion of the selected approach.

License

Package dcrutil is licensed under the copyfree ISC License.