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,248 | 24.07.2019 13:33:31 | 25,200 | 0f0a8044b20a1d0a7e39ae352caff0bdadf0ec1a | debugging logging | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -245,7 +245,7 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\nversion = \"0.1.0\"\n-source = \"git+https://github.com/althea-mesh/auto_bridge/#57e00a7d03ea55032a3cde4f5a4042b99c1fe166\"\n+source = \"... | Rust | Apache License 2.0 | althea-net/althea_rs | debugging logging |
20,244 | 24.07.2019 18:06:54 | 14,400 | 0ccaa58922f66c1db7ea558cf337dabf7c7fa7fc | Working Bridge | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -245,7 +245,7 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\nversion = \"0.1.0\"\n-source = \"git+https://github.com/althea-mesh/auto_bridge/?branch=debugging-oog#942a719c5151804b58add8e95fbbc8cf533... | Rust | Apache License 2.0 | althea-net/althea_rs | Working Bridge |
20,244 | 25.07.2019 09:33:28 | 14,400 | 3f300a58141d801f92bbbd94f59ed401cbe9cf09 | Fix potential deadlock 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": "@@ -515,6 +515,12 @@ impl Message for PeersToContact {\nimpl Handler<PeersToContact> for TunnelManager {\ntype Result = ();\nfn handle(&mut self, ms... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix potential deadlock in TunnelManager |
20,244 | 25.07.2019 10:33:33 | 14,400 | 69169dcf63eb1939163a9170a8c4f3cda29c195d | Fix gateway client logic error | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/rita_loop/mod.rs",
"new_path": "rita/src/rita_client/rita_loop/mod.rs",
"diff": "@@ -101,7 +101,7 @@ fn check_for_gateway_client_billing_corner_case() -> impl Future<Item = (), Erro\n.send(GetNeighbors)\n.timeout(CLIENT_LOOP_TIMEOUT)\n.the... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix gateway client logic error |
20,244 | 25.07.2019 17:09:37 | 14,400 | 3fe1bbfa0c048f1d461ee6f46bef6417dd45527d | Add display for SystemChain | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -2,6 +2,8 @@ use crate::wg_key::WgKey;\nuse arrayvec::ArrayString;\nuse clarity::Address;\nuse num256::Uint256;\n+use std::fmt;\n+use std::fmt::Display;\nuse std::hash::{Hash,... | Rust | Apache License 2.0 | althea-net/althea_rs | Add display for SystemChain |
20,244 | 25.07.2019 18:04:25 | 14,400 | 7d0122fe7aab35902c9c39e219327f6cc27cfd52 | Add bridged withdraws | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/wallet.rs",
"new_path": "rita/src/rita_common/dashboard/wallet.rs",
"diff": "use crate::rita_common::oracle::update_nonce;\nuse crate::rita_common::rita_loop::get_web3_server;\n+use crate::rita_common::token_bridge::TokenBridge;\... | Rust | Apache License 2.0 | althea-net/althea_rs | Add bridged withdraws |
20,244 | 25.07.2019 18:05:28 | 14,400 | ee6aff1afece77320af00494b682a07ffe34a372 | Remove approved for uniswap setting
we didn't end up using that. | [
{
"change_type": "MODIFY",
"old_path": "settings/src/payment.rs",
"new_path": "settings/src/payment.rs",
"diff": "use althea_types::SystemChain;\nuse clarity::{Address, PrivateKey};\n-use std::collections::HashMap;\nuse num256::{Int256, Uint256};\n@@ -84,9 +83,6 @@ pub struct PaymentSettings {\npub ... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove approved for uniswap setting
we didn't end up using that. |
20,244 | 26.07.2019 11:02:49 | 14,400 | 2dd7a3888a09fd5349de6bb1b89cde2a48859c74 | Fix private key importing
We really do need to reboot here, no a process restart will not suffice | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"new_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"diff": "@@ -4,7 +4,6 @@ use crate::SETTING;\nuse actix_web::{HttpRequest, HttpResponse, Json};\nuse althea_types::ExitState;\nuse clarity::Pri... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix private key importing
We really do need to reboot here, no a process restart will not suffice |
20,249 | 26.07.2019 10:22:28 | 25,200 | a8d06ee0a229aec9d8c50dbcaab4fcbdc546a1e2 | Add /wg_public_key endpoint | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -70,6 +70,7 @@ use crate::rita_common::dashboard::pricing::*;\nuse crate::rita_common::dashboard::settings::*;\nuse crate::rita_common::dashboard::usage::*;\nuse crate::rita_common::dashboard::... | Rust | Apache License 2.0 | althea-net/althea_rs | Add /wg_public_key endpoint |
20,244 | 26.07.2019 14:32:20 | 14,400 | 6418d21171d6b743a2b28fc8addd548fe1ca24c4 | Clean up token bridge | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -131,7 +131,7 @@ impl Default for TokenBridge {\nAddress::from_str(\"0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359\").unwrap(),\nSETTING.get_payment().e... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up token bridge |
20,244 | 26.07.2019 14:36:02 | 14,400 | 1cd4e287d58a2696048aa03366883025005f3a03 | Set withdraw chain correctly in all situations | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -168,6 +168,11 @@ fn main() {\nenv_logger::init();\n}\n+ // remove in beta 9 where this info will be imported from the dao address oracle.\n+ let mut payment_settings = SETTING.get_payment_mut(... | Rust | Apache License 2.0 | althea-net/althea_rs | Set withdraw chain correctly in all situations |
20,244 | 26.07.2019 15:44:50 | 14,400 | 4d3759bb251b2a0d6581c84e3d2db516fd62df2a | Use stock display for address
The #x method does not print some addresses correctly | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -72,12 +72,8 @@ impl PaymentController {\nlet gas_price = payment_settings.gas_price.clone();\nlet our_address = payment_settings.eth_add... | Rust | Apache License 2.0 | althea-net/althea_rs | Use stock display for address
The #x method does not print some addresses correctly |
20,244 | 26.07.2019 17:08:20 | 14,400 | ffc77aecf1f9ca5a36b21c62fc7206d6a34d78c7 | Bump for Beta 7 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.7\",\n+ \"rita 0.5.8\",\n]\n[[package]]\n@@ -1985,7 +1985,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 7 RC3 |
20,244 | 26.07.2019 17:08:31 | 14,400 | fa0a328021a648242edf163d01253d62e64fd329 | Clean up wg_public_key endpoint
Changed the file name so that it's approprate for private key setting
if we ever want to add that. Also added the endpoint to the exit binary
mostly just to stop the unused warning. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -70,7 +70,7 @@ use crate::rita_common::dashboard::pricing::*;\nuse crate::rita_common::dashboard::settings::*;\nuse crate::rita_common::dashboard::usage::*;\nuse crate::rita_common::dashboard::... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up wg_public_key endpoint
Changed the file name so that it's approprate for private key setting
if we ever want to add that. Also added the endpoint to the exit binary
mostly just to stop the unused warning. |
20,244 | 27.07.2019 16:33:05 | 14,400 | f6380e38158204a0e3e84a514dab9b2781ac0e88 | Log only response code for payments
The full value was getting lost as it made it's way through systemd to
graylog. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/network_endpoints/mod.rs",
"new_path": "rita/src/rita_common/network_endpoints/mod.rs",
"diff": "@@ -50,7 +50,7 @@ pub fn make_payments(\n// we didn't get a txid, probably an old client.\n// why don't we need an Either up here? Because the... | Rust | Apache License 2.0 | althea-net/althea_rs | Log only response code for payments
The full value was getting lost as it made it's way through systemd to
graylog. |
20,244 | 29.07.2019 11:44:16 | 14,400 | 33545fe5fb680bd30e76de2f37b52e139e8c9399 | Make token bridge configurable | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -177,6 +177,10 @@ impl Handler<Tick> for TokenBridge {\nlet payment_settings = SETTING.get_payment();\nlet our_address = payment_settings.eth_address... | Rust | Apache License 2.0 | althea-net/althea_rs | Make token bridge configurable |
20,244 | 30.07.2019 10:35:46 | 14,400 | 4c0b280cc3c273fe1014ddfc6628fa3b40c98706 | Retry txid submission
This was the one remaining unaddressed payment flow failure, where
the neighbor has not recieved the txid but we have already published
it. We can't simply add this debt back to our balance so we have to
try and get our neighbor to accept receipt of payment. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/payment_controller/mod.rs",
"new_path": "rita/src/rita_common/payment_controller/mod.rs",
"diff": "@@ -17,6 +17,7 @@ use clarity::Transaction;\nuse failure::Error;\nuse futures::future::Either;\nuse futures::{future, Future};\n+use num256:... | Rust | Apache License 2.0 | althea-net/althea_rs | Retry txid submission
This was the one remaining unaddressed payment flow failure, where
the neighbor has not recieved the txid but we have already published
it. We can't simply add this debt back to our balance so we have to
try and get our neighbor to accept receipt of payment. |
20,244 | 30.07.2019 10:40:52 | 14,400 | 9c3723dc28b1c8bb8ee46fde21ac6eb65f8813ed | Setup new oracle with existing DAOs | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -169,6 +169,13 @@ fn main() {\nenv_logger::init();\n}\n+ // remove in beta 9 as this will already be set propertly\n+ let mut dao_settings = SETTING.get_dao_mut();\n+ if let Some(address) = dao... | Rust | Apache License 2.0 | althea-net/althea_rs | Setup new oracle with existing DAOs |
20,244 | 30.07.2019 10:41:14 | 14,400 | b5d7883691355ea6b5c8a43d091c958157412aea | Always try to fix cron | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -188,7 +188,6 @@ fn main() {\n}\n// If we are an an OpenWRT device try and rescue it from update issues\n- // TODO remove in Beta 6\nif KI.is_openwrt() && KI.check_cron().is_err() {\nerror!(\"F... | Rust | Apache License 2.0 | althea-net/althea_rs | Always try to fix cron |
20,244 | 30.07.2019 15:43:29 | 14,400 | ce8da1a6c0df5ef1a6ce55f7883f60e13db5015d | Handle edge cases for oracle setup | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -43,9 +43,9 @@ mod middleware;\nmod rita_client;\nmod rita_common;\n-use rita_client::rita_loop::check_rita_client_actors;\n-use rita_common::rita_loop::check_rita_common_actors;\n-use rita_com... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle edge cases for oracle setup |
20,244 | 30.07.2019 15:52:22 | 14,400 | 63c42df7bd10e839967d649dac394d82420ce244 | Bump Rita for Beta 7 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.8\",\n+ \"rita 0.5.9\",\n]\n[[package]]\n@@ -1985,7 +1985,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump Rita for Beta 7 RC4 |
20,244 | 31.07.2019 10:32:16 | 14,400 | 50e6b34d6d5b171d8b1ac98c923a4226992d702d | 1% fudge factor | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -568,21 +568,23 @@ impl DebtKeeper {\nOk(DebtAction::SuspendTunnel)\n}\n(false, true, false) => {\n- let d: Uint256 = debt_data.debt.to_uint256().ok_or... | Rust | Apache License 2.0 | althea-net/althea_rs | 1% fudge factor |
20,244 | 31.07.2019 11:53:17 | 14,400 | 54cfb128c9c37f0b288d7e550adfaa670c1f2359 | Oraclize fudge factor
When it comes to convergence tools this is a pretty ham fisted solution
but it provides more ability to dynamicly tune billing in production
hopefully I can root cause some of these divergences. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -523,19 +523,10 @@ impl DebtKeeper {\n);\n}\n- // reduce debt if it's negative to try and trend to zero\n- // the edge case this is supposed to handle ... | Rust | Apache License 2.0 | althea-net/althea_rs | Oraclize fudge factor
When it comes to convergence tools this is a pretty ham fisted solution
but it provides more ability to dynamicly tune billing in production
hopefully I can root cause some of these divergences. |
20,244 | 31.07.2019 14:52:32 | 14,400 | cdb2f05843abc123c50b2682ec2f0ccd74d82673 | Default should be zero | [
{
"change_type": "MODIFY",
"old_path": "settings/src/payment.rs",
"new_path": "settings/src/payment.rs",
"diff": "@@ -23,7 +23,7 @@ fn default_dynamic_fee_multiplier() -> u32 {\n}\nfn default_fudge_factor() -> u8 {\n- 100\n+ 0\n}\nfn default_free_tier_throughput() -> u32 {\n@@ -154,7 +154,7 @@ impl ... | Rust | Apache License 2.0 | althea-net/althea_rs | Default should be zero |
20,244 | 31.07.2019 16:20:50 | 14,400 | 154fbafa2cfa4c4c01974772647b4e2d3f68776c | Bump for Beta 7 RC5 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.9\",\n+ \"rita 0.5.10\",\n]\n[[package]]\n@@ -1985,7 +1985,7 @@ source = \"registry+https://github.... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 7 RC5 |
20,244 | 01.08.2019 06:41:53 | 14,400 | 9153a5456d288205f871d60f7ff6bdd92c20bf89 | Fix incorrect partial match
The 'normal' exit id will enter the debts list before gateway detection
is completed, if it's then ordered before the 'peer' version the partial
match code I had writen would address client debts to the 'normal' exit id
and effectively ignore the intended behavior the fix | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -226,7 +226,10 @@ impl Handler<WgKeyInsensitiveTrafficUpdate> for DebtKeeper {\n) -> Self::Result {\nlet partial_id = msg.traffic.from;\nfor (id, _) in... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix incorrect partial match
The 'normal' exit id will enter the debts list before gateway detection
is completed, if it's then ordered before the 'peer' version the partial
match code I had writen would address client debts to the 'normal' exit id
and effectively ignore the intended behavior the fix |
20,244 | 01.08.2019 07:15:30 | 14,400 | 03b5d4672eda1030d2197d5a88d80758b1c86fb2 | Better database entry lookup
Previously we keyed on ip alone in several areas, this makes us pretty
weak to multiple database entires with the same ip. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -63,34 +63,58 @@ pub fn get_next_client_ip(conn: &PgConnection) -> Result<IpAddr, Error> {\n/// updates the last seen time\npub fn update_c... | Rust | Apache License 2.0 | althea-net/althea_rs | Better database entry lookup
Previously we keyed on ip alone in several areas, this makes us pretty
weak to multiple database entires with the same ip. |
20,244 | 01.08.2019 15:49:05 | 14,400 | 07a33dc0877f5216a580bf689e006f5158124db2 | Increase debts save freqency
This is safer than we had previously thought | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -32,8 +32,8 @@ use std::io::Write;\nuse std::time::Duration;\nuse std::time::Instant;\n-/// How often we save the nodes debt data, currently 4 hours\n-... | Rust | Apache License 2.0 | althea-net/althea_rs | Increase debts save freqency
This is safer than we had previously thought |
20,244 | 03.08.2019 14:35:11 | 14,400 | d59ceb82be14adf951e7e70669d6255afb10d89e | Log when the exit is enforcing | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/mod.rs",
"new_path": "rita/src/rita_exit/database/mod.rs",
"diff": "@@ -561,6 +561,7 @@ pub fn enforce_exit_clients(\nlet res = if debt_entry.payment_details.action\n== DebtAction::SuspendTunnel\n{\n+ info!(\"Exit is enforcing on {}... | Rust | Apache License 2.0 | althea-net/althea_rs | Log when the exit is enforcing |
20,244 | 04.08.2019 15:58:09 | 14,400 | efe32e2692816a87730d2a7509c32bef380ad963 | Ignore negative debts from the exit | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -29,7 +29,7 @@ use crate::rita_common::usage_tracker::UsageTracker;\nuse crate::rita_common::usage_tracker::UsageType;\nuse crate::KI;\nuse cra... | Rust | Apache License 2.0 | althea-net/althea_rs | Ignore negative debts from the exit |
20,244 | 07.08.2019 10:01:19 | 14,400 | 3d5df64cf5cfb5dfe013040827260f53bc80a0f2 | Use Uint256 for withdraws
With eth it's not really a problem to use u64, but it is with xdai | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/wallet.rs",
"new_path": "rita/src/rita_common/dashboard/wallet.rs",
"diff": "@@ -12,15 +12,18 @@ use althea_types::SystemChain;\nuse clarity::{Address, Transaction};\nuse failure::Error;\nuse futures::{future, Future};\n+use num2... | Rust | Apache License 2.0 | althea-net/althea_rs | Use Uint256 for withdraws
With eth it's not really a problem to use u64, but it is with xdai |
20,244 | 07.08.2019 11:11:46 | 14,400 | 8c6198649f810497a0de4a4766e6e39c6576b329 | Remove transition code for next release | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -169,18 +169,6 @@ fn main() {\nenv_logger::init();\n}\n- // remove in beta 9 where this info will be imported from the dao address oracle.\n- let mut payment_settings = SETTING.get_payment_mut(... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove transition code for next release |
20,244 | 07.08.2019 15:04:56 | 14,400 | 20730e2ca7641e3a2fe125195079db824e99ce18 | Improve logging message for overlapping records | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/mod.rs",
"new_path": "rita/src/rita_exit/database/mod.rs",
"diff": "@@ -182,7 +182,7 @@ pub fn signup_client(client: ExitClientIdentity) -> impl Future<Item = ExitState\nOk(true) => {\nreturn Box::new(future::ok(ExitState::Denied {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Improve logging message for overlapping records |
20,244 | 07.08.2019 15:05:48 | 14,400 | 2f4ac2eca68fe6f2c6c2e7bf0f758e3f1a15372d | Fix withdraws for token bridge | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -66,11 +66,13 @@ use futures::future;\nuse futures::future::Future;\nuse num256::Uint256;\nuse settings::RitaCommonSettings;\n+use std::fmt;\n+use st... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix withdraws for token bridge |
20,244 | 08.08.2019 07:49:44 | 14,400 | 3836aa2914c510a281e5fd3b4eadedacc17cd08d | Update Auto-bridge | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -244,17 +244,18 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\n-version = \"0.1.0\"\n-source = \"git+https://github.com/althea-net/auto_bridge#57e00a7d03ea55032a3cde4f5a4042b99c1fe166\"\n+version = ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update Auto-bridge |
20,244 | 08.08.2019 10:57:09 | 14,400 | 763da2f59cb2ebf0dc1138bba403dd26b99d7b3c | Add monitoring endpoint for the bridge | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1452,7 +1452,7 @@ GeneralAvailability\n- Contents:\n```\n-()\n+ReleaseCandidate\n```\n- Error Response: `500 Server Error`\n@@ -1460,3 +1460,31 @@ GeneralAvailability\n- Sa... | Rust | Apache License 2.0 | althea-net/althea_rs | Add monitoring endpoint for the bridge |
20,244 | 08.08.2019 15:10:51 | 14,400 | 5e88df6c71c34a119a49d3270d95abd863c5a4c1 | Final fixes
fix some stuck Eth issues, double deposits, add minimum to exchange
to the management endpoint. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -244,8 +244,8 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\n-version = \"0.1.1\"\n-source = \"git+https://github.com/althea-net/auto_bridge?tag=v0.1.1#3eeeb5684d975b0bf9d4a46a7eb5950fc138b5fc\"\n+v... | Rust | Apache License 2.0 | althea-net/althea_rs | Final fixes
fix some stuck Eth issues, double deposits, add minimum to exchange
to the management endpoint. |
20,244 | 06.08.2019 07:39:34 | 14,400 | 5eb3db9067bc8942826467fc8ab45505cc04cf00 | Expand oracle to include blockchain settings
This will let us have a smooth transition between chains for existing
deployments. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -267,6 +267,8 @@ struct PriceUpdate {\nwarning: u128,\nfee_multiplier: u32,\nfudge_factor: u8,\n+ system_chain: SystemChain,\n+ withdraw_chain: SystemChain,\n}\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Expand oracle to include blockchain settings
This will let us have a smooth transition between chains for existing
deployments. |
20,244 | 06.08.2019 08:06:35 | 14,400 | c9f6b3c9bffac6a386db1076e4b9bd526fcd127c | Generalized settings changes for Oracle | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "//! operates by simply grabbing a text file from a configured server and adjusting prices\n//! to match. More advanced pricing systems may be broken out into their ... | Rust | Apache License 2.0 | althea-net/althea_rs | Generalized settings changes for Oracle |
20,249 | 05.08.2019 10:14:32 | 25,200 | c985a4f42e6f342c477f9acba79a959dfddb27df | Add a new setting and endpoints to track if keys have been backed up | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -47,6 +47,7 @@ use crate::rita_client::rita_loop::check_rita_client_actors;\nuse crate::rita_common::rita_loop::check_rita_common_actors;\nuse crate::rita_common::rita_loop::start_core_rita_end... | Rust | Apache License 2.0 | althea-net/althea_rs | Add a new setting and endpoints to track if keys have been backed up |
20,249 | 09.08.2019 12:00:57 | 25,200 | 966c3994649339f861a34944c6f2f3d137909ecd | Add API docs for backup_created endpoint | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1488,3 +1488,52 @@ the code there for all of it's many possible states\n- Sample Call:\n`curl http://192.168.10.1:4877/token_bridge/status`\n+\n+---\n+\n+## /backup_created... | Rust | Apache License 2.0 | althea-net/althea_rs | Add API docs for backup_created endpoint |
20,244 | 11.08.2019 10:41:04 | 14,400 | 5e6fa28c8cbd118dd5e32b2ecbc3cef986519328 | Speed up 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": "@@ -27,7 +27,7 @@ use web30::client::Web3;\nuse web30::types::TransactionResponse;\n// How long we will wait for full node responses\n-const T... | Rust | Apache License 2.0 | althea-net/althea_rs | Speed up payment validator |
20,244 | 12.08.2019 18:00:06 | 14,400 | 37ee0b0dd0329c19763cc6abfebe28f2c03e894f | Exit endpoints for secure signup | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -137,6 +137,11 @@ dependencies = [\n\"syn 0.15.43 (registry+https://github.com/rust-lang/crates.io-index)\",\n]\n+[[package]]\n+name = \"adler32\"\n+version = \"1.0.3\"\n+source = \"registry+https://github.com... | Rust | Apache License 2.0 | althea-net/althea_rs | Exit endpoints for secure signup |
20,244 | 12.08.2019 18:08:07 | 14,400 | 66b66ab2ae4f9641cc14c9257ee4a2e0edd6884d | Forbid unsafe
this should keep any unsafe code from libraries sneaking in | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "#![warn(clippy::all)]\n#![allow(clippy::pedantic)]\n+#![forbid(unsafe_code)]\n#[macro_use]\nextern crate failure;\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"... | Rust | Apache License 2.0 | althea-net/althea_rs | Forbid unsafe
this should keep any unsafe code from libraries sneaking in |
20,244 | 13.08.2019 12:24:56 | 14,400 | 667b9080c8d3eb4a164e11f052f336bd41d198ab | Client side of exit signup encryption | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -209,7 +209,7 @@ pub struct ExitClientIdentity {\npub struct EncryptedExitClientIdentity {\npub pubkey: WgKey,\npub nonce: [u8; 24],\n- pub encrypted_exit_client_id: String,\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Client side of exit signup encryption |
20,244 | 13.08.2019 15:44:58 | 14,400 | 66152ad5929d9670bd5c550b44b4555cc089c15a | Missing terminators are ok
In the case that Rita and Babel aren't running in parallel for some reason
we produce this error message which isn't actually a problem. Muting it will
save us a lot of log throughput. | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -198,7 +198,7 @@ fn read_babel_sync(output: &str) -> Result<String, BabelMonitorError> {\n_ => continue,\n}\n}\n- warn!(\n+ trace!(\n\"Terminator was never found; full output:\\n{:?... | Rust | Apache License 2.0 | althea-net/althea_rs | Missing terminators are ok
In the case that Rita and Babel aren't running in parallel for some reason
we produce this error message which isn't actually a problem. Muting it will
save us a lot of log throughput. |
20,244 | 14.08.2019 12:30:43 | 14,400 | ddee63ba00fbc437af7f491ebd5024b8e15620ef | Oracle transition not properly completed
The oracle transition in Beta 7 wasn't properly completed. Users on non-eth
blockchains got set to the wrong oracle.
So we will put the transition code back in and expand it to include setting
the oracle depending on the system chain. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -26,6 +26,7 @@ extern crate arrayvec;\nuse actix_web::http::Method;\nuse actix_web::{http, server, App};\n+use althea_types::SystemChain;\nuse docopt::Docopt;\nuse env_logger;\nuse openssl_prob... | Rust | Apache License 2.0 | althea-net/althea_rs | Oracle transition not properly completed
The oracle transition in Beta 7 wasn't properly completed. Users on non-eth
blockchains got set to the wrong oracle.
So we will put the transition code back in and expand it to include setting
the oracle depending on the system chain. |
20,244 | 15.08.2019 07:46:20 | 14,400 | d535ba54cf72c67af9903e37cf7b1f2e72c9f391 | More detailed bridge states | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -65,6 +65,7 @@ use failure::Error;\nuse futures::future;\nuse futures::future::Future;\nuse num256::Uint256;\n+use num_traits::identities::Zero;\nuse... | Rust | Apache License 2.0 | althea-net/althea_rs | More detailed bridge states |
20,244 | 27.07.2019 20:36:44 | 14,400 | ffc02e569c841f827ea5d80d881018ff0c9f024b | Reduce xdai gas price for 2.5c transactions | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -204,7 +204,7 @@ fn update_gas_price(web3: &Web3, full_node: String) {\nlet mut payment_settings = SETTING.get_payment_mut();\nif payment_settings.system_chain =... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce xdai gas price for 2.5c transactions |
20,244 | 15.08.2019 12:00:08 | 14,400 | 557a3575299e6e47c038111b28d7c756fb1f06f0 | Remove bounty hunter from tests | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -214,7 +214,6 @@ def setup_seven_node_config():\n],\n}\n- world.set_bounty(3) # TODO: Who should be the bounty hunter?\nreturn (COM... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove bounty hunter from tests |
20,244 | 15.08.2019 13:19:55 | 14,400 | 317c01fab961709455e129895cae9f41ce67a50f | Update TokenBridge with dyn syntax | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/system_chain.rs",
"new_path": "rita/src/rita_client/dashboard/system_chain.rs",
"diff": "@@ -19,7 +19,7 @@ pub fn set_system_blockchain(path: Path<String>) -> Result<HttpResponse, Error>\n}\nlet id = id.unwrap();\n- let mut oracl... | Rust | Apache License 2.0 | althea-net/althea_rs | Update TokenBridge with dyn syntax |
20,244 | 15.08.2019 15:54:09 | 14,400 | 986d6596e329905364394c4b27862a15fca16183 | Fix Chipertext typo | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -153,10 +153,10 @@ fn decrypt_exit_state(\n.expect(\"No private key?\")\n.into();\ndrop(network_settings);\n- let chipertext = exit_state.encrypted_e... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix Chipertext typo |
20,244 | 27.07.2019 20:37:05 | 14,400 | 4b4ca6db87c4f74121f26c9be2fac7d88867e432 | Prevent debt greater than the close threshold | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -542,6 +542,12 @@ impl DebtKeeper {\nlet should_close = debt_data.debt < close_threshold;\nlet should_pay = debt_data.debt > SETTING.get_payment().pay_... | Rust | Apache License 2.0 | althea-net/althea_rs | Prevent debt greater than the close threshold |
20,244 | 20.08.2019 07:18:08 | 14,400 | f443f2e602c2edc231f2a84c8a982f123c01809e | Exit download/upload logging should make sense
Previously the logic here was wrong and we where really just logging
the monotonically increasing values of the WireGuard bandwidth counters | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"diff": "@@ -121,29 +121,35 @@ fn generate_helper_maps(\nOk((identities, id_from_ip))\n}\n-fn counters_logging(counters: &HashMap<WgKey, WgUsage>, exit_fee: u3... | Rust | Apache License 2.0 | althea-net/althea_rs | Exit download/upload logging should make sense
Previously the logic here was wrong and we where really just logging
the monotonically increasing values of the WireGuard bandwidth counters |
20,244 | 20.08.2019 10:52:07 | 14,400 | 35e85565b4ee4a7b5e41b39a8cf590262f0413be | Add withdraw_all endpoint | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1128,6 +1128,36 @@ Withdraws the given amount in wei to the provided address.\n---\n+## /withdraw_all/{address}\n+\n+Computes the maximum possible withdraw for the given bl... | Rust | Apache License 2.0 | althea-net/althea_rs | Add withdraw_all endpoint |
20,244 | 22.08.2019 10:45:37 | 14,400 | 59e7a24efec1bdcd43c130c3de5b404497530073 | Add withdraw_eth endpoint
to be used to rescue eth that is below the reserve amount but above the
minimum to exchange, I don't expect this to be used much unless we have
to dramatically increase the minimum to exchange, which is currently
just $2 | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1128,6 +1128,33 @@ Withdraws the given amount in wei to the provided address.\n---\n+## /withdraw_eth/{address}/{amount}\n+\n+Withdraws the given amount of eth regardless o... | Rust | Apache License 2.0 | althea-net/althea_rs | Add withdraw_eth endpoint
to be used to rescue eth that is below the reserve amount but above the
minimum to exchange, I don't expect this to be used much unless we have
to dramatically increase the minimum to exchange, which is currently
just $2 |
20,244 | 22.08.2019 10:59:14 | 14,400 | 751a7b943e310696c36e16cb6eab2a455aeb02be | Bump for Beta 8 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.10\",\n+ \"rita 0.5.12\",\n]\n[[package]]\n@@ -2012,7 +2012,7 @@ source = \"registry+https://github... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 8 RC1 |
20,244 | 22.08.2019 12:37:09 | 14,400 | c752b245ca5d09a0d5d69116fa7b841fc857c862 | No need to force-set withdraw chain | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -174,12 +174,10 @@ fn main() {\n}\n// remove in beta 9 where this info will be imported from the dao address oracle.\n- let mut payment_settings = SETTING.get_payment_mut();\n+ let payment_sett... | Rust | Apache License 2.0 | althea-net/althea_rs | No need to force-set withdraw chain |
20,244 | 22.08.2019 12:53:28 | 14,400 | 4738f6587be6e38677b7c1f7c71a8975836d8b06 | We don't seem to need this anymore | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -99,11 +99,7 @@ fn update_balance(our_address: Address, web3: &Web3, full_node: String) {\nfull_node, value\n);\nlet our_balance = &mut SETTING.get_payment_mut()... | Rust | Apache License 2.0 | althea-net/althea_rs | We don't seem to need this anymore |
20,244 | 22.08.2019 13:01:35 | 14,400 | 03ee00914968322ecda21caf616ac17e449dec60 | Gigawei for gas price | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -18,7 +18,6 @@ use clarity::Address;\nuse futures::{future, Future};\nuse num256::Int256;\nuse num256::Uint256;\n-use num_traits::Zero;\nuse settings::RitaCommon... | Rust | Apache License 2.0 | althea-net/althea_rs | Gigawei for gas price |
20,244 | 22.08.2019 13:28:17 | 14,400 | b79d7d05702a709315f56dd5c1ee4a50425a1144 | Fix up bridge withdraw_all to use dynamic gas | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -249,8 +249,8 @@ dependencies = [\n[[package]]\nname = \"auto-bridge\"\n-version = \"0.1.4\"\n-source = \"git+https://github.com/althea-net/auto_bridge?tag=v0.1.4#68bb1e478e09feae54299400cbc353381122265e\"\n+v... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix up bridge withdraw_all to use dynamic gas |
20,244 | 23.08.2019 10:28:06 | 14,400 | 9677e5b07f1f31103b407ec4887cc4e8df2cfcdc | Add support for static interfaces | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -11,6 +11,7 @@ use futures::Future;\nuse settings::FileWrite;\nuse settings::RitaCommonSettings;\nuse std::collections::HashMap;\n+use std::n... | Rust | Apache License 2.0 | althea-net/althea_rs | Add support for static interfaces |
20,244 | 23.08.2019 12:41:44 | 14,400 | b6c7361f7a1b5d0212cc0b224878f1caff0f1809 | Allow for multiple lan ports
The lists require spaces not commas and spaces | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -59,8 +59,8 @@ pub fn get_interfaces() -> Result<HashMap<String, InterfaceMode>, Error> {\n// Only non-loopback non-bridge interface names sh... | Rust | Apache License 2.0 | althea-net/althea_rs | Allow for multiple lan ports
The lists require spaces not commas and spaces |
20,244 | 26.08.2019 14:39:59 | 14,400 | 072225a6a0ce9acacbc5097ee3e76cdc1002ad4d | Denominate withdraws in Cents
Previously withdraws from the xdai chain had the exchange rate denominated
in whole dollars, this presented problems when trying to withdraw sub dollar
ammounts. This has now been changed to support withdraws as small as 1c.
Also fixes some issues with rescuing dai and setting the detailed... | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1163,7 +1163,7 @@ To fully withdraw both Xdai to Eth you need to first perform a withdraw all the\nand wait for that to complete, then you must change the system blockchain... | Rust | Apache License 2.0 | althea-net/althea_rs | Denominate withdraws in Cents
Previously withdraws from the xdai chain had the exchange rate denominated
in whole dollars, this presented problems when trying to withdraw sub dollar
ammounts. This has now been changed to support withdraws as small as 1c.
Also fixes some issues with rescuing dai and setting the detail... |
20,244 | 26.08.2019 14:54:14 | 14,400 | 9a263e66bd05ba871bb99b26135577a763065474 | Hold the final withdrawing state for 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": "@@ -404,7 +404,6 @@ impl Handler<Tick> for TokenBridge {\n.and_then(move |_| {\ntrace!(\"Issued an eth transfer for withdraw! Now complete!\");\n// we o... | Rust | Apache License 2.0 | althea-net/althea_rs | Hold the final withdrawing state for a minute |
20,244 | 27.08.2019 17:49:13 | 14,400 | 1e6595975418933eb79916b48f0a657de24bd7e6 | Fix gateway client detection check
The test environment did not have a correctly set eth address, which
is a breaking condition for this detection | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -88,7 +88,7 @@ EXIT_SETTINGS = {\n\"exit_a\": {\n\"id\": {\n\"mesh_ip\": \"fd00::5\",\n- \"eth_address\": \"0x010101010101010101010... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix gateway client detection check
The test environment did not have a correctly set eth address, which
is a breaking condition for this detection |
20,244 | 27.08.2019 20:38:03 | 14,400 | d94e5f00551bdab338da1529f799d71f8ef4bda5 | Update test file locations | [
{
"change_type": "MODIFY",
"old_path": "settings/src/lib.rs",
"new_path": "settings/src/lib.rs",
"diff": "@@ -171,18 +171,19 @@ mod tests {\nuse crate::exit::RitaExitSettingsStruct;\n#[test]\n- fn test_settings_example() {\n- RitaSettingsStruct::new(\"example.toml\").unwrap();\n+ fn test_settings_te... | Rust | Apache License 2.0 | althea-net/althea_rs | Update test file locations |
20,244 | 27.08.2019 20:58:07 | 14,400 | 7a4989b5fe5ca8cb00eb5d7546193eee94afa35e | 15 seconds for test convergence
I've found this to be enough on my dev machine. | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -346,7 +346,7 @@ class World:\ntime.sleep(2)\nclient = subprocess.Popen(\n[\"ip\", \"netns\", \"exec\", \"netlab-{}\".format(to_n... | Rust | Apache License 2.0 | althea-net/althea_rs | 15 seconds for test convergence
I've found this to be enough on my dev machine. |
20,244 | 28.08.2019 07:21:19 | 14,400 | 3b4dc42241b42e73bd443efc825a5f49589e92e2 | Fix README link typo | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -5,8 +5,7 @@ This contains many (although confusingly not all) of the Rust components for the\nThe primary binary crate in this repo is 'rita' which produces two binaries 'rita' and 'rita_exit'\nsee the file hea... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix README link typo |
20,244 | 28.08.2019 07:27:19 | 14,400 | 058e95a51cc3c13e60e39c5fdae7fbefc663882c | Add WireGuard warning | [
{
"change_type": "MODIFY",
"old_path": "scripts/test.sh",
"new_path": "scripts/test.sh",
"diff": "set -eux\nRUST_TEST_THREADS=1 cargo test --all\n-modprobe wireguard || echo \"Please install WireGuard https://www.wireguard.com/ and load the kernel module using 'sudo modprobe wireguard'\"\n+if ! modp... | Rust | Apache License 2.0 | althea-net/althea_rs | Add WireGuard warning |
20,244 | 28.08.2019 10:51:15 | 14,400 | 6c29edbccfc770812fca17577a1703ee817a3bb8 | Log exit metric
To allow us to observe route changes, the automated failover seems
to be triggered spuriously quite a bit but we don't have any numbers
on it becuase we don't monitor babel in much detail | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -258,6 +258,7 @@ pub fn watch(\ngateway_exit_client: bool,\n) -> Result<(), Error> {\nlet exit_route = find_exit_route_capped(exit.mesh_ip, rou... | Rust | Apache License 2.0 | althea-net/althea_rs | Log exit metric
To allow us to observe route changes, the automated failover seems
to be triggered spuriously quite a bit but we don't have any numbers
on it becuase we don't monitor babel in much detail |
20,249 | 28.08.2019 09:14:16 | 25,200 | 5256e01b03a19907bbecbf8eb850c6cd5f631092 | Reword 'top up' to 'add funds' | [
{
"change_type": "MODIFY",
"old_path": "settings/src/exit.rs",
"new_path": "settings/src/exit.rs",
"diff": "@@ -136,7 +136,7 @@ pub struct EmailVerifSettings {\n}\nfn default_balance_notification_text_body() -> String {\n- String::from(\"Your Althea router has a low balance! Your service will be slo... | Rust | Apache License 2.0 | althea-net/althea_rs | Reword 'top up' to 'add funds' |
20,244 | 29.08.2019 07:55:40 | 14,400 | 8742121d63e1aa995d96eaa6e7fb4302f15675b8 | Upgrade to Beta 8 RC 2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.12\",\n+ \"rita 0.5.13\",\n]\n[[package]]\n@@ -2012,7 +2012,7 @@ source = \"registry+https://github... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade to Beta 8 RC 2 |
20,249 | 30.08.2019 09:06:40 | 25,200 | ed6932171f5388c5dcfa15b6367355dcc8190e08 | Change router top-up link | [
{
"change_type": "MODIFY",
"old_path": "settings/src/exit.rs",
"new_path": "settings/src/exit.rs",
"diff": "@@ -93,7 +93,7 @@ fn default_balance_notification_email_subject() -> String {\n}\nfn default_balance_notification_email_body() -> String {\n- String::from(\"Your Althea router has a low balanc... | Rust | Apache License 2.0 | althea-net/althea_rs | Change router top-up link |
20,244 | 03.09.2019 10:05:37 | 14,400 | 9dd061322e685bcccae1fd43877dea584e351703 | simplify gateway check | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/fast_loop.rs",
"new_path": "rita/src/rita_common/rita_loop/fast_loop.rs",
"diff": "@@ -24,13 +24,11 @@ use std::time::{Duration, Instant};\npub const FAST_LOOP_SPEED: u64 = 5;\npub const FAST_LOOP_TIMEOUT: Duration = Duration::fr... | Rust | Apache License 2.0 | althea-net/althea_rs | simplify gateway check |
20,244 | 03.09.2019 16:49:23 | 14,400 | 9996363e61c5f6e23192c5584fdf2f741e1cc9f2 | Reduce regex feature surface
We don't need very fast regex, that being said this doesn't improve
our binary size yet as we transitively depent on many other crates
pulling in regex | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -87,7 +87,7 @@ dependencies = [\n\"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"rand 0.6.... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce regex feature surface
We don't need very fast regex, that being said this doesn't improve
our binary size yet as we transitively depent on many other crates
pulling in regex |
20,244 | 03.09.2019 17:04:26 | 14,400 | 72fb7974a9ec2d17b7747a9e48b0803592b2ae1d | Update lazy_static | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -75,7 +75,7 @@ dependencies = [\n\"http 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"language-tags 0.2.2 (re... | Rust | Apache License 2.0 | althea-net/althea_rs | Update lazy_static |
20,244 | 05.09.2019 14:38:03 | 14,400 | 3363af67b66f47f4f8022383729a2f0fae4863fe | Add easy remote access toggle | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1594,3 +1594,52 @@ Set whether or not a backup has been created.\n- Sample Call:\n`curl http://192.168.10.1:4877/backup_created/true`\n+\n+---\n+\n+## /remote_access\n+\n+R... | Rust | Apache License 2.0 | althea-net/althea_rs | Add easy remote access toggle |
20,244 | 06.09.2019 13:08:42 | 14,400 | 019b9bf7fd0813ba275e7305b9f77686b7c11a67 | Bump for Beta 8 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.13\",\n+ \"rita 0.5.14\",\n]\n[[package]]\n@@ -2012,7 +2012,7 @@ source = \"registry+https://github... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 8 RC3 |
20,244 | 06.09.2019 13:18:01 | 14,400 | 84fe06a8b32697a0b5096af3e256b2f059666ea3 | Inversed true/false for check remote access | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/remote_access.rs",
"new_path": "rita/src/rita_client/dashboard/remote_access.rs",
"diff": "@@ -18,10 +18,10 @@ pub fn get_remote_access_status(_req: HttpRequest) -> Result<HttpResponse, Error\nlet lines = get_lines(DROPBEAR_CONFI... | Rust | Apache License 2.0 | althea-net/althea_rs | Inversed true/false for check remote access |
20,244 | 06.09.2019 13:40:19 | 14,400 | 094735195774e2977c1e09f88f91adbfa8574bbd | We also have to edit the firewall in some cases | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/remote_access.rs",
"new_path": "rita/src/rita_client/dashboard/remote_access.rs",
"diff": "@@ -10,6 +10,7 @@ use failure::Error;\nuse settings::RitaCommonSettings;\nstatic DROPBEAR_CONFIG: &str = \"/etc/config/dropbear\";\n+stati... | Rust | Apache License 2.0 | althea-net/althea_rs | We also have to edit the firewall in some cases |
20,244 | 06.09.2019 20:10:50 | 14,400 | 9b8e6a1299025e4c4a1bda5930c9b6c59738744a | No delay before port toggle reboot
This produces the same result (network restart causes the endpoint to
fail to return anyways) and we can reduce our deps some. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2036,7 +2036,6 @@ dependencies = [\n\"exit_db 0.1.0\",\n\"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)\",\... | Rust | Apache License 2.0 | althea-net/althea_rs | No delay before port toggle reboot
This produces the same result (network restart causes the endpoint to
fail to return anyways) and we can reduce our deps some. |
20,244 | 07.09.2019 07:59:07 | 14,400 | e71f2e8f75849cb73c2d8847d4a4b78ff98960a0 | Bump version for Beta 8 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -175,7 +175,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.14\",\n+ \"rita 0.5.15\",\n]\n[[package]]\n@@ -2012,7 +2012,7 @@ source = \"registry+https://github... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump version for Beta 8 RC4 |
20,244 | 10.09.2019 08:16:41 | 14,400 | c9a26307fc0a9f54c9ca102cf66d3d75e2e948e1 | Add more details to the DAO payment message | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -132,7 +132,7 @@ impl Handler<Tick> for DAOManager {\n// we will just underpay when that occurs\nArbiter::spawn(transaction_status.then(move |res| matc... | Rust | Apache License 2.0 | althea-net/althea_rs | Add more details to the DAO payment message |
20,249 | 11.09.2019 14:53:18 | 25,200 | 910ceaab1fc120eaf3590a15a6347ce4a61affe6 | Add endpoint for reading the remote logging setting | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -947,6 +947,30 @@ Format:\n---\n+## /remote_logging/enabled\n+\n+Returns whether remote logging is enabled or not\n+\n+- URL: `<rita ip>:<rita_dashboard_port>/logging/enable... | Rust | Apache License 2.0 | althea-net/althea_rs | Add endpoint for reading the remote logging setting |
20,249 | 11.09.2019 23:16:07 | 25,200 | 59c57c9e15e2e7cbbdf7d23aa296a61bcf82f16b | Add endpoint for reading logging level | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -284,6 +284,11 @@ fn start_client_dashboard() {\nMethod::POST,\nremote_logging,\n)\n+ .route(\n+ \"/remote_logging/level\",\n+ Method::GET,\n+ get_remote_logging_level,\n+ )\n.route(\n\"/remote... | Rust | Apache License 2.0 | althea-net/althea_rs | Add endpoint for reading logging level |
20,244 | 10.09.2019 09:33:43 | 14,400 | a5cf3f44d71d04bccb441a3a7a029c48b2c51446 | Dynamic payment amount checking in tests
This adds dynamic payment account checking to the tests, which allows
for much more robust and scalable testing on correctness of billing rather
than just consensus | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -81,6 +81,12 @@ INITIAL_POLL_INTERVAL = float(os.getenv('INITIAL_POLL_INTERVAL', 1))\nPING6 = os.getenv('PING6', 'ping6')\nVERBOSE ... | Rust | Apache License 2.0 | althea-net/althea_rs | Dynamic payment amount checking in tests
This adds dynamic payment account checking to the tests, which allows
for much more robust and scalable testing on correctness of billing rather
than just consensus |
20,244 | 16.09.2019 07:35:18 | 14,400 | 2f0e86c080289a41e23cd5c7cea2f39615616b15 | Fix accounting for exit traffic
New bandwidth checks didn't properly account for exit cases | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/container/Dockerfile",
"new_path": "integration-tests/container/Dockerfile",
"diff": "FROM postgres\n-# we pull in the git tar instead of the local folder becuase the raw code is much much smaller\n-# note that changes have to be checked in t... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix accounting for exit traffic
New bandwidth checks didn't properly account for exit cases |
20,244 | 17.09.2019 13:05:18 | 14,400 | d12c8c533e2e10cb2427908bca1ceb6eb299fb69 | Use udp speedtests and further refine integration test exit billing | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -156,9 +156,8 @@ def setup_seven_node_config():\nworld.add_connection(Connection(b2, d4))\nworld.add_connection(Connection(e5, g7))... | Rust | Apache License 2.0 | althea-net/althea_rs | Use udp speedtests and further refine integration test exit billing |
20,244 | 18.09.2019 14:02:08 | 14,400 | a15dc317947a0de9dbf52eac2af90ad57b3713ac | Handle complex type warning | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"diff": "@@ -104,10 +104,12 @@ fn get_babel_info(\nOk(destinations)\n}\n-fn generate_helper_maps(\n- our_id: &Identity,\n- clients: &[Identity],\n-) -> Result<... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle complex type warning |
20,244 | 19.09.2019 07:31:02 | 14,400 | 25b05de96b3b46db0123551b292097025867420a | Scope exit and gateway namespaces | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -220,12 +220,18 @@ def setup_seven_node_config():\n],\n}\n- return (COMPAT_LAYOUTS, all_routes, traffic_test_pairs, world)\n+ EXIT_... | Rust | Apache License 2.0 | althea-net/althea_rs | Scope exit and gateway namespaces |
20,244 | 19.09.2019 14:51:23 | 14,400 | 62ab3c7f2108da2e6a4a4e1efe9c4aebcdd4a9b6 | Make speedtest durations configurable
hopefully we can tune things for travis | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -47,8 +47,8 @@ matrix:\n#- \"cargo install cargo-audit --force && cargo audit\"\n- \"cargo install cargo-geiger --force && cargo geiger\"\n- script: ./integration-tests/rita.sh\n- env: INITIAL_POLL_INTERVAL=... | Rust | Apache License 2.0 | althea-net/althea_rs | Make speedtest durations configurable
hopefully we can tune things for travis |
20,244 | 19.09.2019 16:46:46 | 14,400 | b31f5d5eb6bee45c4ab3e92e18d0245eda2ecb6c | Use sigkill instead of sigterm | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -360,7 +360,7 @@ class World:\n[\"ip\", \"netns\", \"exec\", \"netlab-{}\".format(from_node.id), \"iperf3\", \"-c\",\nself.to_ip(... | Rust | Apache License 2.0 | althea-net/althea_rs | Use sigkill instead of sigterm |
20,244 | 20.09.2019 07:31:13 | 14,400 | 85c4cb23d8fc11707353789ad9513363d80470e9 | Better handle no debts | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -413,6 +413,9 @@ class World:\nlast_via = via\nfor node in intended_debts.keys():\nfor owed in intended_debts[node].keys():\n+ if... | Rust | Apache License 2.0 | althea-net/althea_rs | Better handle no debts |
20,244 | 20.09.2019 07:32:02 | 14,400 | ce4ac58c0f040db557b88c2efe4f867abd34d244 | Up Travis test speed
I was hoping that reducing the speed would reduce cpu usage enough
for Rita to actually play nice, but that doesn't seem to be the case | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -47,8 +47,8 @@ matrix:\n#- \"cargo install cargo-audit --force && cargo audit\"\n- \"cargo install cargo-geiger --force && cargo geiger\"\n- script: ./integration-tests/rita.sh\n- env: SPEEDTEST_THROUGHPUT=\... | Rust | Apache License 2.0 | althea-net/althea_rs | Up Travis test speed
I was hoping that reducing the speed would reduce cpu usage enough
for Rita to actually play nice, but that doesn't seem to be the case |
20,244 | 22.09.2019 08:30:33 | 14,400 | be4f84ff36f2aebfc584a5bb1b151bf28d6f22ab | Use upstream mockstream | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1358,7 +1358,7 @@ dependencies = [\n[[package]]\nname = \"mockstream\"\nversion = \"0.0.3\"\n-source = \"git+https://github.com/lazy-bitfield/rust-mockstream.git#e6077f902af4496fadc6a134ea6a561aaa95c2e3\"\n+s... | Rust | Apache License 2.0 | althea-net/althea_rs | Use upstream mockstream |
20,244 | 21.09.2019 08:13:59 | 14,400 | f7c831e60539e69f1f0654236ab07ae5c193da98 | Remove deprecated try! | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -229,7 +229,7 @@ pub fn delete_client(client: ExitClient, connection: &PgConnection) -> Result<()\nlet mesh_ip_string = client.mesh_ip.to_s... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove deprecated try! |
20,244 | 21.09.2019 08:13:26 | 14,400 | 75643e2aaa5b55130d25c1a1a55b85dcb99bdedb | Don't compile log levels below info!() in release binaries | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.toml",
"new_path": "rita/Cargo.toml",
"diff": "@@ -40,7 +40,7 @@ futures = \"0.1\"\nhandlebars = \"2.0\"\nipnetwork = \"0.14\"\nlazy_static = \"1.4\"\n-log = \"0.4\"\n+log = { version = \"0.4\", features = [\"release_max_level_info\"] }\nminihttpse ... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't compile log levels below info!() in release binaries |
20,244 | 19.09.2019 14:47:46 | 14,400 | c9b05c7b97248a8881ff04750637ce6badd2f762 | Add NetworkMonitor
NetowrkMonitor is a component that keeps a running history of latency and packet
loss and raises logging alarms when those values exceed normal bounds.
In the future this will be expanded with network endpoints that will allow this
info to be displayed to the user and otherwise inform decisions. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/mod.rs",
"new_path": "rita/src/rita_common/mod.rs",
"diff": "@@ -3,6 +3,7 @@ pub mod dashboard;\npub mod debt_keeper;\npub mod hello_handler;\npub mod network_endpoints;\n+pub mod network_monitor;\npub mod oracle;\npub mod payment_controll... | Rust | Apache License 2.0 | althea-net/althea_rs | Add NetworkMonitor
NetowrkMonitor is a component that keeps a running history of latency and packet
loss and raises logging alarms when those values exceed normal bounds.
In the future this will be expanded with network endpoints that will allow this
info to be displayed to the user and otherwise inform decisions. |
20,244 | 24.09.2019 16:24:23 | 14,400 | 4da83814c8a07489a88e664b94f497b549d1b25e | Fix module name in rustdoc | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/network_monitor/mod.rs",
"new_path": "rita/src/rita_common/network_monitor/mod.rs",
"diff": "-//! Latency manager is an experimental system to apply traffic shaping to neighbors based on the neighbor rtt\n+//! NetworkMonitor is an experime... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix module name in rustdoc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.