lbcd/fees
Roy Lee d126d0c10e [lbry] fees: port estimatesmartfee from DCRD
1. logger
2. blockheight: int64 -> int32
3. dcrutil -> lbcutl
4. MaxConfirimation: 42
5. MinBucketFee: mempool.MinRelayFee (default 1000)
6. BucketFee Spacing: 1.1 -> 1.05

Note:
  DCRD implementation of estimatesmartfee is based on bitcoin core 0.14
  Lbrycrd (0.17) includes the updates of bitcoin core 0.15.
  They are slightly different, but shouldn't matter much.
2022-05-24 00:04:19 -07:00
..
cmd/dumpfeedb [lbry] fees: port estimatesmartfee from DCRD 2022-05-24 00:04:19 -07:00
doc.go [lbry] fees: initial import from DCRD 2022-05-24 00:04:19 -07:00
estimator.go [lbry] fees: port estimatesmartfee from DCRD 2022-05-24 00:04:19 -07:00
log.go [lbry] fees: port estimatesmartfee from DCRD 2022-05-24 00:04:19 -07:00
README.md [lbry] fees: initial import from DCRD 2022-05-24 00:04:19 -07: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.