Skip to content

Commit

Permalink
Merge branch 'development' into dependabot/github_actions/actions/che…
Browse files Browse the repository at this point in the history
…ckout-4
  • Loading branch information
leet4tari authored Sep 6, 2023
2 parents 51f9b06 + c119ffd commit f223582
Show file tree
Hide file tree
Showing 41 changed files with 173 additions and 75 deletions.
54 changes: 27 additions & 27 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The recommended running versions of each network are:
|-----------|-----------------|
| Stagenet | 0.50.0-hotfix.1 |
| Nextnet | 0.51.0-rc.1 |
| Esmeralda | 0.52.0-pre.0 |
| Esmeralda | 0.52.0-pre.1 |

For more detail about versioning see [Release Ideology](https://github.com/tari-project/tari/blob/development/docs/src/branching_releases.md)

Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_app_grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "This crate is to provide a single source for all cross application grpc files and conversions to and from tari::core"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_app_utilities/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minotari_app_utilities"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
authors = ["The Tari Development Community"]
edition = "2018"
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_console_wallet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minotari_console_wallet"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
authors = ["The Tari Development Community"]
edition = "2018"
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_merge_mining_proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "The Tari merge mining proxy for xmrig"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[features]
Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_miner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "The tari miner implementation"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion applications/minotari_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "The tari full base node implementation"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion base_layer/chat_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "minotari_chat_ffi"
authors = ["The Tari Development Community"]
description = "Tari cryptocurrency chat C FFI bindings"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion base_layer/common_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "tari_common_types"
authors = ["The Tari Development Community"]
description = "Tari cryptocurrency common types"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion base_layer/contacts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "tari_contacts"
authors = ["The Tari Development Community"]
description = "Tari contacts library"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion base_layer/contacts/examples/chat_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "tari_chat_client"
authors = ["The Tari Development Community"]
description = "Tari cucumber chat client"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"

edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion base_layer/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari"
homepage = "https://tari.com"
readme = "README.md"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[features]
Expand Down
9 changes: 5 additions & 4 deletions base_layer/core/src/base_node/sync/block_sync/synchronizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,11 @@ impl<'a, B: BlockchainBackend + 'static> BlockSynchronizer<'a, B> {
self.peer_ban_manager
.ban_peer_if_required(node_id, &Some(reason.clone()))
.await;

if reason.ban_duration > self.config.short_ban_period {
self.remove_sync_peer(node_id);
}
}
if let BlockSyncError::MaxLatencyExceeded { .. } = err {
latency_counter += 1;
} else {
self.remove_sync_peer(node_id);
}

if let BlockSyncError::MaxLatencyExceeded { .. } = err {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,11 @@ impl<'a, B: BlockchainBackend + 'static> HorizonStateSynchronization<'a, B> {
self.peer_ban_manager
.ban_peer_if_required(node_id, &Some(reason.clone()))
.await;

if reason.ban_duration > self.config.short_ban_period {
self.remove_sync_peer(node_id);
}
}

if let HorizonSyncError::MaxLatencyExceeded { .. } = err {
latency_counter += 1;
} else {
self.remove_sync_peer(node_id);
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion base_layer/key_manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "Tari cryptocurrency wallet key management"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion base_layer/mmr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "A Merkle Mountain Range implementation"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.52.0-pre.0"
version = "0.52.0-pre.1"
edition = "2018"

[features]
Expand Down
Loading

0 comments on commit f223582

Please sign in to comment.