Merge rust-bitcoin/rust-bitcoin#2038: Re-export Opcode
ccdcffe69c
Re-export Opcode (Tobin C. Harding) Pull request description: We recently rename `opcodes::All` to `Opcode` but did not re-export it from the crate root. Since it now has a nice clear name we can do so. Found while hacking up the `rust-bitcoincore-rpc` dependency upgrade for upcoming release `bitcoin v0.31.0`. ACKs for top commit: apoelstra: ACKccdcffe69c
Tree-SHA512: 8acac90d01f14245f93edc10f3483d8aa9865aca59b6ef42ab744b875558fca8ad74894ad95a83637f0cec7a2a353d74d4d6f7ee5f1d1276cc0fc3dcb6983362
This commit is contained in:
commit
3b9bc9a063
|
@ -130,15 +130,16 @@ use core2::io;
|
||||||
pub use crate::address::{Address, AddressType};
|
pub use crate::address::{Address, AddressType};
|
||||||
pub use crate::amount::{Amount, Denomination, SignedAmount};
|
pub use crate::amount::{Amount, Denomination, SignedAmount};
|
||||||
pub use crate::blockdata::block::{self, Block};
|
pub use crate::blockdata::block::{self, Block};
|
||||||
|
pub use crate::blockdata::constants;
|
||||||
pub use crate::blockdata::fee_rate::FeeRate;
|
pub use crate::blockdata::fee_rate::FeeRate;
|
||||||
pub use crate::blockdata::locktime::{self, absolute, relative};
|
pub use crate::blockdata::locktime::{self, absolute, relative};
|
||||||
|
pub use crate::blockdata::opcodes::{self, Opcode};
|
||||||
pub use crate::blockdata::script::witness_program::{self, WitnessProgram};
|
pub use crate::blockdata::script::witness_program::{self, WitnessProgram};
|
||||||
pub use crate::blockdata::script::witness_version::{self, WitnessVersion};
|
pub use crate::blockdata::script::witness_version::{self, WitnessVersion};
|
||||||
pub use crate::blockdata::script::{self, Script, ScriptBuf, ScriptHash, WScriptHash};
|
pub use crate::blockdata::script::{self, Script, ScriptBuf, ScriptHash, WScriptHash};
|
||||||
pub use crate::blockdata::transaction::{self, OutPoint, Sequence, Transaction, TxIn, TxOut};
|
pub use crate::blockdata::transaction::{self, OutPoint, Sequence, Transaction, TxIn, TxOut};
|
||||||
pub use crate::blockdata::weight::Weight;
|
pub use crate::blockdata::weight::Weight;
|
||||||
pub use crate::blockdata::witness::{self, Witness};
|
pub use crate::blockdata::witness::{self, Witness};
|
||||||
pub use crate::blockdata::{constants, opcodes};
|
|
||||||
pub use crate::consensus::encode::VarInt;
|
pub use crate::consensus::encode::VarInt;
|
||||||
pub use crate::crypto::ecdsa;
|
pub use crate::crypto::ecdsa;
|
||||||
pub use crate::crypto::key::{
|
pub use crate::crypto::key::{
|
||||||
|
|
Loading…
Reference in New Issue