Skip to content

Commit d5414a2

Browse files
authored
Merge pull request #4481 from stacks-network/feat/miner-coordinator
Feat: Miner acts as signer set coordinator during block signing
2 parents 498b6c0 + cb219c9 commit d5414a2

File tree

35 files changed

+2010
-910
lines changed

35 files changed

+2010
-910
lines changed

Cargo.lock

Lines changed: 112 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ rand_core = "0.6"
2020
rand = "0.8"
2121
rand_chacha = "0.3.1"
2222
tikv-jemallocator = "0.5.4"
23-
wsts = { version = "8.1", default-features = false }
23+
# wsts = { version = "8.1", default-features = false }
24+
wsts = { git = "https://github.com/stacks-network/wsts.git", branch = "feat/public-sign-ids" }
2425

2526
# Use a bit more than default optimization for
2627
# dev builds to speed up test execution

clarity/src/vm/types/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ impl QualifiedContractIdentifier {
108108
}
109109
}
110110

111+
/// Was this contract issued by the null issuer address? (i.e., is it a "boot contract")
112+
pub fn is_boot(&self) -> bool {
113+
self.issuer.1 == [0; 20]
114+
}
115+
111116
pub fn parse(literal: &str) -> Result<QualifiedContractIdentifier> {
112117
let split: Vec<_> = literal.splitn(2, '.').collect();
113118
if split.len() != 2 {

0 commit comments

Comments
 (0)