From b0b0cdb46cdd542cd69ef6376db919ae5551bf54 Mon Sep 17 00:00:00 2001 From: yancy Date: Thu, 2 Mar 2023 09:57:36 +0100 Subject: [PATCH] Improve the public API for Feerate and Weight --- bitcoin/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs index 75a3b69b..43c89d03 100644 --- a/bitcoin/src/lib.rs +++ b/bitcoin/src/lib.rs @@ -121,9 +121,11 @@ use core2::io; pub use crate::address::{Address, AddressType}; pub use crate::amount::{Amount, Denomination, SignedAmount}; pub use crate::blockdata::block::{self, Block}; +pub use crate::blockdata::fee_rate::FeeRate; pub use crate::blockdata::locktime::{self, absolute, relative}; pub use crate::blockdata::script::{self, Script, ScriptBuf}; pub use crate::blockdata::transaction::{self, OutPoint, Sequence, Transaction, TxIn, TxOut}; +pub use crate::blockdata::weight::Weight; pub use crate::blockdata::witness::{self, Witness}; pub use crate::blockdata::{constants, opcodes}; pub use crate::consensus::encode::VarInt;