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 | 24.08.2018 13:59:14 | 18,000 | 146ae5fcc7d008553e12ec5676e32eb621586cc9 | Fix some nits in DAOManager | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -86,7 +86,12 @@ impl Handler<DAOCheck> for DAOManager {\n}\n/// Called by returning DAO requests, sends a message to TunnelManager\n-pub struct CacheCa... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix some nits in DAOManager |
20,244 | 29.08.2018 15:34:57 | 14,400 | 27a221f0a7bda1ca60b7b5f15d245672b7948563 | Final fixes for SubnetDAO | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -9,10 +9,15 @@ use actix::prelude::*;\nuse actix_web::client::Connection;\nuse actix_web::error::JsonPayloadError;\nuse actix_web::*;\n+use futures::fu... | Rust | Apache License 2.0 | althea-net/althea_rs | Final fixes for SubnetDAO |
20,244 | 30.08.2018 07:19:01 | 14,400 | 315f5705be059b4e99d81c933ba576c05c431b7e | Use seconds for dao manager timeout config
This is just more ergonomic | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -178,7 +178,7 @@ impl Handler<CacheCallback> for DAOManager {\n/// True if timestamp does not need to be updated\nfn timer_check(timestamp: Instant) ->... | Rust | Apache License 2.0 | althea-net/althea_rs | Use seconds for dao manager timeout config
This is just more ergonomic |
20,244 | 30.08.2018 07:45:48 | 14,400 | c2429cff52bee09b94ae13bf7e172a35e571cfec | Add tests for is_iface_up | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/ip_addr.rs",
"new_path": "althea_kernel_interface/src/ip_addr.rs",
"diff": "@@ -18,3 +18,69 @@ impl KernelInterface {\n}\n}\n}\n+\n+#[test]\n+fn test_is_interface_up() {\n+ use KI;\n+\n+ use std::os::unix::process::ExitStatusExt;\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Add tests for is_iface_up |
20,244 | 30.08.2018 11:02:59 | 14,400 | f7be86047d96ac9d2adf79221be1ea05dc7d95d8 | Edit settings to reflect values | [
{
"change_type": "MODIFY",
"old_path": "settings/default.toml",
"new_path": "settings/default.toml",
"diff": "@@ -19,12 +19,14 @@ wg_private_key = \"\"\nwg_private_key_path = \"/tmp/priv\"\nwg_public_key = \"\"\nwg_start_port = 60000\n+tunnel_timeout_seconds = 900\npeer_interfaces = []\nmanual_peers... | Rust | Apache License 2.0 | althea-net/althea_rs | Edit settings to reflect values |
20,244 | 30.08.2018 18:03:14 | 14,400 | 3baab00245def46869494cddc8bd56d997829331 | Fix problems introduced in Rebase | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -161,20 +161,6 @@ impl Tunnel {\n}\n}\n-#[derive(PartialEq, Eq, Hash, Debug, Clone)]\n-struct TunnelIdentity {\n- /// Identity of the owner of tu... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix problems introduced in Rebase |
20,244 | 31.08.2018 09:00:46 | 14,400 | fe58396ae744c2f27b7cc7769deb61d04cad4ee0 | Remove entires to somthing more descriptive | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -42,7 +42,7 @@ pub struct Web3Response {\n}\npub struct DAOManager {\n- entries: HashMap<Identity, Vec<DAOEntry>>,\n+ ident2dao: HashMap<Identity, Vec<... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove entires to somthing more descriptive |
20,244 | 31.08.2018 09:01:34 | 14,400 | aa2b21d506b311f02bd3c5ed91b5610ce0ad782a | Fix DAO api doc nits | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -567,7 +567,7 @@ Format:\n## /dao_list\n-Calling HTTP `GET` request on this endpoint returns a list of EthAddress' for a configured subnet dao\n+Calling HTTP `GET` request o... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix DAO api doc nits |
20,244 | 03.09.2018 08:00:18 | 14,400 | a1d208d2089a786610815938d69c100e1a2b4b1c | Defaults for DAO settings
We need these so that we can successfully update pre-dao devices
without them just crashing | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -250,16 +250,31 @@ fn default_cache_timeout() -> u64 {\n600\n}\n+fn default_dao_enforcement() -> bool {\n+ true\n+}\n+\n+fn default_node_list() -> Vec<String> {\n+ vec![\"http://sasquatch.net... | Rust | Apache License 2.0 | althea-net/althea_rs | Defaults for DAO settings
We need these so that we can successfully update pre-dao devices
without them just crashing |
20,244 | 17.08.2018 07:49:41 | 14,400 | bc29cdaae6eba257cc87374fa5da112e3f0a97a2 | Remove stats collector from Rita loop
This has blocking issues and needs to be in it's own loop if it's
running at all. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/mod.rs",
"new_path": "rita/src/rita_common/rita_loop/mod.rs",
"diff": "@@ -18,8 +18,6 @@ use rita_common::debt_keeper::{DebtKeeper, SendUpdate};\nuse rita_common::payment_controller::{PaymentController, PaymentControllerUpdate};\... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove stats collector from Rita loop
This has blocking issues and needs to be in it's own loop if it's
running at all. |
20,244 | 04.09.2018 16:02:38 | 14,400 | 5452d01a5b6ab0aa155b0deedbadcaa9c338cefd | Missed a default for dao settings | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -282,6 +282,7 @@ pub struct SubnetDAOSettings {\n#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Default)]\npub struct RitaSettingsStruct {\npayment: PaymentSettings,\n+ #[serde... | Rust | Apache License 2.0 | althea-net/althea_rs | Missed a default for dao settings |
20,244 | 05.09.2018 10:57:52 | 14,400 | f3e6ad764af2f4a00a3b175223c6be315b874d6f | Bump Rita release | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -119,9 +119,9 @@ dependencies = [\n[[package]]\nname = \"althea_rs\"\n-version = \"0.1.5\"\n+version = \"0.1.6\"\ndependencies = [\n- \"rita 0.1.5\",\n+ \"rita 0.1.6\",\n]\n[[package]]\n@@ -1970,7 +1970,7 @@ d... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump Rita release |
20,244 | 13.09.2018 10:51:04 | 14,400 | a3679679d6f930363638714dd7307cb1578a82d5 | Improve logging for exits
This adds some more info messages with better system summary data
such as total bytes in and out in a billing cycle.
It also demotes some warnings to trace messages as they dominated
total warnings counts without being all that important. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -663,7 +663,7 @@ impl TunnelManager {\nreturn_bool = true;\n}\n}\n- trace!(\n+ info!(\n\"no tunnel found for {:?}%{:?} creating\",\npeer.contact_... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve logging for exits
This adds some more info messages with better system summary data
such as total bytes in and out in a billing cycle.
It also demotes some warnings to trace messages as they dominated
total warnings counts without being all that important. |
20,244 | 13.09.2018 13:55:03 | 14,400 | d18a62278ba32be614b82f34c354b3b8693804c6 | Rustfmt for latest Stable release | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/counter.rs",
"new_path": "althea_kernel_interface/src/counter.rs",
"diff": "@@ -68,9 +68,9 @@ fn test_filter_table_table() {\nfn parse_ipset(input: &str) -> Result<HashMap<(IpAddr, String), u64>, Error> {\nlazy_static! {\n- static r... | Rust | Apache License 2.0 | althea-net/althea_rs | Rustfmt for latest Stable release |
20,244 | 13.09.2018 17:24:26 | 14,400 | 322b0cd6516112e1f9eb419e26036afa5600baf5 | Fix counters logging
Made a minor mistake in exits, also added accounting for 'non-exit'
traffic. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"diff": "@@ -163,6 +163,18 @@ pub fn watch<T: Read + Write>(mut babel: Babel<T>, neighbors: &Vec<Neighbor>) ->\ninfo!(\"Got final input counters: {:?}\", t... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix counters logging
Made a minor mistake in exits, also added accounting for 'non-exit'
traffic. |
20,244 | 14.09.2018 15:33:22 | 14,400 | 540f16884c920696aeb33f0f8256848af8e8a980 | Check if exit tunnels are active | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/setup_wg_if.rs",
"new_path": "althea_kernel_interface/src/setup_wg_if.rs",
"diff": "use super::{KernelInterface, KernelInterfaceError};\n+use failure::err_msg;\nuse std::str::from_utf8;\n+use std::time::{Duration, SystemTime, UNIX_E... | Rust | Apache License 2.0 | althea-net/althea_rs | Check if exit tunnels are active |
20,244 | 17.09.2018 10:25:45 | 14,400 | 3647425028ca1a42bfb77aeaaa3fbe8b84aaf1f3 | Remove the mesh endpoint
Generalized toggling of functions means it makes more sense to treat
the wifi interfaces as just another interface to toggle with ssid
and passowrd being the only special settings.
The wifi_settings endpoint is left for legacy reasons but I'm considering
just removing it. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -431,6 +431,7 @@ This file documents the dashboard API found in Rita client.\n- Success Response:\n- Code: `200 OK`\n- Contents:\n+\n```json\n{}\n```\n@@ -438,6 +439,7 @@ Th... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove the mesh endpoint
Generalized toggling of functions means it makes more sense to treat
the wifi interfaces as just another interface to toggle with ssid
and passowrd being the only special settings.
The wifi_settings endpoint is left for legacy reasons but I'm considering
just removing it. |
20,244 | 18.09.2018 12:01:40 | 14,400 | 9e112d98abba19cf24de3d677aa76bb1a8a26b99 | Interface mode setting endpoint | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -21,7 +21,7 @@ dependencies = [\n\"tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"tokio-signal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"tokio-tcp 0... | Rust | Apache License 2.0 | althea-net/althea_rs | Interface mode setting endpoint |
20,244 | 20.09.2018 10:14:17 | 14,400 | 67f1ebd94f3d069ddd2902d71486aff922805662 | Post testing fixes for port toggling | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -38,7 +38,6 @@ mod openwrt_ubus;\nmod ping_check;\nmod setup_wg_if;\nmod stats;\n-mod wireless;\npub use counter::FilterTarget;\npub use exit_server_counter::Exi... | Rust | Apache License 2.0 | althea-net/althea_rs | Post testing fixes for port toggling |
20,244 | 19.09.2018 11:18:13 | 14,400 | afe30c62f8ea25b519654e763daecabb274c49bc | Remove stats server
This never really did what we wanted, now that we have some proper logging
infra up for the exits I'm more amicable to just using rsyslog on routers
if we want to aggregate data from a subset of monitored testing devices. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2284,23 +2284,6 @@ name = \"stable_deref_trait\"\nversion = \"1.1.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-[[package]]\n-name = \"stats_server\"\n-version = \"0.1.0\"\n-depend... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove stats server
This never really did what we wanted, now that we have some proper logging
infra up for the exits I'm more amicable to just using rsyslog on routers
if we want to aggregate data from a subset of monitored testing devices. |
20,244 | 24.09.2018 15:25:57 | 14,400 | 056fe537915a492761c7a0e90d980867157faf31 | Add wifi settings endpoint back
I should not have deleted GET wifi settings, which is actively used
along with POST wifi settings which was removed and no longer used. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -345,6 +345,24 @@ This file documents the dashboard API found in Rita client.\n---\n+## /wifi_settings\n+- URL: `<rita ip>:<rita_dashboard_port>/wifi_settings`\n+- Method: `... | Rust | Apache License 2.0 | althea-net/althea_rs | Add wifi settings endpoint back
I should not have deleted GET wifi settings, which is actively used
along with POST wifi settings which was removed and no longer used. |
20,244 | 24.09.2018 14:44:43 | 14,400 | 0f806b76d891b77e8bcf98352f8ae61984e8b78e | Tunnel GC did not unmonitor Tunnels
Tunnel GC would leave junk in Babel about tunnels that no longer
exist. A new tunnel might then be added on the same wg id and
end up monitored when perhaps it should not be. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -345,6 +345,20 @@ impl Message for TriggerGC {\nimpl Handler<TriggerGC> for TunnelManager {\ntype Result = Result<(), Error>;\nfn handle(&mut sel... | Rust | Apache License 2.0 | althea-net/althea_rs | Tunnel GC did not unmonitor Tunnels
Tunnel GC would leave junk in Babel about tunnels that no longer
exist. A new tunnel might then be added on the same wg id and
end up monitored when perhaps it should not be. |
20,244 | 28.09.2018 10:11:35 | 14,400 | 31b3445968f1dae513fccc9680fb4f4886724989 | Harden exit manager
This removes a few unwraps and generally reduces the scope of several
locks. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -30,6 +30,7 @@ use rita_client::rita_loop::Tick;\nuse rita_client::traffic_watcher::{TrafficWatcher, Watch};\nuse futures::future;\n+use futures::fut... | Rust | Apache License 2.0 | althea-net/althea_rs | Harden exit manager
This removes a few unwraps and generally reduces the scope of several
locks. |
20,244 | 28.09.2018 11:01:53 | 14,400 | a05f2622a55bcc4b4d41421628edfb17f80c3f6e | Increase saftey in db_client | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -65,7 +65,13 @@ impl Handler<ListClients> for DbClient {\nfn handle(&mut self, _: ListClients, _: &mut Self::Context) -> Self::Result {\nuse self::schema::clie... | Rust | Apache License 2.0 | althea-net/althea_rs | Increase saftey in db_client |
20,244 | 28.09.2018 11:03:10 | 14,400 | 08af52e705ed7e5f54ba3609509040ac41afc27b | Add more debugging info to geoip | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/db_client/mod.rs",
"new_path": "rita/src/rita_exit/db_client/mod.rs",
"diff": "@@ -88,12 +88,12 @@ fn increment(address: IpAddr) -> Result<IpAddr, Error> {\nbail!(\"Not ipv4 addr\")\n}\n-#[derive(Deserialize)]\n+#[derive(Deserialize, Debug)]... | Rust | Apache License 2.0 | althea-net/althea_rs | Add more debugging info to geoip |
20,244 | 28.09.2018 12:49:38 | 14,400 | dba42f2cc1f61132db9051444f2b63c7f525f644 | Fix interfaces endpoint on devices without wifi | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -79,11 +79,16 @@ pub fn get_interfaces() -> Result<HashMap<String, InterfaceMode>, Error> {\n}\n// Wireless\n- for (setting_name, value) in K... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix interfaces endpoint on devices without wifi |
20,244 | 02.10.2018 08:28:12 | 14,400 | 752cc91c7797203d86c61cfca515a29fb5a5efd9 | Use crates.io reqwest
Reqwest has finally upgraded to tokio instead of tokio_core on
Crates.io allowing us to move back to mainline | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1210,7 +1210,7 @@ source = \"registry+https://github.com/rust-lang/crates.io-index\"\n[[package]]\nname = \"libflate\"\n-version = \"0.1.16\"\n+version = \"0.1.18\"\nsource = \"registry+https://github.com/rus... | Rust | Apache License 2.0 | althea-net/althea_rs | Use crates.io reqwest
Reqwest has finally upgraded to tokio instead of tokio_core on
Crates.io allowing us to move back to mainline |
20,244 | 01.10.2018 06:46:33 | 14,400 | 4a868fff7c28e44ed219dc16a62f77b03c8e2657 | Reboot Rita on routing endpoints | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -677,12 +677,16 @@ Format:\nEnables or disables remote logging, if enabled on next boot\nthe router will send logs to the configured exit over syslog port 514\n+This endpoin... | Rust | Apache License 2.0 | althea-net/althea_rs | Reboot Rita on routing endpoints |
20,244 | 03.10.2018 07:40:00 | 14,400 | 7c5a481c0456e2f867453a2841297197ede6b477 | Make logging ports configurable | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -55,8 +55,8 @@ fn enable_remote_logging(server_internal_ip: IpAddr) -> Result<(), LogError> {\nErr(_) => LevelFilter::Error,\n};\nlet res = init_udp(... | Rust | Apache License 2.0 | althea-net/althea_rs | Make logging ports configurable |
20,249 | 03.10.2018 08:16:47 | 25,200 | 54c8c3aba57d7efa3e5fba12fd51efddc5647ccb | Limit to one LAN ethernet interface | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -175,6 +175,14 @@ impl Handler<InterfaceToSet> for Dashboard {\nbail!(\"There can only be one WAN interface!\");\n}\n}\n+ } else if target_mo... | Rust | Apache License 2.0 | althea-net/althea_rs | Limit to one LAN ethernet interface |
20,249 | 02.10.2018 06:01:06 | 25,200 | 5c96fe7cb801db6fea9ed6e5efee6c2540b28023 | Check for expected error and set LAN interface if none exist | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -268,11 +268,17 @@ pub fn ethernet_transform_mode(\nreturn_codes.push(ret);\n}\nErr(e) => {\n+ if e.to_string().contains(\"Entry not found\")... | Rust | Apache License 2.0 | althea-net/althea_rs | Check for expected error and set LAN interface if none exist |
20,249 | 03.10.2018 21:03:23 | 25,200 | 4d74f856b16e2d4c0ae6f7a31a179562a52eba97 | Add device field to network settings
Device is an optional String field that is read from
/etc/althea-firmware-release if it is not already set | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -27,6 +27,8 @@ use rand::distributions::Alphanumeric;\nuse regex::Regex;\nuse std::path::Path;\nuse std::sync::{Arc, RwLock};\n+use std::fs::File;\n+use std::io::Read;\nextern crate althea_types;\nexte... | Rust | Apache License 2.0 | althea-net/althea_rs | Add device field to network settings
Device is an optional String field that is read from
/etc/althea-firmware-release if it is not already set |
20,249 | 03.10.2018 21:53:30 | 25,200 | d6381d254b85af9bee4a610a986f14a3a7514d27 | Return device in /info endpoint | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/mod.rs",
"new_path": "rita/src/rita_common/dashboard/mod.rs",
"diff": "@@ -10,6 +10,8 @@ use futures::Future;\nuse rita_common::payment_controller::{GetOwnBalance, PaymentController};\nuse num256::Int256;\n+use SETTING;\n+use set... | Rust | Apache License 2.0 | althea-net/althea_rs | Return device in /info endpoint |
20,249 | 04.10.2018 20:11:07 | 25,200 | fed7bdeaa348e1174e6ea59f7c9b741c7841076e | Return null if device not found, handle file errors | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -139,22 +139,24 @@ fn linux_init(config: Arc<RwLock<settings::RitaSettingsStruct>>) -> Result<(), E\n}\nNone => {\ninfo!(\"No device name was found, reading from /etc/althea-firmware-release\");\n- let... | Rust | Apache License 2.0 | althea-net/althea_rs | Return null if device not found, handle file errors |
20,249 | 04.10.2018 23:40:11 | 25,200 | 9bbfee7d0bd4476d9d7878c7e4c2e1de1608d93e | Put file path in a variable | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -138,12 +138,13 @@ fn linux_init(config: Arc<RwLock<settings::RitaSettingsStruct>>) -> Result<(), E\ninfo!(\"Device name is {}\", existing_device);\n}\nNone => {\n- info!(\"No device name was found, re... | Rust | Apache License 2.0 | althea-net/althea_rs | Put file path in a variable |
20,249 | 05.10.2018 13:52:16 | 25,200 | 112c037d64b55fc9089fe7b1ccea94d1829240f8 | Fix code nit, unwrap option result instead of using map() | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -151,7 +151,12 @@ fn linux_init(config: Arc<RwLock<settings::RitaSettingsStruct>>) -> Result<(), E\nif line.starts_with(\"device:\") {\nlet mut array = line.split(\" \");\narray.next();\n- network_sett... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix code nit, unwrap option result instead of using map() |
20,249 | 08.10.2018 12:18:59 | 25,200 | b6b77e125b3643d0d78ba5995e27280e78e37406 | Refactor device parsing code | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -154,13 +154,12 @@ fn linux_init(config: Arc<RwLock<settings::RitaSettingsStruct>>) -> Result<(), E\nfor line in contents.lines() {\nif line.starts_with(\"device:\") {\n- let mut array = line.split(\" ... | Rust | Apache License 2.0 | althea-net/althea_rs | Refactor device parsing code |
20,244 | 16.10.2018 09:26:25 | 14,400 | 5ba9563b252b5c3665f7cc32b68fbd03a1536b30 | Seperate num256 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -134,7 +134,7 @@ dependencies = [\n\"ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"eui48 0.4.0 (git+https://github.com/althea-mesh/eui48)\",\n\"hex 0.3.2 (registry+https://... | Rust | Apache License 2.0 | althea-net/althea_rs | Seperate num256 |
20,244 | 16.10.2018 11:44:31 | 14,400 | d5e7468dca8027c395f226cda85edefdf1569ec6 | Update Rita logging to be more useful | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -127,7 +127,8 @@ pub fn watch<T: Read + Write>(\n));\n}\n}\n- )).send()?\n+ ))\n+ .send()?\n.json()?;\nlet client_rx = SystemTime::now();\n@@ -... | Rust | Apache License 2.0 | althea-net/althea_rs | Update Rita logging to be more useful |
20,244 | 16.10.2018 13:24:08 | 14,400 | 9a149e21c3eb2cb6b7f6e0ac22594e178cfbd22a | Bump Rita version for RC 3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -120,7 +120,7 @@ dependencies = [\n[[package]]\nname = \"althea_rs\"\n-version = \"0.1.9\"\n+version = \"0.1.10\"\ndependencies = [\n\"rita 0.1.9\",\n]\n"
},
{
"change_type": "MODIFY",
"old_path": ... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump Rita version for RC 3 |
20,244 | 23.10.2018 10:39:57 | 14,400 | b8fd2efd9968536baee72341b44366dc340867d6 | Don't print full settings file all the time | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -741,7 +741,7 @@ where\nlet new_settings = settings.read().unwrap().clone();\nif old_settings != new_settings {\n- info!(\"writing updated config: {:?}\", new_settings);\n+ trace!(\"writing u... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't print full settings file all the time |
20,244 | 23.10.2018 11:35:53 | 14,400 | ccd34fa2ccc45ae4240d28550fefeb096ef26b09 | Fix unlisten | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -180,8 +180,7 @@ impl<T: Read + Write> Babel<T> {\n}\npub fn unmonitor(&mut self, iface: &str) -> Result<(), Error> {\n- self.command(&format!(\"unmonitor {}\\n\", iface))?;\n- let ... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix unlisten |
20,244 | 23.10.2018 11:36:08 | 14,400 | 67ee028f0366346dfffa5d4c1dd1c7229d32d5df | Fix junk peers after deletion | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/nodeinfo.rs",
"new_path": "rita/src/rita_client/dashboard/nodeinfo.rs",
"diff": "@@ -67,14 +67,6 @@ impl Handler<GetNodeInfo> for Dashboard {\n// from them to our selected exit. Other errors can also get\n// caught here\nif maybe... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix junk peers after deletion |
20,244 | 24.10.2018 19:22:19 | 14,400 | a12966470395452bc01b0cb425525654062fac8f | the default trait and serde defaults must agree | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -214,8 +214,8 @@ pub struct LoggingSettings {\nimpl Default for LoggingSettings {\nfn default() -> Self {\nLoggingSettings {\n- enabled: false,\n- level: \"ERROR\".to_string(),\n+ enabled: tr... | Rust | Apache License 2.0 | althea-net/althea_rs | the default trait and serde defaults must agree |
20,244 | 25.10.2018 12:18:13 | 14,400 | c740ec97973e5156d7c86a10d1728b080e5ee04f | Fix exit tunnel setup cases
In some cases the exit tunnel could be overwritten by dhcp, this
watches for that and sets it back. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/ip_route.rs",
"new_path": "althea_kernel_interface/src/ip_route.rs",
"diff": "@@ -21,7 +21,7 @@ impl ToString for IpRoute {\n}\nimpl KernelInterface {\n- fn get_default_route(&self) -> Option<Vec<String>> {\n+ pub fn get_default_rou... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix exit tunnel setup cases
In some cases the exit tunnel could be overwritten by dhcp, this
watches for that and sets it back. |
20,244 | 31.10.2018 16:28:51 | 14,400 | c9f557dc1990a2a7215f515e75837b9d2ec3fb2a | Log Rita version | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -122,7 +122,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.1.9\",\n+ \"rita 0.1.13\",\n]\n[[package]]\n@@ -1717,7 +1717,7 @@ dependencies = [\n[[package]]\nname... | Rust | Apache License 2.0 | althea-net/althea_rs | Log Rita version |
20,244 | 07.11.2018 09:46:17 | 18,000 | 52607433cd3cabf9be42784b4c01ac6bf630119f | Add error handling for old Babel versions | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -168,7 +168,7 @@ impl<T: Read + Write> Babel<T> {\n}\npub fn set_metric_factor(&mut self, new_factor: u32) -> Result<(), Error> {\n- let _babel_output = self.command(&format!(\"metr... | Rust | Apache License 2.0 | althea-net/althea_rs | Add error handling for old Babel versions |
20,257 | 09.11.2018 07:50:24 | 28,800 | 9422b99d4a977c87e6ca2003fef0afcbc395ad27 | Clean up ports commit
udp_socket_table.rs was authored by donkey-hotei but the commit got rather
cluttered as it went through the review process, this is a cleanup and squash | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -35,6 +35,7 @@ mod open_tunnel;\nmod openwrt_ubus;\nmod ping_check;\nmod setup_wg_if;\n+mod udp_socket_table;\npub mod wg_iface_counter;\npub use counter::Filter... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up ports commit
udp_socket_table.rs was authored by donkey-hotei but the commit got rather
cluttered as it went through the review process, this is a cleanup and squash |
20,244 | 15.11.2018 15:43:42 | 18,000 | 3b441454b9c007e0d937ce409baaefba9bef0a64 | Bump version for Alpha 11 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -122,7 +122,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.1.13\",\n+ \"rita 0.1.14\",\n]\n[[package]]\n@@ -1718,7 +1718,7 @@ dependencies = [\n[[package]]\nnam... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump version for Alpha 11 |
20,244 | 17.11.2018 09:27:11 | 18,000 | 300f5f7113fcb6015650d34a6d99a44a8e9adc3f | Fix typos in Bounty Hunter readme | [
{
"change_type": "MODIFY",
"old_path": "bounty_hunter/README.md",
"new_path": "bounty_hunter/README.md",
"diff": "@@ -49,7 +49,7 @@ The JSON object submitted to this endpoint is not specified here, please refer t\n### /get_channel_states\n-- URL: `<bounty_hunter_ip>:<bounty_hunter_port>/upload_chann... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix typos in Bounty Hunter readme |
20,244 | 18.11.2018 10:58:42 | 18,000 | c0e03afbb6d10c201c54485eb1e91a8023995751 | The + is a valid char in wgkey parsing
This is causing errors in counting exit balances, it only seems to cause issues
with some keys so it's easy to see how it got missed during testing. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/wg_iface_counter.rs",
"new_path": "althea_kernel_interface/src/wg_iface_counter.rs",
"diff": "@@ -28,9 +28,9 @@ impl KernelInterface {\n}\nlazy_static! {\n- static ref RE: Regex =\n- Regex::new(r\"(?P<key>[/=0-9a-zA-Z]+)\\t(?P<downl... | Rust | Apache License 2.0 | althea-net/althea_rs | The + is a valid char in wgkey parsing
This is causing errors in counting exit balances, it only seems to cause issues
with some keys so it's easy to see how it got missed during testing. |
20,244 | 19.11.2018 18:29:32 | 18,000 | 9e3361785a3acf01bd3e974c089919991e2ed4f5 | Promote per-client exit billing data to info
Regret not collecting this before | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"diff": "@@ -143,12 +143,20 @@ pub fn watch<T: Read + Write>(\nlet mut total_in: u64 = 0;\nfor entry in counters.iter() {\n+ info!(\n+ \"Exit accounted {} uplo... | Rust | Apache License 2.0 | althea-net/althea_rs | Promote per-client exit billing data to info
Regret not collecting this before |
20,244 | 23.11.2018 12:28:36 | 18,000 | 6db5464d228a618064fb13023f718491b015e240 | Reduce logging and clean up stats
There's a lot of extra logging going on, lets demote to trace for things
we don't really need to inspect long term. Errors will be collected under
a different logging level anyways. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -86,9 +86,11 @@ impl CommandRunner for LinuxCommandRunner {\ntrace!(\"Command {:?} {:?} returned: {:?}\", program, args, output);\nif !output.status.success() {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce logging and clean up stats
There's a lot of extra logging going on, lets demote to trace for things
we don't really need to inspect long term. Errors will be collected under
a different logging level anyways. |
20,244 | 19.11.2018 16:59:09 | 18,000 | f9abd96b243e4ed972c90b1b91aa10a1fda35b94 | Properly pay our neighbors for exit traffic
previously we where not sending messages to debt keeper about
paying our neighbor for exit traffic sent over them, this is
now corrected. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -29,6 +29,7 @@ use SETTING;\nuse rita_client::rita_loop::Tick;\nuse rita_client::traffic_watcher::{TrafficWatcher, Watch};\n+use rita_common::tunnel_... | Rust | Apache License 2.0 | althea-net/althea_rs | Properly pay our neighbors for exit traffic
previously we where not sending messages to debt keeper about
paying our neighbor for exit traffic sent over them, this is
now corrected. |
20,244 | 27.11.2018 17:21:06 | 18,000 | 0fbfc583692b4e53a07ffe45ddc10a418fb10e40 | Update integraton test expected balances
Now that we are included previously unbilled traffic balances have
changed. | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -994,9 +994,9 @@ def main():\nworld.test_traffic(d4, e5, {\n1: 0,\n- 2: 25 * 1.1,\n+ 2: 110 * 1.1,\n3: 0,\n- 4: -135 * 1.1,\n+ 4: -220 * 1.1,\n5: 50 * 1.1,\n6: 50 * 1.1,\n7: 10 * ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update integraton test expected balances
Now that we are included previously unbilled traffic balances have
changed. |
20,244 | 28.11.2018 10:35:59 | 18,000 | bc15e7b92f098ae4498a5360bb25a65fc0a684c2 | Add migration for Exit storage of Eth Address
Techncially we don't actually need this, but I have concerns that we may
wish we had an address for our clients at some point in the future. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "exit_db/migrations/2018-11-28-125502_add_eth_address/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 NUL... | Rust | Apache License 2.0 | althea-net/althea_rs | Add migration for Exit storage of Eth Address
Techncially we don't actually need this, but I have concerns that we may
wish we had an address for our clients at some point in the future. |
20,244 | 29.11.2018 06:52:18 | 18,000 | b3822d4432867e58d46b920416bd5926cfa4d375 | More rustfmt | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -209,8 +209,7 @@ pub fn watch<T: Read + Write>(\n));\n}\n}\n- ))\n- .send()?\n+ )).send()?\n.json()?;\nlet client_rx = SystemTime::now();\n@@ -... | Rust | Apache License 2.0 | althea-net/althea_rs | More rustfmt |
20,244 | 29.11.2018 07:23:46 | 18,000 | 409334c6487cc68081832cf930dc32ed31fc5d4d | Exits must have pre-generated wg keys | [
{
"change_type": "MODIFY",
"old_path": "settings/default_exit.toml",
"new_path": "settings/default_exit.toml",
"diff": "@@ -18,6 +18,8 @@ rita_contact_port = 4874\nrita_dashboard_port = 4877\nrita_tick_interval = 5\nbounty_port = 8888\n+wg_public_key = \"H/ABwzXk834OwGYU8CZGfFxNZOd+BAJEaVDHiEiWWhU=\... | Rust | Apache License 2.0 | althea-net/althea_rs | Exits must have pre-generated wg keys |
20,244 | 20.11.2018 14:04:51 | 18,000 | 286a5554255e9fbd5903a8b12b27c769706fb7b6 | Update integration tests to use cross musl
Travis is running Ubuntu 14.04 or somthing nearly that old. Long story short
the OpenSSL crate no longer supports the operating system version of OpenSSL
so now to run our tests in Travis we need to build a binary that links staticly | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -18,9 +18,9 @@ import toml\nNETWORK_LAB = os.path.join(os.path.dirname(__file__), 'deps/network-lab/network-lab.sh')\nBABELD = os.path.join(os.path.dirname(__file__), 'deps/babeld... | Rust | Apache License 2.0 | althea-net/althea_rs | Update integration tests to use cross musl
Travis is running Ubuntu 14.04 or somthing nearly that old. Long story short
the OpenSSL crate no longer supports the operating system version of OpenSSL
so now to run our tests in Travis we need to build a binary that links staticly |
20,244 | 23.11.2018 08:53:11 | 18,000 | 09bf08c8a4c87c409a2e687bd3de7fcf284857c5 | Get tests to pass until BH is finished | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -763,9 +763,10 @@ class World:\ndef get_balances(self):\n+ # TODO make this work once bounty hunter works\nstatus = subprocess.Popen(\n[\"ip\", \"netns\", \"exec\", \"netlab-{}\".... | Rust | Apache License 2.0 | althea-net/althea_rs | Get tests to pass until BH is finished |
20,244 | 01.12.2018 13:29:03 | 18,000 | 127a385b7b18b14f8c24f9473b1d3a4bc8a0276c | Rename http_client as hello_handler
The previous name http_client implied a lot of stuff this file
just never did. It only ever handles hellos and in theroy could
be part of tunnel manager, that being said it's big enough that
I'll leave it seperate. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -211,7 +211,7 @@ fn main() {\nassert!(rita_common::debt_keeper::DebtKeeper::from_registry().connected());\nassert!(rita_common::payment_controller::PaymentController::from_registry().connected(... | Rust | Apache License 2.0 | althea-net/althea_rs | Rename http_client as hello_handler
The previous name http_client implied a lot of stuff this file
just never did. It only ever handles hellos and in theroy could
be part of tunnel manager, that being said it's big enough that
I'll leave it seperate. |
20,244 | 01.12.2018 13:41:28 | 18,000 | 7fd7dc893315431eeab5617942314187de965663 | No more fake bounty hunter
This is going into Guac and doesn't belong anywhere in the pre-guac
payments plan. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -14,8 +14,11 @@ use settings::RitaCommonSettings;\nuse SETTING;\nuse reqwest;\n+\nuse rita_common::debt_keeper;\nuse rita_common::debt_ke... | Rust | Apache License 2.0 | althea-net/althea_rs | No more fake bounty hunter
This is going into Guac and doesn't belong anywhere in the pre-guac
payments plan. |
20,244 | 02.12.2018 13:00:02 | 18,000 | 27ee34ec349ae85f9499a800e4d76e902ccff1c2 | Fix settings for dynamic fee computation
This avoids saving dynamiclly generated values out to the disk
while also inserting sane defaults | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -229,21 +229,46 @@ impl Default for LoggingSettings {\n}\n}\n+fn default_close_fraction() -> Int256 {\n+ 100.into()\n+}\n+\n+fn default_close_threshold() -> Int256 {\n+ (-8400000000000000i64)... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix settings for dynamic fee computation
This avoids saving dynamiclly generated values out to the disk
while also inserting sane defaults |
20,244 | 03.12.2018 15:04:50 | 18,000 | ed0ac297fa2da459c35a022b4074fba3819c47fa | Resolve dependencies and fix other nits
This commit is mostly about getting things to operate properly
without all my own hacked dependencies. There are also some minor
improvements to the dashboard endpoints that came up when resolving
borrow checker issues. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/Cargo.toml",
"new_path": "althea_types/Cargo.toml",
"diff": "@@ -3,7 +3,7 @@ authors = [\"Jehan <jehan.tremback@gmail.com>\"]\nname = \"althea_types\"\nversion = \"0.1.0\"\n[dependencies]\n-num256 = {path = \"../../num256_rs\"}\n+num256 = \"0.1\"\... | Rust | Apache License 2.0 | althea-net/althea_rs | Resolve dependencies and fix other nits
This commit is mostly about getting things to operate properly
without all my own hacked dependencies. There are also some minor
improvements to the dashboard endpoints that came up when resolving
borrow checker issues. |
20,244 | 04.12.2018 07:32:41 | 18,000 | 2f0aec1a6bba75f00b89813cca81518ef8828727 | Better logging for payments | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -102,23 +102,18 @@ impl PaymentController {\nlet balance = payment_settings.balance.clone();\nlet nonce = payment_settings.nonce.clone();... | Rust | Apache License 2.0 | althea-net/althea_rs | Better logging for payments |
20,244 | 04.12.2018 10:39:39 | 18,000 | ab62fbb7e022188f4438eb05d7231c9e850d0b6a | Fix dynamic fee comptuation and add netid
Fix the computation of dyanmic fees to have an actual default value of 10
and use a network id that's provided by the full node to prevent transactions
from being portable across network forks. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -155,7 +155,7 @@ version = \"0.1.0\"\ndependencies = [\n\"actix 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)\",\n- \"... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix dynamic fee comptuation and add netid
Fix the computation of dyanmic fees to have an actual default value of 10
and use a network id that's provided by the full node to prevent transactions
from being portable across network forks. |
20,249 | 04.12.2018 07:50:30 | 28,800 | fb682a29cad04ea25c6c12df6cbb47f8c6d07b20 | Change tx-id property to txid in withdrawal response JSON | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -952,7 +952,7 @@ factor value to 0 (which means essentially advertising your bandwidth as free).\nWithdraws the given amount in wei to the provided address.\n-- URL: `<rita ... | Rust | Apache License 2.0 | althea-net/althea_rs | Change tx-id property to txid in withdrawal response JSON |
20,244 | 05.12.2018 15:43:55 | 18,000 | 5986cffce0f7e2269945e957bc240413314612c2 | Fix iptables counting rule location
Previously we sould insert our forwarding rule to count traffic
at the end of the chain. On desktop linux this works fine, but the
chain on OpenWRT forwards early. Now we place the rule at the start | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/counter.rs",
"new_path": "althea_kernel_interface/src/counter.rs",
"diff": "@@ -135,8 +135,9 @@ impl KernelInterface {\n\"ip6tables\",\n&[\n\"-w\",\n- \"-A\",\n+ \"-I\",\ntarget.table(),\n+ \"1\",\n\"-m\",\n\"set\",\n\"!\",\n@@ -301... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix iptables counting rule location
Previously we sould insert our forwarding rule to count traffic
at the end of the chain. On desktop linux this works fine, but the
chain on OpenWRT forwards early. Now we place the rule at the start |
20,244 | 06.12.2018 08:51:24 | 18,000 | 526894706884e5e4619778e96ae41c1f5c1819fe | Fix positive close treshold | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -276,6 +276,8 @@ impl DebtKeeper {\ntraffic\n);\n+ // TODO signed logic is an accident waiting to happen, refactor to use ABS then\n+ // change over to... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix positive close treshold |
20,244 | 06.12.2018 08:57:04 | 18,000 | 89265f8df037996339a3ede6177b58bbf0b52146 | Finish renaming HttpClient | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -37,10 +37,10 @@ use std::fmt;\nuse std::io::{Read, Write};\n#[cfg(test)]\n-type HTTPClient = Mocker<rita_common::hello_handler::HelloHandler>;\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Finish renaming HttpClient |
20,244 | 06.12.2018 11:51:52 | 18,000 | 54375f4ce6aa0b6a9973a310e4ba7cd509bb2a5f | Send payment message using tokio | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/network_endpoints/mod.rs",
"new_path": "rita/src/rita_common/network_endpoints/mod.rs",
"diff": "@@ -91,7 +91,9 @@ pub fn make_payments(\npmt.0.clone(),\n))\n.from_err()\n- .and_then(|_| Ok(HttpResponse::Ok().into()))\n+ .and_then(|_| {\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Send payment message using tokio |
20,244 | 07.12.2018 07:54:43 | 18,000 | 3c9f1a56983a4e2dd2b4df847070b1a85c7ed231 | Use pregenerated key
I forgot this one when we switched back to pregenerated keys
it seemed to be returning all zeros somtimes, hopefully this fixes
it. | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -739,12 +739,7 @@ impl RitaCommonSettings<RitaExitSettingsStruct> for Arc<RwLock<RitaExitSettingsS\nfn get_identity(&self) -> Option<Identity> {\nSome(Identity::new(\nself.get_network().mesh_... | Rust | Apache License 2.0 | althea-net/althea_rs | Use pregenerated key
I forgot this one when we switched back to pregenerated keys
it seemed to be returning all zeros somtimes, hopefully this fixes
it. |
20,244 | 07.12.2018 07:58:43 | 18,000 | e8572be296024d724299d84dac97a385e0715ee6 | Upgrade to Clarity 1.1.7 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "[[package]]\nname = \"actix\"\n-version = \"0.7.7\"\n+version = \"0.7.8\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\ndependencies = [\n\"actix_derive 0.3.2 (registry+https://github.com/r... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade to Clarity 1.1.7 |
20,244 | 14.12.2018 07:15:52 | 18,000 | 3a82aff6f061b2133f6f0ee5feb2309dfbdcc38e | More graceful signing in payment failure flow | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -104,29 +104,30 @@ impl Handler<PaymentReceived> for DebtKeeper {\n/// be retried\npub struct PaymentFailed {\npub to: Identity,\n- pub amount: Int256,... | Rust | Apache License 2.0 | althea-net/althea_rs | More graceful signing in payment failure flow |
20,244 | 18.12.2018 07:51:11 | 18,000 | fbe4aeecfb51cd79455a47b65f801ecdc13cd67c | Move traffic update to vec
Instead of sending traffic updates as invividual messages we now
send them as vectors, this should help avoid some actix mailbox
issues we where seeing in debug builds and generally make things
more efficient as we'll spend less time task switching. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -15,7 +15,7 @@ use std::io::{Read, Write};\nuse std::net::{IpAddr, SocketAddr, TcpStream};\nuse std::time::{Duration, SystemTime};\n-use crate:... | Rust | Apache License 2.0 | althea-net/althea_rs | Move traffic update to vec
Instead of sending traffic updates as invividual messages we now
send them as vectors, this should help avoid some actix mailbox
issues we where seeing in debug builds and generally make things
more efficient as we'll spend less time task switching. |
20,244 | 18.12.2018 16:19:46 | 18,000 | 966854b7831ee5b12d9fbeabbaee3206878d871d | Fix incrementing ips
The previous ip incrementing system was only good for up to 256 clients | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -172,9 +172,7 @@ impl Handler<SendUpdate> for DebtKeeper {\nfn handle(&mut self, _msg: SendUpdate, _ctx: &mut Context<Self>) -> Self::Result {\ntrace!(... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix incrementing ips
The previous ip incrementing system was only good for up to 256 clients |
20,244 | 21.12.2018 14:59:32 | 18,000 | bdb7677e30572e4eee2902e99004bd1b493debfe | Reduce the cyclomatic complexity of client traffic watcher | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/mod.rs",
"new_path": "rita/src/rita_common/rita_loop/mod.rs",
"diff": "@@ -77,29 +77,7 @@ impl Handler<Tick> for RitaLoop {\nfn handle(&mut self, _: Tick, ctx: &mut Context<Self>) -> Self::Result {\ntrace!(\"Common tick!\");\n- /... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce the cyclomatic complexity of client traffic watcher |
20,244 | 21.12.2018 15:35:47 | 18,000 | 9afb17f6ef1c47de9c09aaaaa51ac707513f05c3 | Incorrectly changed format argument | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -505,7 +505,7 @@ pub fn comma_list_remove(list: &str, entry: &str) -> String {\nnew_list = tmp_list + &filtered_item.to_string();\nfirst = fa... | Rust | Apache License 2.0 | althea-net/althea_rs | Incorrectly changed format argument |
20,244 | 12.12.2018 10:07:11 | 18,000 | f06c8fb4ce5bff89bc64e3a068d9303144de0995 | Exit payment enforcement
this adds enforcement for exit payment, exits will throttle specific
ip's on the wg_exit tunnel according to free tier rules once they
fail to pay. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "use super::KernelInterface;\nuse failure::Error;\n+use std::net::Ipv4Addr;\nimpl KernelInterface {\n/// Determines if the provided interface... | Rust | Apache License 2.0 | althea-net/althea_rs | Exit payment enforcement
this adds enforcement for exit payment, exits will throttle specific
ip's on the wg_exit tunnel according to free tier rules once they
fail to pay. |
20,244 | 14.12.2018 10:46:09 | 18,000 | 1c7b198ea7eec61300486e6ebbfd25947d9eb6d6 | bits not bytes
The free tier threshold was implicitly being converted into kilobytes
per second. So the default value of 1mbps was being accounted for as
8mbps. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -78,9 +78,9 @@ pub fn watch<T: Read + Write>(\nexit: Identity,\nexit_price: u64,\n) -> Result<(), Error> {\n- // the number of bytes provided u... | Rust | Apache License 2.0 | althea-net/althea_rs | bits not bytes
The free tier threshold was implicitly being converted into kilobytes
per second. So the default value of 1mbps was being accounted for as
8mbps. |
20,244 | 17.12.2018 18:26:30 | 18,000 | a3f487c6e2427f77e9581eae14837bf5f4e5b014 | Redesign exit enforcement to work with tc | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "@@ -23,6 +23,14 @@ impl dyn KernelInterface {\nlocal_ip: &IpAddr,\nnetmask: u8,\n) -> Result<(), Error> {\n+ // setup traffic classes ... | Rust | Apache License 2.0 | althea-net/althea_rs | Redesign exit enforcement to work with tc |
20,244 | 17.12.2018 18:26:48 | 18,000 | 97d17d4ffe92507eca59fa5e98e17d77bc8f753e | WgKey should not panic on a handleable error | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/wg_key.rs",
"new_path": "althea_types/src/wg_key.rs",
"diff": "@@ -27,7 +27,7 @@ impl FromStr for WgKey {\nlet mut output = [0u8; 32];\nif s.len() != 44 {\n- panic!(\"Invalid base64 key! Expected length of 44 (for 32 byte key)\")\n+ return Err... | Rust | Apache License 2.0 | althea-net/althea_rs | WgKey should not panic on a handleable error |
20,244 | 17.12.2018 18:27:05 | 18,000 | 946107867fa02a66480e693052e7de3cdcd11ae8 | Minor warnings nits | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"diff": "@@ -56,11 +56,9 @@ impl SystemService for TrafficWatcher {\n}\nKI.setup_nat(&SETTING.get_network().external_nic.clone().unwrap())\n.unwrap();\n- // we... | Rust | Apache License 2.0 | althea-net/althea_rs | Minor warnings nits |
20,244 | 24.12.2018 17:46:26 | 18,000 | aafb9b01df3c3723aa490b6642beac7df00bf328 | Exit enforcement fixes
This corrects a number of problems that prevented exit enforcement
from actually working. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "@@ -23,14 +23,6 @@ impl dyn KernelInterface {\nlocal_ip: &IpAddr,\nnetmask: u8,\n) -> Result<(), Error> {\n- // setup traffic classes ... | Rust | Apache License 2.0 | althea-net/althea_rs | Exit enforcement fixes
This corrects a number of problems that prevented exit enforcement
from actually working. |
20,244 | 26.12.2018 11:16:18 | 18,000 | 4d4c73924024dfe82a97e0304f41a7ea54fee07a | tc interprets kbps to mean bytes
you need to use the 'kbit' suffix to get it to interpret the values
in kilobits per second. Which is how everyone else interprets kbps | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -202,9 +202,9 @@ impl KernelInterface {\n&format!(\"1:{}\", class_id),\n\"htb\",\n\"rate\",\n- &format!(\"{}kbps\", min_bw),\n+ &format!(... | Rust | Apache License 2.0 | althea-net/althea_rs | tc interprets kbps to mean bytes
you need to use the 'kbit' suffix to get it to interpret the values
in kilobits per second. Which is how everyone else interprets kbps |
20,244 | 26.12.2018 13:35:11 | 18,000 | 5a557bc992ed56b110d06a9db03ea62aebc47118 | Add free tier fudge factor to handle bursty traffic | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"diff": "@@ -231,8 +231,9 @@ pub fn get_output_counters() -> Result<HashMap<(IpAddr, String), u64>, Error> {\n/// (should return 0)\npub fn watch<T: Read +... | Rust | Apache License 2.0 | althea-net/althea_rs | Add free tier fudge factor to handle bursty traffic |
20,244 | 26.12.2018 13:45:07 | 18,000 | 35f7c47dfb8076b36206e95163b31c7f61354560 | Free tier is a discount not a cliff
Previously if the free tier was exceeded the full amount was billed
now all billing is reduced by the free tier amount. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -187,14 +187,20 @@ pub fn watch<T: Read + Write>(\ntrace!(\"Exit ip: {:?}\", exit.mesh_ip);\ntrace!(\"Exit destination:\\n{:#?}\", exit_route);... | Rust | Apache License 2.0 | althea-net/althea_rs | Free tier is a discount not a cliff
Previously if the free tier was exceeded the full amount was billed
now all billing is reduced by the free tier amount. |
20,244 | 27.12.2018 15:45:46 | 18,000 | a6110030563d8ac70821898c3312e45850dfc30e | Correct units for tbf burst rate | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -142,7 +142,7 @@ impl KernelInterface {\n\"latency\",\n&format!(\"{}ms\", latency),\n\"burst\",\n- &format!(\"{}kbit\", burst),\n+ &forma... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct units for tbf burst rate |
20,244 | 28.12.2018 15:23:17 | 18,000 | 5ff5d0e06610d455c9000e49474825636b2ba014 | Add PaymentValidator
This commit adds PaymentValidator an actor that stores transaction ids for
later validation | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -180,6 +180,7 @@ fn main() {\nassert!(rita_common::debt_keeper::DebtKeeper::from_registry().connected());\nassert!(rita_common::payment_controller::PaymentController::from_registry().connected(... | Rust | Apache License 2.0 | althea-net/althea_rs | Add PaymentValidator
This commit adds PaymentValidator an actor that stores transaction ids for
later validation |
20,244 | 30.12.2018 12:34:09 | 18,000 | eaab5e977abf8984b0aa4afdf5dc0a8057a97d88 | Burst is explicitly in bytes
while the rate parameter for tbf accepts a variety of units using tc
definedp suffixes burst is a tbf specific variable and is implicitly in
bytes. Adding a suffix causes a crash | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -142,7 +142,7 @@ impl KernelInterface {\n\"latency\",\n&format!(\"{}ms\", latency),\n\"burst\",\n- &format!(\"{}kbyte\", burst),\n+ &form... | Rust | Apache License 2.0 | althea-net/althea_rs | Burst is explicitly in bytes
while the rate parameter for tbf accepts a variety of units using tc
definedp suffixes burst is a tbf specific variable and is implicitly in
bytes. Adding a suffix causes a crash |
20,244 | 02.01.2019 10:20:43 | 18,000 | cdd39136204855902cf7bd5a59e370281ba52960 | Burst value off by 1000x | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -122,9 +122,9 @@ impl KernelInterface {\nself.delete_qdisc(iface_name)?;\n}\n- // we need 1kbyte of burst cache per mbit of bandwidth to ... | Rust | Apache License 2.0 | althea-net/althea_rs | Burst value off by 1000x |
20,244 | 03.01.2019 15:09:30 | 18,000 | c63a1e7302d7bbd97ebabeaf92ef3fb6932721de | Actually check that payment is in a block
Kinda important if you don't want to accept mempool transactions | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_validator/mod.rs",
"new_path": "rita/src/rita_common/payment_validator/mod.rs",
"diff": "@@ -139,10 +139,14 @@ pub fn validate_transaction(ts: &ToValidate) {\n&& transaction.value == amount\n&& transaction.to == our_address\n{\n+ i... | Rust | Apache License 2.0 | althea-net/althea_rs | Actually check that payment is in a block
Kinda important if you don't want to accept mempool transactions |
20,244 | 03.01.2019 17:11:48 | 18,000 | 29c089e4783749a50380d4a23eb7f02369f70b13 | Format withdraw txid correctly | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/wallet.rs",
"new_path": "rita/src/rita_common/dashboard/wallet.rs",
"diff": "@@ -42,7 +42,7 @@ pub fn withdraw(path: Path<(Address, u64)>) -> Box<dyn Future<Item = HttpRespons\nmatch result {\nOk(tx_id) => Box::new(future::ok({\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Format withdraw txid correctly |
20,244 | 04.01.2019 13:52:03 | 18,000 | 5f3b1585347fcc87ea14e148d1f4dca996fa2089 | Log txid correctly in payment controller | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -108,11 +108,12 @@ impl PaymentController {\nlet nonce = payment_settings.nonce.clone();\nlet gas_price = payment_settings.gas_price.clon... | Rust | Apache License 2.0 | althea-net/althea_rs | Log txid correctly in payment controller |
20,244 | 04.01.2019 13:52:33 | 18,000 | 9dd9a8a1c2c1c324e2adbafb34396ff3c36cfffc | Fix error messages in rita-loop | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/mod.rs",
"new_path": "rita/src/rita_common/rita_loop/mod.rs",
"diff": "@@ -237,7 +237,7 @@ impl Handler<Tick> for RitaLoop {\nOk(())\n}\nErr(e) => {\n- warn!(\"Balance request failed with {:?}\", e);\n+ warn!(\"net_version reques... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix error messages in rita-loop |
20,244 | 04.01.2019 13:53:25 | 18,000 | 308350d778b73c95405df36bc759634f75ddaec7 | 10% billing slop to encourage convergence
With this change the client will overpay by 5% and the exit will underbill
by 5%, in experiments this make it pretty much impossible for momentary inaccuracies
to cause cutoff events | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -65,7 +65,7 @@ impl Handler<Watch> for TrafficWatcher {\nformat!(\"[::1]:{}\", SETTING.get_network().babel_port).parse()?,\n)?;\n- watch(self, ... | Rust | Apache License 2.0 | althea-net/althea_rs | 10% billing slop to encourage convergence
With this change the client will overpay by 5% and the exit will underbill
by 5%, in experiments this make it pretty much impossible for momentary inaccuracies
to cause cutoff events |
20,244 | 04.01.2019 13:54:13 | 18,000 | 16e59be2345f94eba63818e6ad9cbff5636b009b | Draw down stale debt
this reduces debt by the free tier amount every round, in this way we can prevent miscommunications
from resulting in irresolvable debt | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -20,6 +20,8 @@ use crate::rita_common::tunnel_manager::TunnelAction;\nuse crate::rita_common::tunnel_manager::TunnelManager;\nuse crate::rita_common::t... | Rust | Apache License 2.0 | althea-net/althea_rs | Draw down stale debt
this reduces debt by the free tier amount every round, in this way we can prevent miscommunications
from resulting in irresolvable debt |
20,244 | 04.01.2019 16:33:51 | 18,000 | fd310928f2e91f6826f183f0308cdb7e91d1eb82 | Don't test idle balance reduction
This really isn't useful in the tests anyways | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -336,7 +336,8 @@ impl DebtKeeper {\ndebt_data.incoming_payments = Int256::from(0);\n// reduce debt by free tier amount if it's negative to try and tren... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't test idle balance reduction
This really isn't useful in the tests anyways |
20,244 | 04.01.2019 17:12:11 | 18,000 | 5d97e453cf94aab3b0f4d7e77be89f2da81db40b | Reduce tolerence to 5%
Once the packet dropping bug is removed we only need about 2.5% of
slop for billing. so I'll remove the fp operations from the client
where they might be expensive/problematic. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -210,9 +210,6 @@ pub fn watch<T: Read + Write>(\nif owes_exit > 0 {\ninfo!(\"Total client debt of {} this round\", owes_exit);\n- // Provides a... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce tolerence to 5%
Once the packet dropping bug is removed we only need about 2.5% of
slop for billing. so I'll remove the fp operations from the client
where they might be expensive/problematic. |
20,244 | 10.01.2019 12:40:35 | 18,000 | 70b08f8254e0937fb759da76509b79ece2b451c8 | Move to prod eth, add network toggle | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1021,3 +1021,27 @@ Sets auto pricing value\n- Sample Call:\n`curl -v -XPOST http://192.168.10.1:4877/auto_price/enabled/true`\n+\n+---\n+\n+## /blockchain/set/{chain}\n+\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Move to prod eth, add network toggle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.