Skip to content
Snippets Groups Projects
Commit 9dd21b1e authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

Allow fee calculation to happen off-chain (#6076)


* Emit a PaymentParameters event once per block

This contains per-block paramaters need to calculate
fees off-chain.

* Add WeightToFee trait

* Add documentation to polynomial types

* Ignore pseudo code snippet for doc tests

* Use `Mul` implementation of Perbill

* Add tests for WeightToFeePolynomial

* Revert "Emit a PaymentParameters event once per block"

This reverts commit 6c4763baff3d8179676a3c1660fe7063fd56a8ca.

Co-authored-by: default avatarGavin Wood <gavin@parity.io>
parent e04f2371
Branches
No related merge requests found
Showing
with 241 additions and 79 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment