author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
20,244
01.01.2020 13:52:26
18,000
e084ce71fff1e04548d896b4cf725967b5270b99
Minor Rita dependency updates
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -129,12 +129,12 @@ dependencies = [\n[[package]]\nname = \"actix_derive\"\n-version = \"0.4.0\"\n+version = \"0.5.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\ndependencies = [\n- \"...
Rust
Apache License 2.0
althea-net/althea_rs
Minor Rita dependency updates
20,244
01.01.2020 18:32:27
18,000
7f6cf79cceaf846c5b172052a68e83692cd0b7f0
Fix Travis by using newer version of Cross This isn't really a long term solution, just until Cross gets updated in crates.io to handle it.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -7,7 +7,7 @@ before_install:\n- sudo add-apt-repository universe\n- sudo apt-get -qq update\n- sudo apt-get install -y iperf3 libsqlite3-dev postgresql-client-11 postgresql-server-dev-11 libpq-dev python3-pi...
Rust
Apache License 2.0
althea-net/althea_rs
Fix Travis by using newer version of Cross This isn't really a long term solution, just until Cross gets updated in crates.io to handle it.
20,244
02.01.2020 08:23:28
18,000
627f4b668ef78556cf6a3fb59553140bcfa63679
Cargo Cross from master has openssl issues So the updated script does manage to run Cargo but does not actually finish the build, we're just going to go back to the latest release and allow beta to fail for now.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -7,7 +7,7 @@ before_install:\n- sudo add-apt-repository universe\n- sudo apt-get -qq update\n- sudo apt-get install -y iperf3 libsqlite3-dev postgresql-client-11 postgresql-server-dev-11 libpq-dev python3-pi...
Rust
Apache License 2.0
althea-net/althea_rs
Cargo Cross from master has openssl issues So the updated script does manage to run Cargo but does not actually finish the build, we're just going to go back to the latest release and allow beta to fail for now.
20,244
03.01.2020 08:15:56
18,000
4faa274ddcd83e830318a4c77fbe7e731f7b97c6
Update default bridge configuration for mcd This updates the addresses for DAI related contracts to the new multi collateral versions. I've also decided to stick with .org as the common domain for the full node clusters as that most closely aligns with our goals for a free to use API cluster.
[ { "change_type": "MODIFY", "old_path": "settings/src/payment.rs", "new_path": "settings/src/payment.rs", "diff": "@@ -63,7 +63,7 @@ fn default_debts_file() -> String {\nfn default_bridge_addresses() -> TokenBridgeAddresses {\nTokenBridgeAddresses {\n- uniswap_address: Address::from_str(\"0x09cabEC1e...
Rust
Apache License 2.0
althea-net/althea_rs
Update default bridge configuration for mcd This updates the addresses for DAI related contracts to the new multi collateral versions. I've also decided to stick with .org as the common domain for the full node clusters as that most closely aligns with our goals for a free to use API cluster.
20,244
03.01.2020 19:59:14
18,000
1b355220a186a5968c590f259120c5e836c3e4d4
Better monitoring for exit edge cases Just saw these come up in prod, figure we should keep an eye on them
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/mod.rs", "new_path": "rita/src/rita_exit/database/mod.rs", "diff": "@@ -84,7 +84,10 @@ pub fn get_database_connection(\n.timeout(Duration::from_secs(1))\n.then(|result| match result {\nOk(v) => Ok(v),\n- Err(e) => Err(format_err!(\"...
Rust
Apache License 2.0
althea-net/althea_rs
Better monitoring for exit edge cases Just saw these come up in prod, figure we should keep an eye on them
20,244
03.01.2020 20:14:09
18,000
b5660f402f545d346de5f15e5a92b49a122fd63b
Bump for Beta 11 RC3
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.28\",\n+ \"rita 0.5.29\",\n]\n[[package]]\n@@ -2140,7 +2140,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC3
20,244
03.01.2020 22:24:41
18,000
361f2769bb6bfae72dfb98f31bab84eb3ec32f42
Fix tests for add_ipv4_addr
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/ip_addr.rs", "new_path": "althea_kernel_interface/src/ip_addr.rs", "diff": "@@ -56,7 +56,7 @@ fn test_add_ipv4() {\nKI.set_mock(Box::new(move |program, args| {\nassert_eq!(program, \"ip\");\n- assert_eq!(args, &[\"addr\", \"add\", \...
Rust
Apache License 2.0
althea-net/althea_rs
Fix tests for add_ipv4_addr
20,244
07.01.2020 07:58:47
18,000
24b5a09d20d05e1a5230fbb07a9e16cccd5c8488
Log how much validated payments are worth This will help reduce the error bars when inspecting payments in and out for a node.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -250,8 +250,8 @@ fn handle_tx_messaging(\n// we where successfully paid\n(true, false, true) => {\ninfo!(\n- \"payment {:#066x} from {} suc...
Rust
Apache License 2.0
althea-net/althea_rs
Log how much validated payments are worth This will help reduce the error bars when inspecting payments in and out for a node.
20,244
01.12.2019 08:07:37
18,000
0bd27fc9323f7c4f83ac033bb331a9cf234bf948
Break out id_callback from tunnel manager Last time I spent a whole morning trying to do this in one big refactor but that didn't end up working out so now we're going to do it one bit at a time.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/hello_handler/mod.rs", "new_path": "rita/src/rita_common/hello_handler/mod.rs", "diff": "//! peer listener gets udp ImHere -> TunnelManager tries to contact peer with hello\n//! -> hello manager actually manages that request -> hello manag...
Rust
Apache License 2.0
althea-net/althea_rs
Break out id_callback from tunnel manager Last time I spent a whole morning trying to do this in one big refactor but that didn't end up working out so now we're going to do it one bit at a time.
20,244
03.12.2019 15:44:50
18,000
7b08640fd97bf1ebbda683740488e005d979ca3d
Handle bridge attach case
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -11,7 +11,7 @@ use std::net::Ipv4Addr;\nuse std::str::FromStr;\n#[cfg(feature = \"actix\")]\n-use actix::{ActorFuture, ActorStream, Message};\n+use actix::Message;\n/// This i...
Rust
Apache License 2.0
althea-net/althea_rs
Handle bridge attach case
20,244
19.12.2019 05:22:31
18,000
227d12e33a57484617df29b52872d4b08fd16ac6
Add assigned addresses to the assigned list
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/light_client_handler/mod.rs", "new_path": "rita/src/rita_client/light_client_handler/mod.rs", "diff": "@@ -173,6 +173,7 @@ impl Handler<GetAddress> for LightClientManager {\nwhile self.assigned_addresses.contains(&new_address) {\nnew_addre...
Rust
Apache License 2.0
althea-net/althea_rs
Add assigned addresses to the assigned list
20,244
19.12.2019 05:22:46
18,000
7b74960d84d22b60c49a86bbb28fce3eb71790ec
Use more generic endpoint name It's possible we will have non-phone devices use this endpoint some day so best to make it generic now.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -194,7 +194,7 @@ fn check_for_gateway_client_billing_corner_case() -> impl Future<Item = (), Erro\npub fn start_rita_client_endpoints(workers: usize) {\nse...
Rust
Apache License 2.0
althea-net/althea_rs
Use more generic endpoint name It's possible we will have non-phone devices use this endpoint some day so best to make it generic now.
20,244
19.12.2019 08:12:08
18,000
f4558a523d50ffe7e0efa61061bc5df375f01579
Add nat rules for tunnel Originally the plan was to attach the new interface to a bridge which would then have nat rules applied, this is easier than managing bridge logic in exchange for potentially polluting the nat table in the case that we have many phone clients
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/open_tunnel.rs", "new_path": "althea_kernel_interface/src/open_tunnel.rs", "diff": "@@ -78,7 +78,7 @@ impl dyn KernelInterface {\nlet allowed_addresses = match allowed_ipv4_address {\nNone => \"::/0\".to_string(),\n- Some(addr) => f...
Rust
Apache License 2.0
althea-net/althea_rs
Add nat rules for tunnel Originally the plan was to attach the new interface to a bridge which would then have nat rules applied, this is easier than managing bridge logic in exchange for potentially polluting the nat table in the case that we have many phone clients
20,244
19.12.2019 08:18:19
18,000
50f31b45c70d81d9a5f5285500f5e7e718a224df
Don't monitor light client tunnels I missed this specific reference to monitor in the first pass. This commit also removes some more references to phone-net which has been removed from the design for the time being as mentioned in
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -993,9 +993,7 @@ fn create_new_tunnel(\n// attach babel, the argument indicates that this is attempt zero\ntunnel.monitor(0);\n}\n- Some(_) => {\...
Rust
Apache License 2.0
althea-net/althea_rs
Don't monitor light client tunnels I missed this specific reference to monitor in the first pass. This commit also removes some more references to phone-net which has been removed from the design for the time being as mentioned in 6ce85b72af5d6dcab8d8ad0382d0173b59bc1be2
20,244
20.12.2019 07:15:41
18,000
6f3a6383a9b4af7f36b6ffe3df0747e4f8ff065f
Rename module to match the code
[ { "change_type": "RENAME", "old_path": "rita/src/rita_client/light_client_handler/mod.rs", "new_path": "rita/src/rita_client/light_client_manager/mod.rs", "diff": "" }, { "change_type": "MODIFY", "old_path": "rita/src/rita_client/mod.rs", "new_path": "rita/src/rita_client/mod.rs", ...
Rust
Apache License 2.0
althea-net/althea_rs
Rename module to match the code
20,244
31.12.2019 14:14:14
18,000
03153d92caed8262f6bdd4a92a97965b58dc6552
Fix light client tunnel opening logic The tunnel opening logic previously would allocate an ip on every request instead of for every unique requesting device. It would also fail to insert the proper route, and re-insert routes when not needed.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/light_client_manager/mod.rs", "new_path": "rita/src/rita_client/light_client_manager/mod.rs", "diff": "@@ -19,6 +19,7 @@ use futures01::future::Either;\nuse futures01::{future, Future};\nuse settings::RitaCommonSettings;\nuse std::boxed::B...
Rust
Apache License 2.0
althea-net/althea_rs
Fix light client tunnel opening logic The tunnel opening logic previously would allocate an ip on every request instead of for every unique requesting device. It would also fail to insert the proper route, and re-insert routes when not needed.
20,244
06.01.2020 09:56:52
18,000
3f821c5516185db686497fa5d41ec3fcd1156185
add_ipv4_addr() is needed on this branch This change was originally made in another branch for another feature, that feature got into master and I rebased this branch onto it. Resulting in a dependency. The ipv4 dialer address feature got yanked from master so now this needs to be pulled over here.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/ip_addr.rs", "new_path": "althea_kernel_interface/src/ip_addr.rs", "diff": "use super::KernelInterface;\n+use failure::Error;\n+use std::net::Ipv4Addr;\n+\nimpl dyn KernelInterface {\n/// Returns a bool based on device state, \"UP\"...
Rust
Apache License 2.0
althea-net/althea_rs
add_ipv4_addr() is needed on this branch This change was originally made in another branch for another feature, that feature got into master and I rebased this branch onto it. Resulting in a dependency. The ipv4 dialer address feature got yanked from master so now this needs to be pulled over here.
20,249
30.12.2019 14:22:31
28,800
e76f002ce08d02ea1db552f6cecbc705dcc2b730
Fix /exits/sync endpoint
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -254,7 +254,7 @@ fn start_client_dashboard() {\n)\n.route(\"/debts\", Method::GET, get_debts)\n.route(\"/debts/reset\", Method::POST, reset_debt)\n- .route(\"/exits/sync\", Method::GET, exits_s...
Rust
Apache License 2.0
althea-net/althea_rs
Fix /exits/sync endpoint
20,244
08.01.2020 17:07:22
18,000
306b9f3f81271edd7861360cc53c18838c800b25
Log enforcement with wgkey Since we've standardized on this for metadata
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -586,7 +586,7 @@ impl DebtKeeper {\ninfo!(\n\"debt {} is below close threshold {} for {}. suspending forwarding\",\n- debt_data.debt, close_threshold, ...
Rust
Apache License 2.0
althea-net/althea_rs
Log enforcement with wgkey Since we've standardized on this for metadata
20,244
09.01.2020 07:25:51
18,000
22e46a686fabbe6a8d2544d478d41152b18154ed
Put price in light client hello Normally prices are advertised by Babel, but for light clients there's no babel between them and the router at all. Likewise the pricing is very simple as it's the exit destination price plus the routers own fee.
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -276,6 +276,9 @@ pub struct LightClientLocalIdentity {\npub have_tunnel: Option<bool>, // If we have an existing tunnel, None if we don't know\npub global: Identity,\npub tunn...
Rust
Apache License 2.0
althea-net/althea_rs
Put price in light client hello Normally prices are advertised by Babel, but for light clients there's no babel between them and the router at all. Likewise the pricing is very simple as it's the exit destination price plus the routers own fee.
20,244
15.01.2020 09:54:45
18,000
de6574d252fa979977f7779abb58a9f39e0e2aa5
Bump version for Beta 11 RC4
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.29\",\n+ \"rita 0.5.30\",\n]\n[[package]]\n@@ -2140,7 +2140,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump version for Beta 11 RC4
20,244
17.01.2020 16:16:37
18,000
a424e4b96f157b73503a7d46bcb992f8e43ebc58
Fix phone billing There was a rather obvious error in retrospect here where instead of computing based on the last seen usage we use the cumulative usage of the tunnel to calculate debts
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/wg_iface_counter.rs", "new_path": "althea_kernel_interface/src/wg_iface_counter.rs", "diff": "@@ -11,7 +11,7 @@ use althea_types::WgKey;\nuse super::{KernelInterface, KernelInterfaceError};\n-#[derive(Clone, Debug)]\n+#[derive(Clone...
Rust
Apache License 2.0
althea-net/althea_rs
Fix phone billing There was a rather obvious error in retrospect here where instead of computing based on the last seen usage we use the cumulative usage of the tunnel to calculate debts
20,244
18.01.2020 08:08:13
28,800
15d1ab65e415a4e9f3bcd948bb27aa7075f0902f
Default node list should also be DAI When I changed the default blockchain I forgot the default node list as well
[ { "change_type": "MODIFY", "old_path": "settings/src/payment.rs", "new_path": "settings/src/payment.rs", "diff": "@@ -47,10 +47,7 @@ fn default_balance_warning_level() -> Uint256 {\n}\nfn default_node_list() -> Vec<String> {\n- vec![\n- \"https://eth.althea.org:443\".to_string(),\n- \"https://mainne...
Rust
Apache License 2.0
althea-net/althea_rs
Default node list should also be DAI When I changed the default blockchain I forgot the default node list as well
20,244
18.01.2020 20:08:31
18,000
839b24f1181fde463bf5e141fb194335149eed9d
Listen for light client hellos on ipv4 After some testing on a larger variety of devices I've continued to have issues getting fe80 addresses to really work properly so I'm going to try this strategy of just doing it over ipv4
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -214,20 +214,22 @@ fn check_for_gateway_client_billing_corner_case() -> impl Future<Item = (), Erro\n}\npub fn start_rita_client_endpoints(workers: usize) ...
Rust
Apache License 2.0
althea-net/althea_rs
Listen for light client hellos on ipv4 After some testing on a larger variety of devices I've continued to have issues getting fe80 addresses to really work properly so I'm going to try this strategy of just doing it over ipv4
20,244
20.01.2020 09:49:04
18,000
a55f3d0cd6a7bf28aa7174062c3292db549acee2
Bump exit enforcement timeout to 10 seconds Having some trouble with this on slow exits, considering that we now have a 60 second timeout for payments on all x86 based targets this should still be safe We also add an assert to really make sure that is the case
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -31,9 +31,9 @@ use web30::types::TransactionResponse;\n// far less dynamic network conditions and it's far more important that we validate ...
Rust
Apache License 2.0
althea-net/althea_rs
Bump exit enforcement timeout to 10 seconds Having some trouble with this on slow exits, considering that we now have a 60 second timeout for payments on all x86 based targets this should still be safe We also add an assert to really make sure that is the case
20,244
23.01.2020 08:29:34
18,000
8e053d701e7157f916ce9a4ec19ac0fa3337c8f4
Update DAO url default for xdai The third and hopefully final place where I forgot to update a default to match the new dai default currency Added some notes to hopefully prevent this sort of oversight in the future
[ { "change_type": "MODIFY", "old_path": "settings/src/dao.rs", "new_path": "settings/src/dao.rs", "diff": "@@ -13,8 +13,9 @@ fn default_use_oracle_price() -> bool {\ntrue\n}\n+// if you are changing this double check the default currency and the default node url\nfn default_oracle_url() -> Option<Str...
Rust
Apache License 2.0
althea-net/althea_rs
Update DAO url default for xdai The third and hopefully final place where I forgot to update a default to match the new dai default currency Added some notes to hopefully prevent this sort of oversight in the future
20,244
23.01.2020 12:07:19
28,800
01b33f8d42a7b55149191949432e9538d158e461
Discard identities with negative or zero debt This change will have no functional effect except to reduce the on disk size of the stored debts list. Which still needs a timeout for a real cleanup function
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -94,14 +94,14 @@ fn debt_data_to_ser(input: DebtData) -> DebtDataSer {\nfn ser_to_debt_data(input: DebtDataSer) -> DebtData {\nlet mut ret = DebtData::...
Rust
Apache License 2.0
althea-net/althea_rs
Discard identities with negative or zero debt This change will have no functional effect except to reduce the on disk size of the stored debts list. Which still needs a timeout for a real cleanup function
20,244
23.01.2020 13:12:01
28,800
dd28b1dca6e69a2b4c4fbf9c9d49e8f947e7bbad
Our price is the local fee plus exit dest price When I refactored this I just used the exit destination price, not the exit destination price plus our own fee like we advertise to the client.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/light_client_manager/mod.rs", "new_path": "rita/src/rita_client/light_client_manager/mod.rs", "diff": "@@ -302,7 +302,8 @@ impl Handler<Watch> for LightClientManager {\ntype Result = ();\nfn handle(&mut self, msg: Watch, _: &mut Context<Se...
Rust
Apache License 2.0
althea-net/althea_rs
Our price is the local fee plus exit dest price When I refactored this I just used the exit destination price, not the exit destination price plus our own fee like we advertise to the client.
20,244
24.01.2020 15:10:01
18,000
fc587ca74c5a0041b12b0815afca751a3009fd82
Note the number of active light clients
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/light_client_manager/mod.rs", "new_path": "rita/src/rita_client/light_client_manager/mod.rs", "diff": "@@ -279,6 +279,7 @@ fn return_addresses(tunnels: &[Tunnel], assigned_addresses: &mut HashMap<LocalId\nfor id in addresses_to_remove {\na...
Rust
Apache License 2.0
althea-net/althea_rs
Note the number of active light clients
20,244
24.01.2020 18:09:14
18,000
1175fef6a02332fe13595a2149aab7c1fbce4310
Bump for Beta 11 RC5
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.30\",\n+ \"rita 0.5.31\",\n]\n[[package]]\n@@ -2140,7 +2140,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC5
20,244
25.01.2020 09:10:58
18,000
a04f956612f1e989ab6fe1dd50433e6b304fca42
Clean up payment validator imports
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "//! off to debt keeper to be removed from the owed balance. Payments may time out after a\n//! configured period.\n-use crate::rita_common;\nu...
Rust
Apache License 2.0
althea-net/althea_rs
Clean up payment validator imports
20,244
25.01.2020 20:32:06
18,000
8c33e2217c8b3d946c394913b9d2bc38dfbfd406
Fix light client tunnel cleanup Light client tunnel cleanup would clean system nat rules, this is not only uneeded but would break normal client traffic. This patch corrects this by assuming the exit tunnel rules are already in place and only adding and removing interface specific rules.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -246,4 +246,36 @@ impl dyn KernelInterface {\nOk(())\n}\n+\n+ pub fn add_light_client_nat_rules(&self, lan_nic: &str) -> Result<(),...
Rust
Apache License 2.0
althea-net/althea_rs
Fix light client tunnel cleanup Light client tunnel cleanup would clean system nat rules, this is not only uneeded but would break normal client traffic. This patch corrects this by assuming the exit tunnel rules are already in place and only adding and removing interface specific rules.
20,244
25.01.2020 20:39:13
18,000
85fbacedc3eb32826a2c50de578a3faee5b3d1a1
eui48 is a dead dependency Deleting it doesn't cause any compile issues so I guess it's been hanging around for no good reason for a long time.
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -142,14 +142,6 @@ name = \"adler32\"\nversion = \"1.0.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-[[package]]\n-name = \"aho-corasick\"\n-version = \"0.6.10\"\n-source = \"registr...
Rust
Apache License 2.0
althea-net/althea_rs
eui48 is a dead dependency Deleting it doesn't cause any compile issues so I guess it's been hanging around for no good reason for a long time.
20,244
26.01.2020 21:24:49
18,000
56d151420a91f4fbb7da418044f764b55af7a024
Use the Zero identity
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -21,6 +21,7 @@ use ::actix::prelude::{Actor, Context, Handler, Message, Supervised, SystemServi\nuse althea_types::{Identity, PaymentTx};\nuse failure:...
Rust
Apache License 2.0
althea-net/althea_rs
Use the Zero identity
20,244
27.01.2020 10:16:41
18,000
1e5398f500aa0c491b570a53ae0dfdf2723caaa4
Bump for Beta 11 RC6
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.30\",\n+ \"rita 0.5.32\",\n]\n[[package]]\n@@ -2104,7 +2104,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC6
20,244
31.01.2020 15:17:56
18,000
8402149a1c50c30dccfa09f819336570f77e630d
InterfaceMode can implement copy This will assist in some compiler optimizations
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/interfaces.rs", "new_path": "rita/src/rita_client/dashboard/interfaces.rs", "diff": "@@ -18,7 +18,7 @@ pub struct InterfaceToSet {\npub mode: InterfaceMode,\n}\n-#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)]\n+#[...
Rust
Apache License 2.0
althea-net/althea_rs
InterfaceMode can implement copy This will assist in some compiler optimizations
20,244
31.01.2020 15:30:12
18,000
9b98fd3777b20f2616e84a26dd3440ecdb326805
Should be exit_dest_price Just to keep consistent terminology
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/prices.rs", "new_path": "rita/src/rita_client/dashboard/prices.rs", "diff": "@@ -30,7 +30,7 @@ pub fn set_auto_pricing(path: Path<bool>) -> Result<HttpResponse, Error> {\n#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, ...
Rust
Apache License 2.0
althea-net/althea_rs
Should be exit_dest_price Just to keep consistent terminology
20,244
31.01.2020 17:11:20
18,000
d509d97968301e44c35c06563605300a73dd3142
Fix simulated txfee copy
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "new_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "diff": "@@ -159,7 +159,7 @@ impl Handler<Tick> for SimulatedTxFeeManager {\n// we will just underpay when that occurs\nArbiter::spawn(tran...
Rust
Apache License 2.0
althea-net/althea_rs
Fix simulated txfee copy
20,244
01.02.2020 06:20:44
18,000
0db85178f3faf79ca0643cc41252558c486c8f72
Use zero property here
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -465,7 +465,7 @@ impl DebtKeeper {\nfn payment_received(&mut self, ident: &Identity, amount: Uint256) -> Result<(), Error> {\nlet signed_zero = Int256:...
Rust
Apache License 2.0
althea-net/althea_rs
Use zero property here
20,244
03.02.2020 18:41:20
28,800
089eec776fdd1abb2bce9e5ddbdbc7078c0577b7
Bump for Beta 11 RC7
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.32\",\n+ \"rita 0.5.33\",\n]\n[[package]]\n@@ -2104,7 +2104,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC7
20,244
04.02.2020 07:53:20
18,000
31b73b234885097bb7e5fb1be79e1a8cd488e5fa
Use a constant for xdai payment multiplier I had some trouble keeping this number the same across all the locations it was used. So this commit refactors it into a constant
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -31,6 +31,7 @@ use docopt::Docopt;\nuse env_logger;\nuse openssl_probe;\nuse settings::client::{RitaClientSettings, RitaSettingsStruct};\n+use settings::payment::XDAI_FEE_MULTIPLIER;\nuse setti...
Rust
Apache License 2.0
althea-net/althea_rs
Use a constant for xdai payment multiplier I had some trouble keeping this number the same across all the locations it was used. So this commit refactors it into a constant
20,244
04.02.2020 14:30:02
18,000
757649352acbe003c5165f5f9e1d4e56e8d6b2ff
Handle AltheaMobile being toggled off Devices that have never had the light client network don't have the option value populated. But new devices where the network is toggled off do have a value there but just can't bind to a non-existant network
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -217,7 +217,7 @@ pub fn start_rita_client_endpoints(workers: usize) {\n// listen on the light client gateway ip if it's not none\nif let Some(gateway_ip) =...
Rust
Apache License 2.0
althea-net/althea_rs
Handle AltheaMobile being toggled off Devices that have never had the light client network don't have the option value populated. But new devices where the network is toggled off do have a value there but just can't bind to a non-existant network
20,244
05.02.2020 13:32:04
18,000
1231ebc603b8eefc6f15c31b1bca7a8901cc06af
Better comment for bandwidth_limit_enabled I had to go look at what this did, so the comment needs work and the variable itself maybe needs renaming.
[ { "change_type": "MODIFY", "old_path": "settings/src/network.rs", "new_path": "settings/src/network.rs", "diff": "@@ -115,7 +115,9 @@ pub struct NetworkSettings {\n#[serde(default)]\n/// Set to true by the dashboard when the user indicates they've made a backup\npub backup_created: bool,\n- /// Dete...
Rust
Apache License 2.0
althea-net/althea_rs
Better comment for bandwidth_limit_enabled I had to go look at what this did, so the comment needs work and the variable itself maybe needs renaming.
20,244
05.02.2020 13:45:04
18,000
c059ae482c7175942f4099684c4f691a93468d01
Finish phase out of insecure status and registration This is finally all done and can be removed, no live routers depend on this anymore
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/network_endpoints/mod.rs", "new_path": "rita/src/rita_exit/network_endpoints/mod.rs", "diff": "@@ -188,55 +188,6 @@ pub fn secure_setup_request(\n}\n}\n-pub fn setup_request(\n- their_id: (Json<ExitClientIdentity>, HttpRequest),\n-) -> Box<d...
Rust
Apache License 2.0
althea-net/althea_rs
Finish phase out of insecure status and registration This is finally all done and can be removed, no live routers depend on this anymore
20,244
05.02.2020 13:47:47
18,000
3714cba1fbebeab9132ff9a9355ded72cc85a525
Remove the /rtt endpoint from the exit This one was doomed from the start, it uses tcp and that's just too slow
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/network_endpoints/mod.rs", "new_path": "rita/src/rita_exit/network_endpoints/mod.rs", "diff": "@@ -18,7 +18,7 @@ use actix::SystemService;\nuse actix_web::AsyncResponder;\nuse althea_types::Identity;\nuse althea_types::{\n- EncryptedExitClie...
Rust
Apache License 2.0
althea-net/althea_rs
Remove the /rtt endpoint from the exit This one was doomed from the start, it uses tcp and that's just too slow
20,244
05.02.2020 14:31:15
18,000
76b4209dc2ca110cece2718b27aa00df1f7d2d77
Reduce unneeded database loads in status request path The exit was performing a db request to check if a user entry existed and then just a few lines later requesting that same entry. We can save the round trip time and grab it while we check if it exists
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/database_tools.rs", "new_path": "rita/src/rita_exit/database/database_tools.rs", "diff": "@@ -96,7 +96,7 @@ pub fn update_client(client: &ExitClientIdentity, conn: &PgConnection) -> Result\npub fn get_client(\nclient: &ExitClientIde...
Rust
Apache License 2.0
althea-net/althea_rs
Reduce unneeded database loads in status request path The exit was performing a db request to check if a user entry existed and then just a few lines later requesting that same entry. We can save the round trip time and grab it while we check if it exists
20,244
05.02.2020 15:23:30
18,000
495d0bb6a5bcb652d541fde94beffc8822b57f0e
Remove utility functions from rita_exit::database::mod.rs I'd like the mod.rs file to only contain the high level logic for each major database comonent.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/database_tools.rs", "new_path": "rita/src/rita_exit/database/database_tools.rs", "diff": "use crate::rita_common::utils::ip_increment::increment;\nuse crate::rita_exit::database::secs_since_unix_epoch;\n+use crate::rita_exit::databa...
Rust
Apache License 2.0
althea-net/althea_rs
Remove utility functions from rita_exit::database::mod.rs I'd like the mod.rs file to only contain the high level logic for each major database comonent.
20,244
05.02.2020 17:19:26
18,000
a1afcc8a1f3ec047bc12f607561f7f2b91893069
Better debug message for exit suspension
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/mod.rs", "new_path": "rita/src/rita_exit/database/mod.rs", "diff": "@@ -523,7 +523,7 @@ pub fn enforce_exit_clients(\nNone => {\n// this can happen when clients are connected but not registered\n// to this specific exit\n- trace!(\"...
Rust
Apache License 2.0
althea-net/althea_rs
Better debug message for exit suspension
20,244
06.02.2020 08:15:09
18,000
4d18c30c7dffb7ead54ad2ef3b1d57aabc6ac3bd
Bump for Beta 11 RC8
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.33\",\n+ \"rita 0.5.34\",\n]\n[[package]]\n@@ -2104,7 +2104,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC8
20,244
06.02.2020 09:52:29
18,000
dd37a5a4f6011581b158de3bb33961341039003b
Use client loop timeout on status requests For the sake of consistency we should have a single safe timeout for these loops.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "//! Signup is complete and the user may use the connection\nuse crate::rita_client::rita_loop::Tick;\n+use crate::rita_client::rita_loop::CLIENT_LOOP_TI...
Rust
Apache License 2.0
althea-net/althea_rs
Use client loop timeout on status requests For the sake of consistency we should have a single safe timeout for these loops.
20,244
08.02.2020 21:45:40
-3,600
f23a76451fba913f033b2e8a15f8c16b8c56ffd5
Handle xdai zero gas prices with minimum gas price Sometimes xdai nodes want to return zero gas price averages. Even when that's clearly not accepted by any of the nodes.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "@@ -28,6 +28,8 @@ use std::time::Duration;\nuse std::time::Instant;\nuse web30::client::Web3;\n+const MIN_GAS: u128 = 1_000_000_000;\n+\npub struct Oracle {\n/// An...
Rust
Apache License 2.0
althea-net/althea_rs
Handle xdai zero gas prices with minimum gas price Sometimes xdai nodes want to return zero gas price averages. Even when that's clearly not accepted by any of the nodes.
20,244
08.02.2020 17:14:31
18,000
119dce3ce3cf5cb86c5677754179eee2cfbbcc46
Fix defaults for Localization settings Derive default uses the default values for the native types, not the default values that we assign in Serde
[ { "change_type": "MODIFY", "old_path": "settings/src/localization.rs", "new_path": "settings/src/localization.rs", "diff": "@@ -6,7 +6,7 @@ fn default_wyre_account_id() -> String {\n\"AC_2J6LWQEGW8P\".to_string()\n}\n-#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Default)]\n+#[derive...
Rust
Apache License 2.0
althea-net/althea_rs
Fix defaults for Localization settings Derive default uses the default values for the native types, not the default values that we assign in Serde
20,244
08.02.2020 17:33:42
18,000
213310dbd66c8b9bf1779dafc4d9e5525423a56a
Bump for Beta 11 RC9
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.34\",\n+ \"rita 0.5.35\",\n]\n[[package]]\n@@ -2104,7 +2104,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC9
20,244
09.02.2020 07:00:27
18,000
aab5251647817681d869ba3b02c3b403ab1799c9
Maintain error payment warning Now we are sending constant debt updates to process incoming payments so this error message is mostly going off for no reason. By guarding it for zero payments (the way we handle incoming payments now) we can still monitor the error case properly.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -476,7 +476,7 @@ impl DebtKeeper {\n// just a counter, no convergence importance\ndebt_data.total_payment_received += amount.clone();\n// add in the la...
Rust
Apache License 2.0
althea-net/althea_rs
Maintain error payment warning Now we are sending constant debt updates to process incoming payments so this error message is mostly going off for no reason. By guarding it for zero payments (the way we handle incoming payments now) we can still monitor the error case properly.
20,244
09.02.2020 09:46:11
18,000
10aeae39aca49b5608cdfaa1daaaf196754e9fab
Fix the withdraw_all endpoint Using gas prices below 250gewi broke this endpoint because it's gas computation wasn't precise enough. This should clean it up nicely. Also handled an edge case where the dashboard updated to withdrawing before the transaction actually went through
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dashboard/wallet.rs", "new_path": "rita/src/rita_common/dashboard/wallet.rs", "diff": "@@ -58,13 +58,22 @@ pub fn withdraw_all(path: Path<Address>) -> Box<dyn Future<Item = HttpResponse,\nlet payment_settings = SETTING.get_payment();\nlet ...
Rust
Apache License 2.0
althea-net/althea_rs
Fix the withdraw_all endpoint Using gas prices below 250gewi broke this endpoint because it's gas computation wasn't precise enough. This should clean it up nicely. Also handled an edge case where the dashboard updated to withdrawing before the transaction actually went through
20,244
09.02.2020 10:39:43
18,000
807d662c330b0a5c4e30ccb49d4a10dbc27f5564
Fix another logging message
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "new_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "diff": "@@ -78,10 +78,9 @@ impl Handler<AddTxToTotal> for SimulatedTxFeeManager {\nfn handle(&mut self, msg: AddTxToTotal, _: &mut Context...
Rust
Apache License 2.0
althea-net/althea_rs
Fix another logging message
20,244
09.02.2020 15:44:40
18,000
946ea8c15e2546d83510504d6be65f9bc608c943
Bump oracle timeout
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "//! operates by simply grabbing a text file from a configured server and adjusting prices\n//! to match. More advanced pricing systems may be broken out into their ...
Rust
Apache License 2.0
althea-net/althea_rs
Bump oracle timeout
20,244
10.02.2020 06:28:57
18,000
247d33de3640df757efbd494c3839fc97e597689
Clean up locking on exit status path I don't think this is much of an optimizaiton really compared to the previous format. But it does make the aquisition and drop behavior more clear to the reader.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/mod.rs", "new_path": "rita/src/rita_exit/database/mod.rs", "diff": "@@ -63,12 +63,14 @@ pub mod struct_tools;\npub const ONE_DAY: i64 = 86400;\npub fn get_exit_info() -> ExitDetails {\n+ let exit_network = SETTING.get_exit_network()...
Rust
Apache License 2.0
althea-net/althea_rs
Clean up locking on exit status path I don't think this is much of an optimizaiton really compared to the previous format. But it does make the aquisition and drop behavior more clear to the reader.
20,244
10.02.2020 09:43:27
18,000
4552f09522f54ed58b7f96aedc1734869525ad8c
Actually tick simulated txfees Currently totals are added up correctly but never paid out since the tick is never run.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/rita_loop/slow_loop.rs", "new_path": "rita/src/rita_common/rita_loop/slow_loop.rs", "diff": "use crate::rita_common::dao_manager::DAOManager;\nuse crate::rita_common::dao_manager::Tick as DAOTick;\n+use crate::rita_common::simulated_txfee_...
Rust
Apache License 2.0
althea-net/althea_rs
Actually tick simulated txfees Currently totals are added up correctly but never paid out since the tick is never run.
20,244
10.02.2020 15:41:05
18,000
0ef15be649559236920caa9b9bb839ca1bb6e9e1
Don't try to pay the fee if you don't need to This is a pretty bad logic error. We didn't actually check if we should pay because the trace! statement qualified as a usage.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "new_path": "rita/src/rita_common/simulated_txfee_manager/mod.rs", "diff": "@@ -115,6 +115,9 @@ impl Handler<Tick> for SimulatedTxFeeManager {\nsimulated_transaction_fee,\nsimulated_transaction_fee_address\...
Rust
Apache License 2.0
althea-net/althea_rs
Don't try to pay the fee if you don't need to This is a pretty bad logic error. We didn't actually check if we should pay because the trace! statement qualified as a usage.
20,244
10.02.2020 15:52:06
18,000
92fc43ccf5187bf3574a1f703b2539a031f6b93d
Drop payment settinsgs for DAO and Txfee managers Pretty pointless micro-opt but I noticed it so here it is
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dao_manager/mod.rs", "new_path": "rita/src/rita_common/dao_manager/mod.rs", "diff": "@@ -92,6 +92,8 @@ impl Handler<Tick> for DAOManager {\nlet we_have_a_dao = !dao_addresses.is_empty();\nlet should_pay =\n(Int256::from(self.last_payment_t...
Rust
Apache License 2.0
althea-net/althea_rs
Drop payment settinsgs for DAO and Txfee managers Pretty pointless micro-opt but I noticed it so here it is
20,244
10.02.2020 16:47:53
18,000
e96b292afc0e2299b5bcef1cc51c0de408605f0b
Bump for Beta 11 RC10
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.35\",\n+ \"rita 0.5.36\",\n]\n[[package]]\n@@ -2104,7 +2104,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC10
20,244
10.02.2020 20:46:16
18,000
c1fa25edb9219eec8bd4d7da8a75cda714216b2d
Very long timeouts are a bad idea 60 second timeouts are causing very significant slow downs in the rita common loop. Too many of these futures are still being driven when they should have been terminated earlier. Sadly this doesn't look like a viable path for more robust payment validation.
[ { "change_type": "MODIFY", "old_path": "rita/Cargo.toml", "new_path": "rita/Cargo.toml", "diff": "@@ -74,6 +74,6 @@ features = [\"std\"]\n[features]\n# Features for big iron devices with more ram\n-server = [\"long_timeouts\"]\n+server = []\nlong_timeouts = []\ndevelopment = []\n" }, { "chan...
Rust
Apache License 2.0
althea-net/althea_rs
Very long timeouts are a bad idea 60 second timeouts are causing very significant slow downs in the rita common loop. Too many of these futures are still being driven when they should have been terminated earlier. Sadly this doesn't look like a viable path for more robust payment validation.
20,244
10.02.2020 21:06:13
18,000
584440c72072dafa7b575627533dbaf11e4b5871
Simplify payment validation using join We can really reduce the verbosity of this handler and optimize the underlying requests by using join here.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -17,8 +17,7 @@ use crate::rita_common::usage_tracker::UsageTracker;\nuse crate::SETTING;\nuse actix::{Actor, Arbiter, Context, Handler, Mes...
Rust
Apache License 2.0
althea-net/althea_rs
Simplify payment validation using join We can really reduce the verbosity of this handler and optimize the underlying requests by using join here.
20,244
11.02.2020 08:05:27
18,000
a7d65beb23b0d13692d80bc1e222fcbd2c4be6de
transaction_validation_timeout can be greater than panic_time Now that we are checking over in payment validatior this is just an alarm for general slow functioning.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -173,8 +173,6 @@ impl Handler<Validate> for PaymentValidator {\nif !item.checked {\nlet msg = \"We failed to check txid {:#066x} against fu...
Rust
Apache License 2.0
althea-net/althea_rs
transaction_validation_timeout can be greater than panic_time Now that we are checking over in payment validatior this is just an alarm for general slow functioning.
20,244
11.02.2020 08:43:56
18,000
cb3caac4c2be8f5799ea755886869e0416e66d99
Do not mark transactions as checked multiple times
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -204,9 +204,11 @@ pub fn validate_transaction(ts: &ToValidate) {\n.eth_block_number()\n.join(web3.eth_get_transaction_by_hash(txid.clone())...
Rust
Apache License 2.0
althea-net/althea_rs
Do not mark transactions as checked multiple times
20,244
11.02.2020 16:03:37
18,000
e16b66ff7579ddcc9e996253618c058ad6dcda38
Display client_can_use_free_tier to dashbaord The dashboard message is misleading when free tier is disabled.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dashboard/own_info.rs", "new_path": "rita/src/rita_common/dashboard/own_info.rs", "diff": "@@ -21,6 +21,7 @@ pub struct OwnInfo {\npub rita_version: String,\npub version: String,\npub is_gateway: bool,\n+ pub client_can_use_free_tier: bool...
Rust
Apache License 2.0
althea-net/althea_rs
Display client_can_use_free_tier to dashbaord The dashboard message is misleading when free tier is disabled.
20,244
12.02.2020 10:05:42
18,000
ae393c2515b56480a20c1d6236c0aab96021824c
Log wgkey of payment sender
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_endpoints/mod.rs", "new_path": "rita/src/rita_common/network_endpoints/mod.rs", "diff": "@@ -53,9 +53,7 @@ pub fn make_payments(\nlet txid = txid.unwrap();\ninfo!(\n\"Got Payment from {:?} for {} with txid {:#066x}\",\n- pmt.1.conn...
Rust
Apache License 2.0
althea-net/althea_rs
Log wgkey of payment sender
20,244
12.02.2020 10:30:27
18,000
990a3a391aec6798d4077299fdd8eb63dca87d21
Better display for validated transactions queue
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "use crate::rita_common::debt_keeper::DebtKeeper;\nuse crate::rita_common::debt_keeper::PaymentReceived;\nuse crate::rita_common::debt_keeper::...
Rust
Apache License 2.0
althea-net/althea_rs
Better display for validated transactions queue
20,244
12.02.2020 10:35:46
18,000
6427dd1eff96ca8c21281b3525c5d8aababe07a8
Enforce tx verification timeout This is an oversight from the join refactor
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -22,6 +22,7 @@ use settings::RitaCommonSettings;\nuse std::collections::HashSet;\nuse std::fmt;\nuse std::time::{Duration, Instant};\n+use ...
Rust
Apache License 2.0
althea-net/althea_rs
Enforce tx verification timeout This is an oversight from the join refactor
20,244
12.02.2020 11:29:25
18,000
da1cf5b2b8549e1f5ad9b638b0f40b670700a75f
Use display not debug to display wg_keys
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_endpoints/mod.rs", "new_path": "rita/src/rita_common/network_endpoints/mod.rs", "diff": "@@ -52,7 +52,7 @@ pub fn make_payments(\n}\nlet txid = txid.unwrap();\ninfo!(\n- \"Got Payment from {:?} for {} with txid {:#066x}\",\n+ \"Got...
Rust
Apache License 2.0
althea-net/althea_rs
Use display not debug to display wg_keys
20,244
16.02.2020 08:31:02
18,000
f769ceb7790473b13f8fc1c0ed8b4739dbe1e4e7
and_then() only checks for Actix failures The previous commit was incomplete, we also need to check the return value of the function explicitly.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -141,11 +141,13 @@ impl Handler<Remove> for PaymentValidator {\n// during this session\nif msg.success && was_present {\nself.successful_tr...
Rust
Apache License 2.0
althea-net/althea_rs
and_then() only checks for Actix failures The previous commit was incomplete, we also need to check the return value of the function explicitly.
20,244
17.02.2020 08:00:46
18,000
d130cd61bb471dc4292536bd01ecfc68d9d0e4c9
Clean up bad port toggles External nics are created pretty much only by port toggling these days. After observing a few devices in the field I noticed that they had duplicated the external nic into the peer interfaces list. It must not have been removed properly. This should clean that up.
[ { "change_type": "MODIFY", "old_path": "clu/src/lib.rs", "new_path": "clu/src/lib.rs", "diff": "@@ -141,6 +141,7 @@ fn linux_init(config: Arc<RwLock<settings::client::RitaSettingsStruct>>) -> Resu\n}\n}\n+ // generates a keypair if we don't already have a valid one\nif wg_privkey_option.is_none() ||...
Rust
Apache License 2.0
althea-net/althea_rs
Clean up bad port toggles External nics are created pretty much only by port toggling these days. After observing a few devices in the field I noticed that they had duplicated the external nic into the peer interfaces list. It must not have been removed properly. This should clean that up.
20,244
17.02.2020 18:26:50
18,000
af4f9315a607fc1a4571e3b5294c6fbfdc71485e
Description is deprecated
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/peer_listener/message.rs", "new_path": "rita/src/rita_common/peer_listener/message.rs", "diff": "@@ -41,14 +41,6 @@ impl From<io::Error> for MessageError {\n}\n}\n-#[test]\n-fn test_message_error() {\n- assert_eq!(\n- MessageError::Invalid...
Rust
Apache License 2.0
althea-net/althea_rs
Description is deprecated
20,244
18.02.2020 17:48:02
18,000
07faa54b60e6268fef8a530033e8a27672d1c909
Send json serialized ID with heartbeat The previous heartbeat implementation only sent the WireGuard key. It would also panic in many (improbable) sitautions. This patch fixes those two issues and provides a heartbeat implementation that will not crash and provides enough info for a good organizer dashboard.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -38,6 +38,8 @@ pub struct RitaLoop;\npub const CLIENT_LOOP_SPEED: u64 = 5;\npub const CLIENT_LOOP_TIMEOUT: Duration = Duration::from_secs(4);\n+pub const H...
Rust
Apache License 2.0
althea-net/althea_rs
Send json serialized ID with heartbeat The previous heartbeat implementation only sent the WireGuard key. It would also panic in many (improbable) sitautions. This patch fixes those two issues and provides a heartbeat implementation that will not crash and provides enough info for a good organizer dashboard.
20,244
18.02.2020 17:51:55
18,000
4e5d8862562477d0a0dd914fbe20a842021c48bb
Enable request compression support for Actix-web
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -69,6 +69,7 @@ dependencies = [\n\"cookie 0.11.2 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"encoding 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"failure 0.1.6 (regis...
Rust
Apache License 2.0
althea-net/althea_rs
Enable request compression support for Actix-web
20,244
18.02.2020 17:59:18
18,000
2695d007ebbabc1c9d18b0d4224b5d88e038ef27
Bump for Beta 11 RC11
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -167,7 +167,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.36\",\n+ \"rita 0.5.37\",\n]\n[[package]]\n@@ -2095,7 +2095,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC11
20,244
25.02.2020 10:02:29
18,000
ac170491238345ac73937deeec8ca3d71ac3a23f
Add display for Identity This type should really have a display impl since we use it everywhere.
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -22,6 +22,23 @@ pub struct Identity {\npub nickname: Option<ArrayString<[u8; 32]>>,\n}\n+impl Display for Identity {\n+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Resul...
Rust
Apache License 2.0
althea-net/althea_rs
Add display for Identity This type should really have a display impl since we use it everywhere.
20,244
26.02.2020 13:34:45
18,000
771abcddf43c84addc2d34c68a3b02fd5a9494bf
Move OracleUpdate to AltheaTypes This makes it much easier to import Oracle update into other Rust crates.
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -345,3 +345,19 @@ impl FromStr for ReleaseStatus {\n}\n}\n}\n+\n+#[derive(Debug, Clone, Serialize, Deserialize)]\n+pub struct OracleUpdate {\n+ pub client: u32,\n+ pub gateway...
Rust
Apache License 2.0
althea-net/althea_rs
Move OracleUpdate to AltheaTypes This makes it much easier to import Oracle update into other Rust crates.
20,244
27.02.2020 12:28:15
18,000
2adcb20d74ab2acfec47a3e56ca6f0818f961711
Add GetNetworkInfo to NetworkMonitor Network monitor does the hard work of bringing together all the major bits of network info pertaining to our Babel and Rita peers. There are several components which can use this info without having to go out to Babel themselves.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -160,6 +160,7 @@ fn has_packet_loss(sample: u16) -> bool {\npub struct NetworkMonitor {\nlatency_history: HashMap<String, RunningLatencyStats>,...
Rust
Apache License 2.0
althea-net/althea_rs
Add GetNetworkInfo to NetworkMonitor Network monitor does the hard work of bringing together all the major bits of network info pertaining to our Babel and Rita peers. There are several components which can use this info without having to go out to Babel themselves.
20,244
27.02.2020 12:28:15
18,000
b82c02b1aa8a2b52f579ad75cbe45bc38cd70aaf
Clippy on Babel monitor Serde Derive was required to compile babel monitor as standalone instead of as a depencency of another crate with that macro in scope. Several clippy nits fixed. Ignored the cognitive complexity one for parsing routes and neighs due to the nature of getting data into those large structs.
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -274,6 +274,7 @@ dependencies = [\n\"ipnetwork 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde 1.0.104 (regist...
Rust
Apache License 2.0
althea-net/althea_rs
Clippy on Babel monitor Serde Derive was required to compile babel monitor as standalone instead of as a depencency of another crate with that macro in scope. Several clippy nits fixed. Ignored the cognitive complexity one for parsing routes and neighs due to the nature of getting data into those large structs.
20,244
27.02.2020 13:33:40
18,000
c026f3ae16a1ace89b72bc5fd2cd328ed12971bf
Simplify BabelMonitor parsing routines This removes the cognitive complexity nit from BabelMonitor with some fancy trait binding. That being said I'm not totally satisfied that it's perfect, so I've placed it in this seperate commit from the clippy changes for easy reversion
[ { "change_type": "MODIFY", "old_path": "babel_monitor/src/lib.rs", "new_path": "babel_monitor/src/lib.rs", "diff": "@@ -20,11 +20,14 @@ use futures::future::result as future_result;\nuse futures::future::Either;\nuse futures::future::Future;\nuse ipnetwork::IpNetwork;\n+use std::error::Error as Erro...
Rust
Apache License 2.0
althea-net/althea_rs
Simplify BabelMonitor parsing routines This removes the cognitive complexity nit from BabelMonitor with some fancy trait binding. That being said I'm not totally satisfied that it's perfect, so I've placed it in this seperate commit from the clippy changes for easy reversion
20,244
01.03.2020 07:31:40
18,000
f2f57905fc9fb2fb3269507c53496f6cfed15dc8
Fix ciphertext spelling Very minor error, but it was bothering me
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/network_endpoints/mod.rs", "new_path": "rita/src/rita_exit/network_endpoints/mod.rs", "diff": "@@ -60,10 +60,10 @@ fn decrypt_exit_client_id(\nlet their_wg_pubkey = val.pubkey;\nlet their_nacl_pubkey = val.pubkey.into();\nlet their_nonce = N...
Rust
Apache License 2.0
althea-net/althea_rs
Fix ciphertext spelling Very minor error, but it was bothering me
20,244
01.03.2020 10:49:27
18,000
b6d4f95a3b8433ddb75e313dd3c0ac10ab4242d3
Direct heartbeat at stats subdomain Sending this directly to the main domain is a great way to cause problems eventually with a large number of udp packets we have to redirect away from our website servers.
[ { "change_type": "MODIFY", "old_path": "settings/src/logging.rs", "new_path": "settings/src/logging.rs", "diff": "@@ -11,7 +11,7 @@ fn default_logging_dest_url() -> String {\n}\nfn default_heartbeat_url() -> String {\n- \"althea.net:33333\".to_string()\n+ \"stats.altheamesh.com:33333\".to_string()\n...
Rust
Apache License 2.0
althea-net/althea_rs
Direct heartbeat at stats subdomain Sending this directly to the main domain is a great way to cause problems eventually with a large number of udp packets we have to redirect away from our website servers.
20,244
01.03.2020 12:35:45
18,000
469e374e689343e6bf14279bff29f72aa40643b2
Bump for Beta 12 RC1
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -166,7 +166,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.37\",\n+ \"rita 0.5.38\",\n]\n[[package]]\n@@ -2095,7 +2095,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 12 RC1
20,244
09.03.2020 12:08:39
14,400
b4bfb60ca84c8e2444c15e86edbd6d25f216a3e6
Speed up tests using git archive This reduces the amount of time spent inserting the repo into the docker container and also decreases the complexity of creating that tarball in the first place by implicitly only sending checked in files
[ { "change_type": "MODIFY", "old_path": "integration-tests/container/Dockerfile", "new_path": "integration-tests/container/Dockerfile", "diff": "@@ -13,5 +13,5 @@ ENV NODES=$NODES\n# we pull in the git tar instead of the local folder becuase the raw code is much much smaller\n# note that changes have...
Rust
Apache License 2.0
althea-net/althea_rs
Speed up tests using git archive This reduces the amount of time spent inserting the repo into the docker container and also decreases the complexity of creating that tarball in the first place by implicitly only sending checked in files
20,244
14.03.2020 18:34:22
14,400
68d12f3f738df9ebe9b2d12bd61c174dd5cf8d94
Log duplicate validation attempts I want to get some more insight into this
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -297,17 +297,17 @@ fn handle_tx_messaging(\nmatch (to_us, from_us, is_in_chain) {\n// we where successfully paid\n(true, false, true) => {\...
Rust
Apache License 2.0
althea-net/althea_rs
Log duplicate validation attempts I want to get some more insight into this
20,244
27.02.2020 10:39:13
18,000
6373b22d1d7883c6840a1865fe20961be25eaa1f
Add heartbeat types This creates a much more expansive type container for the heartbeat message which includes a small amount of topology and routing data to balance the needs of keeping the message small and providing enough detail to the heartbeat server to really help network operators.
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -183,6 +183,7 @@ version = \"0.1.0\"\ndependencies = [\n\"actix\",\n\"arrayvec 0.5.1\",\n+ \"babel_monitor\",\n\"base64 0.11.0\",\n\"clarity\",\n\"failure\",\n" }, { "change_type": "MODIFY", "old_p...
Rust
Apache License 2.0
althea-net/althea_rs
Add heartbeat types This creates a much more expansive type container for the heartbeat message which includes a small amount of topology and routing data to balance the needs of keeping the message small and providing enough detail to the heartbeat server to really help network operators.
20,244
27.02.2020 16:55:02
18,000
400b73d7b7618d0227106c2ca58e43ef0d750f4c
Improved HeartBeat This adds a number of features to the HeartBeat system, and breaks it out into it's own file.
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -380,13 +380,25 @@ pub struct OracleUpdate {\n#[derive(Debug, Clone, Serialize, Deserialize)]\npub struct HeartBeatMessage {\n+ /// The identity of the sender\npub id: Identit...
Rust
Apache License 2.0
althea-net/althea_rs
Improved HeartBeat This adds a number of features to the HeartBeat system, and breaks it out into it's own file.
20,244
28.02.2020 06:38:27
18,000
fa7a47565cad9c05565cb51237b4060b8769160a
Use slices to copy heartbeat data This leaves the compiler more room to optimize the copying process
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/heartbeat/mod.rs", "new_path": "rita/src/rita_client/heartbeat/mod.rs", "diff": "@@ -189,15 +189,10 @@ fn send_udp_heartbeat_packet(\nlet ciphertext = box_::seal(&plaintext, &nonce, &their_publickey, &our_secretkey);\nlet mut packet_conten...
Rust
Apache License 2.0
althea-net/althea_rs
Use slices to copy heartbeat data This leaves the compiler more room to optimize the copying process
20,244
01.03.2020 07:05:48
18,000
bef0e7cf14b1396e72e7eddc2ae1e3e47ccbac79
Heartbeat instead of HeartBeat
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -379,7 +379,7 @@ pub struct OracleUpdate {\n}\n#[derive(Debug, Clone, Serialize, Deserialize)]\n-pub struct HeartBeatMessage {\n+pub struct HeartbeatMessage {\n/// The identit...
Rust
Apache License 2.0
althea-net/althea_rs
Heartbeat instead of HeartBeat
20,244
22.03.2020 09:03:17
14,400
9e1f68a8f5209da96f7928d9c98f7a69a5719d60
Use lazy_static for hardcoded heartbeat key
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/heartbeat/mod.rs", "new_path": "rita/src/rita_client/heartbeat/mod.rs", "diff": "@@ -33,7 +33,11 @@ use std::time::Duration;\ntype Resolver = resolver::Resolver;\n-const HEARTBEAT_SERVER_KEY: &str = \"hizclQFo/ArWY+/9+AJ0LBY2dTiQK4smy5icM7...
Rust
Apache License 2.0
althea-net/althea_rs
Use lazy_static for hardcoded heartbeat key
20,244
22.03.2020 10:27:24
14,400
274ef13f3a2add886840f7a2f692f37a8c00d408
Gitlab ci No integration tests here sadly. They don't seem to have vm executors in any workable state
[ { "change_type": "ADD", "old_path": null, "new_path": ".gitlab-ci.yml", "diff": "+image: rust:latest\n+\n+before_script:\n+ - apt-get -qq update\n+ - apt-get install -y libsqlite3-dev curl git libssl-dev build-essential libpq-dev\n+ - rustup component add rustfmt\n+ - rustup component add clippy\n+\...
Rust
Apache License 2.0
althea-net/althea_rs
Gitlab ci No integration tests here sadly. They don't seem to have vm executors in any workable state
20,244
22.03.2020 09:44:49
14,400
e375b679744991b4fd708329c2daaac2fa974112
Link in Antenna forwarding client There are some dependency hardships here. To prevent circular dependency hell we have to patch out the gitlab version of althea-types to our own local version. Otherwise pretty straightforward, bring in the forwarding client and start it up
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -91,7 +91,7 @@ dependencies = [\n\"percent-encoding 1.0.1\",\n\"rand 0.6.5\",\n\"regex\",\n- \"serde 1.0.104\",\n+ \"serde 1.0.105\",\n\"serde_json\",\n\"serde_urlencoded\",\n\"sha1\",\n@@ -139,7 +139,7 @@ che...
Rust
Apache License 2.0
althea-net/althea_rs
Link in Antenna forwarding client There are some dependency hardships here. To prevent circular dependency hell we have to patch out the gitlab version of althea-types to our own local version. Otherwise pretty straightforward, bring in the forwarding client and start it up
20,244
23.03.2020 09:59:08
14,400
428b19ef0eee4309888603e4930ad9f19201739a
Test script should replicate travis Now that we're not running Travis all the time we need this
[ { "change_type": "MODIFY", "old_path": "scripts/test.sh", "new_path": "scripts/test.sh", "diff": "#!/bin/bash\n-set -eux\n+#set -eux\nNODES=${NODES:='None'}\nRUST_TEST_THREADS=1 cargo test --all\n+cross test --target x86_64-unknown-linux-musl --verbose -p rita --bin rita -- --test-threads=1\n+cross ...
Rust
Apache License 2.0
althea-net/althea_rs
Test script should replicate travis Now that we're not running Travis all the time we need this
20,244
23.03.2020 13:14:07
14,400
3201c911236f6c6e1886cb22e97347503b735042
Improve tests for antenna protocol
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -219,6 +219,7 @@ dependencies = [\n\"althea_types\",\n\"clarity\",\n\"failure\",\n+ \"rand 0.7.3\",\n\"serde 1.0.105\",\n\"serde_derive\",\n\"serde_json\",\n" }, { "change_type": "MODIFY", "old_pat...
Rust
Apache License 2.0
althea-net/althea_rs
Improve tests for antenna protocol
20,244
23.03.2020 15:35:34
14,400
390ad8a82b90137af3a5c23dcd7d819a978f487f
Don't log double sent payments either
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_validator/mod.rs", "new_path": "rita/src/rita_common/payment_validator/mod.rs", "diff": "@@ -328,16 +328,16 @@ fn handle_tx_messaging(\n}\n// we suceessfully paid someone\n(false, true, true) => {\n- info!(\n- \"payment {:#066x} fr...
Rust
Apache License 2.0
althea-net/althea_rs
Don't log double sent payments either
20,244
25.03.2020 08:45:51
14,400
a5cc5106ead8a729eec2a55231a8ed44c1b14bb6
Add KeepAlive message We need to send these once every 5 seconds or so and use that to quickly recycle/reopen connections if needed
[ { "change_type": "MODIFY", "old_path": "antenna_forwarding_protocol/src/lib.rs", "new_path": "antenna_forwarding_protocol/src/lib.rs", "diff": "@@ -18,7 +18,8 @@ use std::net::IpAddr;\n/// an excessively long protocol magic value that preceeds all\n/// control traffic. A u32 would probably be suffic...
Rust
Apache License 2.0
althea-net/althea_rs
Add KeepAlive message We need to send these once every 5 seconds or so and use that to quickly recycle/reopen connections if needed
20,244
26.03.2020 14:52:11
14,400
cc41daf96c30f5007ca155cba27df23c276116d7
Working forwarding! This fixes a lot of the reading logic, improves spinlock efficiency, adds effective ipv4 routing discovery and modificaiton and generally gets us to a very basic working system. Needs some tweaks to properly forward SSL connections and also some code cleanup
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -205,8 +205,10 @@ dependencies = [\n\"env_logger\",\n\"failure\",\n\"get_if_addrs\",\n+ \"lazy_static\",\n\"log\",\n\"oping\",\n+ \"rand 0.7.3\",\n\"serde 1.0.105\",\n\"serde_json\",\n\"sodiumoxide\",\n" }, ...
Rust
Apache License 2.0
althea-net/althea_rs
Working forwarding! This fixes a lot of the reading logic, improves spinlock efficiency, adds effective ipv4 routing discovery and modificaiton and generally gets us to a very basic working system. Needs some tweaks to properly forward SSL connections and also some code cleanup
20,244
28.03.2020 13:27:05
14,400
f61a8e4eef51164f83be17b2603a5bc9006b6df0
Add more tests and clean up forwarding protocol logic I'm chasing an issue where we have a packet with an incorrect size value. Trying to determine if that's happening here or at a different level.
[ { "change_type": "MODIFY", "old_path": "antenna_forwarding_protocol/src/lib.rs", "new_path": "antenna_forwarding_protocol/src/lib.rs", "diff": "@@ -27,6 +27,9 @@ pub const SPINLOCK_TIME: Duration = Duration::from_millis(10);\n/// currently 100kbytes\npub const BUFFER_SIZE: usize = 100_000;\n+/// The...
Rust
Apache License 2.0
althea-net/althea_rs
Add more tests and clean up forwarding protocol logic I'm chasing an issue where we have a packet with an incorrect size value. Trying to determine if that's happening here or at a different level.