Skip to content

Commit 008d4ac

Browse files
authored
Switch to Arti (Tor) embedded server for connections. Refactor code to make it library friendly.
Switch to Arti (Tor) embedded server for connections. Refactor code to make it library friendly.
2 parents 58dc030 + 5246b8f commit 008d4ac

File tree

171 files changed

+19017
-5200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+19017
-5200
lines changed

Cargo.lock

Lines changed: 4538 additions & 617 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mwc"
3-
version = "5.3.10"
3+
version = "6.0.0"
44
authors = ["Mwc Developers <[email protected]>"]
55
description = "Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
66
license = "Apache-2.0"
@@ -12,7 +12,7 @@ build = "src/build/build.rs"
1212
edition = "2018"
1313

1414
[workspace]
15-
members = ["api", "chain", "config", "core", "keychain", "p2p", "servers", "store", "util", "pool"]
15+
members = ["api", "chain", "config", "core", "keychain", "p2p", "servers", "store", "util", "pool", "node_workflow", "mwc_node_lib"]
1616
exclude = ["etc/gen_gen"]
1717

1818
[[bin]]
@@ -33,14 +33,15 @@ log = "0.4"
3333
term = "0.6"
3434
thiserror = "1"
3535

36-
mwc_api = { path = "./api", version = "5.3.10" }
37-
mwc_config = { path = "./config", version = "5.3.10" }
38-
mwc_chain = { path = "./chain", version = "5.3.10" }
39-
mwc_core = { path = "./core", version = "5.3.10" }
40-
mwc_keychain = { path = "./keychain", version = "5.3.10" }
41-
mwc_p2p = { path = "./p2p", version = "5.3.10" }
42-
mwc_servers = { path = "./servers", version = "5.3.10" }
43-
mwc_util = { path = "./util", version = "5.3.10" }
36+
mwc_api = { path = "./api", version = "6.0.0" }
37+
mwc_config = { path = "./config", version = "6.0.0" }
38+
mwc_chain = { path = "./chain", version = "6.0.0" }
39+
mwc_core = { path = "./core", version = "6.0.0" }
40+
mwc_keychain = { path = "./keychain", version = "6.0.0" }
41+
mwc_p2p = { path = "./p2p", version = "6.0.0" }
42+
mwc_servers = { path = "./servers", version = "6.0.0" }
43+
mwc_util = { path = "./util", version = "6.0.0" }
44+
mwc_node_workflow = { path = "./node_workflow", version = "6.0.0" }
4445

4546
[dependencies.cursive]
4647
version = "0.21"
@@ -51,8 +52,8 @@ features = ["pancurses-backend"]
5152
built = { version = "0.8", features = ["git2"]}
5253

5354
[dev-dependencies]
54-
mwc_chain = { path = "./chain", version = "5.3.10" }
55-
mwc_store = { path = "./store", version = "5.3.10" }
55+
mwc_chain = { path = "./chain", version = "6.0.0" }
56+
mwc_store = { path = "./store", version = "6.0.0" }
5657

5758
[profile.release-with-debug]
5859
inherits = "release"

api/Cargo.toml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mwc_api"
3-
version = "5.3.10"
3+
version = "6.0.0"
44
authors = ["Mwc Developers <[email protected]>"]
55
description = "APIs for mwc, a simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
66
license = "Apache-2.0"
@@ -12,6 +12,7 @@ edition = "2018"
1212
[dependencies]
1313
easy-jsonrpc-mwc = "0.5.6"
1414
hyper = { version = "0.14", features = ["full"] }
15+
ureq = "3"
1516
lazy_static = "1"
1617
regex = "1"
1718
ring = "0.16"
@@ -20,24 +21,20 @@ serde_derive = "1"
2021
serde_json = "1"
2122
thiserror = "1"
2223
log = "0.4"
23-
tokio = { version = "1", features = ["full"] }
24-
tokio-rustls = "0.23"
25-
http = "0.2"
24+
http = "0.2.12"
2625
hyper-timeout = "0.4"
2726
futures = "0.3"
2827
rustls = "0.20"
2928
rustls-pemfile = "1.0"
3029
async-stream = "0.3"
3130
url = "2.1"
32-
bytes = "1"
3331
chrono = { version = "0.4.11", features = ["serde"] }
3432

35-
mwc_core = { path = "../core", version = "5.3.10" }
36-
mwc_chain = { path = "../chain", version = "5.3.10" }
37-
mwc_p2p = { path = "../p2p", version = "5.3.10" }
38-
mwc_pool = { path = "../pool", version = "5.3.10" }
39-
mwc_store = { path = "../store", version = "5.3.10" }
40-
mwc_util = { path = "../util", version = "5.3.10" }
33+
mwc_core = { path = "../core", version = "6.0.0" }
34+
mwc_chain = { path = "../chain", version = "6.0.0" }
35+
mwc_p2p = { path = "../p2p", version = "6.0.0" }
36+
mwc_pool = { path = "../pool", version = "6.0.0" }
37+
mwc_util = { path = "../util", version = "6.0.0" }
4138

4239
# NOTE. We can't have hyper-rustls the same version for Android and non android. because if how rust builds dependency.
4340
# Android must have v0.20+

0 commit comments

Comments
 (0)