Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ed718c4
GH-457 (#1)
FinsaasGH Oct 21, 2021
d646da9
GH-414: Updated generate wallets to use 12 word mnemonic phrase as de…
FinsaasGH Oct 22, 2021
a965c7c
Revert "GH-414: Updated generate wallets to use 12 word mnemonic phra…
Oct 22, 2021
c937129
Revert "GH-457 (#1)"
Oct 22, 2021
e597ccc
Updated command processor with new clippy changes
Oct 22, 2021
df300db
Merge branch 'MASQ-Project:master' into master
FinsaasGH Oct 25, 2021
dc95a8a
GH-457 (#4)
FinsaasGH Oct 25, 2021
95e05b5
GH-414: Updated generate wallets to use 12 word mnemonic phrase (#5)
FinsaasGH Oct 29, 2021
7a7d828
Merge branch 'MASQ-Project:master' into master
FinsaasGH Nov 1, 2021
93f2792
Merge branch 'MASQ-Project:master' into master
FinsaasGH Nov 5, 2021
0618eb2
GH-418: Change copyright tags (#3)
FinsaasGH Nov 5, 2021
f242d1c
Merge branch 'MASQ-Project:master' into master
FinsaasGH Nov 8, 2021
19f1e8f
Merge branch 'MASQ-Project:master' into master
FinsaasGH Nov 9, 2021
9c3ee9f
GH-495: Update Rust from 2018 to 2021 (#6)
FinsaasGH Nov 11, 2021
a85a59f
GH-496: Updated dns_utility\cargo
Nov 11, 2021
4eb68b8
GH-496: Updated more dependencies
Nov 12, 2021
dfd773f
GH-496: Updated more dependencies, first actions run
Nov 12, 2021
918d91e
GH-496: Updated masq_real_node.rs with borrow on phrase.to_string() i…
Nov 12, 2021
8278cab
GH-496: Updated core-foundation for macOS testing
Nov 12, 2021
475b517
GH-509: Updated actix to 0.8.3 and related code
Nov 22, 2021
fa4ba73
GH-509: Updated actix to 0.12.0 and related code
Nov 24, 2021
8797b8b
GH-509: Formatting
FinsaasGH Dec 13, 2021
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
1,195 changes: 313 additions & 882 deletions dns_utility/Cargo.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions dns_utility/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ description = "Command-line utility to turn DNS subversion on and off"
edition = "2021"

[dependencies]
regex = "1.3.7"
libc = "0.2.69"
regex = "1.5.4"
libc = "0.2.107"
masq_lib = { path = "../masq_lib" }


[target.'cfg(target_os = "macos")'.dependencies]
system-configuration = "0.3.0"
core-foundation = "0.6.4"
system-configuration = "0.4.0"
core-foundation = "0.7.0"

[target.'cfg(target_os = "windows")'.dependencies]
winreg = "0.7.0"
ipconfig = "0.2.1"
winreg = "0.10.1"
ipconfig = "0.2.2"

[dev-dependencies]

Expand Down
12 changes: 6 additions & 6 deletions masq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ workspace = "../node"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = "2.33.1"
crossbeam-channel = "0.5.0"
clap = "2.33.3"
crossbeam-channel = "0.5.1"
lazy_static = "1.4.0"
linefeed = "0.6.0"
masq_lib = { path = "../masq_lib" }
regex = "1.0.5"
websocket = {version = "0.26.0", default-features = false, features = ["sync"]}
ctrlc = "3.1.9"
regex = "1.5.4"
websocket = {version = "0.26.2", default-features = false, features = ["sync"]}
ctrlc = "3.2.1"

[target.'cfg(not(target_os = "windows"))'.dependencies]
nix = "0.20.0"
nix = "0.23.0"

[lib]
name = "masq_cli_lib"
Expand Down
22 changes: 11 additions & 11 deletions masq_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ edition = "2021"
workspace = "../node"

[dependencies]
actix = "0.7.9"
actix = "0.12.0"
clap = "2.33.3"
const_format = "0.2.22"
crossbeam-channel = "0.5.0"
itertools = "0.8.0"
crossbeam-channel = "0.5.1"
itertools = "0.10.1"
lazy_static = "1.4.0"
regex = "1.0.5"
serde = "1.0.99"
serde_derive = "1.0.99"
serde_json = "1.0.40"
tiny-hderive = "0.2.1"
toml = "0.5.3"
regex = "1.5.4"
serde = "1.0.130"
serde_derive = "1.0.130"
serde_json = "1.0.69"
tiny-hderive = "0.3.0"
toml = "0.5.8"
web3 = {version = "0.8.0", default-features = false}
websocket = {version = "0.26.0", default-features = false, features = ["sync"]}
websocket = {version = "0.26.2", default-features = false, features = ["sync"]}

[features]
no_test_share = []

[target.'cfg(not(target_os = "windows"))'.dependencies]
nix = "0.20.0"
nix = "0.23.0"

[lib]
name = "masq_lib"
Expand Down
4 changes: 2 additions & 2 deletions masq_lib/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use crate::shared_schema::ConfiguratorError;
use crate::ui_gateway::MessagePath::{Conversation, FireAndForget};
use crate::ui_gateway::{MessageBody, MessagePath};
use itertools::Itertools;
use serde::__private::fmt::Error;
use serde::__private::Formatter;
use serde::de::DeserializeOwned;
use serde::export::fmt::Error;
use serde::export::Formatter;
use serde_derive::{Deserialize, Serialize};
use std::collections::HashMap;
use std::fmt;
Expand Down
2 changes: 1 addition & 1 deletion masq_lib/src/multi_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::utils::WrapResult;
use clap::{value_t, values_t};
use clap::{App, ArgMatches};
use regex::Regex;
use serde::export::Formatter;
use serde::__private::Formatter;
use std::collections::HashSet;
use std::fmt::{Debug, Display};
use std::fs::File;
Expand Down
2 changes: 2 additions & 0 deletions masq_lib/src/ui_gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ pub struct MessageBody {
}

#[derive(Message, PartialEq, Clone, Debug)]
#[rtype(result = "")]
pub struct NodeFromUiMessage {
pub client_id: u64,
pub body: MessageBody,
}

#[derive(Message, PartialEq, Clone, Debug)]
#[rtype(result = "")]
pub struct NodeToUiMessage {
pub target: MessageTarget,
pub body: MessageBody,
Expand Down
34 changes: 17 additions & 17 deletions multinode_integration_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ edition = "2021"
workspace = "../node"

[dependencies]
base64 = "0.10.1"
crossbeam-channel = "0.5.0"
base64 = "0.13.0"
crossbeam-channel = "0.5.1"
ethereum-types = "0.6.0"
ethsign-crypto = "0.1.0"
futures = "0.1.28"
itertools = "0.8.0"
ethsign-crypto = "0.2.1"
futures = "0.1.31"
itertools = "0.10.1"
masq_lib = { path = "../masq_lib" }
pretty-hex = "0.1.0"
pretty-hex = "0.2.1"
primitive-types = {version = "0.5.0", default-features = false, features = ["default", "rlp", "serde"] }
regex = "1.2.1"
rusqlite = {version = "0.20.0", features = ["bundled"]}
rustc-hex = "2.0.1"
serde = "1.0.99"
serde_derive = "1.0.99"
serde_cbor = "0.10.1"
regex = "1.5.4"
rusqlite = {version = "0.26.1", features = ["bundled"]}
rustc-hex = "2.1.0"
serde = "1.0.130"
serde_derive = "1.0.130"
serde_cbor = "0.11.2"
sha1 = "0.6.0"
tiny-bip39 = "0.6.2"
tiny-hderive = "0.2.1"
native-tls = "0.2.3"
tiny-bip39 = "0.8.2"
tiny-hderive = "0.3.0"
native-tls = "0.2.8"
node = { path = "../node", features = [ "expose_test_privates" ] }
uint = "0.8.1"
uint = "0.9.1"
web3 = {version = "0.8.0", default-features = false, features = ["http", "tls"]}

[lib]
Expand All @@ -41,4 +41,4 @@ name = "mock_node"
path = "src/main.rs"

[dev-dependencies]
reqwest = "0.9.19"
reqwest = "0.11.6"
2 changes: 1 addition & 1 deletion multinode_integration_tests/src/masq_real_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ impl NodeStartupConfig {
}
ConsumingWalletInfo::DerivationPath(phrase, derivation_path) => {
let mnemonic =
Mnemonic::from_phrase(phrase.to_string(), Language::English).unwrap();
Mnemonic::from_phrase(&phrase.to_string(), Language::English).unwrap();
let keypair = Bip32ECKeyPair::from_raw(
Seed::new(&mnemonic, "passphrase").as_ref(),
derivation_path,
Expand Down
9 changes: 4 additions & 5 deletions multinode_integration_tests/tests/verify_bill_payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use node_lib::blockchain::raw_transaction::RawTransaction;
use node_lib::database::db_initializer::{DbInitializer, DbInitializerReal};
use node_lib::sub_lib::wallet::Wallet;
use node_lib::test_utils;
use rusqlite::NO_PARAMS;
use rustc_hex::{FromHex, ToHex};
use std::convert::TryFrom;
use std::path::{Path, PathBuf};
Expand Down Expand Up @@ -390,12 +389,12 @@ fn expire_payables(path: PathBuf, chain: Chain) {
"update payable set last_paid_timestamp = 0 where pending_payment_transaction is null",
)
.unwrap();
statement.execute(NO_PARAMS).unwrap();
statement.execute([]).unwrap();

let mut config_stmt = conn
.prepare("update config set value = '0' where name = 'start_block'")
.unwrap();
config_stmt.execute(NO_PARAMS).unwrap();
config_stmt.execute([]).unwrap();
}

fn expire_receivables(path: PathBuf, chain: Chain) {
Expand All @@ -405,12 +404,12 @@ fn expire_receivables(path: PathBuf, chain: Chain) {
let mut statement = conn
.prepare("update receivable set last_received_timestamp = 0")
.unwrap();
statement.execute(NO_PARAMS).unwrap();
statement.execute([]).unwrap();

let mut config_stmt = conn
.prepare("update config set value = '0' where name = 'start_block'")
.unwrap();
config_stmt.execute(NO_PARAMS).unwrap();
config_stmt.execute([]).unwrap();
}

fn open_all_file_permissions(dir: PathBuf) {
Expand Down
Loading