author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
20,244 | 08.01.2019 17:45:12 | 18,000 | fd550f88fe7eab99e05a2ca63dc9263c4e96ba91 | Save config before restarting with new ip
This pulls the docopt args value into it's own global ref,
from there it can be referenced in other files and used to
save the config file before we restart the Rita process | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -75,8 +75,8 @@ use crate::rita_common::dashboard::wallet::*;\nuse crate::rita_common::network_endpoints::*;\n-#[derive(Debug, Deserialize)]\n-struct Args {\n+#[derive(Debug, Deserialize, Defaul... | Rust | Apache License 2.0 | althea-net/althea_rs | Save config before restarting with new ip
This pulls the docopt args value into it's own global ref,
from there it can be referenced in other files and used to
save the config file before we restart the Rita process |
20,244 | 10.01.2019 17:17:50 | 18,000 | 3ca86afd4823318fd3850a19e1250240a4403d3e | Chain switch should update net_version | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -6,13 +6,17 @@ pub fn set_system_blockchain(\n) -> Box<dyn Future<Item = HttpResponse, Error = Error>> {\ninfo!(\"Blockchain change endpo... | Rust | Apache License 2.0 | althea-net/althea_rs | Chain switch should update net_version |
20,244 | 11.01.2019 07:57:37 | 18,000 | 0ac5cddd1d3a45bf6cb98b2f36decbb29da98a3e | Disambiguate imports
This is why we shouldn't use * imports from actix_web | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -30,7 +30,7 @@ extern crate log;\n#[macro_use]\nextern crate serde_derive;\n-use actix;\n+use ::actix;\nuse env_logger;\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.r... | Rust | Apache License 2.0 | althea-net/althea_rs | Disambiguate imports
This is why we shouldn't use * imports from actix_web |
20,244 | 11.01.2019 09:50:26 | 18,000 | 2e7b90a5d9c0b44b8a6db325c5086e6f9277fdcf | Pay only 5% in fees | [
{
"change_type": "MODIFY",
"old_path": "settings/src/payment.rs",
"new_path": "settings/src/payment.rs",
"diff": "@@ -29,7 +29,7 @@ fn default_pay_threshold() -> Int256 {\n}\nfn default_dynamic_fee_multiplier() -> u32 {\n- 10\n+ 20\n}\nfn default_free_tier_throughput() -> u32 {\n@@ -105,7 +105,7 @@ ... | Rust | Apache License 2.0 | althea-net/althea_rs | Pay only 5% in fees |
20,244 | 12.01.2019 11:37:25 | 18,000 | 845998983e718e421fa154f3ba4d67c3844bfe84 | Expand chain selection to store default chain | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1026,9 +1026,33 @@ Sets auto pricing value\n## /blockchain/set/{chain}\n-Sets the blockchain being used by the router, either 'eth' or 'rinkeby' currently\n+Sets the blockc... | Rust | Apache License 2.0 | althea-net/althea_rs | Expand chain selection to store default chain |
20,244 | 13.01.2019 08:44:31 | 18,000 | a7388450974d75ac2611d14b5148c1b33feafe77 | Load blanace across our own cluster and infura
I'm two days in to trying to get all the trasaction reciepts downloaded
in our own cluster and it's providing quite the hastle. For now we'll use
Infura | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -155,8 +155,14 @@ lazy_static! {\nfn main() {\n// TODO remove in Beta 2\n- SETTING.get_payment_mut().node_list = vec![\"https://eth.althea.org:443\".to_string()];\n- SETTING.get_dao_mut().node_... | Rust | Apache License 2.0 | althea-net/althea_rs | Load blanace across our own cluster and infura
I'm two days in to trying to get all the trasaction reciepts downloaded
in our own cluster and it's providing quite the hastle. For now we'll use
Infura |
20,244 | 13.01.2019 08:55:23 | 18,000 | 7e29948bc2546b0bcfb02a649152fa3f232e8ae0 | Bump version for Beta 1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -153,7 +153,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.2.0\",\n+ \"rita 0.3.0\",\n]\n[[package]]\n@@ -1952,7 +1952,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump version for Beta 1 |
20,244 | 13.01.2019 09:37:58 | 18,000 | 315eb8e1c5c22f1ded80a4e85382fe23c627d3d6 | Screwed up mainnet net_id
It's 1 not 2 | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -16,7 +16,7 @@ pub fn set_system_blockchain(\n\"https://eth.althea.org:443\".to_string(),\n\"https://mainnet.infura.io/v3/6b080f02d7004a8... | Rust | Apache License 2.0 | althea-net/althea_rs | Screwed up mainnet net_id
It's 1 not 2 |
20,244 | 13.01.2019 21:19:42 | 18,000 | 2ff0e4df419968634e4e1a81283dd2e5d90ae012 | Add Xdai network support
This adds Xdai support to the system chain selection | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -22,6 +22,12 @@ pub fn set_system_blockchain(\n\"https://eth.althea.org:443\".to_string(),\n\"https://mainnet.infura.io/v3/6b080f02d7004a... | Rust | Apache License 2.0 | althea-net/althea_rs | Add Xdai network support
This adds Xdai support to the system chain selection |
20,244 | 14.01.2019 09:54:43 | 18,000 | 8e3baa7b7bae8d55edcf1f13ce5e295c6ef26537 | Add human readable versions
Semver keeps confusing people (and me) so we're just going to have
a human readable version mapping | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -21,7 +21,8 @@ This file documents the dashboard API found in Rita client.\n\"pay_threshold\" 97000000,\n\"close_threshold\" \"970000000\"\n\"device\": \"mynet-n750\",\n- \"... | Rust | Apache License 2.0 | althea-net/althea_rs | Add human readable versions
Semver keeps confusing people (and me) so we're just going to have
a human readable version mapping |
20,244 | 14.01.2019 10:24:42 | 18,000 | 4f72bf70f0fc55c4ea5e5cfe1b1e714896909a33 | Don't forget to change the price oracle url back
If this had made it into prod it would have been an issue | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -22,6 +22,7 @@ pub fn set_system_blockchain(\n\"https://eth.althea.org:443\".to_string(),\n\"https://mainnet.infura.io/v3/6b080f02d7004a8... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't forget to change the price oracle url back
If this had made it into prod it would have been an issue |
20,244 | 14.01.2019 10:30:24 | 18,000 | 6c54e08f843ae79ac7d6557fe96c266d643c1133 | Be more specific about version | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/own_info.rs",
"new_path": "rita/src/rita_common/dashboard/own_info.rs",
"diff": "use super::*;\nuse num256::{Int256, Uint256};\n-pub static READABLE_VERSION: &str = \"Beta 1\";\n+pub static READABLE_VERSION: &str = \"Beta 1 RC2\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Be more specific about version |
20,244 | 14.01.2019 17:57:16 | 18,000 | bbc0fd47c37135bffed821b01cb608c6076ad189 | Fix blockchain/set endpoint | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1027,7 +1027,7 @@ Sets auto pricing value\n## /blockchain/set/{chain}\n-Sets the blockchain being used by the router, either 'ethereum' or 'rinkeby' currently\n+Sets the bl... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix blockchain/set endpoint |
20,244 | 17.01.2019 10:21:23 | 18,000 | 1f05aa2b6d61e23fc8ee6d1a0ae50747b6facf13 | Correct freetier -> paid transition
The intermediary free tier enforcement would not detect tbf filters
and would not remove them when the tunnel was supposed to be reopened.
Also stale balances where reduced too aggressivly causing bounding too
and from the free tier to occur too quickly | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -62,7 +62,9 @@ impl KernelInterface {\n}\nlet stdout = &String::from_utf8(result.stdout)?;\n- Ok(stdout.contains(\"htb\") && !stdout.cont... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct freetier -> paid transition
The intermediary free tier enforcement would not detect tbf filters
and would not remove them when the tunnel was supposed to be reopened.
Also stale balances where reduced too aggressivly causing bounding too
and from the free tier to occur too quickly |
20,244 | 17.01.2019 10:52:33 | 18,000 | 0d95e8d13537e294f1fbe119b80a6ec87ac0dddc | Manually save config on exit selection
Since a common task is setup device -> unplug for transport to install
location doing this helps prevent confusing loss of setup details | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/exits.rs",
"new_path": "rita/src/rita_client/dashboard/exits.rs",
"diff": "use super::*;\n+use crate::ARGS;\n+use settings::FileWrite;\n+\n#[derive(Serialize)]\npub struct ExitInfo {\nnickname: String,\n@@ -244,6 +247,14 @@ pub f... | Rust | Apache License 2.0 | althea-net/althea_rs | Manually save config on exit selection
Since a common task is setup device -> unplug for transport to install
location doing this helps prevent confusing loss of setup details |
20,244 | 17.01.2019 11:38:37 | 18,000 | 6de322e7270caa823d520d7112f71ff371096a51 | Update text version | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -153,7 +153,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.0\",\n+ \"rita 0.3.1\",\n]\n[[package]]\n@@ -1952,7 +1952,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update text version |
20,244 | 17.01.2019 11:44:14 | 18,000 | 120903e4bdfd3868a8aff58d1d557e641614e4f8 | Short circut DAO check
At least until it can be fixed | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -126,7 +126,9 @@ impl Handler<CacheCallback> for DAOManager {\n};\nlet has_vec = self.ident2dao.contains_key(&their_id);\n- let on_dao = num != Uint256... | Rust | Apache License 2.0 | althea-net/althea_rs | Short circut DAO check
At least until it can be fixed |
20,244 | 18.01.2019 17:55:59 | 18,000 | c6b1530594436bebd104c109762291007bf0738f | Fix setting lan interfaces with Wlan lan configurations | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -28,20 +28,6 @@ impl ToString for InterfaceMode {\n}\n}\n-#[derive(Debug)]\n-pub struct GetInterfaces;\n-\n-impl Message for GetInterfaces {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix setting lan interfaces with Wlan lan configurations |
20,244 | 19.01.2019 08:07:34 | 18,000 | 5f9a84b42a5993044f9ec6e3b7fc83b59963afc4 | Bump for RC4
Fixes for the wifi issue | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.toml",
"new_path": "rita/Cargo.toml",
"diff": "[package]\nname = \"rita\"\n-version = \"0.3.1\"\n+version = \"0.3.2\"\nauthors = [\"Jehan <jehan.tremback@gmail.com>\", \"Ben <wangben3@gmail.com>\"]\nbuild = \"build.rs\"\nedition = \"2018\"\n"
},
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for RC4
Fixes for the wifi issue |
20,244 | 19.01.2019 08:47:53 | 18,000 | c94d518a3e8262c57eee4efc53969254b33f4e9f | Increase default htb limit
The documentation says that Ciel should be reachable when it's not
contested, but that doesn't seem to be the case. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -153,7 +153,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.1\",\n+ \"rita 0.3.2\",\n]\n[[package]]\n@@ -1952,7 +1952,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Increase default htb limit
The documentation says that Ciel should be reachable when it's not
contested, but that doesn't seem to be the case. |
20,244 | 19.01.2019 10:31:12 | 18,000 | 6efce0b7d1cf2556bf74b777d12d30cce79f73e9 | Fix integration test balances
The config location of local_fee in the integration test was not
updated when local_fee was moved | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -343,7 +343,7 @@ def start_rita(node):\nsettings[\"network\"][\"wg_private_key_path\"] = \"{pwd}/private-key-{id}\".format(id=id, pwd=dname)\nsettings[\"network\"][\"peer_interfac... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix integration test balances
The config location of local_fee in the integration test was not
updated when local_fee was moved |
20,244 | 19.01.2019 11:47:53 | 18,000 | c0b3f714fb2ac830c7db0a3a178e6c4983e4bc39 | Save interfaces changes manually
We should also save explicitly after interfaces changes | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "//! A generalized interface for modifying networking interface assignments using UCI\nuse super::*;\n+use crate::ARGS;\n+use settings::FileWrite... | Rust | Apache License 2.0 | althea-net/althea_rs | Save interfaces changes manually
We should also save explicitly after interfaces changes |
20,244 | 23.01.2019 07:24:04 | 18,000 | d96c98c9b4fff2e6477bc963ba1f8234aa3bb721 | Remove hardcoded prod eth network | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -154,16 +154,6 @@ lazy_static! {\n}\nfn main() {\n- // TODO remove in Beta 2\n- SETTING.get_payment_mut().node_list = vec![\n- \"https://eth.althea.org:443\".to_string(),\n- \"https://mainnet.i... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove hardcoded prod eth network |
20,244 | 24.01.2019 10:20:38 | 18,000 | 12c3fa5d228eff2df3ccd0fd736daaddb893577f | All of these endpoints should save the config | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/exits.rs",
"new_path": "rita/src/rita_client/dashboard/exits.rs",
"diff": "@@ -198,6 +198,11 @@ pub fn exits_sync(\n}\nexits.extend(new_exits);\n+ // try and save the config and fail if we can't\n+ if let Err(e) = SETTING.write()... | Rust | Apache License 2.0 | althea-net/althea_rs | All of these endpoints should save the config |
20,244 | 24.01.2019 14:02:02 | 18,000 | dc73df887c3ea08b0dcaf0afdabbd0d801b089ab | Use home grown xdai nodes
The public xdai rpc returns invalid utf8 in some cases, I think it's
caused by cloudflare doing stuff like trying to set cookies | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -27,7 +27,7 @@ pub fn set_system_blockchain(\npayment.system_chain = SystemChain::Ethereum;\npayment.price_oracle_url = \"https://updates... | Rust | Apache License 2.0 | althea-net/althea_rs | Use home grown xdai nodes
The public xdai rpc returns invalid utf8 in some cases, I think it's
caused by cloudflare doing stuff like trying to set cookies |
20,244 | 24.01.2019 14:14:48 | 18,000 | 8b22b1e54d6d04868232f5c6f5493caf9af2070a | Infura only for testing | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -32,7 +32,7 @@ pub fn set_system_blockchain(\npayment.system_chain = SystemChain::Xdai;\npayment.price_oracle_url = \"https://updates.alt... | Rust | Apache License 2.0 | althea-net/althea_rs | Infura only for testing |
20,244 | 24.01.2019 16:43:05 | 18,000 | 93c4f6537e770e1d78ffc7e54ceae83b1b168e3d | Handle xdai's zero gas prices | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -32,7 +32,8 @@ pub fn set_system_blockchain(\npayment.system_chain = SystemChain::Xdai;\npayment.price_oracle_url = \"https://updates.alt... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle xdai's zero gas prices |
20,244 | 25.01.2019 10:24:35 | 18,000 | ad5c6001508b9f30f9ab9afa5626d37d746f68e1 | Define minimum gas cost
For networks where the gas price is zero. Since we determine when
to pay based on debt and gas prices it causes transactions to be
sent too quickly. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -192,11 +192,13 @@ fn update_gas_price(web3: &Web3) {\ntrace!(\"Got response from gas price request {:?}\", value);\n// Dynamic fee computation\nlet mut payment_... | Rust | Apache License 2.0 | althea-net/althea_rs | Define minimum gas cost
For networks where the gas price is zero. Since we determine when
to pay based on debt and gas prices it causes transactions to be
sent too quickly. |
20,244 | 25.01.2019 11:23:30 | 18,000 | 0830928027018c39f442aa79ab56a16a83e3f1ac | Listen to remote nonce
Nonce desync is real and it's more important to get back into sync
than try and get ahead of it. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -161,11 +161,7 @@ fn update_nonce(our_address: Address, web3: &Web3) {\nOk(value) => {\ntrace!(\"Got response from nonce request {:?}\", value);\nlet mut payment... | Rust | Apache License 2.0 | althea-net/althea_rs | Listen to remote nonce
Nonce desync is real and it's more important to get back into sync
than try and get ahead of it. |
20,244 | 25.01.2019 12:11:58 | 18,000 | 5cf958008ec12ff724e68ecdad20be15f9b16683 | Exit's should advertise currency | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -2,6 +2,7 @@ use crate::wg_key::WgKey;\nuse clarity::Address;\nuse num256::Uint256;\nuse std::net::IpAddr;\n+use std::str::FromStr;\n#[cfg(feature = \"actix\")]\nuse actix::*;... | Rust | Apache License 2.0 | althea-net/althea_rs | Exit's should advertise currency |
20,244 | 25.01.2019 12:12:18 | 18,000 | 95acc95e15a33d37834073f8a4225ba75423050e | Identity can implement copy | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -8,7 +8,7 @@ use std::str::FromStr;\nuse actix::*;\n/// This is how nodes are identified.\n-#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone)]\n+#[derive(Deb... | Rust | Apache License 2.0 | althea-net/althea_rs | Identity can implement copy |
20,244 | 25.01.2019 16:42:03 | 18,000 | 4d9c06acb90a4cb26e716c25a2eebdcc57d433a3 | Defaults for SystemChain | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -38,6 +38,10 @@ impl Default for SystemChain {\n}\n}\n+fn default_system_chain() -> SystemChain {\n+ SystemChain::default()\n+}\n+\nimpl FromStr for SystemChain {\ntype Err = ... | Rust | Apache License 2.0 | althea-net/althea_rs | Defaults for SystemChain |
20,244 | 25.01.2019 17:18:04 | 18,000 | cbaff931698f5ba86d6c04b241f037a649792e04 | Remove uneeded clones | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -79,6 +79,6 @@ pub fn get_system_blockchain(\ndebug!(\"/blockchain/ GET hit\");\nBox::new(future::ok(\n- HttpResponse::Ok().json(SETTING.... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove uneeded clones |
20,244 | 29.01.2019 11:12:09 | 18,000 | 79908bef73923e5fce3f6cdd50ccb6cb4fcacf7e | Reduce the query rate for full nodes
This is starting out pretty conservative, but should be a 12x reduction | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -13,11 +13,11 @@ use actix_web::*;\nuse bytes::Bytes;\nuse num256::Uint256;\nuse num_traits::Zero;\n+use std::time::Duration;\n+use std::time::Instant;\nuse futu... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce the query rate for full nodes
This is starting out pretty conservative, but should be a 12x reduction |
20,244 | 29.01.2019 11:19:57 | 18,000 | fd8145466808685faee14f9c8cd8ce607e30c0b1 | Bump for Beta 2 rc1 | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.toml",
"new_path": "rita/Cargo.toml",
"diff": "[package]\nname = \"rita\"\n-version = \"0.3.3\"\n+version = \"0.3.4\"\nauthors = [\"Jehan <jehan.tremback@gmail.com>\", \"Ben <wangben3@gmail.com>\"]\nbuild = \"build.rs\"\nedition = \"2018\"\n"
},
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 2 rc1 |
20,244 | 29.01.2019 17:33:12 | 18,000 | 83fed593f3f36200a1556974e7524506e74dfc70 | Forgot to update DAO chain settings | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -153,7 +153,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.3\",\n+ \"rita 0.3.4\",\n]\n[[package]]\n@@ -1999,7 +1999,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Forgot to update DAO chain settings |
20,244 | 31.01.2019 14:17:36 | 18,000 | 66ffaa7cc37b0836a6751c5c6b3cfe0f23a1563a | Update balance only every block | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -59,8 +59,8 @@ impl Default for Oracle {\n}\n}\n-/// How often we update all the Oracle values, currently every 1 minute\n-pub const ORACLE_UPDATE_RATE: Duration... | Rust | Apache License 2.0 | althea-net/althea_rs | Update balance only every block |
20,244 | 31.01.2019 07:50:17 | 18,000 | f945d6f6a180c37a0c505149007b516d395f06e7 | Remove pointless futures in wifi endpoints | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/wifi.rs",
"new_path": "rita/src/rita_client/dashboard/wifi.rs",
"diff": "@@ -60,16 +60,23 @@ pub enum ValidationError {\nTooShort(usize),\n}\n-impl Message for WifiSSID {\n- type Result = Result<(), Error>;\n+pub fn set_wifi_ssid... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove pointless futures in wifi endpoints |
20,244 | 31.01.2019 07:59:12 | 18,000 | 763e0f97a049c7fc573498d37baa3aaab8036371 | Remove extra futures from client dashboard endpoints
A lot of these where around before Actix web did seamless transformations
of 'mundane' types | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/logging.rs",
"new_path": "rita/src/rita_client/dashboard/logging.rs",
"diff": "use super::*;\n-pub fn remote_logging(path: Path<bool>) -> Box<dyn Future<Item = HttpResponse, Error = Error>> {\n+pub fn remote_logging(path: Path<bo... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove extra futures from client dashboard endpoints
A lot of these where around before Actix web did seamless transformations
of 'mundane' types |
20,244 | 31.01.2019 08:09:20 | 18,000 | 960158bc82a6e6f32038d11e2957fb7bf598618d | Remove uneeded futures from common dashboard | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/babel.rs",
"new_path": "rita/src/rita_common/dashboard/babel.rs",
"diff": "use super::*;\n-pub fn get_local_fee(_req: HttpRequest) -> Box<dyn Future<Item = HttpResponse, Error = Error>> {\n+pub fn get_local_fee(_req: HttpRequest)... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove uneeded futures from common dashboard |
20,244 | 31.01.2019 12:02:57 | 18,000 | 07ab627c0d5cde08c43116078b8ffd134d9ccc6a | Add channel changing
Adds a channel changing api endpoint to the client dashboard.
It provides some protection against bad channel selection but in my
experience the drivers are far more restrictive than the list I provide here
which is mostly a sanity check and nicely formatted error message | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -561,6 +561,66 @@ application/json\" -d '\\{\"url\": \"https://somewhere.safe\"\\}'\n---\n+## /wifi_settings/channel\n+\n+- URL: `<rita ip>:<rita_dashboard_port>/wifi_settin... | Rust | Apache License 2.0 | althea-net/althea_rs | Add channel changing
Adds a channel changing api endpoint to the client dashboard.
It provides some protection against bad channel selection but in my
experience the drivers are far more restrictive than the list I provide here
which is mostly a sanity check and nicely formatted error message |
20,244 | 31.01.2019 18:16:09 | 18,000 | e04e64c8428248f99eff3876bf3d970386e39709 | Solve the zeropayment mystery
Hopefully this improved logging will help figure out what's causing
this to trigger | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -118,6 +118,9 @@ impl PaymentController {\nif balance < pmt.amount {\nwarn!(\"Not enough money to pay debts! Cutoff immenient\");\nbail!(... | Rust | Apache License 2.0 | althea-net/althea_rs | Solve the zeropayment mystery
Hopefully this improved logging will help figure out what's causing
this to trigger |
20,244 | 01.02.2019 14:31:41 | 18,000 | d3356232f61ec1cee36a097813445f35108eb8e0 | Move get_channels to GET | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -594,7 +594,7 @@ application/json\" -d '\\{\"url\": \"https://somewhere.safe\"\\}'\n## /wifi_settings/get_channels\n- URL: `<rita ip>:<rita_dashboard_port>/wifi_settings/get... | Rust | Apache License 2.0 | althea-net/althea_rs | Move get_channels to GET |
20,244 | 01.02.2019 14:31:56 | 18,000 | 9b2820746d516361233f20948e71aa387bde6d00 | Fix 2.4ghz channel checking
When I switched from a return with approval to a return with objection
flow for validate channel I didn't take into account the 2.4ghz scenario | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/wifi.rs",
"new_path": "rita/src/rita_client/dashboard/wifi.rs",
"diff": "@@ -167,9 +167,9 @@ pub fn set_wifi_channel(wifi_channel: Json<WifiChannel>) -> Result<HttpResponse,\nlet current_channel: u16 = KI\n.get_uci_var(&format!(\... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix 2.4ghz channel checking
When I switched from a return with approval to a return with objection
flow for validate channel I didn't take into account the 2.4ghz scenario |
20,244 | 01.02.2019 19:05:08 | 18,000 | b9f3a79b1e8cda3014d025435dfb782cc3df6f3a | LocalID can implement clone | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -189,7 +189,7 @@ impl Message for Identity {\n}\n/// This is all the data we need to give a neighbor to open a wg connection\n-#[derive(Debug, Serialize, Deserialize, PartialE... | Rust | Apache License 2.0 | althea-net/althea_rs | LocalID can implement clone |
20,244 | 01.02.2019 20:13:36 | 18,000 | c4e8e062fa06ebee982e1c7af73e03ce2569ccfb | Use Vecs in TunnelManager
The nested hashmap both failed to prevent iteration and is less
memory effecient. Although iteration performance is probably better. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -80,13 +80,13 @@ impl fmt::Display for TunnelAction {\n///\n/// State changes:\n/// NotRegistered -> MembershipConfirmed(not implemented therefor... | Rust | Apache License 2.0 | althea-net/althea_rs | Use Vecs in TunnelManager
The nested hashmap both failed to prevent iteration and is less
memory effecient. Although iteration performance is probably better. |
20,244 | 02.02.2019 07:17:01 | 18,000 | 6f8560d35ee4cd918accd50f26791dc8517ac6bd | More copy types where possible | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -178,7 +178,7 @@ pub struct ExitDetails {\npub verif_mode: ExitVerifMode,\n}\n-#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone)]\n+#[derive(Debug, Serialize... | Rust | Apache License 2.0 | althea-net/althea_rs | More copy types where possible |
20,244 | 02.02.2019 10:08:45 | 18,000 | 739569878b1e74b704efc6f97e37289eec6a9423 | Reset balance when changing system chain | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -26,17 +26,23 @@ pub fn set_system_blockchain(\npayment.net_version = Some(1);\npayment.system_chain = SystemChain::Ethereum;\npayment.pr... | Rust | Apache License 2.0 | althea-net/althea_rs | Reset balance when changing system chain |
20,244 | 02.02.2019 13:06:53 | 18,000 | af03677dc102dc8972b506d4712d367c18e08ae9 | Bump for Beta2 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -153,7 +153,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.5\",\n+ \"rita 0.3.6\",\n]\n[[package]]\n@@ -1999,7 +1999,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta2 RC3 |
20,244 | 04.02.2019 10:35:12 | 18,000 | 7b1e241c6be1368be4668a5f341dda08b48b021c | Add NO_REMOTE_LOG env var
now if this variable is set there will be no remote logging | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -158,7 +158,7 @@ fn main() {\n// do TLS stuff.\nopenssl_probe::init_ssl_cert_env_vars();\n- if !SETTING.get_log().enabled {\n+ if !SETTING.get_log().enabled || option_env!(\"NO_REMOTE_LOG\").is... | Rust | Apache License 2.0 | althea-net/althea_rs | Add NO_REMOTE_LOG env var
now if this variable is set there will be no remote logging |
20,244 | 04.02.2019 11:45:44 | 18,000 | ae779ce43ab7fdb42e6a72f9155450760e1baf7f | Fix port toggling saving
Combined with some instruction changes this should make port toggling work a lot
more smoothly | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -191,9 +191,6 @@ fn set_interface_mode(iface_name: &str, mode: InterfaceMode) -> Result<(), Error\n} else {\ntrace!(\"Transforming ethernet\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix port toggling saving
Combined with some instruction changes this should make port toggling work a lot
more smoothly |
20,244 | 07.02.2019 19:29:20 | 18,000 | 85640755339cea172baaf0d2c83974ad5bf7d45b | Remove redundant wg_key var | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -63,15 +63,7 @@ fn enable_remote_logging(server_internal_ip: IpAddr) -> Result<(), LogError> {\nlet res = init_udp(\n&format!(\"0.0.0.0:{}\", log.sen... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove redundant wg_key var |
20,244 | 08.02.2019 09:15:43 | 18,000 | 99e5cf11e995457d0c2821a1b2775eba6d297dc3 | Elevate Peer discovery logging
Tunnel GC is kicking in when it should not. Can't really identify
why, more logging should help | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/peer_listener/mod.rs",
"new_path": "rita/src/rita_common/peer_listener/mod.rs",
"diff": "@@ -300,7 +300,7 @@ fn receive_im_here(\n);\ncontinue;\n}\n- trace!(\"ImHere with {:?}\", ipaddr);\n+ info!(\"ImHere with {:?}\", ipaddr);\nlet peer =... | Rust | Apache License 2.0 | althea-net/althea_rs | Elevate Peer discovery logging
Tunnel GC is kicking in when it should not. Can't really identify
why, more logging should help |
20,244 | 11.02.2019 13:32:00 | 18,000 | fd05772f64a9af0fb3b3280a6d802d955907155d | Make sure neighbors always works
In cases where nodes where isolated from the the network /neighbors
would fail to show properly connected peers. This corrects that issue. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -246,7 +246,7 @@ fn main() {\n.route(\"/interfaces\", Method::POST, set_interfaces_endpoint)\n.route(\"/mesh_ip\", Method::GET, get_mesh_ip)\n.route(\"/mesh_ip\", Method::POST, set_mesh_ip)\n- ... | Rust | Apache License 2.0 | althea-net/althea_rs | Make sure neighbors always works
In cases where nodes where isolated from the the network /neighbors
would fail to show properly connected peers. This corrects that issue. |
20,244 | 02.02.2019 07:17:51 | 18,000 | 880a7c05d878725688d731bf04c72924249c9d5c | Remove stale exit users
Adds the ability to remove exit users after a configurable timeout | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "exit_db/migrations/2019-02-07-172038_add_user_timeout/down.sql",
"diff": "+ALTER TABLE clients RENAME TO clients_old;\n+\n+CREATE TABLE clients\n+(\n+ mesh_ip VARCHAR NOT NULL PRIMARY KEY,\n+ wg_pubkey VARCHAR NOT NULL,\n+ wg_port VARCHAR NOT NU... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove stale exit users
Adds the ability to remove exit users after a configurable timeout |
20,244 | 15.02.2019 14:16:08 | 18,000 | ef435c83832649132dcb74a2f95c37dacc486a20 | Fix region locking | [
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"new_path": "rita/src/exit.rs",
"diff": "@@ -148,6 +148,14 @@ lazy_static! {\n{ Arc::new(RwLock::new(RitaExitSettingsStruct::default())) };\n}\n+/// used to crash the exit on first startup if config does not make sense\n+/// as is usually de... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix region locking |
20,244 | 19.02.2019 09:34:57 | 18,000 | 7617534e76277854039ba63c56ad4a29d12c6952 | Fix NO_REMOTE_LOG env var reading
option_env in std reads only at compile time, whereas std:env reads
during runtime. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -32,6 +32,8 @@ extern crate serde_derive;\nuse env_logger;\n+use std::env;\n+\nuse openssl_probe;\nuse docopt::Docopt;\n@@ -153,12 +155,21 @@ lazy_static! {\n{ Arc::new(RwLock::new(RitaSettings... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix NO_REMOTE_LOG env var reading
option_env in std reads only at compile time, whereas std:env reads
during runtime. |
20,244 | 21.02.2019 12:06:44 | 18,000 | c02ad9efec57a8001472b51d8573f43c8d64ac34 | Better comments in debt keeper | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "//! While traffic watcher keeps an eye on how much traffic flows and what that is worth debtkeeper\n//! maintains the long term memory of who owes whow wh... | Rust | Apache License 2.0 | althea-net/althea_rs | Better comments in debt keeper |
20,249 | 20.02.2019 15:46:34 | 28,800 | 8564b4e37723483430adf07347d9b33214b347dc | Add /eth_private_key GET and POST endpoints | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -831,6 +831,67 @@ Format:\n---\n+## /eth_private_key GET\n+\n+- URL: `<rita ip>:<rita_dashboard_port>/eth_private_key`\n+- Method: `GET`\n+- URL Params: `None`\n+- Contents:... | Rust | Apache License 2.0 | althea-net/althea_rs | Add /eth_private_key GET and POST endpoints |
20,244 | 21.02.2019 16:43:07 | 18,000 | e3bd4dcbb22e0ed580b2d13d86d892febc0cc84a | Self limited bandwidth
This adds a feature where routers will put themselves onto the free tier
when their total balance goes below one payment, this is designed to keep
relay's serving their clients even when the operator is underpaying or
not paying at all. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -14,7 +14,7 @@ rita = { path = \"./rita\" }\nmembers = [\"althea_kernel_interface\", \"bounty_hunter\", \"settings\", \"clu\", \"exit_db\"]\n[profile.release]\n-opt-level = \"z\"\n+opt-level = 3\nlto = true\nc... | Rust | Apache License 2.0 | althea-net/althea_rs | Self limited bandwidth
This adds a feature where routers will put themselves onto the free tier
when their total balance goes below one payment, this is designed to keep
relay's serving their clients even when the operator is underpaying or
not paying at all. |
20,244 | 25.02.2019 13:47:53 | 18,000 | 2d7a58663b0b61bced338c87815fd8fb44d12000 | Update for Beta 3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -155,7 +155,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.8\",\n+ \"rita 0.3.9\",\n]\n[[package]]\n@@ -1957,7 +1957,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for Beta 3 |
20,244 | 28.02.2019 07:32:56 | 18,000 | 42a7510724b5d4580892d2ec91716e0e022ff7e8 | Custom hash for Identity to avoid nicknames
When I implemented nicknames I though EQ was enough, testing seems
to say otherwise. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -2,6 +2,7 @@ use crate::wg_key::WgKey;\nuse arrayvec::ArrayString;\nuse clarity::Address;\nuse num256::Uint256;\n+use std::hash::{Hash, Hasher};\nuse std::net::IpAddr;\nuse st... | Rust | Apache License 2.0 | althea-net/althea_rs | Custom hash for Identity to avoid nicknames
When I implemented nicknames I though EQ was enough, testing seems
to say otherwise. |
20,244 | 01.03.2019 07:21:50 | 18,000 | 00b8dbd40fee0c10c89211569c40b103148242f9 | More robust geoip logging | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -168,6 +168,7 @@ struct GeoIPRet {\n/// get ISO country code from ip, consults a in memory cache\nfn get_country(ip: &IpAddr, cache: &mut HashMap<IpAddr, Strin... | Rust | Apache License 2.0 | althea-net/althea_rs | More robust geoip logging |
20,244 | 21.02.2019 09:30:34 | 18,000 | 6b3fee8897da0c843893f99a2fc0a63f6c3b5a15 | Move exit to postgressql
For clustering of many exits we need to upgrade to a non-file
based database | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -4,7 +4,7 @@ before_install:\n- sudo add-apt-repository ppa:wireguard/wireguard -y\n- sudo add-apt-repository universe\n- sudo apt-get -qq update\n- - sudo apt-get install -y libsqlite3-dev iperf3 python3-pi... | Rust | Apache License 2.0 | althea-net/althea_rs | Move exit to postgressql
For clustering of many exits we need to upgrade to a non-file
based database |
20,244 | 21.02.2019 17:10:32 | 18,000 | a11b76ea49902c4e6ae88c60350eb63f5bce0a78 | Open multiple tunnels for manual peers with more than one A record
this is a key part of our planned clustering strategy where we peer
in more than one exit at a time. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -641,7 +641,10 @@ impl TunnelManager {\nlet url = format!(\"http://[{}]:{}/hello\", their_hostname, port);\ntrace!(\"Saying hello to: {:?} at ip ... | Rust | Apache License 2.0 | althea-net/althea_rs | Open multiple tunnels for manual peers with more than one A record
this is a key part of our planned clustering strategy where we peer
in more than one exit at a time. |
20,244 | 27.02.2019 11:31:28 | 18,000 | b877c30585f1faf716d9c8d19adfbe5f7e21488c | Add phone verification via twillio | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -270,6 +270,16 @@ dependencies = [\n\"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n]\n+[[package]]\n+name = \"bincode\"\n+version = \"1.1.2\"\n+source = \"registry+https://github... | Rust | Apache License 2.0 | althea-net/althea_rs | Add phone verification via twillio |
20,244 | 28.02.2019 08:33:23 | 18,000 | 3421642dcb18ca8ecda5671c8764fa85f2ba1890 | Fix static linux build script
The organization of the images on docker hub changed. | [
{
"change_type": "MODIFY",
"old_path": "scripts/linux_build_static.sh",
"new_path": "scripts/linux_build_static.sh",
"diff": "@@ -22,7 +22,7 @@ CARGO_ROOT=\"$HOME/.cargo\"\nCARGO_GIT=\"$CARGO_ROOT/.git\"\nCARGO_REGISTRY=\"$CARGO_ROOT/registry\"\n-RUST_MUSL_BUILDER=\"docker run --rm -it -v \"$(pwd)\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix static linux build script
The organization of the images on docker hub changed. |
20,244 | 28.02.2019 08:33:56 | 18,000 | 84e12421e968b6e8cc9ac1c2e6eaca4803d63811 | Use the WgKey type for ExitClient
By doing this we can perform better validation of database entires
before piping them out into wg setup. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "use super::{KernelInterface, KernelInterfaceError};\n+use althea_types::WgKey;\n+\nuse std::collections::HashSet;\nuse failure::Error;... | Rust | Apache License 2.0 | althea-net/althea_rs | Use the WgKey type for ExitClient
By doing this we can perform better validation of database entires
before piping them out into wg setup. |
20,244 | 28.02.2019 08:34:30 | 18,000 | fc2d6406ea76cad884939c420194809447b9ee71 | Integrate nicknames into the Postgres schema
Rebase didn't quite catch this issue | [
{
"change_type": "DELETE",
"old_path": "exit_db/migrations/2019-02-20-160503_add_nick/down.sql",
"new_path": null,
"diff": "--- This file should undo anything in `up.sql`\n-ALTER TABLE clients RENAME TO clients_old;\n-\n-CREATE TABLE clients\n-(\n- mesh_ip VARCHAR NOT NULL PRIMARY KEY,\n- wg_pubkey ... | Rust | Apache License 2.0 | althea-net/althea_rs | Integrate nicknames into the Postgres schema
Rebase didn't quite catch this issue |
20,244 | 28.02.2019 12:27:01 | 18,000 | ef3b403a0b4b8610740a43fcb92119b048f5e972 | Better logging in Rita_exit setup
minor tweaks to improve logging and error messages | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -532,6 +532,7 @@ impl Handler<SetupClient> for DbClient {\nlet new_ip = incr_dummy(&conn)?;\n+ trace!(\"About to check country\");\nlet user_country = if SETTI... | Rust | Apache License 2.0 | althea-net/althea_rs | Better logging in Rita_exit setup
minor tweaks to improve logging and error messages |
20,244 | 28.02.2019 12:33:38 | 18,000 | be924f8819593cddf712b1cf60129840f7325ace | Don't setup unverified users
Previously this was sort of precarious, if a user guessed their
interal ip they could connect without finishing the registration process. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/rita_loop/setup.rs",
"new_path": "rita/src/rita_exit/rita_loop/setup.rs",
"diff": "@@ -25,8 +25,10 @@ pub fn setup_exit_clients() -> Box<Future<Item = (), Error = ()>> {\ntrace!(\"got clients from db {:?}\", clients);\nfor c in clients {\n- ... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't setup unverified users
Previously this was sort of precarious, if a user guessed their
interal ip they could connect without finishing the registration process. |
20,244 | 28.02.2019 18:30:55 | 18,000 | defd2b9bc11c56e3b55b4ede22ad1add22f29559 | Fixes to phone registration | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -331,7 +331,7 @@ application/json\" -d '\\{\"url\": \"https://somewhere.safe\"\\}'\n- Sample Call:\n-`curl -XPOST 127.0.0.1:4877/exits/borked/register`\n+`curl -XPOST 127.0.... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixes to phone registration |
20,244 | 01.03.2019 10:24:56 | 18,000 | 67ed2618efd9416db6f6fb314851ad26895843b8 | Move to Maxmind for geoip
While you do have to sign up, pricing is more reasonable and the api
seems in general more robust to actually use. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"new_path": "rita/src/exit.rs",
"diff": "@@ -154,7 +154,9 @@ lazy_static! {\n/// used to crash the exit on first startup if config does not make sense\n/// as is usually desirable for cloud infrastruture\nfn sanity_check_config() {\n- if !SE... | Rust | Apache License 2.0 | althea-net/althea_rs | Move to Maxmind for geoip
While you do have to sign up, pricing is more reasonable and the api
seems in general more robust to actually use. |
20,244 | 01.03.2019 14:54:23 | 18,000 | 709a35d0a39d3f4de71ce03536676c7876736eda | Check region status constantly
This refactors the region checking code to constantly check and
unverify (and therefore remove from wg_exit) clients coming from
gateway ip's outside of the allowed region. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"new_path": "rita/src/exit.rs",
"diff": "@@ -223,7 +223,9 @@ fn main() {\n// Exit stuff\nserver::new(|| {\nApp::new()\n- .resource(\"/setup\", |r| r.method(Method::POST).with(setup_request))\n+ .resource(\"/setup\", |r| {\n+ r.method(Method:... | Rust | Apache License 2.0 | althea-net/althea_rs | Check region status constantly
This refactors the region checking code to constantly check and
unverify (and therefore remove from wg_exit) clients coming from
gateway ip's outside of the allowed region. |
20,244 | 06.03.2019 18:17:41 | 18,000 | fdfcc0df1cb86dffa02d2632388dacdd55d3906d | Text low balance notificaitons from exits
The twillio api made this harder than it had to be, with a totally different
call interface from their auth api | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -155,7 +155,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.11\",\n+ \"rita 0.3.12\",\n]\n[[package]]\n@@ -2047,7 +2047,7 @@ dependencies = [\n[[package]]\nnam... | Rust | Apache License 2.0 | althea-net/althea_rs | Text low balance notificaitons from exits
The twillio api made this harder than it had to be, with a totally different
call interface from their auth api |
20,244 | 07.03.2019 13:43:36 | 18,000 | eb0fe28e0c3729073454e24dd4ad935e2d4ea5d4 | Update phone numbers and emails | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -378,7 +378,19 @@ fn incr_dummy(conn: &PgConnection) -> Result<IpAddr, Error> {\n/// updates the last seen time\nfn update_client(client: &ExitClientIdentity, ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update phone numbers and emails |
20,244 | 07.03.2019 14:27:12 | 18,000 | 3d16473fa714f4fb2c6abc3c3e7f91cc32d74617 | Update default balance text | [
{
"change_type": "MODIFY",
"old_path": "settings/src/exit.rs",
"new_path": "settings/src/exit.rs",
"diff": "@@ -77,7 +77,7 @@ fn default_balance_notification_email_subject() -> String {\n}\nfn default_balance_notification_email_body() -> String {\n- String::from(\"Your Althea router has a low balanc... | Rust | Apache License 2.0 | althea-net/althea_rs | Update default balance text |
20,244 | 07.03.2019 14:38:40 | 18,000 | 602af8f6ac11a05518f63593011b61046aa1e20f | Update balance text again | [
{
"change_type": "MODIFY",
"old_path": "settings/src/exit.rs",
"new_path": "settings/src/exit.rs",
"diff": "@@ -77,7 +77,7 @@ fn default_balance_notification_email_subject() -> String {\n}\nfn default_balance_notification_email_body() -> String {\n- String::from(\"Your Althea router has a low balanc... | Rust | Apache License 2.0 | althea-net/althea_rs | Update balance text again |
20,244 | 07.03.2019 15:19:47 | 18,000 | cecf4f853b8f2fdc7861cfeb68eab7e100cfa5d2 | Make notifications toggleable | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -282,6 +282,11 @@ fn exit_status_request(exit: String) -> impl Future<Item = (), Error = Error> {\nas Box<dyn Future<Item = (), Error = Error>>;\n}\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Make notifications toggleable |
20,244 | 07.03.2019 15:20:04 | 18,000 | 8677089b6851f80b2d031313f56c20d47a826d61 | Use the settings value for the text message body
The text message body was made configurable but not actually used
in the code. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -715,7 +715,7 @@ impl Handler<SetupClient> for DbClient {\ndisplay_hashset(&SETTING.get_allowed_countries()),\n),\n}),\n- (Err(e), _) => Ok(ExitState::Denied {... | Rust | Apache License 2.0 | althea-net/althea_rs | Use the settings value for the text message body
The text message body was made configurable but not actually used
in the code. |
20,244 | 08.03.2019 07:35:33 | 18,000 | 1c5257b1ef8c82ba1d01fd0c928fe1c359fdd37b | Fix travis dependencies | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -4,7 +4,7 @@ before_install:\n- sudo add-apt-repository ppa:wireguard/wireguard -y\n- sudo add-apt-repository universe\n- sudo apt-get -qq update\n- - sudo apt-get install -y libsqlite3-dev postgressql-dev i... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix travis dependencies |
20,249 | 11.03.2019 10:18:19 | 25,200 | cf9dc6e64e9ce863c4ac2794d848fef61a0cdabb | Add API endpoints for low balance notifications | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -66,6 +66,7 @@ use crate::rita_client::dashboard::interfaces::*;\nuse crate::rita_client::dashboard::logging::*;\nuse crate::rita_client::dashboard::mesh_ip::*;\nuse crate::rita_client::dashboa... | Rust | Apache License 2.0 | althea-net/althea_rs | Add API endpoints for low balance notifications |
20,244 | 12.03.2019 10:47:11 | 14,400 | 7f61867f3728058495ca4f43f8bf5a0fd67a16fd | Optionize low balance warning
This allows old rouers to still sign up correctly with new exits and
generally sets things up for full backwards compatibility. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -189,7 +189,7 @@ pub struct ExitClientIdentity {\npub wg_port: u16,\npub global: Identity,\npub reg_details: ExitRegistrationDetails,\n- pub low_balance: bool,\n+ pub low_bala... | Rust | Apache License 2.0 | althea-net/althea_rs | Optionize low balance warning
This allows old rouers to still sign up correctly with new exits and
generally sets things up for full backwards compatibility. |
20,244 | 12.03.2019 11:51:10 | 14,400 | 9260ca85825ec5b87543d0f7052098889241e6df | Handle slow linklocal address generation
I've got a hunch that this is what's stopping devices from coming back
properly in some scenarios, so lets try a fix. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -40,11 +40,35 @@ pub use crate::create_wg_key::WgKeypair;\npub use crate::exit_server_tunnel::ExitClient;\nuse failure::Error;\n+use std::net::AddrParseError;\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle slow linklocal address generation
I've got a hunch that this is what's stopping devices from coming back
properly in some scenarios, so lets try a fix. |
20,244 | 19.03.2019 07:17:36 | 14,400 | 6334c502a0aef4fa6afb3d46fd648f626485c567 | Disable text sent marking for now
This does open up a text spam attack, but we need some way to allow retries
so for the time being we'll just disable the logic to check if a text
is already sent | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -118,7 +118,7 @@ pub fn verify_db_client(\n}\n/// Marks a registration text as sent in the database\n-pub fn text_sent(client: &ExitClientI... | Rust | Apache License 2.0 | althea-net/althea_rs | Disable text sent marking for now
This does open up a text spam attack, but we need some way to allow retries
so for the time being we'll just disable the logic to check if a text
is already sent |
20,244 | 20.03.2019 09:57:46 | 14,400 | e5320f9c82d5b3952ead486ab24d198bfe6867aa | Remove the dummy database entry | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -12,41 +12,45 @@ use exit_db::{models, schema};\nuse failure::Error;\nuse settings::exit::RitaExitSettings;\nuse std::net::IpAddr;\n-\n-pub... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove the dummy database entry |
20,244 | 20.03.2019 10:24:33 | 14,400 | 47a53991ef92bce16beb70edd4e201207c17c06e | Allow retrying for registration text messages
Text messages are a lot more lossy than email even, but we can't allow
text spam, this limits the number of text attempts people can make to 10 | [
{
"change_type": "MODIFY",
"old_path": "exit_db/migrations/2019-02-22-214628_rita-setup/up.sql",
"new_path": "exit_db/migrations/2019-02-22-214628_rita-setup/up.sql",
"diff": "@@ -12,7 +12,7 @@ CREATE TABLE clients\nemail_code varchar(16) NOT NULL,\nverified boolean DEFAULT FALSE NOT NULL,\nemail_se... | Rust | Apache License 2.0 | althea-net/althea_rs | Allow retrying for registration text messages
Text messages are a lot more lossy than email even, but we can't allow
text spam, this limits the number of text attempts people can make to 10 |
20,244 | 20.03.2019 13:44:51 | 14,400 | 19d0044abed197cd9ffd10d04ca797d51ef55fdf | Give postgres more time to restart
Postgres is restarting too slowly in the integration test so we need to
increase this wait time | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -537,7 +537,7 @@ class World:\nprint(\"Perform initial database migrations\")\nexec_or_exit('sudo ip netns exec {} diesel migration run --database-url=\"postgres://postgres@localh... | Rust | Apache License 2.0 | althea-net/althea_rs | Give postgres more time to restart
Postgres is restarting too slowly in the integration test so we need to
increase this wait time |
20,244 | 20.03.2019 13:46:45 | 14,400 | 3fa9f4fc15e4be5bf0570fce4b77e1f36efba1e5 | Default of an integer field should be an integer | [
{
"change_type": "MODIFY",
"old_path": "exit_db/migrations/2019-02-22-214628_rita-setup/up.sql",
"new_path": "exit_db/migrations/2019-02-22-214628_rita-setup/up.sql",
"diff": "@@ -12,7 +12,7 @@ CREATE TABLE clients\nemail_code varchar(16) NOT NULL,\nverified boolean DEFAULT FALSE NOT NULL,\nemail_se... | Rust | Apache License 2.0 | althea-net/althea_rs | Default of an integer field should be an integer |
20,244 | 20.03.2019 16:43:16 | 14,400 | af033ef4f600464c55540105760cb02a513fe5f2 | Fix text sending logic and ip incrementing logic
This corrects two logic errors in the last few commits, we where selecting
the lowest used ip rather than the lowest unused one and we where checking if
the user had sent more than 10 text messages rather than less | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -43,13 +43,20 @@ pub fn get_next_client_ip(conn: &PgConnection) -> Result<IpAddr, Error> {\nlet clients_list = clients.load::<models::Clien... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix text sending logic and ip incrementing logic
This corrects two logic errors in the last few commits, we where selecting
the lowest used ip rather than the lowest unused one and we where checking if
the user had sent more than 10 text messages rather than less |
20,244 | 21.03.2019 16:13:05 | 14,400 | 715e7ef6140e83247657958aa10baabacaa860b2 | Update last seen timestamps when needed
looks like this got lost in the refactor somehow | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -77,6 +77,10 @@ pub fn update_client(client: &ExitClientIdentity, conn: &PgConnection) -> Result\n.execute(&*conn)?;\n}\n+ diesel::update(c... | Rust | Apache License 2.0 | althea-net/althea_rs | Update last seen timestamps when needed
looks like this got lost in the refactor somehow |
20,244 | 22.03.2019 14:13:41 | 14,400 | 5205de5a199ab1b80f6a989fd7c9c6009467a1e1 | Automatic recovery for the main loops
We have some crashes that are very hard to reproduce, only happening once in
20 or so power on months. Hopefully by moving the main loops to system services
we can ensure that things always come back online correctly. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -46,7 +46,6 @@ use settings::client::{RitaClientSettings, RitaSettingsStruct};\nuse settings::RitaCommonSettings;\nuse actix::registry::SystemService;\n-use actix::*;\nuse actix_web::http::Meth... | Rust | Apache License 2.0 | althea-net/althea_rs | Automatic recovery for the main loops
We have some crashes that are very hard to reproduce, only happening once in
20 or so power on months. Hopefully by moving the main loops to system services
we can ensure that things always come back online correctly. |
20,244 | 22.03.2019 15:49:23 | 14,400 | e2de2baf168d5da244a10d00fa8846fb2e42b629 | Send postgres sigint
Lots of integartion tests are timing out while postgres tries to recover
from our hard termiantion, lets be a little more gentle. | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -28,7 +28,8 @@ export BOUNTY_HUNTER_KEY=$PWD/bh_key.pem\ncargo install diesel_cli --force\nsudo cp $(which diesel) /usr/bin\n# we need to start the database again in the namespace... | Rust | Apache License 2.0 | althea-net/althea_rs | Send postgres sigint
Lots of integartion tests are timing out while postgres tries to recover
from our hard termiantion, lets be a little more gentle. |
20,244 | 22.03.2019 15:52:14 | 14,400 | b5d5c677f2dd6dab3ecb44873d327ea7f386703e | Bump for Beta3RC8
Inclusion of auto loop restart, hopefully the last feature for this
release, it's getting a little crazy | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -155,7 +155,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.15\",\n+ \"rita 0.3.16\",\n]\n[[package]]\n@@ -2014,7 +2014,7 @@ dependencies = [\n[[package]]\nnam... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta3RC8
Inclusion of auto loop restart, hopefully the last feature for this
release, it's getting a little crazy |
20,244 | 24.03.2019 16:12:37 | 14,400 | cbbf391d09b1b5fb60a8fb631b6993685bdd83a8 | Fix low balance self limiting
The second if statement had an inverted argument that would cause low
balance limiting to turn off and on each cycle of the exit manager loop | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -411,11 +411,10 @@ impl Handler<Tick> for ExitManager {\n// Self limit bandwidth consumption if we have a low balance\nlet free_tier_throughput = SET... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix low balance self limiting
The second if statement had an inverted argument that would cause low
balance limiting to turn off and on each cycle of the exit manager loop |
20,244 | 25.03.2019 11:08:18 | 14,400 | 33ddf19d76ebfcf99c0bed17a5c9411a2758134e | Bump for rc9 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -155,7 +155,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.3.16\",\n+ \"rita 0.3.17\",\n]\n[[package]]\n@@ -2014,7 +2014,7 @@ dependencies = [\n[[package]]\nnam... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for rc9 |
20,244 | 25.03.2019 11:35:19 | 14,400 | 359ae1f1177499747ee228242781c779abd7c1ab | Disable local limiting for now
Doesn't really work properly and mostly just causes strange problems | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -409,16 +409,16 @@ impl Handler<Tick> for ExitManager {\n}\n// Self limit bandwidth consumption if we have a low balance\n- let free_tier_throughput ... | Rust | Apache License 2.0 | althea-net/althea_rs | Disable local limiting for now
Doesn't really work properly and mostly just causes strange problems |
20,244 | 25.03.2019 20:16:45 | 18,000 | feb56befc6cda78236ea88b24c793035e6c5d685 | Wait before performing integraiton test migration
The wait is on the wrong side of the postgres starting command | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -534,10 +534,13 @@ class World:\nprint(\"Starting postgres in exit namespace\")\nexec_or_exit(\"sudo ip netns exec {} sudo -u {} {} -D {} -c config_file={}\".format(EXIT_NAMESPACE... | Rust | Apache License 2.0 | althea-net/althea_rs | Wait before performing integraiton test migration
The wait is on the wrong side of the postgres starting command |
20,244 | 28.03.2019 17:59:49 | 18,000 | b9a82350cb3738a4affcea6372168b053a3246f2 | Burst and throughput tuning
Our burst values are the default (and quite small) I'm concerned
they may be impacting performance, likewise our quantum allocation
does little to protect against bandwidth hogging so I've attempted
a tune there as well. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -207,7 +207,10 @@ impl KernelInterface {\n&format!(\"{}kbit\", min_bw),\n\"ceil\",\n&format!(\"{}kbit\", max_bw),\n+ // packet size plus ... | Rust | Apache License 2.0 | althea-net/althea_rs | Burst and throughput tuning
Our burst values are the default (and quite small) I'm concerned
they may be impacting performance, likewise our quantum allocation
does little to protect against bandwidth hogging so I've attempted
a tune there as well. |
20,244 | 04.04.2019 09:17:03 | 14,400 | 0f9da74b033ca47a417f15cc76247937993c3e31 | Enable rtt penalty
Previously we had just enabled the timestamps but not configured the
penalty from it's default value of zero. Now that we have rtt will be
taken into account when multiple routes are available. | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -171,7 +171,10 @@ impl<T: Read + Write> Babel<T> {\n}\npub fn monitor(&mut self, iface: &str) -> Result<(), Error> {\n- let _ = self.command(&format!(\"interface {} enable-timestamp... | Rust | Apache License 2.0 | althea-net/althea_rs | Enable rtt penalty
Previously we had just enabled the timestamps but not configured the
penalty from it's default value of zero. Now that we have rtt will be
taken into account when multiple routes are available. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.