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 | 23.07.2020 14:42:19 | 14,400 | e50b50a027a11bb0b08cc384d5546424a07c204f | Update web30
This patch prevents transaction sends that use more gas than our current
balance | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -631,7 +631,7 @@ dependencies = [\n\"num 0.3.0\",\n\"num256\",\n\"rand 0.7.3\",\n- \"web30 0.5.0\",\n+ \"web30 0.5.0 (git+https://github.com/althea-net/web30?rev=53d83bc74a0218eddc4221cf2fb6eefe49fba1d9)\",\n]... | Rust | Apache License 2.0 | althea-net/althea_rs | Update web30
This patch prevents transaction sends that use more gas than our current
balance |
20,244 | 23.07.2020 16:57:47 | 14,400 | fa8b7227b8f596c3607538ef8e9c59006747436e | Use tokio timeout not async_std timeout
Dramatically reduces the number of dependencies. Mostly becuase actix
also uses tokio and many can be de-duplicated | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -567,46 +567,6 @@ dependencies = [\n\"serde_json\",\n]\n-[[package]]\n-name = \"async-channel\"\n-version = \"1.1.1\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"ee81ba9... | Rust | Apache License 2.0 | althea-net/althea_rs | Use tokio timeout not async_std timeout
Dramatically reduces the number of dependencies. Mostly becuase actix
also uses tokio and many can be de-duplicated |
20,244 | 23.07.2020 17:24:02 | 14,400 | bf49de04226ef0a7f778eb0b69b03f07140084e8 | Unmonitor tunnels when re-creating them
This is a pretty large oversight, we need to unmonitor not just delete
the tunnel when re-creating it. Seems related to this bug | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -818,6 +818,12 @@ impl TunnelManager {\n// how many tunnels are still associated with that ID.\n(value, tunnels.len())\n};\n+ // this is an inher... | Rust | Apache License 2.0 | althea-net/althea_rs | Unmonitor tunnels when re-creating them
This is a pretty large oversight, we need to unmonitor not just delete
the tunnel when re-creating it. Seems related to this bug
https://github.com/jech/babeld/issues/14 |
20,244 | 23.07.2020 19:32:20 | 14,400 | 67122456f1121ad75418a78b5a5af5d65b0b5aad | Set Detailed withdraw state immediately
This makes the dashboard withdraw display show up instantly rather
than waiting more than a minute. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -165,7 +165,7 @@ pub async fn tick_token_bridge() {\n}\ndrop(payment_settings);\n- trace!(\"Launching bridge future\");\n+ trace!(\"Launching bridge ... | Rust | Apache License 2.0 | althea-net/althea_rs | Set Detailed withdraw state immediately
This makes the dashboard withdraw display show up instantly rather
than waiting more than a minute. |
20,244 | 24.07.2020 11:00:03 | 14,400 | 49779642d134f3b97e986d951d03676d52baafbf | Fix minimum to exchange display for dashboard | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -80,16 +80,6 @@ pub fn eth_to_wei(eth: u64) -> Uint256 {\nwei.into()\n}\n-// /// 1c in of dai in wei\n-// pub const DAI_WEI_CENT: u128 = 10_000_000_0... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix minimum to exchange display for dashboard |
20,244 | 24.07.2020 13:03:00 | 14,400 | 71d4dc0466f4bba49c00aa80ac71d19addd1816c | Fix comment spelling errors in exit enforcement manager | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/mod.rs",
"new_path": "rita/src/rita_exit/database/mod.rs",
"diff": "//! This module contains all the tools and functions that integrate with the clients database\n//! for the exit, which is most exit logic in general. Keep in mind d... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix comment spelling errors in exit enforcement manager |
20,244 | 24.07.2020 15:47:05 | 14,400 | 8ca2239d9462615b178b99a020767715d37cbbeb | Cleanup all IPs in antenna forwarding client
This should hopefully stop polluting the interfaces with dozens
of different randomly generated source and destiantion addresses | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "@@ -79,6 +79,41 @@ impl dyn KernelInterface {\n}\n}\n}\n+\n+ /// Gets all the IPv4 addresses from an interface and returns the address and i... | Rust | Apache License 2.0 | althea-net/althea_rs | Cleanup all IPs in antenna forwarding client
This should hopefully stop polluting the interfaces with dozens
of different randomly generated source and destiantion addresses |
20,244 | 24.07.2020 16:07:27 | 14,400 | 92292537ef83fe5729b131a3d7ce691d02a6bdd8 | Update release feed handling
Previously we made the release feed act as an easily deserializable
string to simplify the flatfile oracles of yesteryear. Now that we've
replace that with the operator tools we should just send the full
enum value. This reduces potential problems with parsing. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -431,9 +431,11 @@ pub struct OperatorUpdateMessage {\n/// The withdraw blockchain that is currently being used, if it is 'none' here it is\n/// interpreted as \"don't change a... | Rust | Apache License 2.0 | althea-net/althea_rs | Update release feed handling
Previously we made the release feed act as an easily deserializable
string to simplify the flatfile oracles of yesteryear. Now that we've
replace that with the operator tools we should just send the full
enum value. This reduces potential problems with parsing. |
20,244 | 24.07.2020 17:10:36 | 14,400 | 685be4bbd54de197c4a2f9f2e365bbc1af6c943b | Bump for Beta 15 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3170,7 +3170,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.56\"\n+version = \"0.5.57\"\ndependencies = [\n\"actix 0.7.11\",\n\"actix 0.9.0\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 15 RC1 |
20,244 | 27.07.2020 08:18:28 | 14,400 | a2448c80452e3f048c36210ea217b429611533bd | Record gas price on token bridge tick | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -345,8 +345,8 @@ async fn xdai_bridge(state: State) -> State {\nmatch state {\nState::Ready { .. } => {\ninfo!(\n- \"Ticking in bridge State::Ready. ... | Rust | Apache License 2.0 | althea-net/althea_rs | Record gas price on token bridge tick |
20,244 | 27.07.2020 13:31:56 | 14,400 | 27a58a0de24932f9bd6a5ac6e92a5132bb70b5e3 | Fix spelling in payment_validator | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_validator/mod.rs",
"new_path": "rita/src/rita_common/payment_validator/mod.rs",
"diff": "@@ -97,7 +97,7 @@ impl Default for PaymentValidator {\n/// until they are validated, dropped for validity issues, or time out without being in... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix spelling in payment_validator |
20,244 | 27.07.2020 13:33:31 | 14,400 | 589c8ae3f0cbb64e3ea011876fca52758755adea | Bump for Beta 15 RC2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3170,7 +3170,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.57\"\n+version = \"0.5.58\"\ndependencies = [\n\"actix 0.7.11\",\n\"actix 0.9.0\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 15 RC2 |
20,244 | 03.08.2020 17:14:28 | 14,400 | dab09771ae7172c5e77aefaadc4e331079d89c39 | Don't reserve enough for a withdraw
it's simply too expensive | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -695,8 +695,11 @@ fn get_core() -> TokenBridgeCore {\n/// the amount of Eth to retain in WEI. This is the cost of our Uniswap exchange an ERC20 trans... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't reserve enough for a withdraw
it's simply too expensive |
20,244 | 03.08.2020 17:15:04 | 14,400 | 90f3d95af37f34e7f22be65e4468c90e4b374ce9 | Update reservation request types
Wyre has released their reservation request to prod with some
api changes | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/user_info.rs",
"new_path": "althea_types/src/user_info.rs",
"diff": "@@ -98,6 +98,14 @@ pub struct WyreReservationRequest {\npub street1: String,\n#[serde(rename = \"postalCode\")]\npub postal_code: String,\n+ #[serde(rename = \"lockFields\")]... | Rust | Apache License 2.0 | althea-net/althea_rs | Update reservation request types
Wyre has released their reservation request to prod with some
api changes |
20,244 | 03.08.2020 17:39:09 | 14,400 | 798fda8b29869ae59fdf585404f82908ab9b3d74 | Remove WyreReservation toggle
Now that the WyreReservation flow works moving forward it will always
be used | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -21,7 +21,6 @@ pub struct LocalizationReturn {\npub wyre_account_id: String,\npub display_currency_symbol: bool,\npub support_number: Str... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove WyreReservation toggle
Now that the WyreReservation flow works moving forward it will always
be used |
20,244 | 03.08.2020 17:41:56 | 14,400 | 0a61cc903a763028749b910c323b4bc632a54070 | Remove Wyre account ID
This is now held in the reservation flow, so it can be removed | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -18,7 +18,6 @@ use std::time::Duration;\n#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq)]\npub struct LocalizationReturn {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove Wyre account ID
This is now held in the reservation flow, so it can be removed |
20,244 | 03.08.2020 17:46:37 | 14,400 | 633d958220133f70afe974cb6c8f6f22ead78f4b | Update for Beta 15 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3170,7 +3170,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.58\"\n+version = \"0.5.59\"\ndependencies = [\n\"actix 0.7.11\",\n\"actix 0.9.0\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for Beta 15 RC3 |
20,244 | 03.08.2020 17:52:49 | 14,400 | d9488e3f5aca8d52fd3562d745fe049b96aa3ad9 | Add comment about wyre reservations
There's really no reason this could not be used generally, we should
consider naming it generally | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -47,6 +47,11 @@ pub struct AmountRequest {\namount: f32,\n}\n+/// This retrieves the reservation url from the operator tools server, whic... | Rust | Apache License 2.0 | althea-net/althea_rs | Add comment about wyre reservations
There's really no reason this could not be used generally, we should
consider naming it generally |
20,244 | 06.08.2020 19:00:34 | 14,400 | e6c8f5d799697a30999eebe212e60cb26f2c8e13 | Restart Rita-exit when exit loop restart fails
When the recovery loop in rita-exit is failing we should fall back
to restarting the process as a whole until things start working | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/rita_loop/mod.rs",
"new_path": "rita/src/rita_exit/rita_loop/mod.rs",
"diff": "@@ -57,6 +57,7 @@ pub const EXIT_LOOP_TIMEOUT: Duration = Duration::from_secs(4);\npub fn start_rita_exit_loop() {\nlet system = System::current();\nsetup_exit_wg... | Rust | Apache License 2.0 | althea-net/althea_rs | Restart Rita-exit when exit loop restart fails
When the recovery loop in rita-exit is failing we should fall back
to restarting the process as a whole until things start working |
20,244 | 13.08.2020 15:04:14 | 14,400 | 21d1f523a7381d042d2318a8e50f2b2ad1b3c535 | Add test for -d16
Openwrt has added a new arch classification for the wrt32x. I wanted
to ensure that parsing worked for the future. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/opkg_feeds.rs",
"new_path": "althea_kernel_interface/src/opkg_feeds.rs",
"diff": "@@ -124,3 +124,11 @@ fn test_regex_net() {\nget_arch(\"src/gz openwrt_althea https://updates.althea.net/packages/mipsel_24kc/althea\");\nassert_eq!(&v... | Rust | Apache License 2.0 | althea-net/althea_rs | Add test for -d16
Openwrt has added a new arch classification for the wrt32x. I wanted
to ensure that parsing worked for the future. |
20,244 | 18.08.2020 11:29:33 | 14,400 | 0328fb22fb7dea9a3e5f65488520c9eb6b413df0 | Bump for Beta 15 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3170,7 +3170,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.59\"\n+version = \"0.5.60\"\ndependencies = [\n\"actix 0.7.11\",\n\"actix 0.9.0\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 15 RC4 |
20,244 | 03.09.2020 08:16:45 | 14,400 | 9bff02e4e805f8ec0157fbd5beb51e43c9d8095f | Fix iter().next() clippy nit | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -46,7 +46,7 @@ fn get_load_avg() -> Result<(f32, f32, f32), Error> {\n// cpu load average\nlet load_average_error = Err(format_err!(\"Failed ... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix iter().next() clippy nit |
20,244 | 03.09.2020 08:24:18 | 14,400 | 5516638912efe3e797cf68db20028895a71c2939 | Add UpdateNow operator command
This allows operators to control updates with more granularity. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -365,10 +365,26 @@ impl FromStr for ReleaseStatus {\n/// Something the operator may want to do to a router under their control\n#[derive(Debug, Clone, Copy, Serialize, Deseria... | Rust | Apache License 2.0 | althea-net/althea_rs | Add UpdateNow operator command
This allows operators to control updates with more granularity. |
20,244 | 03.09.2020 19:23:27 | 14,400 | cf42685c8a829bdabd6d48a22b57e28176417a16 | Remove debugging println
Snuck into master here | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/operator_update/mod.rs",
"new_path": "rita/src/rita_client/operator_update/mod.rs",
"diff": "@@ -290,7 +290,6 @@ fn merge_settings_safely(new_settings: Value) {\nfn contains_forbidden_key(map: Map<String, Value>, forbidden_values: &[&str])... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove debugging println
Snuck into master here |
20,244 | 04.09.2020 11:53:09 | 14,400 | d9f6a1b93c93f60edae8883686de88adc959ad58 | Make WyreReservationRequest public
This type wasn't accessible to construct in operator tools, we need
to construct it there to redirect users to moonpay | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/user_info.rs",
"new_path": "althea_types/src/user_info.rs",
"diff": "@@ -110,6 +110,6 @@ pub struct WyreReservationRequest {\n#[derive(Debug, Clone, Serialize, Deserialize)]\npub struct WyreReservationResponse {\n- url: String,\n- reservation:... | Rust | Apache License 2.0 | althea-net/althea_rs | Make WyreReservationRequest public
This type wasn't accessible to construct in operator tools, we need
to construct it there to redirect users to moonpay |
20,244 | 18.09.2020 12:08:31 | 14,400 | 8306d126c18c61fcba1f4bf757e997ffc8275c91 | Fix clippy babel monitor nits | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -214,7 +214,7 @@ fn read_babel_sync(output: &str) -> Result<String, BabelMonitorError> {\nlet mut ret = String::new();\nfor line in output.lines() {\nret.push_str(line);\n- ret.push... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix clippy babel monitor nits |
20,244 | 18.09.2020 12:12:38 | 14,400 | d750dafd9d250f997280e2bcaa8d4f2e88f079e1 | Bump for Beta 16 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3170,7 +3170,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.60\"\n+version = \"0.5.61\"\ndependencies = [\n\"actix 0.7.11\",\n\"actix 0.9.0\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC1 |
20,244 | 24.09.2020 18:18:37 | 14,400 | da76a990a7dd698d45191559784b2b2daf2d07c1 | Update dependencies
Some minor dependency updates. Obviously there are many potential
updates we are skipping over as we slowly migrate to async/await
specifically the ecosystem wide removal of failure will have to wait
due to the huge amount of implied conversions. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -34,7 +34,7 @@ version = \"0.9.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"a4af87564ff659dee8f9981540cac9418c45e910c8072fdedd643a262a38fcaf\"\ndependencies = [\n- \"ac... | Rust | Apache License 2.0 | althea-net/althea_rs | Update dependencies
Some minor dependency updates. Obviously there are many potential
updates we are skipping over as we slowly migrate to async/await
specifically the ecosystem wide removal of failure will have to wait
due to the huge amount of implied conversions. |
20,244 | 24.09.2020 18:25:31 | 14,400 | 58e035d2e66d12c98cd6a4469d3ca707732ba38f | Use crates.io web30
This is somthing of an improvement, but there are problems with num256
compatibility in order to move to the latest version. I think we will
have to provide non-async commit hashes of our old dependencies with
upgraded num256 and clarity versions in the medium term. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -213,12 +213,14 @@ dependencies = [\n\"actix-utils 2.0.0\",\n\"base64 0.12.3\",\n\"bitflags\",\n+ \"brotli2\",\n\"bytes 0.5.6\",\n\"cookie 0.14.2\",\n\"copyless\",\n\"derive_more\",\n\"either\",\n\"encoding_rs... | Rust | Apache License 2.0 | althea-net/althea_rs | Use crates.io web30
This is somthing of an improvement, but there are problems with num256
compatibility in order to move to the latest version. I think we will
have to provide non-async commit hashes of our old dependencies with
upgraded num256 and clarity versions in the medium term. |
20,244 | 24.09.2020 18:57:06 | 14,400 | c46a2eff1a54f105007538798771b114d44f13b5 | Add user specified speed limit
This is a very simple backend for a user specified data speed limit.
The goal here is to allow users to control their own usage effectively
currently there is no frontend or api exposed for this feature and it's
hand configuration only while we test it out. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "@@ -24,6 +24,10 @@ pub struct ClientExitTunnelConfig {\n/// interface, I'm nearly positive this can be safely removed because the impl... | Rust | Apache License 2.0 | althea-net/althea_rs | Add user specified speed limit
This is a very simple backend for a user specified data speed limit.
The goal here is to allow users to control their own usage effectively
currently there is no frontend or api exposed for this feature and it's
hand configuration only while we test it out. |
20,244 | 26.09.2020 08:59:14 | 14,400 | 7fff1eb6ab830cdce1d3d53864e93c6271fa6084 | Fix change operator endpoint
Since we're still using the backwards compatible dao endpoints this
endpoint was never tested. So while the function takes a path argument
the route specification does not provide for one. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -270,7 +270,7 @@ fn start_client_dashboard() {\n.route(\"/dao_fee\", Method::GET, get_dao_fee)\n.route(\"/dao_fee/{fee}\", Method::POST, set_dao_fee)\n.route(\"/operator\", Method::GET, get_ope... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix change operator endpoint
Since we're still using the backwards compatible dao endpoints this
endpoint was never tested. So while the function takes a path argument
the route specification does not provide for one. |
20,244 | 28.09.2020 09:48:07 | 14,400 | dee0dae7fd091a06fe60e6a625b7702f741cfcce | Sync up auto bridge async web3 with rita async web3
This was silently breaking the token bridge becuase different actix
versions would not allow requests to be successfully spawned and
processed.
Hopefully the re-sync will also reduce the horrifying binary size
increase we've been seeing. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -28,31 +28,6 @@ dependencies = [\n\"uuid\",\n]\n-[[package]]\n-name = \"actix\"\n-version = \"0.9.0\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"a4af87564ff659dee8f9981... | Rust | Apache License 2.0 | althea-net/althea_rs | Sync up auto bridge async web3 with rita async web3
This was silently breaking the token bridge becuase different actix
versions would not allow requests to be successfully spawned and
processed.
Hopefully the re-sync will also reduce the horrifying binary size
increase we've been seeing. |
20,244 | 28.09.2020 09:49:43 | 14,400 | 4282c9efbb15a9f41f8dfc4896edfb1a3cfca279 | Improve token bridge logging | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"new_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"diff": "@@ -25,12 +25,13 @@ pub fn start_rita_slow_loop() {\nwhile let Err(e) = {\nthread::spawn(move || loop {\nlet start = Instant::now();\n- trace!(\"C... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve token bridge logging |
20,244 | 28.09.2020 14:53:52 | 14,400 | a014e60857bd02328be46ec8f72bb2873000db71 | Don't double gas prices specify exact web30 version
together these seem to solve the beta 16 bridge problems. | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/Cargo.toml",
"new_path": "auto_bridge/Cargo.toml",
"diff": "@@ -5,7 +5,7 @@ authors = [\"Jehan <jehan.tremback@gmail.com>, Justin <justin@althea.net>\"]\nedition = \"2018\"\n[dependencies]\n-web30 = \"0.6\"\n+web30 = \"0.6.1\"\nfutures = \"0.3\"\nf... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't double gas prices specify exact web30 version
together these seem to solve the beta 16 bridge problems. |
20,244 | 29.09.2020 11:05:04 | 14,400 | f2905d8b8618ac46c9bc5fd743d225a4507cfc34 | Bump for Beta 16 RC2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3245,7 +3245,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.61\"\n+version = \"0.5.62\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC2 |
20,244 | 29.09.2020 16:04:41 | 14,400 | 11ea261ce4524219ab476bf5503a9cf99ace8779 | Complete self bandwidth limiting feature
This patch adds configuration endpoints and remote monitoring support
for local bandwidth limiting.
At this point it's actually fully usable for most users and we're just
missing some testing before it can be rolled out. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -555,6 +555,9 @@ pub struct OperatorCheckinMessage {\n/// Info about the current state of this device, including it's model, CPU,\n/// memory, and temperature if sensors are a... | Rust | Apache License 2.0 | althea-net/althea_rs | Complete self bandwidth limiting feature
This patch adds configuration endpoints and remote monitoring support
for local bandwidth limiting.
At this point it's actually fully usable for most users and we're just
missing some testing before it can be rolled out. |
20,244 | 29.09.2020 18:35:50 | 14,400 | 57e29ec852d792bb05913b7eb47a3885d7c77801 | Upgrade test script for postgres 13
fixes the integration test | [
{
"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 test script for postgres 13
fixes the integration test |
20,244 | 30.09.2020 15:56:13 | 14,400 | a436e075c065601a8057e971f3f4a1535f519ac4 | Improve tunnel struct comments | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -131,15 +131,28 @@ fn test_payment_state() {\n#[derive(PartialEq, Debug, Clone, Eq, Hash)]\npub struct Tunnel {\n- pub ip: IpAddr, // Tunnel endp... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve tunnel struct comments |
20,244 | 07.10.2020 09:43:55 | 14,400 | 5b1e0c2b3407cc5d496efee5f4e28a108b42102a | Bump for Beta 16 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3240,7 +3240,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.62\"\n+version = \"0.5.63\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC3 |
20,244 | 07.10.2020 11:35:56 | 14,400 | 0993f89eec5ddca9e2656891f38404efd199ce81 | Add scale test script
This patch adds a scale test script and some helpers to make it
more practical to run | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -70,9 +70,9 @@ RITA_EXIT = RITA_EXIT_DEFAULT\nCOMPAT_LAYOUT = os.getenv('COMPAT_LAYOUT', None)\nBACKOFF_FACTOR = float(os.getenv('B... | Rust | Apache License 2.0 | althea-net/althea_rs | Add scale test script
This patch adds a scale test script and some helpers to make it
more practical to run |
20,244 | 15.10.2020 10:08:09 | 14,400 | 323b24a237daa9dceaa11dbb215b8173070bfbd3 | Improve Payment Validator logging
Also fixes a few spelling mistakes in variable names and comments | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/operator_fee_manager/mod.rs",
"new_path": "rita/src/rita_client/operator_fee_manager/mod.rs",
"diff": "//! to compute the amount it should pay at a time, these micropayments have the effect of pro-rating\n//! the DAO fee amount and prevent... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve Payment Validator logging
Also fixes a few spelling mistakes in variable names and comments |
20,244 | 15.10.2020 10:43:42 | 14,400 | 0f6f948321d4fdfb1f853c260285d16303d2f285 | Add fast-crash protection to Rita fast and slow loop
This is similar to the protection provided by the Rita exit loop
fast crash protection. When the loop is crashing on every iteration
or just generally too often it's best to exit and hope we can recover
after a full restart | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_validator/mod.rs",
"new_path": "rita/src/rita_common/payment_validator/mod.rs",
"diff": "@@ -166,6 +166,8 @@ pub async fn validate() {\nif !item.checked {\nlet msg = format!(\"We failed to check txid {:#066x} against full nodes for... | Rust | Apache License 2.0 | althea-net/althea_rs | Add fast-crash protection to Rita fast and slow loop
This is similar to the protection provided by the Rita exit loop
fast crash protection. When the loop is crashing on every iteration
or just generally too often it's best to exit and hope we can recover
after a full restart |
20,244 | 15.10.2020 15:58:08 | 14,400 | 9fa3d86a779ac239549be77f28e7b6cfa17a63c9 | Fix slow loop execution problems
I was trying to run Async functions in a pre-async actix system.
This patch just disambiguates the names. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"new_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"diff": "@@ -3,7 +3,8 @@ use crate::rita_common::token_bridge::tick_token_bridge;\nuse crate::rita_common::utils::wait_timeout::wait_timeout;\nuse crate::r... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix slow loop execution problems
I was trying to run Async functions in a pre-async actix system.
This patch just disambiguates the names. |
20,244 | 15.10.2020 17:02:47 | 14,400 | d148b6d992b3ac9b631f5960b322aa3497dfe9b0 | Update for Beta 16 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3221,7 +3221,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.63\"\n+version = \"0.5.64\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for Beta 16 RC4 |
20,244 | 17.10.2020 21:32:19 | 14,400 | 46a33e8782f6b2d575fe164bbdd6374fce85c5e9 | Fix spelling of SAVE_FREQUENCY | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -36,7 +36,7 @@ use std::time::Duration;\nuse std::time::Instant;\n/// How often we save the nodes debt data, currently 30 minutes\n-const SAVE_FREQENCY... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix spelling of SAVE_FREQUENCY |
20,244 | 18.10.2020 09:02:15 | 14,400 | 96cd5673a26e5467b88ef4c4e3ecd6c626242ada | Bump for Beta 16 RC5 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3221,7 +3221,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.64\"\n+version = \"0.5.65\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC5 |
20,244 | 18.10.2020 13:56:00 | 14,400 | 3b64a28759ed497002502d033fccae168ecc0407 | Fix flipped conditional on handshake time check
Good thing I double checked this. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/gc.rs",
"new_path": "rita/src/rita_common/tunnel_manager/gc.rs",
"diff": "@@ -155,7 +155,7 @@ fn tunnel_should_be_kept(\n// for the next gc round in that case.\nif let (Some(since_created), Some(since_last_contact)) = (since... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix flipped conditional on handshake time check
Good thing I double checked this. |
20,244 | 18.10.2020 13:57:02 | 14,400 | 8f8f399acd633a482f6b6acd95c9c490e3031721 | Bump for Beta 16 RC6 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3221,7 +3221,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.65\"\n+version = \"0.5.66\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC6 |
20,244 | 03.11.2020 20:26:29 | 18,000 | fa3b57203553d901e7ac701727aac134baff89c3 | Bump for Beta 16 RC7 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3221,7 +3221,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.66\"\n+version = \"0.5.67\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 16 RC7 |
20,244 | 31.12.2020 09:37:10 | 18,000 | 6cb0d7875336231b47b45db2abcac986bb738c1f | Update Clarity and num256
This updates Clarity and num256 across the board pulling in a very
small patch to pre-async web30 that updates these same dependencies
over there. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -483,10 +483,10 @@ dependencies = [\n\"arrayvec\",\n\"babel_monitor\",\n\"base64 0.13.0\",\n- \"clarity 0.1.27\",\n+ \"clarity 0.4.2\",\n\"hex\",\n\"lettre\",\n- \"num256 0.2.12\",\n+ \"num256 0.3.0\",\n\"phon... | Rust | Apache License 2.0 | althea-net/althea_rs | Update Clarity and num256
This updates Clarity and num256 across the board pulling in a very
small patch to pre-async web30 that updates these same dependencies
over there. |
20,244 | 31.12.2020 09:51:02 | 18,000 | 4988686922224d8089b0622e8f1632464dc61abe | Fix compile problems from new Clarity/num256 | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/blockchain_oracle/mod.rs",
"new_path": "rita/src/rita_common/blockchain_oracle/mod.rs",
"diff": "@@ -143,22 +143,17 @@ fn update_balance(\n/// a different network than the one we are actually using. For example an address\n/// that contain... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix compile problems from new Clarity/num256 |
20,244 | 31.12.2020 10:03:13 | 18,000 | 1352d7d55a2285ce7635f0939c0fe377beae8a19 | External dependency updates
This patch updates external dependencies that aren't Actix based.
Just a lot of minor updates with some very minor code changes to
go with them. We also introduce one new test to double check that
ip address generation has not changed. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -461,7 +461,7 @@ name = \"althea_kernel_interface\"\nversion = \"0.1.0\"\ndependencies = [\n\"althea_types\",\n- \"itertools\",\n+ \"itertools 0.10.0\",\n\"lazy_static\",\n\"log\",\n\"oping\",\n@@ -483,12 +483... | Rust | Apache License 2.0 | althea-net/althea_rs | External dependency updates
This patch updates external dependencies that aren't Actix based.
Just a lot of minor updates with some very minor code changes to
go with them. We also introduce one new test to double check that
ip address generation has not changed. |
20,244 | 31.12.2020 10:06:19 | 18,000 | 92b71d8e7eb0ca6cc219e3b81976d85cf940c303 | Delete pre-monorepo .gitignore
All of these but one had redundant statmenets left over from the
pre-monorepo days when many of these crates where in their own repo. | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -16,6 +16,7 @@ test.db-journal\n/scripts/staging_dir/\nintegration-tests/private-key*\n+integration-tests/deps*\nintegration-tests/rita-settings*\nintegration-tests/staging*\nintegration-tests/althea_rs_*\n"
... | Rust | Apache License 2.0 | althea-net/althea_rs | Delete pre-monorepo .gitignore
All of these but one had redundant statmenets left over from the
pre-monorepo days when many of these crates where in their own repo. |
20,244 | 31.12.2020 10:09:56 | 18,000 | 7de880500a68eb69feb5d5958873fcb0d7550be8 | Use async remote log
While we're on a depdency updating spree this is one of my main
targets. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -659,12 +659,12 @@ dependencies = [\n[[package]]\nname = \"backoff\"\n-version = \"0.1.6\"\n+version = \"0.2.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"66483433ebf57... | Rust | Apache License 2.0 | althea-net/althea_rs | Use async remote log
While we're on a depdency updating spree this is one of my main
targets. |
20,244 | 31.12.2020 11:02:21 | 18,000 | 8c4490a7e5e17c7b304b68d8cfe711651e36b0d7 | Fix config upgrades for xdai_home_helper_address
This will allow older devices to upgrade to the new version of the
struct without crashing. | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/src/lib.rs",
"new_path": "auto_bridge/src/lib.rs",
"diff": "@@ -20,10 +20,15 @@ pub static UNISWAP_GAS_LIMIT: u128 = 80_000;\npub static ERC20_GAS_LIMIT: u128 = 40_000;\npub static ETH_TRANSACTION_GAS_LIMIT: u128 = 21_000;\n+fn default_xdai_home_he... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix config upgrades for xdai_home_helper_address
This will allow older devices to upgrade to the new version of the
struct without crashing. |
20,244 | 31.12.2020 11:03:01 | 18,000 | 91cd0f4b47aac9c445eb8329fb816e7a84ca3a1c | Fix nits for rust 1.49.0 clippy
Some really cool new nits have been included, await over lock boundries
is going to really improve our lock based threading pattern for Rita. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -238,7 +238,7 @@ impl dyn KernelInterface {\n// we need 1kbyte of burst cache per mbit of bandwidth to actually keep things\n// moving\n-... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix nits for rust 1.49.0 clippy
Some really cool new nits have been included, await over lock boundries
is going to really improve our lock based threading pattern for Rita. |
20,244 | 31.12.2020 11:52:30 | 18,000 | 48a360d434a9450ce5e8c01c4876b08d9564d385 | Don't bother with round_closest
Lets just round down a whole dollar on the fees. This requires further
consideration later anyways. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -705,8 +705,8 @@ pub fn get_bridge_status() -> BridgeStatus {\nlet bridge = BRIDGE.read().unwrap().clone();\n// amounts is in cents, we need to conve... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't bother with round_closest
Lets just round down a whole dollar on the fees. This requires further
consideration later anyways. |
20,244 | 31.12.2020 13:50:16 | 18,000 | 6cb69a0ec181271eca416c2aaab80bdbde161292 | Bump compressed_log and increase buffer sizes
This fixes some actix executor issues in the async/await version of
compressed_log. It also dramatically increases buffer sizes 10x
on routers and 100x on exits. The goal here is improved efficiency
and a movement to relying on flush() or drop() to get crash messages | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -947,9 +947,9 @@ dependencies = [\n[[package]]\nname = \"compressed_log\"\n-version = \"0.3.0\"\n+version = \"0.3.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"d371acfe... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump compressed_log and increase buffer sizes
This fixes some actix executor issues in the async/await version of
compressed_log. It also dramatically increases buffer sizes 10x
on routers and 100x on exits. The goal here is improved efficiency
and a movement to relying on flush() or drop() to get crash messages |
20,244 | 31.12.2020 14:19:57 | 18,000 | 6ba09e5e2c95ed1ea8eb4c20065033b47bd679fd | Beta 17 RC0
We're moving to a new release numbering scheme where we can easily
parse out what the human readable release name is from the semantic
version. Much easier than keeping patch numbers forever. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3268,7 +3268,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.67\"\n+version = \"0.17.0\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Beta 17 RC0
We're moving to a new release numbering scheme where we can easily
parse out what the human readable release name is from the semantic
version. Much easier than keeping patch numbers forever. |
20,244 | 01.01.2021 09:47:03 | 18,000 | 15fc3f5cae896faf8c1bc3909d47d4433ee5be6c | Upgrade Web30 to work with Geth blocks
We get a concise blokc as part of deadline computation for the
Uniswap exchange. Geth blocks don't include some fields parity
blocks do. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -603,7 +603,7 @@ dependencies = [\n\"rand 0.8.0\",\n\"serde 1.0.116\",\n\"serde_derive\",\n- \"web30 0.10.2\",\n+ \"web30 0.10.4\",\n]\n[[package]]\n@@ -3327,7 +3327,7 @@ dependencies = [\n\"tokio-codec\",\n\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade Web30 to work with Geth blocks
We get a concise blokc as part of deadline computation for the
Uniswap exchange. Geth blocks don't include some fields parity
blocks do. |
20,244 | 01.01.2021 10:54:49 | 18,000 | 39ba7c6fffb5375469bdc576e9c62b8e8a116bc2 | Upgrade web30 to fix event topics
This imports an upstream change that fomats event topics correctly
so that we can avoid the 'dai rescue' case when sending funds over the
bridge. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -603,7 +603,7 @@ dependencies = [\n\"rand 0.8.0\",\n\"serde 1.0.116\",\n\"serde_derive\",\n- \"web30 0.10.4\",\n+ \"web30 0.10.5\",\n]\n[[package]]\n@@ -3327,7 +3327,7 @@ dependencies = [\n\"tokio-codec\",\n\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade web30 to fix event topics
This imports an upstream change that fomats event topics correctly
so that we can avoid the 'dai rescue' case when sending funds over the
bridge. |
20,244 | 01.01.2021 11:52:50 | 18,000 | f81a47987621b575ad6788a52fc3f39290072149 | Improve logging for funds unlock | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -520,10 +520,12 @@ async fn xdai_bridge(state: State) -> State {\n)\n{\n// can't panic because of the above if/else tree\n+ info!(\"bridge in Withdra... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve logging for funds unlock |
20,244 | 01.01.2021 12:59:42 | 18,000 | 7e9cc1065ebad7fe9d1a2c790a27168b7573c6fe | Have funds unlock prep the packed payloads
This adds some in line Ethereum ABI parsing that is required to
prepare the xDai bridge helper payloads for passing into the Ethereum
contract.
Also added is an extensive test case using (rather expensively) gathered
test data from my personal experiments. | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/Cargo.toml",
"new_path": "auto_bridge/Cargo.toml",
"diff": "@@ -6,7 +6,6 @@ edition = \"2018\"\n[dependencies]\nweb30 = \"0.10\"\n-futures = \"0.3\"\nnum256 = \"0.3\"\nclarity = \"0.4\"\nrand = \"0.8\"\n@@ -17,3 +16,4 @@ serde = \"1.0\"\n[dev-depen... | Rust | Apache License 2.0 | althea-net/althea_rs | Have funds unlock prep the packed payloads
This adds some in line Ethereum ABI parsing that is required to
prepare the xDai bridge helper payloads for passing into the Ethereum
contract.
Also added is an extensive test case using (rather expensively) gathered
test data from my personal experiments. |
20,244 | 05.01.2021 12:33:50 | 18,000 | bfa6516555d0e9244d7b3a10edfe95b6585d56d7 | Use debug print for TrafficWatcher errors
This is far more readable. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/usage.rs",
"new_path": "rita/src/rita_client/dashboard/usage.rs",
"diff": "@@ -12,7 +12,7 @@ use std::collections::VecDeque;\npub fn get_client_usage(\n_req: HttpRequest,\n) -> Box<dyn Future<Item = Json<VecDeque<UsageHour>>, Err... | Rust | Apache License 2.0 | althea-net/althea_rs | Use debug print for TrafficWatcher errors
This is far more readable. |
20,244 | 06.01.2021 17:45:36 | 18,000 | aa9b3298b0502876f5e7b916241deb66652af8b0 | Operator actions whitelist
This is far less likley to end up giving a lot of power to Operators
by mistake. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -395,6 +395,20 @@ pub enum OperatorAction {\nChangeOperatorAddress { new_address: Option<Address> },\n}\n+impl OperatorAction {\n+ /// is this a list of actions on the whiteli... | Rust | Apache License 2.0 | althea-net/althea_rs | Operator actions whitelist
This is far less likley to end up giving a lot of power to Operators
by mistake. |
20,244 | 11.01.2021 13:46:16 | 18,000 | 858951bc560f98587c2444fa02c42c9b4f7c82d3 | Add comment describing how the metric factor works
This confused me today. Figured it should be a little better documented | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/babel.rs",
"new_path": "rita/src/rita_common/dashboard/babel.rs",
"diff": "@@ -63,6 +63,8 @@ pub fn set_local_fee(path: Path<u32>) -> Box<dyn Future<Item = HttpResponse, Err\n}))\n}\n+/// Sets the metric factor for this node, low... | Rust | Apache License 2.0 | althea-net/althea_rs | Add comment describing how the metric factor works
This confused me today. Figured it should be a little better documented |
20,244 | 02.02.2021 09:28:31 | 18,000 | e1f49afe86c3220674cf0c1eb74aff40f95a2869 | Better logging for wyre payments
These errors should not be trace, errors should never be trace. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -55,7 +55,7 @@ pub struct AmountRequest {\npub fn get_wyre_reservation(\namount: Json<AmountRequest>,\n) -> Box<dyn Future<Item = HttpRes... | Rust | Apache License 2.0 | althea-net/althea_rs | Better logging for wyre payments
These errors should not be trace, errors should never be trace. |
20,244 | 03.02.2021 11:37:55 | 18,000 | ff39c71a9d2163445c372c2cd82332b8993cd0e9 | Implement Display for ReleaseStatus
This is the inverse of the FromStr operation we've already implemented
and is useful over in operator tools for a few utility purposes. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -362,6 +362,17 @@ impl FromStr for ReleaseStatus {\n}\n}\n+impl Display for ReleaseStatus {\n+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n+ match self {\n+ Re... | Rust | Apache License 2.0 | althea-net/althea_rs | Implement Display for ReleaseStatus
This is the inverse of the FromStr operation we've already implemented
and is useful over in operator tools for a few utility purposes. |
20,244 | 03.02.2021 12:02:06 | 18,000 | 1ce7bde04a2207affeac05750e0e22a0e67f3c1a | Add user_set_release_feed
This entire patch is a bit of a lark. We've moved to always setting
release feeds on the operator tools side so I figured we should make
that play nicely with user set feeds. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/release_feed.rs",
"new_path": "rita/src/rita_client/dashboard/release_feed.rs",
"diff": "use crate::KI;\n+use crate::SETTING;\nuse actix_web::http::StatusCode;\nuse actix_web::HttpRequest;\nuse actix_web::HttpResponse;\n@@ -6,6 +... | Rust | Apache License 2.0 | althea-net/althea_rs | Add user_set_release_feed
This entire patch is a bit of a lark. We've moved to always setting
release feeds on the operator tools side so I figured we should make
that play nicely with user set feeds. |
20,244 | 17.02.2021 17:25:58 | 18,000 | 264f1b89142a76efc4c67c6091ef5c01d168c4d0 | Clippy nit on functions that only return Ok/Some
This is a really great addition to clippy that's identified several
places where error handling seemed like it was being performed but in
reality the functions simply would not ever actually return an error. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -21,10 +21,7 @@ pub fn get_hardware_info(device_name: Option<String>) -> Result<HardwareInfo, Er\nlet num_cpus = get_numcpus()?;\n- let senso... | Rust | Apache License 2.0 | althea-net/althea_rs | Clippy nit on functions that only return Ok/Some
This is a really great addition to clippy that's identified several
places where error handling seemed like it was being performed but in
reality the functions simply would not ever actually return an error. |
20,244 | 12.03.2021 17:43:37 | 18,000 | f956320557f69f28496f782a0a64ef4b7760591f | Fix dependencies for fresh install
A fresh build on a new system was missing a lot of dependencies.
Specifically around liboping and the integrated library. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -11,19 +11,19 @@ This is primarily an infrastructure repo, to get a working version of Althea for\nDebian:\n- sudo apt-get install build-essential libssl-dev libsqlite3-dev pkg-config postgresql-server-dev-all\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix dependencies for fresh install
A fresh build on a new system was missing a lot of dependencies.
Specifically around liboping and the integrated library. |
20,244 | 31.03.2021 17:05:06 | 14,400 | b89b2af2f84fb3b4e1bf52e44e0efdd25f29ad4d | Add todo for tunnel up check
Finally seeing the output of this in production nearly 9 months after
I wrote it. Deleting the tunnel does not seem to have the impact that I
hoped and instead of resolving the issue the new tunnel simply gets
re-crated with the same issue. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/gc.rs",
"new_path": "rita/src/rita_common/tunnel_manager/gc.rs",
"diff": "@@ -246,6 +246,9 @@ fn into_interfaces_hashmap(interfaces: &[Interface]) -> HashMap<String, bool> {\n/// needs to be deleted. If we do not find the tu... | Rust | Apache License 2.0 | althea-net/althea_rs | Add todo for tunnel up check
Finally seeing the output of this in production nearly 9 months after
I wrote it. Deleting the tunnel does not seem to have the impact that I
hoped and instead of resolving the issue the new tunnel simply gets
re-crated with the same issue. |
20,244 | 31.03.2021 19:54:44 | 14,400 | 6bdcab356e076ca2ee25aba144b2095921d05d3f | Bump for Beta 17 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3311,7 +3311,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.17.0\"\n+version = \"0.17.1\"\ndependencies = [\n\"actix 0.10.0\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 17 RC1 |
20,244 | 31.03.2021 20:20:32 | 14,400 | ca615b6c6187c0f32a6282b98db83084603fc9ee | test_funds_unlock() is a one off test
This can only be run manually by a developer and should not be run by
default. | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/src/lib.rs",
"new_path": "auto_bridge/src/lib.rs",
"diff": "@@ -702,6 +702,7 @@ mod tests {\n}\n#[test]\n+ #[ignore]\n/// This tests unlocking funds from the POA Xdai bridge using a lot of specially collected\n/// test data for the entire process\n... | Rust | Apache License 2.0 | althea-net/althea_rs | test_funds_unlock() is a one off test
This can only be run manually by a developer and should not be run by
default. |
20,244 | 13.05.2021 08:26:38 | 14,400 | b55a7119d086f861938f09bc25adf9044026f244 | Resolve new clippy nits in kernel interface | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -122,10 +122,7 @@ fn maybe_get_single_line_u64(path: &str) -> Option<u64> {\nfn maybe_get_single_line_string(path: &str) -> Option<String> {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Resolve new clippy nits in kernel interface |
20,244 | 13.05.2021 08:26:51 | 14,400 | 8fa3df03a401834bab2469a72f5e51ed5c9c117a | Upgrade arrayvec and resolve clippy nits | [
{
"change_type": "MODIFY",
"old_path": "althea_types/Cargo.toml",
"new_path": "althea_types/Cargo.toml",
"diff": "@@ -17,7 +17,7 @@ hex = \"0.4\"\nsodiumoxide = \"0.2\"\nactix = { version = \"0.7\", optional = true}\nclarity = \"0.4\"\n-arrayvec = {version= \"0.5\", features = [\"serde\"]}\n+arrayve... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade arrayvec and resolve clippy nits |
20,244 | 13.05.2021 08:29:50 | 14,400 | b8fddc81201c7f724e5cb100a6686076e9186197 | Upgrade autobridge to latest web30 | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/Cargo.toml",
"new_path": "auto_bridge/Cargo.toml",
"diff": "@@ -5,15 +5,15 @@ authors = [\"Jehan <jehan.tremback@gmail.com>, Justin <justin@althea.net>\"]\nedition = \"2018\"\n[dependencies]\n-web30 = \"0.10\"\n+web30 = \"0.13\"\nnum256 = \"0.3\"\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade autobridge to latest web30 |
20,244 | 13.05.2021 08:34:01 | 14,400 | 33549dbf61e11e55464136327cc779edb590f694 | Upgrade IpGen in CLU | [
{
"change_type": "MODIFY",
"old_path": "clu/Cargo.toml",
"new_path": "clu/Cargo.toml",
"diff": "@@ -12,7 +12,7 @@ lazy_static = \"1.4\"\nlog = \"0.4\"\nenv_logger = \"0.8\"\nfailure = \"0.1\"\n-ipgen = \"0.0.4\"\n+ipgen = \"1.0.1\"\nrand = \"0.8\"\nserde = \"1.0\"\nserde_derive = \"1.0\"\n"
},
{... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade IpGen in CLU |
20,244 | 13.05.2021 08:34:12 | 14,400 | 459ed78af226aa8e8d7cfc1bff09dac226fad0ea | Update arrayvec in settings
New const generics powered arrayvec. | [
{
"change_type": "MODIFY",
"old_path": "settings/Cargo.toml",
"new_path": "settings/Cargo.toml",
"diff": "@@ -5,7 +5,7 @@ authors = [\"Ben <wangben3@gmail.com>\"]\nedition = \"2018\"\n[dependencies]\n-config = \"0.10\"\n+config = \"0.11\"\nalthea_types = { path = \"../althea_types\", features = [\"a... | Rust | Apache License 2.0 | althea-net/althea_rs | Update arrayvec in settings
New const generics powered arrayvec. |
20,244 | 13.05.2021 09:03:26 | 14,400 | 077baa3a4671a182c4d7255650a0d461c2d78a16 | Bump for Beta 17 RC2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3727,7 +3727,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.17.1\"\n+version = \"0.17.2\"\ndependencies = [\n\"actix 0.11.1\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 17 RC2 |
20,244 | 13.05.2021 16:20:02 | 14,400 | 59b61be219fa5888079488eb037dae93737d63e6 | Remove Tunnel MembershipState
The subnet dao is no longer a concept in the Althea system and therefore
this is all just legacy cruft that should be removed. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "pub mod gc;\npub mod id_callback;\n+pub mod neighbor_status;\npub mod shaping;\nuse crate::rita_common;\n@@ -55,14 +56,9 @@ pub enum TunnelManagerEr... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove Tunnel MembershipState
The subnet dao is no longer a concept in the Althea system and therefore
this is all just legacy cruft that should be removed. |
20,244 | 13.05.2021 16:20:53 | 14,400 | fdbfdaaaae0b549e122214850fc809fadb536d83 | Send enforcement status to operator tools
This patch allows us to send enforcement data to operator tools
which will be useful to detect payment problems and allow us to display
more debugging info. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -642,12 +642,14 @@ pub struct SensorReading {\n/// Struct for storing peer status data for reporting to the operator tools server\n/// the goal is to give a full picture of al... | Rust | Apache License 2.0 | althea-net/althea_rs | Send enforcement status to operator tools
This patch allows us to send enforcement data to operator tools
which will be useful to detect payment problems and allow us to display
more debugging info. |
20,244 | 14.05.2021 08:01:34 | 14,400 | 70fcbd195bd99e74ee15a58751adfabd0c4b6146 | Bump for Beta 17 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3689,7 +3689,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.17.2\"\n+version = \"0.17.3\"\ndependencies = [\n\"actix 0.11.1\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 17 RC3 |
20,244 | 26.05.2021 11:31:04 | 14,400 | febe5f21c04661552bff8f20619acd8ac7a501cb | Increase default HTB settings for 10gbit exits
This is a quick patch for what is really a far more complex problem. We
need to dig into exit configuration and have it detect what these
settings should be optimally. Also research needs to be done about what
counts as optimal in the first place. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/mod.rs",
"new_path": "rita/src/rita_exit/database/mod.rs",
"diff": "@@ -456,9 +456,8 @@ pub fn enforce_exit_clients(\ninfo!(\"Exit is enforcing on {} because their debt of {} is greater than the limit of {}\", client.wg_pubkey, debt... | Rust | Apache License 2.0 | althea-net/althea_rs | Increase default HTB settings for 10gbit exits
This is a quick patch for what is really a far more complex problem. We
need to dig into exit configuration and have it detect what these
settings should be optimally. Also research needs to be done about what
counts as optimal in the first place. |
20,243 | 03.06.2021 11:49:37 | 14,400 | b2998ca006a1de8863a2ef1d89a96b3a8ca07ba1 | Fixed added perl to required dependencies
Cargo clippy test was failing to build on OpenSSl without this package. I added perl to each of the operating system
build command lines on the readme for future users. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -11,23 +11,23 @@ This is primarily an infrastructure repo, to get a working version of Althea for\nDebian:\n- sudo apt-get install build-essential libssl-dev libsqlite3-dev pkg-config postgresql-server-dev-all a... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixed added perl to required dependencies
Cargo clippy test was failing to build on OpenSSl without this package. I added perl to each of the operating system
build command lines on the readme for future users. |
20,243 | 03.06.2021 19:40:15 | 14,400 | 02503ddca0799b672c7c0986c8f539cfb8c07664 | Added system uptime bookkeeping code
I added system uptime to get_hard_info().I adjusted HardwareInfo Struct, and adjusted
KernelInterface Error to include uptime errors. Passed all tests from bash
scripts/test.sh | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -3,6 +3,8 @@ use crate::KernelInterfaceError as Error;\nuse althea_types::HardwareInfo;\nuse althea_types::SensorReading;\nuse std::fs;\n+use... | Rust | Apache License 2.0 | althea-net/althea_rs | Added system uptime bookkeeping code
I added system uptime to get_hard_info().I adjusted HardwareInfo Struct, and adjusted
KernelInterface Error to include uptime errors. Passed all tests from bash
scripts/test.sh |
20,243 | 04.06.2021 12:10:44 | 14,400 | 9b2c61bfdbd762c5cb95147ff8a2350f71f2b130 | Adjusted README to include the crate: cross
The testing bash script within /test did not include the crate cross
causing the test to not fully run all tests. The instruction now in-
clude the crate. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -41,6 +41,12 @@ If you want to build a development build that contains unsafe options that are n\n## Testing\n+Prior to running the tests, make sure you have the following installed: cross\n+\n+```\n+ cargo inst... | Rust | Apache License 2.0 | althea-net/althea_rs | Adjusted README to include the crate: cross
The testing bash script within /test did not include the crate cross
causing the test to not fully run all tests. The instruction now in-
clude the crate. |
20,244 | 07.06.2021 09:56:56 | 14,400 | ee682f4ef315a3070b481c0dc2893bc09ae5d3ff | Upgrade compressed-log and web30 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -847,7 +847,7 @@ dependencies = [\n\"rand 0.8.3\",\n\"serde 1.0.126\",\n\"serde_derive\",\n- \"web30 0.13.1\",\n+ \"web30 0.14.0\",\n]\n[[package]]\n@@ -2057,9 +2057,9 @@ dependencies = [\n[[package]]\nname = ... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade compressed-log and web30 |
20,244 | 07.06.2021 10:00:16 | 14,400 | a2c7010b2cb94fba9adededa972a78b7ce783749 | Upgrade for Beta 17 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3196,7 +3196,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.17.3\"\n+version = \"0.17.4\"\ndependencies = [\n\"actix 0.11.1\",\n\"actix 0.7.11\",\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade for Beta 17 RC4 |
20,244 | 07.06.2021 14:32:30 | 14,400 | 279384bf51b901b5452cdc054b2de6ffa594bab4 | Update compressed_log and bump for Beta 17 RC5
Fixes an issue where compressed log could panic because it was trying to
adopt the local thread to run futures. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -902,9 +902,9 @@ dependencies = [\n[[package]]\nname = \"compressed_log\"\n-version = \"0.3.3\"\n+version = \"0.3.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"604aff13... | Rust | Apache License 2.0 | althea-net/althea_rs | Update compressed_log and bump for Beta 17 RC5
Fixes an issue where compressed log could panic because it was trying to
adopt the local thread to run futures. |
20,244 | 08.06.2021 14:11:51 | 14,400 | e60431e334fc12fa4abf1fb9b58ed688a6684838 | Openwrt upload should fail on command failure
Previously we did not set -x on these files so it would not be printed
if for example the wget command failed. This patch fixes that issue by
causing the whole script to fail in case of a failed command | [
{
"change_type": "MODIFY",
"old_path": "scripts/openwrt_build_ipq40xx.sh",
"new_path": "scripts/openwrt_build_ipq40xx.sh",
"diff": "#!/bin/bash\n+set -eux\nDIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\n# Parse command line arguments\n"
},
{
"change_type": "MODIFY",
"old_... | Rust | Apache License 2.0 | althea-net/althea_rs | Openwrt upload should fail on command failure
Previously we did not set -x on these files so it would not be printed
if for example the wget command failed. This patch fixes that issue by
causing the whole script to fail in case of a failed command |
20,244 | 08.06.2021 19:22:23 | 14,400 | a453b9647b2816850f48e0c58f9bfe79cad47b75 | Provide default for new interop struct fields
This adds a default system uptime and enforced var, which will allow operator tools to deserialize old entires successfully from it's database. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -623,6 +623,7 @@ pub struct HardwareInfo {\n/// This is provided by the linux kernel and is generated on the fly in\n/// a tuple format with no commas in the following format.... | Rust | Apache License 2.0 | althea-net/althea_rs | Provide default for new interop struct fields
This adds a default system uptime and enforced var, which will allow operator tools to deserialize old entires successfully from it's database. |
20,243 | 10.06.2021 14:07:39 | 14,400 | 82d89bc9165568d6b8fca2de0c7c292cdacf8cf0 | Modified README to include clang in dependencies
The readme command to auto-install dependencies was missing clang. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -11,23 +11,22 @@ This is primarily an infrastructure repo, to get a working version of Althea for\nDebian:\n- sudo apt-get install build-essential libssl-dev libsqlite3-dev pkg-config postgresql-server-dev-all a... | Rust | Apache License 2.0 | althea-net/althea_rs | Modified README to include clang in dependencies
The readme command to auto-install dependencies was missing clang. |
20,243 | 16.06.2021 11:17:37 | 14,400 | 9deabf6c3bfea8b29f84516553a5f4f435d28961 | Updated hardware_info struct to contain the full kernel version string
I updated the hardware_info struct to contain the full string for fut-
ure debugging or other miscellaneous purposes. It may prove useful, an-
it was requested by Justin. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -30,7 +30,7 @@ pub fn get_hardware_info(device_name: Option<String>) -> Result<HardwareInfo, Er\n};\nlet system_uptime = get_sys_uptime()?;\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Updated hardware_info struct to contain the full kernel version string
I updated the hardware_info struct to contain the full string for fut-
ure debugging or other miscellaneous purposes. It may prove useful, an-
it was requested by Justin. |
20,244 | 16.06.2021 17:46:08 | 14,400 | 243c49a2dfa111a737b851f47be2685c6809e16a | Development mode should use development heartbeat key
Now that the test and prod hearbeat encryption keys are different we
need to automatically use the right encryption key for testing when
debug mode is enabled. This reduces the amount of time wasted on
developer error. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/heartbeat/mod.rs",
"new_path": "rita/src/rita_client/heartbeat/mod.rs",
"diff": "@@ -48,10 +48,19 @@ pub struct HeartbeatCache {\nexit_neighbor_rita: RitaNeighbor,\n}\n+#[cfg(not(feature = \"operator_debug\"))]\nlazy_static! {\npub static ... | Rust | Apache License 2.0 | althea-net/althea_rs | Development mode should use development heartbeat key
Now that the test and prod hearbeat encryption keys are different we
need to automatically use the right encryption key for testing when
debug mode is enabled. This reduces the amount of time wasted on
developer error. |
20,244 | 16.06.2021 17:46:50 | 14,400 | 1a8c4426113f26b4e1027025412472c82eb330dc | Openwrt_upload should set development flag
Just like openwrt upload by default disables remote logging we should
also enable the development feature for improved debugging | [
{
"change_type": "MODIFY",
"old_path": "scripts/openwrt_upload.sh",
"new_path": "scripts/openwrt_upload.sh",
"diff": "#!/usr/bin/env bash\nset -eux\n-export TARGET=mipsel\n-export TRIPLE=mipsel-unknown-linux-musl\n+export TARGET=ipq40xx\n+export TRIPLE=armv7-unknown-linux-musleabihf\nexport ROUTER_I... | Rust | Apache License 2.0 | althea-net/althea_rs | Openwrt_upload should set development flag
Just like openwrt upload by default disables remote logging we should
also enable the development feature for improved debugging |
20,244 | 23.06.2021 18:39:09 | 14,400 | 47e3cefacc6891b1a9f8972f8f25ea3fd9cd5f8f | Fix clippy issues for latest Rust | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/ip_addr.rs",
"new_path": "althea_kernel_interface/src/ip_addr.rs",
"diff": "@@ -66,7 +66,7 @@ fn test_add_ipv4() {\nlet val = KI\n.add_ipv4(\"192.168.31.2\".parse().unwrap(), \"eth0\")\n.expect(\"Failure to run ip test\");\n- assert... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix clippy issues for latest Rust |
20,244 | 24.06.2021 21:25:05 | 14,400 | 35b85b33847c3a956730456103a147a7542a9412 | Correct a bunch of mod comments
This patch corrects spelling and content in several module comments | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "//! vpn system integrated into the Althea network design, as well as API endpoints for a management\n//! dashboard of router functions like wifi, which the exit is not expected to have.\n//!\n-//!... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct a bunch of mod comments
This patch corrects spelling and content in several module comments |
20,255 | 24.06.2021 15:13:11 | 25,200 | 3416b2403778bf7475ba8ea0a3c6465c47d422c6 | Changed Usage_Tracker Actix implementations to Lazy_Static variables
In the file rita_common -> usage_tracker -> mod.rs
Removed Actor and Handler implementations for UpdateUsage, UpdatePayments, GetUsage and GetPayment structs
and replaced these with function calls using the lazy_static UsageTracker struct | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/usage.rs",
"new_path": "rita/src/rita_client/dashboard/usage.rs",
"diff": "use crate::rita_common::usage_tracker::GetUsage;\nuse crate::rita_common::usage_tracker::UsageHour;\n-use crate::rita_common::usage_tracker::UsageTracker;... | Rust | Apache License 2.0 | althea-net/althea_rs | Changed Usage_Tracker Actix implementations to Lazy_Static variables
In the file rita_common -> usage_tracker -> mod.rs
Removed Actor and Handler implementations for UpdateUsage, UpdatePayments, GetUsage and GetPayment structs
and replaced these with function calls using the lazy_static UsageTracker struct |
20,244 | 25.06.2021 12:55:58 | 14,400 | 43a659d2a63d514873a7c8b2874fa0e526448396 | Bump for Beta 18 RC 0
More module migrations is enough to call a cut between Beta 17 and 18
for now. We're going to backport some bug fixes to 17 as we roll it out
to hopefully stabalize it properly. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\n+version = 3\n+\n[[package]]\nname = \"actix\"\nversion = \"0.7.11\"\n@@ -3196,7 +3198,7 @@ dependencies = [\n[[package... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 18 RC 0
More module migrations is enough to call a cut between Beta 17 and 18
for now. We're going to backport some bug fixes to 17 as we roll it out
to hopefully stabalize it properly. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.