Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/core v20 hardfork activation height #56

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading