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
26.09.2019 08:28:38
14,400
188c73d6f190d371bb862c9ba9538d13d55f4096
Upgrade Mokito, arrayvec, and env_logger
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -183,7 +183,7 @@ name = \"althea_types\"\nversion = \"0.1.0\"\ndependencies = [\n\"actix 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n- \"arrayvec 0.4.11 (registry+https://github.com/rust-...
Rust
Apache License 2.0
althea-net/althea_rs
Upgrade Mokito, arrayvec, and env_logger
20,244
26.09.2019 13:11:51
14,400
39484cf442d4f57779c025e3ab9225f74960fcd1
Add bridge functionality for eth This retrieves money from the xdai chain if you set your system blockchain to ETH.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/token_bridge/mod.rs", "new_path": "rita/src/rita_common/token_bridge/mod.rs", "diff": "@@ -227,7 +227,6 @@ impl Handler<Tick> for TokenBridge {\nfn handle(&mut self, _msg: Tick, _ctx: &mut Context<Self>) -> Self::Result {\nlet payment_sett...
Rust
Apache License 2.0
althea-net/althea_rs
Add bridge functionality for eth This retrieves money from the xdai chain if you set your system blockchain to ETH.
20,244
26.09.2019 13:49:16
14,400
819e6f3b3255e46c1baf16ebffdf1e72f89984b7
Add identity to dashboard, fix neighbor metric logic
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/neighbors.rs", "new_path": "rita/src/rita_client/dashboard/neighbors.rs", "diff": "@@ -22,7 +22,9 @@ use std::collections::HashMap;\n#[derive(Serialize)]\npub struct NodeInfo {\npub nickname: String,\n+ // TODO: Remove this once ...
Rust
Apache License 2.0
althea-net/althea_rs
Add identity to dashboard, fix neighbor metric logic
20,244
26.09.2019 13:50:26
14,400
4573318751d34f852592bb9e09200a7c385b8b14
Use if let universally
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/neighbors.rs", "new_path": "rita/src/rita_client/dashboard/neighbors.rs", "diff": "@@ -51,8 +51,7 @@ pub fn get_neighbor_info(\n.from_err()\n.and_then(|neighbors| {\nlet mut debts = debts.unwrap();\n- if neighbors.is_ok() {\n- le...
Rust
Apache License 2.0
althea-net/althea_rs
Use if let universally
20,244
27.09.2019 11:22:43
14,400
e39bff53003f51c11c652f0bfc65c2bd402b24cc
Bump Rita version for Beta 9 RC1
[ { "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.15\",\n+ \"rita 0.5.16\",\n]\n[[package]]\n@@ -2031,7 +2031,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump Rita version for Beta 9 RC1
20,244
27.09.2019 14:35:11
14,400
d7c00a1f6c17f3c40e24428ca07a949e0e49fa40
Make five minute sample mod logic more explicit
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -103,7 +103,7 @@ impl RunningPacketLossStats {\nself.total_lost += u32::from(lost_packets);\nself.total_packets += u32::from(SAMPLE_PERIOD);\ns...
Rust
Apache License 2.0
althea-net/althea_rs
Make five minute sample mod logic more explicit
20,249
27.09.2019 09:07:40
25,200
04dbbcb14c5cee0a303424712153b96af80383e0
Add packet loss and latency stats to /neighbors endpoint
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/neighbors.rs", "new_path": "rita/src/rita_client/dashboard/neighbors.rs", "diff": "use crate::rita_common::debt_keeper::{DebtKeeper, Dump, NodeDebtData};\n+use crate::rita_common::network_monitor::{GetStats, IfaceStats, NetworkMo...
Rust
Apache License 2.0
althea-net/althea_rs
Add packet loss and latency stats to /neighbors endpoint
20,244
28.09.2019 09:46:04
14,400
3c4a41093198b03f93e3a3c5f30a3f66575d84a2
Use test oracle for Rinkeby now that oracles can modify the blockchain using the Eth oracle for Rinkeby causes you to instantly swap back
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/system_chain.rs", "new_path": "rita/src/rita_client/dashboard/system_chain.rs", "diff": "@@ -46,7 +46,7 @@ pub fn set_system_blockchain(path: Path<String>) -> Result<HttpResponse, Error>\npayment.net_version = Some(4);\npayment.s...
Rust
Apache License 2.0
althea-net/althea_rs
Use test oracle for Rinkeby now that oracles can modify the blockchain using the Eth oracle for Rinkeby causes you to instantly swap back
20,244
28.09.2019 09:46:54
14,400
9fb3ab728004098d728e63f456a41f9785b14d2b
Bump for Beta 9 RC2
[ { "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.16\",\n+ \"rita 0.5.17\",\n]\n[[package]]\n@@ -1996,7 +1996,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 9 RC2
20,244
01.10.2019 09:13:34
14,400
04006853b07099c1380ecbd8b8257a7ef9fb0bf1
Try a different bloat heuristic Checking for outliers using the std-dev wasn't really a great strategy the std-dev would increase very quickly and messages would get silenced. Hopfully a more average focused strategy works well
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -56,20 +56,15 @@ impl RunningLatencyStats {\nlet delta2 = sample - self.mean;\nself.m2 += delta * delta2;\n}\n- /// returns true if a variable ...
Rust
Apache License 2.0
althea-net/althea_rs
Try a different bloat heuristic Checking for outliers using the std-dev wasn't really a great strategy the std-dev would increase very quickly and messages would get silenced. Hopfully a more average focused strategy works well
20,244
01.10.2019 17:49:40
14,400
2a8cd5865c0263017fc8081ec47316285523fc46
Update nicknames live This updates nicknames for already open tunnels. This doesn't provide any functionality beyond the cosmetic.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -792,6 +792,8 @@ impl TunnelManager {\ntunnel\n);\ntunnel.last_contact = Instant::now();\n+ // update the nickname in case they changed it live\n...
Rust
Apache License 2.0
althea-net/althea_rs
Update nicknames live This updates nicknames for already open tunnels. This doesn't provide any functionality beyond the cosmetic.
20,244
01.10.2019 18:03:44
14,400
a38021475f7e257f6e2f0d2d02d90ad5152e1b61
Add noop state for eth bridge
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/token_bridge/mod.rs", "new_path": "rita/src/rita_common/token_bridge/mod.rs", "diff": "@@ -289,6 +289,12 @@ fn eth_bridge(_state: State, bridge: &TokenBridge) {\n) as Box<dyn Future<Item = (), Error = Error>>\n// all other steps are done a...
Rust
Apache License 2.0
althea-net/althea_rs
Add noop state for eth bridge
20,244
01.10.2019 11:05:37
14,400
7401dc2ddaaf778ae2f3af69d70579bb3c25e78d
Prototype automated latency shaping This is an early and very blunt version of an automated bufferbloat detecting bandwidth shaper.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/traffic_control.rs", "new_path": "althea_kernel_interface/src/traffic_control.rs", "diff": "@@ -103,15 +103,20 @@ impl dyn KernelInterface {\n/// This sets up latency protecting flow control, either cake on openwrt\n/// or fq_codel ...
Rust
Apache License 2.0
althea-net/althea_rs
Prototype automated latency shaping This is an early and very blunt version of an automated bufferbloat detecting bandwidth shaper.
20,244
01.10.2019 11:17:02
14,400
eb6792a5acb5b788b708dd2f05243c1ee1a54e10
Backup created should default, but not skip deserializing The skip deserializing option is appropriate for the is_gateway var because it will change on every reboot anyways and storing to the disk is pointless. But for the backup parameter we actually expect to read this value and have it persist long term.
[ { "change_type": "MODIFY", "old_path": "settings/src/network.rs", "new_path": "settings/src/network.rs", "diff": "@@ -104,7 +104,7 @@ pub struct NetworkSettings {\n/// Full file path for usage tracker storage\n#[serde(default = \"default_usage_tracker_file\")]\npub usage_tracker_file: String,\n- #[s...
Rust
Apache License 2.0
althea-net/althea_rs
Backup created should default, but not skip deserializing The skip deserializing option is appropriate for the is_gateway var because it will change on every reboot anyways and storing to the disk is pointless. But for the backup parameter we actually expect to read this value and have it persist long term.
20,244
01.10.2019 14:33:17
14,400
4427dad50f8d4223a55a77838306e5cbb39a0c2d
Reset the latency stats when you change the shaper When we change the qdisc on an interface we expect it to behave differently after. So we should reset the history in order to get a new perspective.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -63,12 +63,17 @@ impl RunningLatencyStats {\nlet avg = self.get_avg();\nlet std_dev = self.get_std_dev();\nmatch (avg, std_dev) {\n- (Some(avg)...
Rust
Apache License 2.0
althea-net/althea_rs
Reset the latency stats when you change the shaper When we change the qdisc on an interface we expect it to behave differently after. So we should reset the history in order to get a new perspective.
20,244
02.10.2019 10:29:36
14,400
d0616c553d773921fb51a312e3661e6d0790150f
Fix cake bandwidth setting
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/traffic_control.rs", "new_path": "althea_kernel_interface/src/traffic_control.rs", "diff": "@@ -107,18 +107,41 @@ impl dyn KernelInterface {\nif self.has_qdisc(iface_name)? {\nself.delete_qdisc(iface_name)?;\n}\n- let bandwidth = ma...
Rust
Apache License 2.0
althea-net/althea_rs
Fix cake bandwidth setting
20,244
02.10.2019 11:39:28
14,400
fa2a0a335b7c0eacecc74cf0c4322bad525c5583
We should count only installed routes
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -368,12 +368,18 @@ fn network_stats(babel_routes: &[BabelRoute], babel_neighbors: &[BabelNeighbor])\n}\n}\n+/// Extracts the full path rtt for ...
Rust
Apache License 2.0
althea-net/althea_rs
We should count only installed routes
20,244
02.10.2019 12:39:00
14,400
695d28450b8f34da6031bfa0b8d5284caefbc7e9
Save reduced bandwidth value
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -312,7 +312,8 @@ impl Handler<GotBloat> for TunnelManager {\n\"Interface {} for peer {} is showing bloat new speed value {}\",\niface, id.wg_publ...
Rust
Apache License 2.0
althea-net/althea_rs
Save reduced bandwidth value
20,244
03.10.2019 07:45:02
14,400
3f1a4b94b94dc6af196a4b47247a71d72e762e66
Remove existing shaping online
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -289,6 +289,15 @@ impl Handler<GotBloat> for TunnelManager {\nlet bandwidth_limit_enabled = network_settings.bandwidth_limit_enabled;\ndrop(netwo...
Rust
Apache License 2.0
althea-net/althea_rs
Remove existing shaping online
20,244
03.10.2019 07:53:48
14,400
440d970106fbd32202ad4c5aa3ad03929a1e2b8b
Reset speed limit when unenforcing
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -1058,6 +1058,9 @@ fn tunnel_state_change(\n);\ntunnel.state.payment_state = PaymentState::Paid;\ntunnel_bw_limits_need_change = true;\n+ // late...
Rust
Apache License 2.0
althea-net/althea_rs
Reset speed limit when unenforcing
20,244
03.10.2019 11:11:20
14,400
503b3cfe2d6f72c786da649bc546714fe1cae8c4
Fix eth bridge withdraw logic
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/token_bridge/mod.rs", "new_path": "rita/src/rita_common/token_bridge/mod.rs", "diff": "@@ -257,23 +257,27 @@ fn eth_bridge(_state: State, bridge: &TokenBridge) {\n.and_then(\nmove |(our_dai_balance, our_eth_balance, wei_per_dollar, our_xda...
Rust
Apache License 2.0
althea-net/althea_rs
Fix eth bridge withdraw logic
20,244
04.10.2019 10:56:36
14,400
72a34008761f4ead94f53845a80d1d4b1cd81f38
More permissive matching for iface names
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "@@ -343,7 +343,7 @@ fn observe_network(\nfn get_wg_key_by_ifname(neigh: &BabelNeighbor, rita_neighbors: &[RitaNeighbor]) -> Option<WgKey> {\nfor r...
Rust
Apache License 2.0
althea-net/althea_rs
More permissive matching for iface names
20,244
04.10.2019 11:03:54
14,400
254244d5e0b22cdad8fee24e7e7d7df4a5606e60
Bump for Beta 9 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.17\",\n+ \"rita 0.5.18\",\n]\n[[package]]\n@@ -1996,7 +1996,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 9 RC3
20,244
04.10.2019 17:04:09
14,400
de4702a8fb40ed77ca3af06576caaba473fb63bc
Upgrade Dockerfile for postgres 12
[ { "change_type": "MODIFY", "old_path": "integration-tests/container/Dockerfile", "new_path": "integration-tests/container/Dockerfile", "diff": "@@ -5,8 +5,8 @@ RUN apt-get update && apt-get install -y sudo iputils-ping iproute2 jq vim netca\nRUN apt-get install -y -t unstable iperf3\nRUN curl https:...
Rust
Apache License 2.0
althea-net/althea_rs
Upgrade Dockerfile for postgres 12
20,244
07.10.2019 11:17:21
14,400
b3ddf799a22b8b234745b5d7aadf48765b6581a4
Re-enable cargo audit Caught up to this with recent deps updates
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -44,7 +44,7 @@ matrix:\n- cargo fmt --all -- --check\n# to stop opt level 3 from sneaking in\n- 'grep -q ''opt-level = \"z\"'' Cargo.toml'\n- #- \"cargo install cargo-audit --force && cargo audit\"\n+ - \"ca...
Rust
Apache License 2.0
althea-net/althea_rs
Re-enable cargo audit Caught up to this with recent deps updates
20,244
07.10.2019 11:25:08
14,400
38b4eeca0690ec6c0577c9c9d4384ec74957d007
Add TODO to NetworkMonitor
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_monitor/mod.rs", "new_path": "rita/src/rita_common/network_monitor/mod.rs", "diff": "//! NetworkMonitor is an experimental system to apply traffic shaping to neighbors based on the neighbor rtt\n//! it also monitors various network...
Rust
Apache License 2.0
althea-net/althea_rs
Add TODO to NetworkMonitor
20,249
07.10.2019 16:15:15
25,200
2811c3d16fa5140cf68b1f29df7db883d077840d
Add is_gateway to /info endpoint
[ { "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 crate::rita_common::oracle::low_balance;\nuse crate::SETTING;\n-use ::settings::RitaCommonSettings;\nuse actix_web::{HttpRequest, Json};\nuse cl...
Rust
Apache License 2.0
althea-net/althea_rs
Add is_gateway to /info endpoint
20,244
09.10.2019 16:40:24
14,400
fc338e53603d9c1e77e0e1db98946534b89bce59
Exit tunnel should be immediately deleted on reset
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/exits.rs", "new_path": "rita/src/rita_client/dashboard/exits.rs", "diff": "@@ -256,8 +256,16 @@ pub fn reset_exit(path: Path<String>) -> Box<dyn Future<Item = HttpResponse, Err\nlet mut ret = HashMap::new();\nif let Some(exit) = ...
Rust
Apache License 2.0
althea-net/althea_rs
Exit tunnel should be immediately deleted on reset
20,244
09.10.2019 17:10:57
14,400
287f3f2814032a226bcb8dc521c0b6775d9b9a81
10c xdai transactions again this didn't end up being meaningful to end users and causes problems with high speed tx's
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "@@ -232,7 +232,7 @@ fn update_gas_price(web3: &Web3, full_node: String) {\nlet mut payment_settings = SETTING.get_payment_mut();\nif payment_settings.system_chain =...
Rust
Apache License 2.0
althea-net/althea_rs
10c xdai transactions again this didn't end up being meaningful to end users and causes problems with high speed tx's
20,244
09.10.2019 18:03:54
14,400
386bd7db651b860adeb57a482b0b7402f7f1a0c7
Reduce exit non-payment grace period 3 fast_loop rounds should be long enough. Otherwise enforcement kicks in if there are both high prices and high bandwidth usage. Testcase is $1/gb bandwidth price + 4k60fps video streaming
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/debt_keeper/mod.rs", "new_path": "rita/src/rita_common/debt_keeper/mod.rs", "diff": "@@ -510,7 +510,7 @@ impl DebtKeeper {\n) {\n(true, _) => {}\n(false, Some(val)) => {\n- if Instant::now() - val > Duration::from_secs(60) {\n+ if Instant:...
Rust
Apache License 2.0
althea-net/althea_rs
Reduce exit non-payment grace period 3 fast_loop rounds should be long enough. Otherwise enforcement kicks in if there are both high prices and high bandwidth usage. Testcase is $1/gb bandwidth price + 4k60fps video streaming
20,244
18.09.2019 18:26:05
14,400
145206831a12ff3abdf180b5fc01c0752c038368
Arbitrary node integration test Working pretty well at this point, needs a custom utility to solve routes so that we can keep from having many nearly-equal routes because we use the same price everywhere
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/node.py", "new_path": "integration-tests/integration-test-script/node.py", "diff": "@@ -13,6 +13,9 @@ import sys\nimport time\nimport toml\n+from utils import num_to_ip\n+from utils import num_to_linklocal_ip\n+\nclass...
Rust
Apache License 2.0
althea-net/althea_rs
Arbitrary node integration test Working pretty well at this point, needs a custom utility to solve routes so that we can keep from having many nearly-equal routes because we use the same price everywhere
20,244
10.10.2019 12:16:43
14,400
e8026209e771a29d4d31b33a94dee4f933763a45
Fix world subscripting
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -146,7 +146,6 @@ def setup_arbitrary_node_config(nodes):\nfor neighbor in neighbors:\nworld.add_connection(Connection(rita_node, wo...
Rust
Apache License 2.0
althea-net/althea_rs
Fix world subscripting
20,244
10.10.2019 17:23:57
14,400
38d9888025d5a6cd25ad5f8130bf55cac5962aea
Allow feasible links in the integration tests otherwise same-cost paths will fail randomly
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/node.py", "new_path": "integration-tests/integration-test-script/node.py", "diff": "@@ -71,7 +71,7 @@ class Node:\nreturn False\nlast_dump = last_dump_match.group(1)\n- route_pat = re.compile(r'{d}.*price {p}.*fee {f}....
Rust
Apache License 2.0
althea-net/althea_rs
Allow feasible links in the integration tests otherwise same-cost paths will fail randomly
20,244
11.10.2019 09:52:59
14,400
f850480c03162dad25ba7e4aff439ff43b1e54fd
WIP: Fix debts tests for arbitrary scale
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -319,7 +319,7 @@ def main():\n# (COMPAT_LAYOUTS, all_routes, traffic_test_pairs,\n# world, EXIT_NAMESPACE, EXIT_ID, GATEWAY_NAMESPA...
Rust
Apache License 2.0
althea-net/althea_rs
WIP: Fix debts tests for arbitrary scale
20,244
11.10.2019 15:44:36
14,400
d397021e32a1efe0e5a63c5fd053edc7fa5beaec
Fix debts init
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -319,7 +319,7 @@ def main():\n# (COMPAT_LAYOUTS, all_routes, traffic_test_pairs,\n# world, EXIT_NAMESPACE, EXIT_ID, GATEWAY_NAMESPA...
Rust
Apache License 2.0
althea-net/althea_rs
Fix debts init
20,244
11.10.2019 17:21:59
14,400
1a78e2e24ce937f1d2965c987d433bb1f4e12528
Working 50 node test
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -17,6 +17,7 @@ import toml\nimport random\nimport networkx as nx\nimport matplotlib.pyplot as plt\n+import multiprocessing\nfrom co...
Rust
Apache License 2.0
althea-net/althea_rs
Working 50 node test
20,244
13.10.2019 19:07:23
14,400
45d37cd36708ec33fb6d12209c7cc4e092686661
Fix debt computation for fixed size config
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -319,10 +319,10 @@ def setup_seven_node_config():\ndef main():\n- # (COMPAT_LAYOUTS, all_routes, traffic_test_pairs,\n- # world, EX...
Rust
Apache License 2.0
althea-net/althea_rs
Fix debt computation for fixed size config
20,244
14.10.2019 11:09:30
14,400
cc1ca9234d640f43d28c17ffc3c056df0b5387b8
We can't use the connrefused flag in Travis Curl version is too old
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/utils.py", "new_path": "integration-tests/integration-test-script/utils.py", "diff": "@@ -274,7 +274,7 @@ def start_rita(node, dname, RITA, EXIT_SETTINGS):\nEXIT_SETTINGS[\"reg_details\"][\"email\"] = \"{}@example.com\...
Rust
Apache License 2.0
althea-net/althea_rs
We can't use the connrefused flag in Travis Curl version is too old
20,244
14.10.2019 11:18:31
14,400
cde0c1ea8b9d905a44b331190eabdf5f9eae2c3a
Upgrade libsodium to 2.5 Resolves a cve
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -192,7 +192,7 @@ dependencies = [\n\"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_json 1....
Rust
Apache License 2.0
althea-net/althea_rs
Upgrade libsodium to 2.5 Resolves a cve
20,244
16.10.2019 13:12:50
14,400
9dfff6d654cdcdc2936274a0e74287f00dba9d19
Wait until tunnels have been removed from babel before deleting them This resolves the issue described here Where babel will be uanble to free it's resources for the interface and run out of memory
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -242,6 +242,14 @@ impl Tunnel {\nOk(())\n});\nArbiter::spawn(fut);\n+ } else {\n+ // We must wait until we have flushed the interface before dele...
Rust
Apache License 2.0
althea-net/althea_rs
Wait until tunnels have been removed from babel before deleting them This resolves the issue described here https://github.com/sudomesh/bugs/issues/24 Where babel will be uanble to free it's resources for the interface and run out of memory
20,244
17.10.2019 08:17:43
14,400
3fc74c0f56a6ba4109ee797a63dc1f65dee3b5a3
Update for Beta 9 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.18\",\n+ \"rita 0.5.19\",\n]\n[[package]]\n@@ -2009,7 +2009,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Update for Beta 9 RC4
20,244
17.10.2019 12:35:12
14,400
58c42fbdded973ed39892488710280fe2e85a510
More verbose exit enforcement message
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/mod.rs", "new_path": "rita/src/rita_exit/database/mod.rs", "diff": "@@ -547,6 +547,7 @@ pub fn enforce_exit_clients(\nOk(list) => {\nlet mut clients_by_id = HashMap::new();\nlet free_tier_limit = SETTING.get_payment().free_tier_thro...
Rust
Apache License 2.0
althea-net/althea_rs
More verbose exit enforcement message
20,244
17.10.2019 07:49:02
14,400
6647fd812d750ca59b168ac9e3ba78be7cc1ee58
Fail on exit ping failure
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -396,7 +396,8 @@ def main():\nif choice != 'y':\nsys.exit(0)\n- world.test_exit_reach_all()\n+ world.test_exit_reach_all(global_fai...
Rust
Apache License 2.0
althea-net/althea_rs
Fail on exit ping failure
20,244
17.10.2019 13:23:23
14,400
7990a56edc72882466b92fd445098cef170a0168
Give rita enough time to start for exit registration
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/utils.py", "new_path": "integration-tests/integration-test-script/utils.py", "diff": "@@ -270,7 +270,7 @@ def start_rita(node, dname, RITA, EXIT_SETTINGS):\n'grep -Ev \"<unknown>|mio|tokio_core|tokio_reactor|hyper\" > ...
Rust
Apache License 2.0
althea-net/althea_rs
Give rita enough time to start for exit registration
20,244
17.10.2019 17:21:56
14,400
368be0ce4913633efa918c8a2f2c274f0e3f0230
Use 120 second post-convergence wait This is somehow very important to getting stable test results
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/rita.py", "new_path": "integration-tests/integration-test-script/rita.py", "diff": "@@ -360,7 +360,7 @@ def main():\n(time.time() - start_time, CONVERGENCE_DELAY, interval))\nprint(\"Test reachabibility and optimum rou...
Rust
Apache License 2.0
althea-net/althea_rs
Use 120 second post-convergence wait This is somehow very important to getting stable test results
20,244
17.10.2019 19:12:22
14,400
e49a269b5f0464a0c05003478aee94e5f1380103
Make scale test selectable using env var example NODES=50 bash scripts/test.sh
[ { "change_type": "MODIFY", "old_path": "integration-tests/container/Dockerfile", "new_path": "integration-tests/container/Dockerfile", "diff": "@@ -8,6 +8,8 @@ ENV POSTGRES_USER=postgres\nENV POSTGRES_BIN=/usr/lib/postgresql/12/bin/postgres\nENV INITDB_BIN=/usr/lib/postgresql/12/bin/initdb\nRUN PATH...
Rust
Apache License 2.0
althea-net/althea_rs
Make scale test selectable using env var example NODES=50 bash scripts/test.sh
20,244
18.10.2019 17:21:05
14,400
1e351b2b9e92b4ea516e2eceac60c73f7da9508a
Remove tests debts lookup logging No longer required
[ { "change_type": "MODIFY", "old_path": "integration-tests/integration-test-script/world.py", "new_path": "integration-tests/integration-test-script/world.py", "diff": "@@ -332,7 +332,6 @@ class World:\nwhile True:\nip = num_to_ip(n)\n- print(\"Using ip {} to get debts\".format(ip))\nstatus = subproc...
Rust
Apache License 2.0
althea-net/althea_rs
Remove tests debts lookup logging No longer required
20,244
21.10.2019 17:19:22
14,400
a4664038aabf1f6be2820d6f0e9e32a7ec1a328e
Log oracle/dao url now that we have more than one floating around it's becoming hard to keep track of.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "@@ -300,13 +300,13 @@ struct PriceUpdate {\n/// for the network to adjust bandwidth prices, that's not the case right now so the DAO suggested prices\n/// are taken...
Rust
Apache License 2.0
althea-net/althea_rs
Log oracle/dao url now that we have more than one floating around it's becoming hard to keep track of.
20,244
21.10.2019 17:42:29
14,400
a55ebaac8248cbc00ce66f12cf9dbb1a044bd543
Bump for Beta 9 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.19\",\n+ \"rita 0.5.20\",\n]\n[[package]]\n@@ -2009,7 +2009,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 9 RC5
20,249
18.10.2019 21:51:09
25,200
3ca3c27c43f5d67c51c525234218f10b5fa15fd1
Add /routes endpoint
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -281,6 +281,7 @@ dependencies = [\n\"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"ipnetwork 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"log 0.4.8 (regis...
Rust
Apache License 2.0
althea-net/althea_rs
Add /routes endpoint
20,249
25.10.2019 11:41:44
25,200
870ef58b153128f82db4e90cb6b8cffa1ecb687b
Allow CORS requests from althea.net
[ { "change_type": "MODIFY", "old_path": "rita/src/middleware.rs", "new_path": "rita/src/middleware.rs", "diff": "@@ -18,16 +18,25 @@ impl<S> Middleware<S> for Headers {\n}\nfn response(&self, req: &HttpRequest<S>, mut resp: HttpResponse) -> Result<Response> {\n+ let origin = req.headers().get(\"origi...
Rust
Apache License 2.0
althea-net/althea_rs
Allow CORS requests from althea.net
20,249
28.10.2019 13:47:47
25,200
9ecc9b0fc2dd0cd2a658b00731977a0387b90430
Handle case where no Origin header is provided Prevents unwrap from panicking when requests are made with curl or an agent that doesn't provide an Origin header
[ { "change_type": "MODIFY", "old_path": "rita/src/middleware.rs", "new_path": "rita/src/middleware.rs", "diff": "@@ -18,13 +18,21 @@ impl<S> Middleware<S> for Headers {\n}\nfn response(&self, req: &HttpRequest<S>, mut resp: HttpResponse) -> Result<Response> {\n- let origin = req.headers().get(\"origi...
Rust
Apache License 2.0
althea-net/althea_rs
Handle case where no Origin header is provided Prevents unwrap from panicking when requests are made with curl or an agent that doesn't provide an Origin header
20,249
28.10.2019 16:55:11
25,200
3ee6540e2d745b39a0eb8ba3e6c796531df43bbc
Limit oracle disabling feature to bandwidth price Disabling auto pricing should not prevent the oracle from updating other settings like the organizer fee and system blockchains.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "use crate::rita_common::rita_loop::get_web3_server;\nuse crate::SETTING;\n-use ::actix::{Actor, Arbiter, Context, Handler, Message, Supervised, SystemService};\n+us...
Rust
Apache License 2.0
althea-net/althea_rs
Limit oracle disabling feature to bandwidth price Disabling auto pricing should not prevent the oracle from updating other settings like the organizer fee and system blockchains.
20,244
10.09.2019 00:18:39
14,400
8fa8f44db85588b970f5b233e946d6d56026928f
fq_codel as leaf qdisc This adds codel as the leaf qdisc to the exit htb setup. I don't think this is actually doing much over pfifo-fast in it's current form though
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/traffic_control.rs", "new_path": "althea_kernel_interface/src/traffic_control.rs", "diff": "@@ -262,11 +262,33 @@ impl dyn KernelInterface {\n],\n)?;\n+ if !output.status.success() {\n+ let res = String::from_utf8(output.stderr)?;\n...
Rust
Apache License 2.0
althea-net/althea_rs
fq_codel as leaf qdisc This adds codel as the leaf qdisc to the exit htb setup. I don't think this is actually doing much over pfifo-fast in it's current form though
20,244
29.10.2019 09:46:43
14,400
0658739e65128390b69d8ed79311198d36cef349
Use cake and not fq_codel as exit leaf qdisc This will function properly on Centos 8 systems or other systems with newer kernels and fail gracefully on Centos 7 or other systems with older kernels
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/traffic_control.rs", "new_path": "althea_kernel_interface/src/traffic_control.rs", "diff": "@@ -278,18 +278,16 @@ impl dyn KernelInterface {\n&format!(\"1:{}\", class_id),\n\"handle\",\n&format!(\"{}:\", class_id),\n- \"fq_codel\",\...
Rust
Apache License 2.0
althea-net/althea_rs
Use cake and not fq_codel as exit leaf qdisc This will function properly on Centos 8 systems or other systems with newer kernels and fail gracefully on Centos 7 or other systems with older kernels
20,244
29.10.2019 14:06:25
14,400
a06d4f31911bad617d0ed427eb2b809aa2486d98
Bump for Beta 10 RC1 From here on out I'm doing this before the features get merged in order to properly 'gate' the last release
[ { "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.20\",\n+ \"rita 0.5.21\",\n]\n[[package]]\n@@ -2010,7 +2010,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 10 RC1 From here on out I'm doing this before the features get merged in order to properly 'gate' the last release
20,244
21.09.2019 08:17:57
14,400
f602e2674f4e0f3a03bb4e21a1c4215b0c7dda08
Use compressed log from Git can't update the package until crates.io ownership is updated
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -492,6 +492,7 @@ dependencies = [\n[[package]]\nname = \"compressed_log\"\nversion = \"0.2.2\"\n+source = \"git+https://github.com/althea-net/compressed_log?tag=v0.2.2#8bca9833402e6366446b36daa77003a85710be1b\...
Rust
Apache License 2.0
althea-net/althea_rs
Use compressed log from Git can't update the package until crates.io ownership is updated
20,244
29.10.2019 14:16:06
14,400
1fd2a452e1594db5e2ec97e072f94a761b3c1e33
Use crates.io compressed_log
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -492,7 +492,7 @@ dependencies = [\n[[package]]\nname = \"compressed_log\"\nversion = \"0.2.2\"\n-source = \"git+https://github.com/althea-net/compressed_log?tag=v0.2.2#8bca9833402e6366446b36daa77003a85710be1b\...
Rust
Apache License 2.0
althea-net/althea_rs
Use crates.io compressed_log
20,244
29.10.2019 14:20:55
14,400
eac0fdae04c28163d9e87c3776eec052f7fd12cc
Remove old logging vars in exit_manager
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "@@ -374,10 +374,6 @@ pub struct ExitManager {\nlast_exit: Option<ExitServer>,\n// the logging destination\ndest_url: String,\n- // used to store the log...
Rust
Apache License 2.0
althea-net/althea_rs
Remove old logging vars in exit_manager
20,244
29.10.2019 14:26:42
14,400
8fdd9ef9dcb422650329e5e5ebc8ad135293fe4c
Fix comment typo in remote log init function
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/mod.rs", "new_path": "rita/src/rita_client/mod.rs", "diff": "@@ -19,7 +19,7 @@ pub fn enable_remote_logging() -> Result<(), Error> {\nlet key = SETTING\n.get_network()\n.wg_public_key\n- .expect(\"Tried to init remove logging without WgKey...
Rust
Apache License 2.0
althea-net/althea_rs
Fix comment typo in remote log init function
20,244
03.11.2019 14:53:27
18,000
003abb22a9ee892f05f7957c063ef7597db9d13d
Fix oracle deadlock The ordering of SETTINGS operations caused a deadlock in the previous Oracle patch
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "@@ -326,11 +326,11 @@ fn update_oracle() {\n// an explicit fashion\nmatch serde_json::from_slice::<PriceUpdate>(&new_prices) {\nOk(new_settings) => {\n- let mut pay...
Rust
Apache License 2.0
althea-net/althea_rs
Fix oracle deadlock The ordering of SETTINGS operations caused a deadlock in the previous Oracle patch
20,244
03.09.2019 12:45:28
14,400
94d0fe9561b6b0dcb0efdbe58f28eb2af741b982
Use default functions It makes much more sense for Serde default and the Rust default trait to take the values from the same functions
[ { "change_type": "MODIFY", "old_path": "settings/src/logging.rs", "new_path": "settings/src/logging.rs", "diff": "@@ -27,9 +27,9 @@ pub struct LoggingSettings {\nimpl Default for LoggingSettings {\nfn default() -> Self {\nLoggingSettings {\n- enabled: true,\n- level: \"INFO\".to_string(),\n- dest_ur...
Rust
Apache License 2.0
althea-net/althea_rs
Use default functions It makes much more sense for Serde default and the Rust default trait to take the values from the same functions
20,244
03.09.2019 15:56:18
14,400
95369d55b12929e340f90d48510bc07cff578072
Toggle for user facing free tier This does not remove the free tier as a concept, it does allow the router to not forward packets from the LAN while the router has a low balance (which is technically independent of other nodes putting it on the free tier).
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -201,4 +201,49 @@ impl dyn KernelInterface {\nOk(())\n}\n+\n+ pub fn delete_client_nat_rules(&self, lan_nic: &str) -> Result<(), Er...
Rust
Apache License 2.0
althea-net/althea_rs
Toggle for user facing free tier This does not remove the free tier as a concept, it does allow the router to not forward packets from the LAN while the router has a low balance (which is technically independent of other nodes putting it on the free tier).
20,244
04.11.2019 19:03:59
21,600
e9d2a04b928b1302791900ff24743876bf701700
Remove unused references to local limiting These variables are unused. Left over from an investigation into how to add this feature that was dropped after realizing that limiting inbound traffic is actually rather difficult.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "@@ -370,11 +370,9 @@ fn exit_status_request(exit: String) -> impl Future<Item = (), Error = Error> {\n/// An actor which pays the exit\n#[derive(Default...
Rust
Apache License 2.0
althea-net/althea_rs
Remove unused references to local limiting These variables are unused. Left over from an investigation into how to add this feature that was dropped after realizing that limiting inbound traffic is actually rather difficult.
20,244
04.11.2019 19:37:12
21,600
50a012ae074078385bdfa92747a3bdadd178e0b2
Bump for Beta 10 RC2
[ { "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.21\",\n+ \"rita 0.5.22\",\n]\n[[package]]\n@@ -2015,7 +2015,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 10 RC2
20,244
05.11.2019 09:47:51
21,600
edbdfa04f557c30a79e4a0d998b7bc34d2264e4e
Seperate release handling functions
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -351,8 +351,12 @@ fn start_client_dashboard() {\n.route(\"/router/reboot\", Method::POST, reboot_router)\n.route(\"/router/update\", Method::POST, update_router)\n.route(\"/router/password\", M...
Rust
Apache License 2.0
althea-net/althea_rs
Seperate release handling functions
20,244
05.11.2019 11:45:20
21,600
d7106b669e724570f02d984fc688c7165765b10e
Add 'custom' release feeds This allows an arbitrary string to be a valid release feed. Opening up the possiblity of per network release feeds to reduce the need to roll a single release out to the entire fleet of active routers at once
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/release_feed.rs", "new_path": "rita/src/rita_client/dashboard/release_feed.rs", "diff": "@@ -12,21 +12,32 @@ use std::str::FromStr;\nstatic CUSTOMFEEDS: &str = \"/etc/opkg/customfeeds.conf\";\nstatic FEED_NAME: &str = \"openwrt_a...
Rust
Apache License 2.0
althea-net/althea_rs
Add 'custom' release feeds This allows an arbitrary string to be a valid release feed. Opening up the possiblity of per network release feeds to reduce the need to roll a single release out to the entire fleet of active routers at once
20,244
05.11.2019 13:02:38
21,600
60d77d874820243e2e53f89c3255f0ea83a25ca9
Add Oracle update for release feeds
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -187,6 +187,7 @@ dependencies = [\n\"base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"clarity 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"eui48 0.4.0 (git+ht...
Rust
Apache License 2.0
althea-net/althea_rs
Add Oracle update for release feeds
20,244
05.11.2019 13:04:02
21,600
4c5e7dfc35066b1cff8fc63c355caf0db3f18f21
Clippy nit in middleware
[ { "change_type": "MODIFY", "old_path": "rita/src/middleware.rs", "new_path": "rita/src/middleware.rs", "diff": "@@ -20,7 +20,7 @@ impl<S> Middleware<S> for Headers {\nfn response(&self, req: &HttpRequest<S>, mut resp: HttpResponse) -> Result<Response> {\nlet url_no_port = match req.headers().get(\"o...
Rust
Apache License 2.0
althea-net/althea_rs
Clippy nit in middleware
20,244
05.11.2019 13:05:40
21,600
745eed56c95271f7799a35e26f7f0ceab8565686
Remove oracle migration code from Beta 7 This block was used to migrate users from the old Oracle in payment settings to the independent Oracle. That's now been completed.
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -26,7 +26,6 @@ extern crate arrayvec;\nuse actix_web::http::Method;\nuse actix_web::{http, server, App};\n-use althea_types::SystemChain;\nuse docopt::Docopt;\nuse env_logger;\nuse openssl_prob...
Rust
Apache License 2.0
althea-net/althea_rs
Remove oracle migration code from Beta 7 This block was used to migrate users from the old Oracle in payment settings to the independent Oracle. That's now been completed.
20,244
05.11.2019 13:42:29
21,600
be3432e16f1aacd671e470dcfbbb24d1af6a14fe
Parse ReleaseStatus from string in Oracle This fixes an edge case where Serde can't deserialize arbitrary Enums with variables automatically
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -293,6 +293,7 @@ impl FromStr for ReleaseStatus {\nmatch s {\n\"rc\" => Ok(ReleaseStatus::ReleaseCandidate),\n\"pr\" => Ok(ReleaseStatus::PreRelease),\n+ \"ga\" => Ok(ReleaseS...
Rust
Apache License 2.0
althea-net/althea_rs
Parse ReleaseStatus from string in Oracle This fixes an edge case where Serde can't deserialize arbitrary Enums with variables automatically
20,244
07.11.2019 10:10:44
21,600
cd1db7d13afd4486d314807fdec5c2f4ed73561d
Only one node list Originally we where considering the problem of having Aragon on one blockchain and our payments on the other. That's not going to be implemented ofr the forseeable future and for the time being I'd prefer to have the reduced complexity
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/system_chain.rs", "new_path": "rita/src/rita_client/dashboard/system_chain.rs", "diff": "@@ -21,7 +21,8 @@ pub fn set_system_blockchain(path: Path<String>) -> Result<HttpResponse, Error>\nlet oracle_url;\nlet mut payment = SETTIN...
Rust
Apache License 2.0
althea-net/althea_rs
Only one node list Originally we where considering the problem of having Aragon on one blockchain and our payments on the other. That's not going to be implemented ofr the forseeable future and for the time being I'd prefer to have the reduced complexity
20,244
07.11.2019 19:14:58
21,600
bd2b53435cb7f3b5db830a993a8f6cdc163f0587
Better logging debugging
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -174,7 +174,7 @@ fn main() {\nenv_logger::init();\n} else {\nlet res = enable_remote_logging();\n- info!(\"logging status {:?}\", res);\n+ println!(\"logging status {:?}\", res);\n}\nif cfg!(fe...
Rust
Apache License 2.0
althea-net/althea_rs
Better logging debugging
20,244
08.11.2019 18:39:37
21,600
d50da408670cd3e3e4623164bc11c0bf22f5a737
Bump for Beta 10 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.22\",\n+ \"rita 0.5.23\",\n]\n[[package]]\n@@ -2016,7 +2016,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 10 RC3
20,244
14.11.2019 08:11:20
18,000
bf7a89f0b4bbb336330368e0404d7ef2dee629e6
Demote some logging messages Hopefully to reduce exit logging load
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/traffic_control.rs", "new_path": "althea_kernel_interface/src/traffic_control.rs", "diff": "@@ -285,7 +285,7 @@ impl dyn KernelInterface {\nif !output.status.success() {\nlet res = String::from_utf8(output.stderr)?;\n- warn!(\"Opera...
Rust
Apache License 2.0
althea-net/althea_rs
Demote some logging messages Hopefully to reduce exit logging load
20,244
14.11.2019 08:19:37
18,000
20d7fa9c69bd9d1fe36fb87fe08239492c1ebfec
Hello handler should not panic on a malformed packet
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_endpoints/mod.rs", "new_path": "rita/src/rita_common/network_endpoints/mod.rs", "diff": "@@ -78,13 +78,14 @@ pub fn hello_response(\n) -> Box<dyn Future<Item = Json<LocalIdentity>, Error = Error>> {\nlet their_id = *req.0;\n- let s...
Rust
Apache License 2.0
althea-net/althea_rs
Hello handler should not panic on a malformed packet
20,244
14.11.2019 08:51:12
18,000
5e6e9c22a0b0567d1f631d26b54295d64a2390d2
Add display for Tunnel This will make it easier to debug tunnel types as it will print the full wg key and other more searchable info rather than the byte content of the keys
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -10,9 +10,9 @@ use crate::rita_common::peer_listener::Peer;\nuse crate::KI;\nuse crate::SETTING;\n#[cfg(test)]\n-use ::actix::actors::mocker::Moc...
Rust
Apache License 2.0
althea-net/althea_rs
Add display for Tunnel This will make it easier to debug tunnel types as it will print the full wg key and other more searchable info rather than the byte content of the keys
20,244
14.11.2019 09:30:42
18,000
3fc4e6080129f616d10b221785f817e0c3663e1e
Hello response should not panic if id callback fails
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/network_endpoints/mod.rs", "new_path": "rita/src/rita_common/network_endpoints/mod.rs", "diff": "@@ -103,7 +103,11 @@ pub fn hello_response(\n.send(IdentityCallback::new(their_id, peer, None))\n.from_err()\n.and_then(|tunnel| {\n- let tunn...
Rust
Apache License 2.0
althea-net/althea_rs
Hello response should not panic if id callback fails
20,244
14.11.2019 10:23:41
18,000
3887757bccb2526387e7ba7a7edf7d981b1f4f60
Remove unused tunnel function
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/open_tunnel.rs", "new_path": "althea_kernel_interface/src/open_tunnel.rs", "diff": "@@ -137,64 +137,6 @@ impl dyn KernelInterface {\nOk(())\n}\n- pub fn open_tunnel_listener(\n- &self,\n- interface: &String,\n- port: u16,\n- remote_...
Rust
Apache License 2.0
althea-net/althea_rs
Remove unused tunnel function
20,244
14.11.2019 10:24:06
18,000
d526edcd1ac021ba4f4de49484de0a9562f201ad
Fix function description for find ifidx
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/link_local_tools.rs", "new_path": "althea_kernel_interface/src/link_local_tools.rs", "diff": "@@ -125,7 +125,7 @@ impl dyn KernelInterface {\n)\n}\n}\n- /// Returns all existing interfaces\n+ /// Returns the ifidx of the provided in...
Rust
Apache License 2.0
althea-net/althea_rs
Fix function description for find ifidx
20,249
15.11.2019 10:14:29
28,800
0222a44a33fb1d7b90f7dbf89c31bc43c642cde5
Accept althearouter.net as a request origin
[ { "change_type": "MODIFY", "old_path": "rita/src/middleware.rs", "new_path": "rita/src/middleware.rs", "diff": "@@ -18,31 +18,31 @@ impl<S> Middleware<S> for Headers {\n}\nfn response(&self, req: &HttpRequest<S>, mut resp: HttpResponse) -> Result<Response> {\n- let url_no_port = match req.headers()....
Rust
Apache License 2.0
althea-net/althea_rs
Accept althearouter.net as a request origin
20,244
18.11.2019 07:33:23
18,000
6ab5a64dc5b49560562a223a0e1334d816727ba4
Add proper enabled/disable for low balance notifications I've done this with a code patch a couple of times, so it's probably worth it to add it to the configuration state
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/database/mod.rs", "new_path": "rita/src/rita_exit/database/mod.rs", "diff": "@@ -299,6 +299,23 @@ fn low_balance_notification(\nconn: &PgConnection,\n) {\ntrace!(\"Checking low balance nofication\");\n+\n+ // maybe this needs a trait 'enable...
Rust
Apache License 2.0
althea-net/althea_rs
Add proper enabled/disable for low balance notifications I've done this with a code patch a couple of times, so it's probably worth it to add it to the configuration state
20,249
15.11.2019 13:27:59
28,800
3e83ba7d9f87b4b20aabe9578b2b0e96ae6dfea6
Get wyre_enabled boolean from oracle updates and expose it through the dashboard API
[ { "change_type": "MODIFY", "old_path": "docs/api/router-dashboard.md", "new_path": "docs/api/router-dashboard.md", "diff": "@@ -1703,3 +1703,26 @@ Enables remote access for debugging and user use, only usable from the local mes\n- Sample Call:\n`curl http://192.168.10.1:4877/remote_access/true`\n+\n...
Rust
Apache License 2.0
althea-net/althea_rs
Get wyre_enabled boolean from oracle updates and expose it through the dashboard API
20,244
19.11.2019 19:41:09
18,000
c62a502529a419a215015e11be38ff5e38f14ae9
Localization endpoint should send the entire struct
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/localization.rs", "new_path": "rita/src/rita_client/dashboard/localization.rs", "diff": "@@ -2,13 +2,9 @@ use crate::SETTING;\nuse actix_web::{HttpRequest, HttpResponse, Result};\nuse failure::Error;\nuse settings::RitaCommonSett...
Rust
Apache License 2.0
althea-net/althea_rs
Localization endpoint should send the entire struct
20,244
20.11.2019 09:50:29
18,000
45d68fd65598808067a9a41b74864d46e3ee711d
Make TokenBridge addresses configurable
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "@@ -25,6 +25,8 @@ use settings::RitaCommonSettings;\nuse std::time::Duration;\nuse std::time::Instant;\nuse web30::client::Web3;\n+use crate::rita_common::token_bri...
Rust
Apache License 2.0
althea-net/althea_rs
Make TokenBridge addresses configurable
20,244
20.11.2019 09:52:04
18,000
3cf5b8d43017d57928596f1dd1f31ae08e7e5dc4
Bump for Beta 10 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.23\",\n+ \"rita 0.5.24\",\n]\n[[package]]\n@@ -2016,7 +2016,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 10 RC4
20,249
20.11.2019 10:12:16
28,800
a1e9e1fad29fc3fa0a7ba2c45b56f58918d418f0
Read Wyre account_id from oracle updates
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/oracle/mod.rs", "new_path": "rita/src/rita_common/oracle/mod.rs", "diff": "//! to match. More advanced pricing systems may be broken out into their own file some day\nuse crate::rita_common::rita_loop::get_web3_server;\n+use crate::rita_co...
Rust
Apache License 2.0
althea-net/althea_rs
Read Wyre account_id from oracle updates
20,249
02.12.2019 09:55:44
28,800
ea5e070d069c8fda25fe72c9be27fb2cacb9acb8
Add UDP heartbeat monitor to fast loop
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -18,6 +18,8 @@ use althea_types::ExitState;\nuse failure::Error;\nuse futures::future::Future;\nuse settings::client::RitaClientSettings;\n+use settings::R...
Rust
Apache License 2.0
althea-net/althea_rs
Add UDP heartbeat monitor to fast loop
20,244
08.12.2019 11:34:39
21,600
ae9654c3db9d977d308aeb14587642af52ada882
Promote bridge logging messages
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -213,6 +213,7 @@ fn main() {\nstart_client_dashboard();\nsystem.run();\n+ info!(\"Started Rita Client!\");\n}\nfn start_client_dashboard() {\n" }, { "change_type": "MODIFY", "old_pa...
Rust
Apache License 2.0
althea-net/althea_rs
Promote bridge logging messages
20,244
09.12.2019 13:37:43
18,000
700eeae92a1e8379ed05d34dd09d963291a9f0a7
Bump for Beta 10 RC5 this is mostly an openwrt rebuild, but we may as well get the wyre stuff in
[ { "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.24\",\n+ \"rita 0.5.25\",\n]\n[[package]]\n@@ -2016,7 +2016,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 10 RC5 this is mostly an openwrt rebuild, but we may as well get the wyre stuff in
20,244
11.12.2019 12:55:56
18,000
7ce9a35e503296df15aa45652cd137635f3e2853
Update non-rita deps
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -184,7 +184,7 @@ version = \"0.1.0\"\ndependencies = [\n\"actix 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n- ...
Rust
Apache License 2.0
althea-net/althea_rs
Update non-rita deps
20,244
11.12.2019 12:58:28
18,000
459b002112de58e9ae0e3e0aa2278cff3c295e41
Bump version for Beta 10 RC6
[ { "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.25\",\n+ \"rita 0.5.26\",\n]\n[[package]]\n@@ -2016,7 +2016,7 @@ source = \"registry+https://github...
Rust
Apache License 2.0
althea-net/althea_rs
Bump version for Beta 10 RC6
20,244
11.12.2019 13:15:51
18,000
ba326893bd6daa748b91d7db570322ada53b57e7
Generate the real Wyre id by default this is our account ID, may as well have it be the default value
[ { "change_type": "MODIFY", "old_path": "settings/src/localization.rs", "new_path": "settings/src/localization.rs", "diff": "@@ -2,6 +2,10 @@ fn default_wyre_enabled() -> bool {\nfalse\n}\n+fn default_wyre_account_id() -> String {\n+ \"AC_2J6LWQEGW8P\".to_string()\n+}\n+\n#[derive(Debug, Serialize, D...
Rust
Apache License 2.0
althea-net/althea_rs
Generate the real Wyre id by default this is our account ID, may as well have it be the default value
20,249
09.12.2019 15:00:45
28,800
c51ef7e946309c2237947aa1d4ac0d559fc89a33
Send UDP heartbeat
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "@@ -10,6 +10,7 @@ use crate::rita_client::traffic_watcher::WeAreGatewayClient;\nuse crate::rita_common::tunnel_manager::GetNeighbors;\nuse crate::rita_common:...
Rust
Apache License 2.0
althea-net/althea_rs
Send UDP heartbeat
20,244
20.12.2019 07:19:12
18,000
42e4bf4a3ecb6f53bf0eee066303a21f261aaa26
Fix new syntax warning This code has been this way for a very long time, but I guess the latest compiler now has a warning about it.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dashboard/dao.rs", "new_path": "rita/src/rita_common/dashboard/dao.rs", "diff": "@@ -14,7 +14,7 @@ pub fn get_dao_list(_req: HttpRequest) -> Result<Json<Vec<Address>>, Error> {\nOk(Json(SETTING.get_dao().dao_addresses.clone()))\n}\n-pub fn...
Rust
Apache License 2.0
althea-net/althea_rs
Fix new syntax warning This code has been this way for a very long time, but I guess the latest compiler now has a warning about it.
20,244
27.12.2019 07:37:52
18,000
5d16da94a9d92062639b546e26e5a184f2e364ba
Don't use the 'linux' prefix on top level function names If we do ever write non-linux functions we should disambiguate inside a function called generate_mesh_ip anyways.
[ { "change_type": "MODIFY", "old_path": "clu/src/lib.rs", "new_path": "clu/src/lib.rs", "diff": "@@ -31,7 +31,7 @@ pub enum CluError {\nRuntimeError(String),\n}\n-pub fn linux_generate_mesh_ip() -> Result<IpAddr, Error> {\n+pub fn generate_mesh_ip() -> Result<IpAddr, Error> {\nlet seed: String = thre...
Rust
Apache License 2.0
althea-net/althea_rs
Don't use the 'linux' prefix on top level function names If we do ever write non-linux functions we should disambiguate inside a function called generate_mesh_ip anyways.
20,244
27.12.2019 14:44:57
18,000
929d2cc842fa99859a05044b6ece63e8429f45c7
Bump for Beta 11 RC1 No phone client yet, but we need this for Abuja so let's just roll with it
[ { "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.26\",\n+ \"rita 0.5.27\",\n]\n[[package]]\n@@ -2170,7 +2170,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC1 No phone client yet, but we need this for Abuja so let's just roll with it
20,244
30.12.2019 18:29:16
18,000
5e807f7d8f6ea3b1bd9e6d24756db7ee2a7511e5
Remove newly redundant clones Not sure if this was a Clippy or a Rust improvement but it's always nice to have fewer clone statements.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/interfaces.rs", "new_path": "rita/src/rita_client/dashboard/interfaces.rs", "diff": "@@ -337,7 +337,7 @@ pub fn ethernet_transform_mode(\nSETTING\n.get_network_mut()\n.peer_interfaces\n- .insert(locally_owned_ifname.clone());\n+ ...
Rust
Apache License 2.0
althea-net/althea_rs
Remove newly redundant clones Not sure if this was a Clippy or a Rust improvement but it's always nice to have fewer clone statements.
20,244
01.01.2020 13:49:26
18,000
a3b1b609f6516073c397d1c5d2b47fceddfec3d8
Bump for Beta 11 RC2
[ { "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.27\",\n+ \"rita 0.5.28\",\n]\n[[package]]\n@@ -2170,7 +2170,7 @@ dependencies = [\n[[package]]\nnam...
Rust
Apache License 2.0
althea-net/althea_rs
Bump for Beta 11 RC2
20,244
01.01.2020 13:50:41
18,000
e263b8d897071efa1cd45678eb5c90d3d300042b
Missed one redundant clone
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/token_bridge/mod.rs", "new_path": "rita/src/rita_common/token_bridge/mod.rs", "diff": "@@ -356,7 +356,7 @@ fn xdai_bridge(state: State, bridge: &TokenBridge) {\nTokenBridge::from_registry().do_send(DetailedStateChange(\nDetailedBridgeState...
Rust
Apache License 2.0
althea-net/althea_rs
Missed one redundant clone