Re-export Scep256k1 Schnorr keys under `util::schnorr`
This is second step in introducing Schnorr key support as per #588
This commit is contained in:
parent
b17d7fc31c
commit
664b09cdfd
|
@ -17,6 +17,8 @@
|
||||||
//! Functions needed by all parts of the Bitcoin library
|
//! Functions needed by all parts of the Bitcoin library
|
||||||
|
|
||||||
pub mod ecdsa;
|
pub mod ecdsa;
|
||||||
|
pub mod key;
|
||||||
|
pub mod schnorr;
|
||||||
pub mod address;
|
pub mod address;
|
||||||
pub mod amount;
|
pub mod amount;
|
||||||
pub mod base58;
|
pub mod base58;
|
||||||
|
@ -30,7 +32,6 @@ pub mod psbt;
|
||||||
pub mod taproot;
|
pub mod taproot;
|
||||||
pub mod uint;
|
pub mod uint;
|
||||||
pub mod bip158;
|
pub mod bip158;
|
||||||
pub mod key;
|
|
||||||
|
|
||||||
pub(crate) mod endian;
|
pub(crate) mod endian;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
// Rust Bitcoin Library
|
||||||
|
// Written in 2014 by
|
||||||
|
// Andrew Poelstra <apoelstra@wpsoftware.net>
|
||||||
|
// To the extent possible under law, the author(s) have dedicated all
|
||||||
|
// copyright and related and neighboring rights to this software to
|
||||||
|
// the public domain worldwide. This software is distributed without
|
||||||
|
// any warranty.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the CC0 Public Domain Dedication
|
||||||
|
// along with this software.
|
||||||
|
// If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
//
|
||||||
|
|
||||||
|
//! Schnorr Bitcoin Keys
|
||||||
|
//!
|
||||||
|
//! Schnorr keys used in Bitcoin, reexporting Secp256k1 Schnorr key types
|
||||||
|
//!
|
||||||
|
|
||||||
|
pub use secp256k1::schnorrsig::{PublicKey, KeyPair};
|
Loading…
Reference in New Issue