Skip to content

Commit 5d14f0c

Browse files
authored
Merge pull request #330 from SurfingNerd/i172-service-transactions-garbage-collector
v4.0.2-rc3
2 parents 2ec4b25 + a3cc2b9 commit 5d14f0c

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
### RPC
1010
- [Gas price from contracts](https://github.com/DMDcoin/diamond-node/issues/159)
1111

12-
### Further stability improvements
12+
### Further improvements
1313
- [FIXED: received transactions are getting pooled, if announced by another peer](https://github.com/DMDcoin/diamond-node/issues/304)
1414
- [FIXED: dropped transactions are getting pooled](https://github.com/DMDcoin/diamond-node/issues/303)
1515
- [FIXED: key generation can panic if faulty validators write malicious parts](https://github.com/DMDcoin/diamond-node/issues/100)
1616
- [FIXED: already included transactions are refretched from peers](https://github.com/DMDcoin/diamond-node/issues/196)
17+
- [FIXED:not staked nodes write log entries about service transactions](https://github.com/DMDcoin/diamond-node/issues/323)
1718
- [Gracefull Node Shutdown: increase to 15 seconds](https://github.com/DMDcoin/diamond-node/issues/321)
1819

1920

Cargo.lock

Lines changed: 2 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "Diamond Node"
33
name = "diamond-node"
44
# NOTE Make sure to update util/version/Cargo.toml as well
5-
version = "4.0.2-rc1"
5+
version = "4.0.2-rc3"
66
license = "GPL-3.0"
77
authors = [
88
"bit.diamonds developers",

crates/ethcore/src/engines/hbbft/hbbft_engine.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,12 +1211,10 @@ impl HoneyBadgerBFT {
12111211
return Ok(());
12121212
}
12131213

1214-
self.hbbft_peers_service
1215-
.channel()
1216-
.send(HbbftConnectToPeersMessage::AnnounceAvailability)?;
1217-
1218-
self.hbbft_peers_service
1219-
.send_message(HbbftConnectToPeersMessage::AnnounceOwnInternetAddress)?;
1214+
if self.is_staked() {
1215+
self.hbbft_peers_service.send_message(HbbftConnectToPeersMessage::AnnounceAvailability)?;
1216+
self.hbbft_peers_service.send_message(HbbftConnectToPeersMessage::AnnounceOwnInternetAddress)?;
1217+
}
12201218

12211219
if self.should_connect_to_validator_set() {
12221220
// we just keep those variables here, because we need them in the early_epoch_end_manager.

crates/util/version/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "parity-version"
33
# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION)
4-
version = "4.0.2-rc1"
4+
version = "4.0.2-rc3"
55
authors = [
66
"bit.diamonds developers",
77
"OpenEthereum developers",

0 commit comments

Comments
 (0)