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

PR for Diamond Node Software 3.3.5-hbbft-0.9.6 #151

Merged
merged 3 commits into from
Dec 16, 2024
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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@


## Diamond Node Software 3.3.5-hbbft-0.9.6

- [Early Epoch End: only report disconnectivities that exist for longer than 60 Minutes] (https://github.com/DMDcoin/diamond-node/issues/87)
- [Improved Logging for Hbbft Session Management] (https://github.com/DMDcoin/diamond-node/issues/150)

## Diamond Node Software 3.3.5-hbbft-0.9.5

- [Improved Logging of ] (https://github.com/DMDcoin/diamond-node/issues/147)
- [Early Epoch end: Applying new time based rules] (https://github.com/DMDcoin/diamond-node/issues/87)



## Diamond Node Software 3.3.5-hbbft-0.9.5

- [Improved Logging for Stage 5 Errors] (https://github.com/DMDcoin/diamond-node/issues/147)
Expand Down
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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Diamond Node"
name = "diamond-node"
# NOTE Make sure to update util/version/Cargo.toml as well
version = "3.3.5-hbbft-0.9.4"
version = "3.3.5-hbbft-0.9.6"
license = "GPL-3.0"
authors = [
"bit.diamonds developers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,12 @@ impl HbbftEarlyEpochEndManager {
// todo: read this out from contracts: ConnectivityTrackerHbbft -> reportDisallowPeriod
// requires us to update the Contracts ABIs:
// https://github.com/DMDcoin/diamond-node/issues/115
let treshold_time = Duration::from_secs(60 * 15);
let treshold_time = Duration::from_secs(60 * 60);

if self.start_time.elapsed() < treshold_time {
debug!(target: "engine", "early-epoch-end: no decision: Treshold time not reached.");
return;
}

if block_num < self.start_block + treshold {
// not enought blocks have passed this epoch,
Expand Down
2 changes: 1 addition & 1 deletion crates/ethcore/sync/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ impl ChainNotify for EthSync {
Some(session_info) => {
session_info.id == node_id
},
None => { warn!(target:"sync", "No session exists for peerId {:?}", p); false},
None => { warn!(target:"sync", "No session exists for peerId {:?} Node: {:?}", p, node_id); false},
}
});

Expand Down
2 changes: 1 addition & 1 deletion crates/util/version/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "parity-version"
# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION)
version = "3.3.5-hbbft-0.9.4"
version = "3.3.5-hbbft-0.9.6"
authors = [
"bit.diamonds developers",
"OpenEthereum developers",
Expand Down
Loading