Skip to content

Commit

Permalink
Merge pull request #56 from dashpay/feat/core-v20-hardfork-activation…
Browse files Browse the repository at this point in the history
…-height

Feat/core v20 hardfork activation height
  • Loading branch information
pankcuf authored Dec 8, 2023
2 parents eaec2d8 + be5fdb7 commit 8a8c03c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion DashSharedCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'DashSharedCore'
s.version = '0.4.15'
s.version = '0.4.16'
s.summary = 'Dash Core SPV written in Rust'
s.author = 'Dash'
s.description = "C-bindings for Dash Core SPV that can be used in projects for Apple platform"
Expand Down
2 changes: 1 addition & 1 deletion dash-spv-apple-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash_spv_apple_bindings"
version = "0.4.15"
version = "0.4.16"
description = "C-bindings for using and interoperating with Dash SPV"
readme = "README.md"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion dash-spv-masternode-processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash-spv-masternode-processor"
version = "0.4.15"
version = "0.4.16"
description = "Library for processing masternodes and quorums (SPV)"

edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions dash-spv-masternode-processor/src/chain/common/chain_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ impl ChainType {

pub fn protocol_version(&self) -> u32 {
match self {
ChainType::MainNet => 70228,
ChainType::MainNet => 70230,
ChainType::TestNet => 70230,
ChainType::DevNet(_) => 70230
}
Expand Down Expand Up @@ -475,8 +475,8 @@ impl ChainType {
}

pub fn core20_activation_height(&self) -> u32 {
// TODO: make this real when aware
match self {
ChainType::MainNet => 1987776,
ChainType::TestNet => 905100,
_ => u32::MAX
}
Expand Down

0 comments on commit 8a8c03c

Please sign in to comment.