Merge pull request #57 from rust-bitcoin/remove-script

remove script interpreter
This commit is contained in:
Andrew Poelstra 2018-03-10 14:09:50 +00:00 committed by GitHub
commit 7225a87522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3186 deletions

View File

@ -15,12 +15,6 @@ readme = "README.md"
name = "bitcoin"
path = "src/lib.rs"
[features]
# Compile broken and complicated script interpreter, as well as
# an unspendability checker which is not broken (I think) but is
# a huge pile of unreviewed code
broken_consensus_code = []
[dependencies]
byteorder = "1.1"
rand = "0.3"

View File

@ -20,12 +20,7 @@
pub mod constants;
pub mod opcodes;
#[cfg(not(feature="broken_consensus_code"))] pub mod script;
pub mod script;
pub mod transaction;
pub mod block;
#[cfg(feature="broken_consensus_code")]
/// # Script -- including consensus code
pub mod script {
include!("script_consensus.rs");
}

File diff suppressed because one or more lines are too long