rust-bitcoin-unsafe-fast/bitcoin/src
Tobin C. Harding 9eff2f2f5e
fee_rate: Add public absolute weight convenience functions
Calculating the absolute fee from a fee rate can currently be achieved
by creating a `Weight` object and using
`FeeRate::checked_mul_by_weight`. This is kind of hard to discover, we
can add two public convenience functions that make discovery of the
functionality easier.

Add two functions for calculating the absolute fee by multiplying by
weight units (`Weight`) and virtual bytes (by first converting to weight
units).
2023-08-02 09:10:49 +10:00
..
blockdata fee_rate: Add public absolute weight convenience functions 2023-08-02 09:10:49 +10:00
consensus Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
crypto Rename Script::empty to Script::new 2023-07-08 11:26:30 +10:00
merkle_tree Merge rust-bitcoin/rust-bitcoin#1825: Simplify per-file license comments 2023-05-01 20:11:53 +00:00
network network: Implement Default on ServiceFlags 2023-06-06 00:06:28 +01:00
psbt Merge rust-bitcoin/rust-bitcoin#1938: Rename PartiallySignedTransaction to Psbt 2023-07-17 16:35:43 +00:00
util bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
address.rs Move witness types to the script module 2023-07-13 09:51:40 +10:00
amount.rs Use from_int_btc function for const context 2023-06-13 11:32:58 +02:00
base58.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
bip32.rs bitcoin/bip32: add DerivationPath::to_u32_vec 2023-07-18 14:33:29 +02:00
bip152.rs Use Amount type for TxOut value field 2023-05-04 17:09:08 +02:00
bip158.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
error.rs Move `impl_std_error` to `bitcoin-internals` 2023-05-30 18:04:54 +02:00
hash_types.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
internal_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
lib.rs Merge rust-bitcoin/rust-bitcoin#1938: Rename PartiallySignedTransaction to Psbt 2023-07-17 16:35:43 +00:00
parse.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Merge rust-bitcoin/rust-bitcoin#1739: Mutate mul_u64 with mutagen 2023-06-14 17:53:39 -07:00
serde_utils.rs Use package in manifest and shorten import 2023-03-28 12:20:04 +11:00
sign_message.rs Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
string.rs Merge rust-bitcoin/rust-bitcoin#1742: Use package in manifest and shorten import 2023-04-05 14:20:06 +00:00
taproot.rs Merge rust-bitcoin/rust-bitcoin#1895: Improve `crytpo::taproot` error type 2023-06-04 21:22:21 +00:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00