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 | 11.05.2020 09:24:29 | 14,400 | 9c0e1fbed0e246f5fde30a5dde09d468c2fe8c06 | Improve logging in tunnel manager
Better and more readable logging of tunnel gc | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -482,8 +482,8 @@ impl Handler<TriggerGC> for TunnelManager {\nfn handle(&mut self, msg: TriggerGC, _ctx: &mut Context<Self>) -> Self::Result {\nl... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve logging in tunnel manager
Better and more readable logging of tunnel gc |
20,244 | 11.05.2020 09:25:04 | 14,400 | 9784eaa809d0e7f76fecaff6823d092bee98f0b1 | Fix comment typo in BabelMonitor | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -186,7 +186,7 @@ fn read_babel(\nreturn Box::new(read_babel(stream, full_message, depth));\n} else if let Err(NoTerminator(_)) = babel_data {\n// our buffer was not full but we also... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix comment typo in BabelMonitor |
20,244 | 11.05.2020 09:29:55 | 14,400 | 7501b3e05a01b50099b15e300d70b142d66ef081 | Clean up development features
This had some old stuff that needed work | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/development.rs",
"new_path": "rita/src/rita_common/dashboard/development.rs",
"diff": "#[cfg(feature = \"development\")]\n-use crate::rita_common::rita_loop::Crash;\n+use crate::rita_common::rita_loop::fast_loop::Crash;\n#[cfg(fe... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up development features
This had some old stuff that needed work |
20,244 | 11.05.2020 17:06:24 | 14,400 | 0a52bc4caec482a8db8bbf4327dd48dadc6da241 | Add hardware info to OperatorCheckin
This lets us notify and otherwise act on system hardware info,
right now we're just sending it off to the operator tools but
I hope to do some really cool stuff with it soon. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "+use crate::file_io::get_lines;\n+use althea_types::HardwareInfo;\n+use failure::Error;\n+\n+/// Gets the load average and memory of the system from /proc should be plenty\n+/// efficient a... | Rust | Apache License 2.0 | althea-net/althea_rs | Add hardware info to OperatorCheckin
This lets us notify and otherwise act on system hardware info,
right now we're just sending it off to the operator tools but
I hope to do some really cool stuff with it soon. |
20,244 | 11.05.2020 19:18:07 | 14,400 | 23778d23321bdea464c7871014c1251260fd68a2 | Add display currency symbol toggle to localization | [
{
"change_type": "MODIFY",
"old_path": "settings/src/localization.rs",
"new_path": "settings/src/localization.rs",
"diff": "@@ -6,15 +6,24 @@ fn default_wyre_account_id() -> String {\n\"AC_2J6LWQEGW8P\".to_string()\n}\n+fn default_display_currency_symbol() -> bool {\n+ true\n+}\n+\n#[derive(Debug, S... | Rust | Apache License 2.0 | althea-net/althea_rs | Add display currency symbol toggle to localization |
20,244 | 11.05.2020 19:20:00 | 14,400 | cb266d92c042e1c0fdd15474f6bfc66a965817c4 | Bump for Beta 14 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2656,7 +2656,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.46\"\n+version = \"0.5.47\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC1 |
20,244 | 11.05.2020 19:20:31 | 14,400 | a1072aa9a398791429e3513d2a4164000e069a1b | Fix logging message for hello handler | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/hello_handler/mod.rs",
"new_path": "rita/src/rita_common/hello_handler/mod.rs",
"diff": "@@ -27,7 +27,7 @@ impl Actor for HelloHandler {\nimpl Supervised for HelloHandler {}\nimpl SystemService for HelloHandler {\nfn service_started(&mut s... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix logging message for hello handler |
20,244 | 12.05.2020 09:14:31 | 14,400 | 6d821ba0765d41628a97b6006097d44117167e81 | Jemalloc as a feature
Turns out this needs to be a feature otherwise OpenWRT will choke
on building it, even on x86 cross architecures. Need to do more
investigation to determine exactly why it dislikes the openwrt
build system but otherwise works with cross compilation | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.toml",
"new_path": "rita/Cargo.toml",
"diff": "@@ -68,7 +68,7 @@ sodiumoxide = \"0.2\"\ncompressed_log = \"0.2\"\nflate2 = { version = \"1.0\", features = [\"rust_backend\"], default-features = false }\nreqwest = { version = \"0.10\", features = [\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Jemalloc as a feature
Turns out this needs to be a feature otherwise OpenWRT will choke
on building it, even on x86 cross architecures. Need to do more
investigation to determine exactly why it dislikes the openwrt
build system but otherwise works with cross compilation |
20,244 | 13.05.2020 10:30:10 | 14,400 | 0e11d0ba0987e11bbaa9f056ec30370e10b0fa6c | Add clippy to local test suite | [
{
"change_type": "MODIFY",
"old_path": "scripts/test.sh",
"new_path": "scripts/test.sh",
"diff": "@@ -3,6 +3,7 @@ set -eux\nNODES=${NODES:='None'}\nRUST_TEST_THREADS=1 cargo test --all\n+cargo clippy --all-targets --all-features -- -D warnings\ncross test --target x86_64-unknown-linux-musl --verbose... | Rust | Apache License 2.0 | althea-net/althea_rs | Add clippy to local test suite |
20,244 | 13.05.2020 11:56:37 | 14,400 | 7c04642cecf42045cab2da64030a531b0845d55e | Update Clarity and other deps
Adds support for EIP55 compatible addresses, which are now the default
display type. This is backwards compatible because the parse() impl
over in Clarity is permissive. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -91,7 +91,7 @@ dependencies = [\n\"percent-encoding 1.0.1\",\n\"rand 0.6.5\",\n\"regex\",\n- \"serde 1.0.105\",\n+ \"serde 1.0.110\",\n\"serde_json\",\n\"serde_urlencoded 0.5.5\",\n\"sha1\",\n@@ -137,9 +137,9 ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update Clarity and other deps
Adds support for EIP55 compatible addresses, which are now the default
display type. This is backwards compatible because the parse() impl
over in Clarity is permissive. |
20,244 | 13.05.2020 14:21:00 | 14,400 | 1c49d378b653e219416ee2a8ca75a23ee27293e0 | Run Clippy across all crates
Previously we've run clippy in Rita but not against everything
in the althea_rs repo | [
{
"change_type": "MODIFY",
"old_path": "scripts/test.sh",
"new_path": "scripts/test.sh",
"diff": "@@ -5,7 +5,7 @@ NODES=${NODES:='None'}\n# test rita and rita_exit\nRUST_TEST_THREADS=1 cargo test --all\n# check for nits\n-cargo clippy --all-targets --all-features -- -D warnings\n+cargo clippy --all ... | Rust | Apache License 2.0 | althea-net/althea_rs | Run Clippy across all crates
Previously we've run clippy in Rita but not against everything
in the althea_rs repo |
20,244 | 13.05.2020 14:21:57 | 14,400 | 38fa3994ca7f2cf5a85191a33a624443034beb74 | Clippy fixes for AltheaTypes | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -187,20 +187,20 @@ impl Default for ExitState {\nimpl ExitState {\npub fn general_details(&self) -> Option<&ExitDetails> {\n- match self {\n- &ExitState::GotInfo {\n+ match *s... | Rust | Apache License 2.0 | althea-net/althea_rs | Clippy fixes for AltheaTypes |
20,244 | 13.05.2020 14:22:05 | 14,400 | 919dff5b1e703b00c60ad17d63de778452dccb61 | Clippy fixes for Clu | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -10,12 +10,9 @@ extern crate lazy_static;\nuse althea_kernel_interface::KI;\nuse clarity::PrivateKey;\nuse failure::Error;\n-use ipgen;\n-use rand;\nuse rand::distributions::Alphanumeric;\nuse rand::{t... | Rust | Apache License 2.0 | althea-net/althea_rs | Clippy fixes for Clu |
20,244 | 13.05.2020 14:22:15 | 14,400 | 84625b062c386556bb2cc55806149c8ea445a091 | Clippy fixes for Settings | [
{
"change_type": "MODIFY",
"old_path": "settings/src/client.rs",
"new_path": "settings/src/client.rs",
"diff": "@@ -8,11 +8,9 @@ use crate::payment::PaymentSettings;\nuse crate::spawn_watch_thread;\nuse crate::RitaCommonSettings;\nuse althea_types::{ExitRegistrationDetails, ExitState, Identity};\n-u... | Rust | Apache License 2.0 | althea-net/althea_rs | Clippy fixes for Settings |
20,244 | 13.05.2020 14:22:29 | 14,400 | 0fd8a9a4cbd86829f33636f769bb97b9461b4782 | Clippy fixes for Rita | [
{
"change_type": "MODIFY",
"old_path": "rita/build.rs",
"new_path": "rita/build.rs",
"diff": "@@ -6,6 +6,6 @@ fn main() {\n.output()\n.ok()\n.and_then(|output| String::from_utf8(output.stdout).ok())\n- .unwrap_or(\"(unknown)\".to_string());\n+ .unwrap_or_else(|| \"(unknown)\".to_string());\nprintln!... | Rust | Apache License 2.0 | althea-net/althea_rs | Clippy fixes for Rita |
20,244 | 13.05.2020 14:45:40 | 14,400 | b758262bf7641954ed7812e7e560cd2957589dd4 | Bump for Beta 14 RC2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2676,7 +2676,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.47\"\n+version = \"0.5.48\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC2 |
20,244 | 17.05.2020 18:41:27 | 14,400 | 67f4c5e75d1fa1682d48bebdcc2e9b06c7fc6f66 | Add sensor detection and reading
The hardware info struct now performs sensor detection using
the linux /sys/class/hwmon interface. This reads the maximum,
minimum, critial, and current temp from devices. Looking at the
deployed fleet it seems that all the routers ship with the
software they need to detect temps. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "use crate::file_io::get_lines;\nuse althea_types::HardwareInfo;\n+use althea_types::SensorReading;\nuse failure::Error;\n+use std::fs;\n/// Gets... | Rust | Apache License 2.0 | althea-net/althea_rs | Add sensor detection and reading
The hardware info struct now performs sensor detection using
the linux /sys/class/hwmon interface. This reads the maximum,
minimum, critial, and current temp from devices. Looking at the
deployed fleet it seems that all the routers ship with the
software they need to detect temps. |
20,244 | 19.05.2020 09:51:00 | 14,400 | 05f2acd90a529445127f596a5dd7d509c3bb8aab | Spellcheck for forwarding client comments | [
{
"change_type": "MODIFY",
"old_path": "antenna_forwarding_client/src/lib.rs",
"new_path": "antenna_forwarding_client/src/lib.rs",
"diff": "@@ -46,7 +46,7 @@ const PING_TIMEOUT: Duration = Duration::from_millis(100);\nconst FORWARD_TIMEOUT: Duration = Duration::from_secs(600);\n/// Starts a thread t... | Rust | Apache License 2.0 | althea-net/althea_rs | Spellcheck for forwarding client comments |
20,244 | 19.05.2020 09:54:12 | 14,400 | 87e157f9db853238012e21fe2bd85d56303f2ce6 | Fix variable name spelling in UsageTracker
sadly this requires a whole migration code set | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/usage_tracker/mod.rs",
"new_path": "rita/src/rita_common/usage_tracker/mod.rs",
"diff": "//! in that round and exactly what type of bandwidth it is is sent to this module, from there\n//! the handler updates the storage to reflect the new ... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix variable name spelling in UsageTracker
sadly this requires a whole migration code set |
20,244 | 19.05.2020 15:11:31 | 14,400 | 6cb865e086885eff8cd5e70122198b5fa092661a | Fix spelling in TrafficWatcher | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"diff": "@@ -89,7 +89,7 @@ pub fn prepare_helper_maps(\npub fn get_babel_info(routes: Vec<Route>) -> Result<(HashMap<IpAddr, i128>, u32), Error> {\ntrace!(... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix spelling in TrafficWatcher |
20,244 | 19.05.2020 15:32:56 | 14,400 | 0f92ac0c8a9db7e963e0b413e987ab2969de2baa | Add todo to usage tracker | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/usage_tracker/mod.rs",
"new_path": "rita/src/rita_common/usage_tracker/mod.rs",
"diff": "@@ -66,6 +66,9 @@ pub struct FormattedPaymentTx {\npub amount: Uint256,\n// should always be populated in this case\npub txid: String,\n+ // TODO add ... | Rust | Apache License 2.0 | althea-net/althea_rs | Add todo to usage tracker |
20,244 | 19.05.2020 15:57:33 | 14,400 | 145efcf62cc8fd13ed1b68610fcae47c01aae2f7 | Operator remove not remote | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -285,7 +285,7 @@ fn start_client_dashboard() {\n.route(\"/dao_fee/{fee}\", Method::POST, set_dao_fee)\n.route(\"/operator\", Method::GET, get_operator)\n.route(\"/operator\", Method::POST, chan... | Rust | Apache License 2.0 | althea-net/althea_rs | Operator remove not remote |
20,244 | 19.05.2020 17:07:51 | 14,400 | f0f8056707f4165565a083e6f4a17f10bb4e8048 | Add OperatorAction support
This adds support for the already defined operator actions ResetRouterPassword
and ResetWifiPassword. It also adds support for the new OperatorAction 'reboot'.
These are all things an operator might want to do for a client | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -368,6 +368,7 @@ pub enum OperatorAction {\nResetRouterPassword,\nResetWiFiPassword,\nResetShaper,\n+ Reboot,\n}\n/// Operator update that we get from the operator server duri... | Rust | Apache License 2.0 | althea-net/althea_rs | Add OperatorAction support
This adds support for the already defined operator actions ResetRouterPassword
and ResetWifiPassword. It also adds support for the new OperatorAction 'reboot'.
These are all things an operator might want to do for a client |
20,244 | 19.05.2020 20:56:11 | 14,400 | 0bf6d3cff3caa83e22d619470c5d1f160014826f | Prevent upshaper from getting stuck
Since we increase by 5% but round to the nearest mbps integer values below
20mbps are 'inescapable' meaning the upshaper will never increase them
due to the way integer rounding works.
To prevent this from happening we now test this case and increase the
speed by 1mbps increments. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/shaping.rs",
"new_path": "rita/src/rita_common/tunnel_manager/shaping.rs",
"diff": "@@ -129,7 +129,7 @@ impl Handler<ShapeMany> for TunnelManager {\n}\n// increase the value by 5% until we reach the starting value\n(Some(val... | Rust | Apache License 2.0 | althea-net/althea_rs | Prevent upshaper from getting stuck
Since we increase by 5% but round to the nearest mbps integer values below
20mbps are 'inescapable' meaning the upshaper will never increase them
due to the way integer rounding works.
To prevent this from happening we now test this case and increase the
speed by 1mbps increments. |
20,244 | 20.05.2020 08:39:02 | 14,400 | 389a709c6e004aff1af4de9e2bdf43b94ce0d3e4 | Add sysctl dependency for tests
New version of debian changed the default install set | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/container/Dockerfile",
"new_path": "integration-tests/container/Dockerfile",
"diff": "FROM postgres\nRUN echo \"deb http://deb.debian.org/debian/ unstable main\" > /etc/apt/sources.list.d/unstable.list\nRUN printf 'Package: *\\nPin: release a... | Rust | Apache License 2.0 | althea-net/althea_rs | Add sysctl dependency for tests
New version of debian changed the default install set |
20,244 | 20.05.2020 14:38:38 | 14,400 | 6c7f769b3c528ca2f43f21dd85cb4977c0ee3ad5 | Add human readable version to rita --version | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -55,6 +55,7 @@ mod rita_common;\nuse crate::rita_client::enable_remote_logging;\nuse crate::rita_client::rita_loop::check_rita_client_actors;\nuse crate::rita_client::rita_loop::start_rita_clie... | Rust | Apache License 2.0 | althea-net/althea_rs | Add human readable version to rita --version |
20,244 | 20.05.2020 14:39:28 | 14,400 | 20b57979c379f1a7f83d1fb26d6de7a57af6d65f | Bump for Beta 14 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2676,7 +2676,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.48\"\n+version = \"0.5.49\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC3 |
20,244 | 20.05.2020 15:47:32 | 14,400 | 487c1307387abb3b768f3a271ed86faf489de59f | Add dashboard debugging feature
Makes it easier to disable cors | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -6,6 +6,7 @@ edition = \"2018\"\n[features]\ndevelopment = [\"rita/development\"]\n+dash_debug = [\"rita/dash_debug\"]\nserver = [\"rita/server\"]\nbundle_openssl = [\"rita/bundle_openssl\"]\njemalloc = [\"rit... | Rust | Apache License 2.0 | althea-net/althea_rs | Add dashboard debugging feature
Makes it easier to disable cors |
20,244 | 20.05.2020 19:25:46 | 14,400 | b2995e8d025813fda83db020d7af5de921342ae2 | Operator debt endpoint
This is used by the frontend to determine what amount is owed to the
operator. This is then added to the debt and paid to the user to explain
where their money goes on deposit | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -293,6 +293,7 @@ fn start_client_dashboard() {\n.route(\"/operator\", Method::POST, change_operator)\n.route(\"/operator/remove\", Method::POST, remove_operator)\n.route(\"/operator_fee\", Meth... | Rust | Apache License 2.0 | althea-net/althea_rs | Operator debt endpoint
This is used by the frontend to determine what amount is owed to the
operator. This is then added to the debt and paid to the user to explain
where their money goes on deposit |
20,244 | 20.05.2020 19:36:03 | 14,400 | d842381bc7038b9f248a8a4008b1cfdb8caa199a | Remove DAO settings
This is now completely phased out and can be removed | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -201,26 +201,6 @@ fn wait_for_settings(settings_file: &str) -> RitaSettingsStruct {\n}\nfn main() {\n- // Remove in Beta 14, migrates settings from the old dao structure to\n- // the operator s... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove DAO settings
This is now completely phased out and can be removed |
20,244 | 26.05.2020 08:04:32 | 14,400 | e04a16ec030699c7dadeee83d2f01d53245f8fc4 | Clean up some interop doc comments | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -306,12 +306,15 @@ impl Message for LocalIdentity {\n#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone, Copy)]\npub struct LightClientLocalIdentity {\npub wg_... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up some interop doc comments |
20,244 | 26.05.2020 09:15:36 | 14,400 | 1967348569d306afc452a77b2112dae7ed820ff2 | Add installation details
This adds the installation details struct, an object that represents
info about this routers installation. This is stored in the operator
settings until it can be uploaded to the operator tools | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -188,7 +188,9 @@ dependencies = [\n\"clarity\",\n\"failure\",\n\"hex\",\n+ \"lettre\",\n\"num256\",\n+ \"phonenumber\",\n\"serde 1.0.110\",\n\"serde_derive\",\n\"serde_json\",\n@@ -3008,6 +3010,7 @@ dependenci... | Rust | Apache License 2.0 | althea-net/althea_rs | Add installation details
This adds the installation details struct, an object that represents
info about this routers installation. This is stored in the operator
settings until it can be uploaded to the operator tools |
20,244 | 26.05.2020 10:08:15 | 14,400 | 97e2ac6dcea1f340ffdad89210879f4e5ee1c220 | Remove mesh_ip endpoint
Now that we're off the SubnetDAO path I don't see any reason for
this to exist | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -306,7 +306,6 @@ fn start_client_dashboard() {\n.route(\"/eth_private_key\", Method::GET, get_eth_private_key)\n.route(\"/eth_private_key\", Method::POST, set_eth_private_key)\n.route(\"/mesh_i... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove mesh_ip endpoint
Now that we're off the SubnetDAO path I don't see any reason for
this to exist |
20,244 | 26.05.2020 10:25:48 | 14,400 | 0bf558c270e1da3e9d76089e7564bfeb47ae3cc5 | Remove set eth_private_key endpoint
This isn't useful since it screws with exit registration. No one
can actually use it without causing more trouble than it's worth. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -304,7 +304,6 @@ fn start_client_dashboard() {\nwlan_lightclient_set,\n)\n.route(\"/eth_private_key\", Method::GET, get_eth_private_key)\n- .route(\"/eth_private_key\", Method::POST, set_eth_pr... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove set eth_private_key endpoint
This isn't useful since it screws with exit registration. No one
can actually use it without causing more trouble than it's worth. |
20,244 | 26.05.2020 10:26:32 | 14,400 | e746d1d6c0151c8cdaa282c1986ea19ecb68b698 | Clean up comments in blockchain oracle | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/blockchain_oracle/mod.rs",
"new_path": "rita/src/rita_common/blockchain_oracle/mod.rs",
"diff": "-//! This module is dedicated to updating local state with various pieces of infromation\n-//! relating to the blockchain being used. First an... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up comments in blockchain oracle |
20,244 | 26.05.2020 20:24:37 | 14,400 | 923d03c501e564554536c976e7d388717cc1b127 | Migrate old reg_details
It's bit too soon to go deleting the old reg_details field, so I've
restored it here and added a migrate routine. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -624,6 +624,68 @@ pub enum ContactType {\n},\n}\n+impl ContactType {\n+ pub fn convert(old: ExitRegistrationDetails) -> Option<Self> {\n+ match old {\n+ ExitRegistrationDetail... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrate old reg_details
It's bit too soon to go deleting the old reg_details field, so I've
restored it here and added a migrate routine. |
20,244 | 27.05.2020 06:57:00 | 14,400 | 03194463196cff1dfe1331b46ec54c6415764616 | Add get_last_handshake_time() utility function
This is going to be useful for locating stale tunnels
and removing them with some level of certainty that they
are not being used | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/setup_wg_if.rs",
"new_path": "althea_kernel_interface/src/setup_wg_if.rs",
"diff": "@@ -79,6 +79,28 @@ impl dyn KernelInterface {\n}\nOk(num)\n}\n+\n+ /// Returns the last handshake time of every client on this tunnel.\n+ pub fn get... | Rust | Apache License 2.0 | althea-net/althea_rs | Add get_last_handshake_time() utility function
This is going to be useful for locating stale tunnels
and removing them with some level of certainty that they
are not being used |
20,244 | 27.05.2020 10:02:30 | 14,400 | 2d3a5a1899cc30cb5290ffd748bcec44d1fd469d | Upgrade integration tests for new exit registration endpoints
Had to modify the endpoint to take straight strings and enable
call retry by default. Which might break Travis in the future
but I figure we should be running in docker on travis as well | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -99,10 +99,6 @@ EXIT_SETTINGS = {\n},\n\"current_exit\": \"exit_a\",\n\"wg_listen_port\": 59999,\n- \"reg_details\": {\n- \"zip_cod... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade integration tests for new exit registration endpoints
Had to modify the endpoint to take straight strings and enable
call retry by default. Which might break Travis in the future
but I figure we should be running in docker on travis as well |
20,244 | 27.05.2020 11:40:21 | 14,400 | d5ce133c722d3805e0500475c459618bb7497d13 | Fix clippy nit with tunnel gc
I tested that rust does not run b in a statment like a || b
if a is true for any opt level. This means it's safe for to
use this logic and avoid running a shell out command for every
tunnel when tunnel gc runs. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -498,9 +498,9 @@ impl Handler<TriggerGC> for TunnelManager {\n// checker issues, we should consider a method that does modify in place\nfor (_ide... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix clippy nit with tunnel gc
I tested that rust does not run b in a statment like a || b
if a is true for any opt level. This means it's safe for to
use this logic and avoid running a shell out command for every
tunnel when tunnel gc runs. |
20,244 | 27.05.2020 17:19:25 | 14,400 | e9325895359d7cbcadfdf7d9f8206489277ce864 | Fix typo in TunnelManager | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -636,7 +636,7 @@ impl Handler<PeersToContact> for TunnelManager {\n}\nErr(_) => {\n// Do not contact manual peers on the internet if we are not a... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix typo in TunnelManager |
20,244 | 28.05.2020 09:44:37 | 14,400 | 8ac400f4449314d4292f3eb828d1762c1a0944fa | Reduce return type complexity on client dash endpoints
In many cases Result<HttpResponse, Error> isn't needed as we only
return variants of HTTP response and don't make use of operators
like ? to handle errors.
In those cases we just present extra return type complexity to the
reader. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/contact_info.rs",
"new_path": "rita/src/rita_client/dashboard/contact_info.rs",
"diff": "//! the exit settings struct is the one true source. All the others are updated as needed and you should try to phase them out if practical.... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce return type complexity on client dash endpoints
In many cases Result<HttpResponse, Error> isn't needed as we only
return variants of HTTP response and don't make use of operators
like ? to handle errors.
In those cases we just present extra return type complexity to the
reader. |
20,244 | 28.05.2020 10:32:53 | 14,400 | d4812a294fce04ca72105e074bc739f5c285d117 | Migrate contact details only once | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -208,10 +208,14 @@ fn main() {\nlet mut exit_client = SETTING.get_exit_client_mut();\nlet reg_details = exit_client.reg_details.clone();\nif let Some(reg_details) = reg_details {\n+ // only mig... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrate contact details only once |
20,244 | 28.05.2020 10:33:07 | 14,400 | 753bc8792d397b4a652184cf0480111c2da149cd | Don't deadlock contact info on save | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/contact_info.rs",
"new_path": "rita/src/rita_client/dashboard/contact_info.rs",
"diff": "@@ -39,6 +39,7 @@ pub fn set_phone_number(req: String) -> HttpResponse {\nNone => Some(ContactType::Phone { number }),\n};\nexit_client.cont... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't deadlock contact info on save |
20,244 | 28.05.2020 10:39:57 | 14,400 | a381480b4cab8fd2ce14bf37266190a0c6a7cd43 | Don't return PhoneNumber type from the localization endpoint
The validated struct is great to work with in Rust, not so much
in Javascript. So we should return just the string format. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "use crate::SETTING;\n-use actix_web::{HttpRequest, HttpResponse, Result};\n-use failure::Error;\n-use settings::RitaCommonSettings;\n+use ac... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't return PhoneNumber type from the localization endpoint
The validated struct is great to work with in Rust, not so much
in Javascript. So we should return just the string format. |
20,244 | 28.05.2020 12:05:20 | 14,400 | 77a46506c19ecaafeafc7c90b3f3b91b1d658d4b | No Wyre preface message
Can't figure out how to make this look good, so it goes for now | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -8,7 +8,6 @@ use settings::{localization::LocalizationSettings, RitaCommonSettings};\npub struct LocalizationReturn {\npub wyre_enabled: ... | Rust | Apache License 2.0 | althea-net/althea_rs | No Wyre preface message
Can't figure out how to make this look good, so it goes for now |
20,244 | 28.05.2020 16:37:33 | 14,400 | 511490d6a25643a882116e4d652591ed12bc596f | Display operator setup
This is a super simple backend toggle that makes sure that when we
dismiss the operator setup it goes away for good. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -413,6 +413,12 @@ fn start_client_dashboard() {\nMethod::GET,\nget_installation_details,\n)\n+ .route(\n+ \"/operator_setup/{enabled}\",\n+ Method::POST,\n+ set_display_operator_setup,\n+ )\n+ ... | Rust | Apache License 2.0 | althea-net/althea_rs | Display operator setup
This is a super simple backend toggle that makes sure that when we
dismiss the operator setup it goes away for good. |
20,244 | 29.05.2020 09:03:15 | 14,400 | d55caead020484def5f10ff8bdc87402d13197c7 | Finish up installer details collection
This contains all the final tweaks for installer details collection to
work properly. Including better parsing logic and testing and actually
submitting these details to the operator tools dashboard. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -117,7 +117,7 @@ impl Display for SystemChain {\nimpl Default for SystemChain {\nfn default() -> SystemChain {\n- SystemChain::Ethereum\n+ SystemChain::Xdai\n}\n}\n@@ -489,6 +... | Rust | Apache License 2.0 | althea-net/althea_rs | Finish up installer details collection
This contains all the final tweaks for installer details collection to
work properly. Including better parsing logic and testing and actually
submitting these details to the operator tools dashboard. |
20,244 | 29.05.2020 09:19:40 | 14,400 | eda020788dc64d1666318a6bbd38c64751c00a67 | Bump for Beta 14 RC4 | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.toml",
"new_path": "rita/Cargo.toml",
"diff": "[package]\nname = \"rita\"\n-version = \"0.5.49\"\n+version = \"0.5.50\"\nauthors = [\"Justin <justin@althea.net>\", \"Jehan <jehan.tremback@gmail.com>\", \"Ben <wangben3@gmail.com>\"]\nbuild = \"build.... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC4 |
20,244 | 29.05.2020 14:59:57 | 14,400 | f9da202e461540aa83064eb1073fc4c8dc3a0830 | Add username to Installation details | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -574,6 +574,8 @@ pub struct NeighborStatus {\n/// question is if we want to delete it or manage it somehow.\n#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]\npu... | Rust | Apache License 2.0 | althea-net/althea_rs | Add username to Installation details |
20,244 | 29.05.2020 15:12:05 | 14,400 | 8be0bab8a6924b2a8467a5d49ef9688d38c29272 | Upgrade Bytes and Handlebars, remove exits url sync
Decided it was worth the crate update over a feature that's not used | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1230,27 +1230,16 @@ dependencies = [\n[[package]]\nname = \"handlebars\"\n-version = \"2.0.4\"\n+version = \"3.0.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"af92141a... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade Bytes and Handlebars, remove exits url sync
Decided it was worth the crate update over a feature that's not used |
20,244 | 29.05.2020 15:13:29 | 14,400 | 9e12ff0c347ce8c4303c993ea6ac6ec5c37ce489 | Upgrade base64 dep | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -182,7 +182,7 @@ dependencies = [\n\"actix\",\n\"arrayvec 0.5.1\",\n\"babel_monitor\",\n- \"base64 0.11.0\",\n+ \"base64 0.12.1\",\n\"clarity\",\n\"failure\",\n\"hex\",\n@@ -389,6 +389,12 @@ version = \"0.11.0... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade base64 dep |
20,244 | 01.06.2020 18:00:26 | 14,400 | b0adbe40db3022bf8d421bee5789324102031aaa | Don't display operator setup forum on upgrade | [
{
"change_type": "MODIFY",
"old_path": "settings/src/operator.rs",
"new_path": "settings/src/operator.rs",
"diff": "@@ -20,8 +20,14 @@ fn default_use_operator_price() -> bool {\n}\n/// If we are displaying the operator setup card on the front page or not\n+/// this is false by default but set to tru... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't display operator setup forum on upgrade |
20,244 | 01.06.2020 18:01:17 | 14,400 | 509f494e1496585ca3fbf5876b9153c9f09abf96 | Bump for Beta 14 RC5 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2672,7 +2672,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.50\"\n+version = \"0.5.51\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC5 |
20,244 | 03.06.2020 15:03:30 | 14,400 | c316ab27bd13e70b41f6b7b961a31437277fbaed | Don't pass available memory as allocated memory
Stupid error here. Forgot to convert from free memory into
allocated memory. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "@@ -25,6 +25,10 @@ pub fn get_hardware_info(device_name: Option<String>) -> Result<HardwareInfo, Er\nOk(readings) => Some(readings),\nErr(_e) =>... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't pass available memory as allocated memory
Stupid error here. Forgot to convert from free memory into
allocated memory. |
20,244 | 04.06.2020 13:45:25 | 14,400 | d08207b557bddd2a534decb159c5ec68f71dca33 | Remove auto_register
It's abandoned and not actually used to do anything | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -157,9 +157,6 @@ pub enum ExitState {\nGotInfo {\ngeneral_details: ExitDetails,\nmessage: String,\n-\n- #[serde(default)]\n- auto_register: bool,\n},\nRegistering {\ngeneral_d... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove auto_register
It's abandoned and not actually used to do anything |
20,244 | 04.06.2020 13:47:33 | 14,400 | 98b42cef4ba375f183c7c10400509f584b606a49 | Allow New -> Registered Client Exit state transition | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -242,13 +242,6 @@ fn exit_general_details_request(exit: String) -> impl Future<Item = (), Error =\nNone => bail!(\"Could not find exit {}\", exit),\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Allow New -> Registered Client Exit state transition |
20,244 | 04.06.2020 17:28:22 | 14,400 | da84b0dc2110e5cbbc6391c737b251d8047f3b6b | Add from_str for OperatorAction | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -375,6 +375,23 @@ pub enum OperatorAction {\nReboot,\n}\n+impl FromStr for OperatorAction {\n+ type Err = Error;\n+ fn from_str(s: &str) -> Result<OperatorAction, Error> {\n+ ... | Rust | Apache License 2.0 | althea-net/althea_rs | Add from_str for OperatorAction |
20,244 | 05.06.2020 08:46:26 | 14,400 | 94eaae6a2410e73d918c8b3c8849b5780f935313 | Add upgrade path todo in Rita exit | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -132,6 +132,10 @@ pub fn get_client(\nlet filtered_list = clients\n.filter(mesh_ip.eq(ip.to_string()))\n.filter(wg_pubkey.eq(wg.to_string()... | Rust | Apache License 2.0 | althea-net/althea_rs | Add upgrade path todo in Rita exit |
20,244 | 05.06.2020 10:53:57 | 14,400 | f0271e31f36e9a3efabbe2c9db10d50af8fe10c7 | Print support number in national format
If people are having such trouble with international numbers
for Wyre then I would presume they would have similar trouble with
calling an international number for help | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "use crate::SETTING;\nuse actix_web::{HttpRequest, Json};\n+use phonenumber::Mode;\nuse settings::{localization::LocalizationSettings, RitaCo... | Rust | Apache License 2.0 | althea-net/althea_rs | Print support number in national format
If people are having such trouble with international numbers
for Wyre then I would presume they would have similar trouble with
calling an international number for help |
20,244 | 05.06.2020 10:55:33 | 14,400 | 745094ccc95fe531c10edbe8307d1e3343f9d2b0 | Bump for Beta 14 RC6 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2672,7 +2672,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.51\"\n+version = \"0.5.52\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC6 |
20,244 | 05.06.2020 13:39:58 | 14,400 | 8816c7276f21590bfefd33caac65f30c6a88187c | Remove unneeded braces
new version of rust has deemed these as un-needed | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -172,7 +172,7 @@ lazy_static! {\n#[cfg(test)]\nlazy_static! {\npub static ref SETTING: Arc<RwLock<RitaSettingsStruct>> =\n- { Arc::new(RwLock::new(RitaSettingsStruct::default())) };\n+ Arc::new... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove unneeded braces
new version of rust has deemed these as un-needed |
20,244 | 05.06.2020 14:18:08 | 14,400 | 7fd4196238e9ae955f409c01d56c06ca62c57849 | Add phone network port toggling
This allows users to attach phone network extenders using the normal port
toggling interface.
These extenders must be configured in bridge mode so that they simply pass
traffic to the phone client network bridge. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -21,17 +21,36 @@ pub struct InterfaceToSet {\n#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, Copy)]\npub enum InterfaceMode {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Add phone network port toggling
This allows users to attach phone network extenders using the normal port
toggling interface.
These extenders must be configured in bridge mode so that they simply pass
traffic to the phone client network bridge. |
20,244 | 07.06.2020 16:52:09 | 14,400 | 253822c951a08b8e2555868d17fb1281ecf99673 | Disable operator info when we detect an old dashboard edge case | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -203,7 +203,9 @@ fn wait_for_settings(settings_file: &str) -> RitaSettingsStruct {\n}\n}\n-pub fn migrate_contact_info() {\n+/// Migrates from the old contact details structure to the new one, ... | Rust | Apache License 2.0 | althea-net/althea_rs | Disable operator info when we detect an old dashboard edge case |
20,244 | 07.06.2020 17:01:02 | 14,400 | 962ac3c48d65750549d7a0957bb21c9b3d024346 | Fix Clippy nits
The borrow checker must have a new category of allowed borrows in this
version of Rust. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "@@ -41,7 +41,7 @@ impl dyn KernelInterface {\nargs.push(\"persistent-keepalive\".into());\nargs.push(\"5\".into());\n- client_pubkeys.... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix Clippy nits
The borrow checker must have a new category of allowed borrows in this
version of Rust. |
20,244 | 07.06.2020 17:37:48 | 14,400 | c45518def25cb5eb846b72ab13da4ae440e0d857 | Bump for Beta 14 RC7 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2672,7 +2672,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.52\"\n+version = \"0.5.53\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC7 |
20,244 | 08.06.2020 16:12:19 | 14,400 | 74b4e982f72b2e77b3d8b11c13dfc0f2989cb40d | Make minimum to deposit remotely configurable
The minimum has become too low and I don't want to end up in the situation
of having to roll out an update to fix it again. Also modified here is a
small randomization in rescue dai to fight issues we've been having with
duplicate tx imports | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -66,7 +66,8 @@ use futures01::future;\nuse futures01::future::Future;\nuse num256::Uint256;\nuse num_traits::identities::Zero;\n-use settings::RitaCo... | Rust | Apache License 2.0 | althea-net/althea_rs | Make minimum to deposit remotely configurable
The minimum has become too low and I don't want to end up in the situation
of having to roll out an update to fix it again. Also modified here is a
small randomization in rescue dai to fight issues we've been having with
duplicate tx imports |
20,244 | 08.06.2020 16:15:12 | 14,400 | b73528afcfdb98a4ab32fd00d7fb96011e8be352 | Bump for Beta 14 RC8 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2672,7 +2672,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.53\"\n+version = \"0.5.54\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC8 |
20,244 | 09.06.2020 09:35:55 | 14,400 | 03661ef6f40084da448d2f0c39cbffa93cba515b | Further expand contact type conversions
Hopefully we're finally done adding boilerplate conversions here | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/contact_info.rs",
"new_path": "althea_types/src/contact_info.rs",
"diff": "@@ -15,6 +15,59 @@ pub struct ContactDetails {\npub email: Option<String>,\n}\n+impl From<ContactType> for ContactDetails {\n+ fn from(val: ContactType) -> Self {\n+ ma... | Rust | Apache License 2.0 | althea-net/althea_rs | Further expand contact type conversions
Hopefully we're finally done adding boilerplate conversions here |
20,244 | 10.06.2020 10:14:34 | 14,400 | af0c026a0eac894e8aec6290aee928e1fdd1b3cd | Migrate auto_bridge into althea_rs
It's more trouble to maintain this as a seperate repo so I'm going
to move it on in. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -291,7 +291,6 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\nversion = \"0.1.5\"\n-source = \"git+https://github.com/althea-net/auto_bridge?tag=v0.1.5#995f9cea1d7bdcb395a4cd0a8c02d82b8b883824\"\ndep... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrate auto_bridge into althea_rs
It's more trouble to maintain this as a seperate repo so I'm going
to move it on in. |
20,244 | 12.06.2020 09:41:28 | 14,400 | acd9ff1974fc2a21c2c7de9c4fa682859e40db78 | Improve comments for shaping | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -78,7 +78,7 @@ impl RunningLatencyStats {\n// much sense from a stats perspective but here's why it works. Often\n// when links start you get a lot of transient bad stat... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve comments for shaping |
20,244 | 12.06.2020 11:23:08 | 14,400 | 30f132e8d16e0a1602f2015a3b824bf07b9b1588 | Force on logging when an operator address is configured
Previously behaivor here was inconsistent, we should make sure that
we checked in over the tcp checkin endpoint but did not send heartbeats
or reach out for antenna forwarder features | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -227,7 +227,13 @@ fn main() {\n// do TLS stuff.\nopenssl_probe::init_ssl_cert_env_vars();\n- if !SETTING.get_log().enabled || env_vars_contains(\"NO_REMOTE_LOG\") {\n+ // we should remove log i... | Rust | Apache License 2.0 | althea-net/althea_rs | Force on logging when an operator address is configured
Previously behaivor here was inconsistent, we should make sure that
we checked in over the tcp checkin endpoint but did not send heartbeats
or reach out for antenna forwarder features |
20,244 | 12.06.2020 20:07:02 | 14,400 | 02f0e3201c95c622955211662084d9a1c3c65f67 | Use saturating add for network monitoring | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -54,7 +54,10 @@ impl RunningLatencyStats {\n}\n}\npub fn add_sample(&mut self, sample: f32) {\n- self.count += 1;\n+ match self.count.checked_add(1) {\n+ Some(val) => se... | Rust | Apache License 2.0 | althea-net/althea_rs | Use saturating add for network monitoring |
20,244 | 12.06.2020 20:31:56 | 14,400 | a918ed9c626ea031796d061645f318e75a838770 | Cleanup autobridge
Cleans up redundant clones and fixes the tests not to run by default
since they take a significant amount of wall clock time and actual
money | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/src/lib.rs",
"new_path": "auto_bridge/src/lib.rs",
"diff": "@@ -29,6 +29,7 @@ pub struct TokenBridge {\n}\nimpl TokenBridge {\n+ #[allow(clippy::too_many_arguments)]\npub fn new(\nuniswap_address: Address,\nxdai_home_bridge_address: Address,\n@@ -5... | Rust | Apache License 2.0 | althea-net/althea_rs | Cleanup autobridge
Cleans up redundant clones and fixes the tests not to run by default
since they take a significant amount of wall clock time and actual
money |
20,244 | 14.06.2020 12:05:17 | 14,400 | e10469eb993b2e3fb67c553a7e0bbd5da9fe6ff4 | Antennna forwarding on all interfaces except lan
we have to exclude lan for privacy reasons, but the other interfaces
should be fair game for the forwarder | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/rita_loop/mod.rs",
"new_path": "rita/src/rita_client/rita_loop/mod.rs",
"diff": "//! This loop manages exit signup based on the settings configuration state and deploys an exit vpn\n//! tunnel if the signup was successful on the selected e... | Rust | Apache License 2.0 | althea-net/althea_rs | Antennna forwarding on all interfaces except lan
we have to exclude lan for privacy reasons, but the other interfaces
should be fair game for the forwarder |
20,244 | 14.06.2020 12:06:57 | 14,400 | 68cda2d1ebf415aac05f72a2fe7d4f139b95e0b1 | Bump for Beta 14 RC9 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2671,7 +2671,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.54\"\n+version = \"0.5.55\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC9 |
20,244 | 14.06.2020 20:09:13 | 14,400 | 234160bc0589531011fa1c1e4f3e281968a52db5 | Wait longer for very slow antenna messages
We've found some production situations where the one minute timeout
is insufficient. | [
{
"change_type": "MODIFY",
"old_path": "antenna_forwarding_protocol/src/lib.rs",
"new_path": "antenna_forwarding_protocol/src/lib.rs",
"diff": "@@ -174,7 +174,7 @@ pub fn process_streams<S: ::std::hash::BuildHasher>(\nlet mut streams_to_remove: Vec<u64> = Vec::new();\n// First we we have to iterate ... | Rust | Apache License 2.0 | althea-net/althea_rs | Wait longer for very slow antenna messages
We've found some production situations where the one minute timeout
is insufficient. |
20,244 | 14.06.2020 20:35:03 | 14,400 | a93c3d7f2a6638fa13adc123de8105281e45f7ae | Fix default for packetloss stats | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -139,7 +139,7 @@ impl RunningLatencyStats {\n/// more data processing to get correct values. 'Reach' is a 16 second bitvector of hello/IHU\n/// outcomes, but we're sampl... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix default for packetloss stats |
20,244 | 15.06.2020 10:11:34 | 14,400 | 122b1a43037514c4f9f5fbaa54a8400ab4107e49 | Add get_lowest() to RunningLatencyStats | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -133,6 +133,9 @@ impl RunningLatencyStats {\npub fn samples(&self) -> u32 {\nself.count\n}\n+ pub fn get_lowest(&self) -> Option<f32> {\n+ self.lowest\n+ }\n}\n/// Due t... | Rust | Apache License 2.0 | althea-net/althea_rs | Add get_lowest() to RunningLatencyStats |
20,244 | 15.06.2020 10:12:09 | 14,400 | 1f4e36e706e95d5030b688d9410980e2b92c946e | Fix spelling in client.rs | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "//! This is the main source file for the Rita client binary, by 'client' we mean 'not an exit server'\n-//! all meshing and billing functionaltiy is contained in `rita_common` and is common to bot... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix spelling in client.rs |
20,244 | 16.06.2020 09:37:41 | 14,400 | aa81511538294a1904f98775b8c4ce8e43f8c06b | Handle lowest latency zero in running latency stats
obviously latency can't actually be zero, so a zero here is ridiculous | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -65,7 +65,9 @@ impl RunningLatencyStats {\nself.last_value = Some(sample);\nmatch self.lowest {\nSome(lowest) => {\n- if sample < lowest {\n+ // fix for bad \"default\" ... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle lowest latency zero in running latency stats
obviously latency can't actually be zero, so a zero here is ridiculous |
20,244 | 16.06.2020 20:56:22 | 14,400 | 99c72b91a05bab9b55cbb344b8059d2b0a84ca9c | Update install details to be wyre compatible
We now collect install and billing details as seperate structs this
makes it easier to send just billing details to the operator tools for a
WyreReservationRequest. We also parse and validate more detailed address
info as required by Wyre and likley any other payment partner... | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "use crate::{\ncontact_info::{ContactDetails, ContactType},\nwg_key::WgKey,\n+ BillingDetails, InstallationDetails,\n};\nuse arrayvec::ArrayString;\nuse babel_monitor::Neighbor;\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Update install details to be wyre compatible
We now collect install and billing details as seperate structs this
makes it easier to send just billing details to the operator tools for a
WyreReservationRequest. We also parse and validate more detailed address
info as required by Wyre and likley any other payment partne... |
20,244 | 17.06.2020 15:47:58 | 14,400 | 940751d161fc5a8728a2c3caf28229b9ceb1f5cd | Add median to RunningLatencyStats
Adds median collection to RunningLatencyStats, does not do anything
with the computed values by default yet. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -189,6 +189,7 @@ dependencies = [\n\"lettre\",\n\"num256\",\n\"phonenumber\",\n+ \"rand 0.4.6\",\n\"serde 1.0.110\",\n\"serde_derive\",\n\"serde_json\",\n"
},
{
"change_type": "MODIFY",
"old_path":... | Rust | Apache License 2.0 | althea-net/althea_rs | Add median to RunningLatencyStats
Adds median collection to RunningLatencyStats, does not do anything
with the computed values by default yet. |
20,244 | 18.06.2020 09:24:08 | 14,400 | bd4d39a7995c4027a364703a88d9fdba9ef8bfef | WIP: Wyre reservation endpoint | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -486,7 +486,7 @@ fn default_shaper_settings() -> ShaperSettings {\npub struct OperatorCheckinMessage {\npub id: Identity,\npub operator_address: Option<Address>,\n- /// we inc... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP: Wyre reservation endpoint |
20,244 | 18.06.2020 21:32:48 | 14,400 | 826726c45c75055fb384caa0c6a8279b8779db0c | Better logging on exit tunnel change
Finding some long running bugs here, need better messages | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -424,7 +424,7 @@ impl Handler<Tick> for ExitManager {\nmatch (signed_up_for_exit, exit_has_changed, correct_default_route) {\n(true, true, _) => {\n-... | Rust | Apache License 2.0 | althea-net/althea_rs | Better logging on exit tunnel change
Finding some long running bugs here, need better messages |
20,244 | 18.06.2020 21:35:37 | 14,400 | 4de2d702c2714096345a8153c2ab1eac8640f8b0 | Better logging for the exit signup process
This isn't run often enough for trace to be a significant savings
in logging storage and the exact debugging details are useful | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/mod.rs",
"new_path": "rita/src/rita_exit/database/mod.rs",
"diff": "@@ -110,15 +110,15 @@ pub fn secs_since_unix_epoch() -> i64 {\n/// on their registration ip to make sure that they are coming from a valid gateway\n/// ip and then ... | Rust | Apache License 2.0 | althea-net/althea_rs | Better logging for the exit signup process
This isn't run often enough for trace to be a significant savings
in logging storage and the exact debugging details are useful |
20,244 | 19.06.2020 09:40:59 | 14,400 | e8950bffb5fb57c28cb9d6f8db0530d5f87946db | Allow geoip restricted exits to register directly attached clients | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/utils/ip_increment.rs",
"new_path": "rita/src/rita_common/utils/ip_increment.rs",
"diff": "@@ -67,6 +67,20 @@ pub fn increment(address: IpAddr, netmask: u8) -> Result<IpAddr, Error> {\n}\n}\n+/// Lifted directly from https://doc.rust-lang.... | Rust | Apache License 2.0 | althea-net/althea_rs | Allow geoip restricted exits to register directly attached clients |
20,244 | 22.06.2020 21:57:44 | 14,400 | 0d1ee0589edfb1741426eb36bcdaeb6f84a2c6f5 | Bump for Beta 14 RC10 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2672,7 +2672,7 @@ dependencies = [\n[[package]]\nname = \"rita\"\n-version = \"0.5.55\"\n+version = \"0.5.56\"\ndependencies = [\n\"actix\",\n\"actix-web\",\n"
},
{
"change_type": "MODIFY",
"old_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 14 RC10 |
20,244 | 23.06.2020 08:00:40 | 14,400 | 0d0625f1c52574a7861d1bddfede709ba6d0f5ba | Default for new RunningLatencyStats fields
Required to migrate the operator tools database | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/monitoring.rs",
"new_path": "althea_types/src/monitoring.rs",
"diff": "@@ -29,8 +29,10 @@ pub struct RunningLatencyStats {\n#[serde(skip_serializing, skip_deserializing)]\nlast_changed: Option<Instant>,\n/// the front of the latency history ri... | Rust | Apache License 2.0 | althea-net/althea_rs | Default for new RunningLatencyStats fields
Required to migrate the operator tools database |
20,244 | 23.06.2020 14:52:03 | 14,400 | 63d58f8237ee0f9994de6ed9959dfd6aae349023 | Add settings flag for new wyre flow
Turns out wyre isn't ready for people to actually use their
'soon to be mandatory' new flow. So I've made it remotely configurable | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/localization.rs",
"new_path": "rita/src/rita_client/dashboard/localization.rs",
"diff": "@@ -21,6 +21,7 @@ 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 | Add settings flag for new wyre flow
Turns out wyre isn't ready for people to actually use their
'soon to be mandatory' new flow. So I've made it remotely configurable |
20,244 | 02.07.2020 11:07:44 | 14,400 | 652f70c79d3b9f2ca4be36d1082d2ef5fe223d45 | Add interfaces parsing for Babel | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -98,6 +98,14 @@ where\n}\n}\n+#[derive(Debug, Clone, Serialize, Deserialize)]\n+pub struct Interface {\n+ pub name: String,\n+ pub up: bool,\n+ pub ipv6: Option<IpAddr>,\n+ pub ipv4... | Rust | Apache License 2.0 | althea-net/althea_rs | Add interfaces parsing for Babel |
20,244 | 02.07.2020 11:37:02 | 14,400 | b29a92a5ba9af66805324f8b5c52dc81fe2ee279 | Break out TunnelManager GC into it's own file
Trying to slowly break down this monolithic file | [
{
"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": "@@ -2,7 +2,8 @@ use crate::rita_common::simulated_txfee_manager::SimulatedTxFeeManager;\nuse crate::rita_common::simulated_txfee_manager::Tick as ... | Rust | Apache License 2.0 | althea-net/althea_rs | Break out TunnelManager GC into it's own file
Trying to slowly break down this monolithic file |
20,244 | 02.07.2020 14:24:22 | 14,400 | 3b1baecab407e61107c14ee04f0c5c98f86b5a0a | Remove tunnels babel marks as down
This adds a new tunnel GC condition. If babel has marked the tunnel
as down, we should garbage collect it during our normal GC runs in
the ideal case this will result in the tunnel being recreated right
away | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -284,7 +284,7 @@ fn validate_preamble(preamble: String) -> Result<(), Error> {\n}\n}\n-pub fn get_interfaces(\n+pub fn parse_interfaces(\nstream: TcpStream,\n) -> impl Future<Item =... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove tunnels babel marks as down
This adds a new tunnel GC condition. If babel has marked the tunnel
as down, we should garbage collect it during our normal GC runs in
the ideal case this will result in the tunnel being recreated right
away |
20,244 | 18.07.2020 10:50:26 | 14,400 | aa88c093e5cb503efca5cab59c23e6faf1dad157 | B side of Beta 15 phased changes
This completes several struct migrations started in Beta 14 that are
no longer needed now that everyone is updated | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/contact_info.rs",
"new_path": "althea_types/src/contact_info.rs",
"diff": "@@ -7,8 +7,7 @@ use crate::ExitRegistrationDetails;\nuse lettre::EmailAddress;\nuse phonenumber::PhoneNumber;\n-/// Struct for storing user contact details, being phase... | Rust | Apache License 2.0 | althea-net/althea_rs | B side of Beta 15 phased changes
This completes several struct migrations started in Beta 14 that are
no longer needed now that everyone is updated |
20,244 | 21.07.2020 11:04:06 | 14,400 | 09f93fe4a349547a9c4f0bfbef14748a7ad13de9 | Async auto-bridge
This moves the auto-bridge library to async/await. Still requires testing | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/Cargo.toml",
"new_path": "auto_bridge/Cargo.toml",
"diff": "[package]\nname = \"auto-bridge\"\nversion = \"0.1.5\"\n-authors = [\"Jehan <jehan.tremback@gmail.com>\"]\n+authors = [\"Jehan <jehan.tremback@gmail.com>, Justin <justin@althea.net>\"]\ned... | Rust | Apache License 2.0 | althea-net/althea_rs | Async auto-bridge
This moves the auto-bridge library to async/await. Still requires testing |
20,244 | 21.07.2020 13:39:14 | 14,400 | 55c6b0785e1f4332cd6fbb2910dacbc987ea4839 | Remove withdraw_eth endpoint
The withdraw_eth endpoint was not actually being called by the dashboard
or anywhere as far as I'm aware. The supported way to withrdaw all your
eth is to use the withdraw_all endpoint, which cleans up the eth on it's
way out leaving both the xdai and eth addresses empty. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -342,11 +342,6 @@ fn start_client_dashboard() {\n.route(\"/wifi_settings\", Method::GET, get_wifi_config)\n.route(\"/withdraw/{address}/{amount}\", Method::POST, withdraw)\n.route(\"/withdraw_a... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove withdraw_eth endpoint
The withdraw_eth endpoint was not actually being called by the dashboard
or anywhere as far as I'm aware. The supported way to withrdaw all your
eth is to use the withdraw_all endpoint, which cleans up the eth on it's
way out leaving both the xdai and eth addresses empty. |
20,244 | 22.07.2020 09:15:30 | 14,400 | 5b4f9fe4f554f4f7e14511c24d142415227f30d3 | Convert simulated txfee to Async/Await
This converts the simulated txfee module to async/await and also
updates the various external referneces to use locked ref getters
and setters | [
{
"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": "use crate::rita_common::payment_controller::TRANSACTION_SUBMISSON_TIMEOUT;\nuse crate::rita_common::rita_loop::get_web3_server;\n-use cr... | Rust | Apache License 2.0 | althea-net/althea_rs | Convert simulated txfee to Async/Await
This converts the simulated txfee module to async/await and also
updates the various external referneces to use locked ref getters
and setters |
20,244 | 22.07.2020 13:00:46 | 14,400 | 7655a07890cb4f28b945bbc98b81f0bb50029599 | Use OpenSSL instead of RustTLS
Ring still doesn't work on mips | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -379,7 +379,6 @@ dependencies = [\n\"openssl\",\n\"pin-project\",\n\"regex\",\n- \"rustls\",\n\"serde 1.0.110\",\n\"serde_json\",\n\"serde_urlencoded 0.6.1\",\n@@ -3223,21 +3222,6 @@ dependencies = [\n\"quick-... | Rust | Apache License 2.0 | althea-net/althea_rs | Use OpenSSL instead of RustTLS
Ring still doesn't work on mips |
20,244 | 22.07.2020 13:01:18 | 14,400 | 3eaaefee5ee2b8dad6a5db45af3981d43301b392 | don't log every failed attempt to find a babel val | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -78,7 +78,7 @@ fn find_babel_val(val: &str, line: &str) -> Result<String, Error> {\n}\n}\n}\n- warn!(\"find_babel_val warn! Can not find {} in {}\", val, line);\n+ trace!(\"find_bab... | Rust | Apache License 2.0 | althea-net/althea_rs | don't log every failed attempt to find a babel val |
20,244 | 22.07.2020 19:19:58 | 14,400 | dbdb58333bf0ec7cb4da1c2664aa8dffd807e40a | Simplify token bridge state machine
The token bridge state machine doesn't require much of it's old structure
as it's now impossible for multiple instances futures to be running at once | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "//! State::Ready:\n//! If there is a Dai balance, send it thru the bridge into xdai (this rescues stuck funds in Dai)\n//!\n-//! Change to State::Deposi... | Rust | Apache License 2.0 | althea-net/althea_rs | Simplify token bridge state machine
The token bridge state machine doesn't require much of it's old structure
as it's now impossible for multiple instances futures to be running at once |
20,244 | 22.07.2020 19:30:54 | 14,400 | bc14f705c28cc695148f4749a6d070b26b8d8490 | Retry WithdrawRequest for the same amount of time as a withdraw | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -389,7 +389,7 @@ async fn xdai_bridge(state: State) -> State {\nState::WithdrawRequest {\nto,\namount,\n- timestamp: _timestamp,\n+ timestamp,\nwithd... | Rust | Apache License 2.0 | althea-net/althea_rs | Retry WithdrawRequest for the same amount of time as a withdraw |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.