Skip to content

Commit

Permalink
add peg header transaction enum variant
Browse files Browse the repository at this point in the history
  • Loading branch information
keppel committed Nov 8, 2019
1 parent c79ca52 commit 2a20ab4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions core/primitives/Cargo.toml
Expand Up @@ -4,4 +4,7 @@ version = "0.1.0"
authors = ["Judd <kepzorz@gmail.com>"]
edition = "2018"

[dependencies]
bitcoin = "0.21.0"


4 changes: 3 additions & 1 deletion core/primitives/src/transaction.rs
@@ -1,5 +1,7 @@
use bitcoin::BlockHeader;

pub enum Transaction {
Headers,
Headers { block_headers: Vec<BlockHeader> },
Deposit,
SignatoryCommitment,
SignatorySignature,
Expand Down

0 comments on commit 2a20ab4

Please sign in to comment.