Skip to content

Commit

Permalink
Merge pull request #35 from apoelstra/newops
Browse files Browse the repository at this point in the history
add constants for OP_CLTV and OP_CSV
  • Loading branch information
apoelstra committed Dec 21, 2017
2 parents b7ec971 + b3644b7 commit 01e1640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "bitcoin"
version = "0.10.5"
version = "0.10.6"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0"
homepage = "https://github.com/apoelstra/rust-bitcoin/"
Expand Down
4 changes: 4 additions & 0 deletions src/blockdata/opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,10 @@ impl serde::Serialize for All {
pub static OP_FALSE: All = All::OP_PUSHBYTES_0;
/// Number 1 is also TRUE
pub static OP_TRUE: All = All::OP_PUSHNUM_1;
/// check locktime verify
pub static OP_CLTV: All = All::OP_NOP2;
/// check sequence verify
pub static OP_CSV: All = All::OP_NOP3;

/// Broad categories of opcodes with similar behavior
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
Expand Down

0 comments on commit 01e1640

Please sign in to comment.