Commit Graph
2 Commits
Author SHA1 Message Date
Thomas Eizinger fdde0e691e Make constructor functions on FeeRate const
This allows `FeeRate`s to be stored inside `const`s.

For example:

const MY_FEE_RATE: FeeRate = FeeRate::from_sat_per_vb(10.0);

Unfortunately, floating point maths inside const expressions is
still unstable, hence we cannot make `from_btc_per_kvb` const.
2021-03-01 11:04:39 +11:00
Thomas Eizinger 2f0ca206f3 Update electrum-client to 0.7 2021-02-26 14:09:46 +11:00