dcrd/fees
Matheus Degiovani 0055632f68
fees: Add estimator package
This adds the first version of the fees package, responsible for
performing fee estimation of network transactions.

The main goal of fee estimation is to allow the usage of dynamic fees
by wallets, contingent on block contention and the desired confirmation
range for a given transaction.

This version was based on bitcoin core fee estimation.
2018-12-06 19:40:39 -02:00
..
cmd/dumpfeedb fees: Add estimator package 2018-12-06 19:40:39 -02:00
doc.go fees: Add estimator package 2018-12-06 19:40:39 -02:00
estimator.go fees: Add estimator package 2018-12-06 19:40:39 -02:00
go.mod fees: Add estimator package 2018-12-06 19:40:39 -02:00
go.sum fees: Add estimator package 2018-12-06 19:40:39 -02:00
log.go fees: Add estimator package 2018-12-06 19:40:39 -02:00
README.md fees: Add estimator package 2018-12-06 19:40:39 -02:00

fees

Build Status ISC License GoDoc

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.

This package was developed for dcrd, a full-node implementation of Decred which is under active development. Although it was primarily written for dcrd, this package has intentionally been designed so it can be used as a standalone package for any projects needing the functionality provided.

Installation and Updating

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

License

Package dcrutil is licensed under the copyfree ISC License.