Skip to content

Commit

Permalink
refactor: pox lock handling into separate workspace member
Browse files Browse the repository at this point in the history
  • Loading branch information
kantai committed Jul 14, 2023
1 parent c8ebe3e commit 02b8e3e
Show file tree
Hide file tree
Showing 10 changed files with 1,747 additions and 1,536 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ chrono = "0.4.19"
libc = "0.2.82"
clarity = { package = "clarity", path = "./clarity/." }
stacks_common = { package = "stacks-common", path = "./stacks-common/." }
pox_locking = { package = "pox-locking", path = "./pox-locking/." }
siphasher = "0.3.7"

[target.'cfg(unix)'.dependencies]
Expand Down Expand Up @@ -106,7 +107,7 @@ profile-sqlite = []
disable-costs = []
developer-mode = []
monitoring_prom = ["prometheus"]
slog_json = ["slog-json", "stacks_common/slog_json", "clarity/slog_json"]
slog_json = ["slog-json", "stacks_common/slog_json", "clarity/slog_json", "pox_locking/slog_json"]
testing = []

# Use a bit more than default optimization for
Expand All @@ -129,6 +130,7 @@ sha2 = { version = "0.10" }
[workspace]
members = [
".",
"pox-locking",
"clarity",
"stx-genesis",
"testnet/stacks-node"]
27 changes: 27 additions & 0 deletions pox-locking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
name = "pox-locking"
version = "2.4.0"
authors = [ "Jude Nelson <[email protected]>",
"Aaron Blankstein <[email protected]>",
"Ludo Galabru <[email protected]>" ]
license = "GPLv3"
homepage = "https://github.com/blockstack/stacks-blockchain"
repository = "https://github.com/blockstack/stacks-blockchain"
description = "Contract call result handler for applying PoX lock operations"
keywords = [ "stacks", "stx", "bitcoin", "crypto", "blockstack", "decentralized", "dapps", "blockchain" ]
readme = "README.md"
resolver = "2"
edition = "2021"
rust-version = "1.61"

[lib]
name = "pox_locking"
path = "src/lib.rs"

[dependencies]
clarity = { package = "clarity", path = "../clarity/." }
stacks_common = { package = "stacks-common", path = "../stacks-common/." }
slog = { version = "2.5.2", features = [ "max_level_trace" ] }

[features]
slog_json = ["stacks_common/slog_json", "clarity/slog_json"]
Loading

0 comments on commit 02b8e3e

Please sign in to comment.