Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chatffi): tor configuration #5752

Merged
merged 6 commits into from
Sep 12, 2023

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Sep 7, 2023

Description

Allow more configuration options for TOR

Motivation and Context

Mobile doesn't align with the tor transport config defaults that were being applied, so let's allow for a specific configuration.

How Has This Been Tested?

CI

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Test Results (CI)

1 202 tests   1 202 ✔️  9m 40s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 3b29409.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Sep 7, 2023
@brianp brianp changed the title feat(chatffi): tor configuration DNM feat(chatffi): tor configuration Sep 7, 2023
@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Test Results (Integration tests)

  2 files  +  2  11 suites  +11   15m 30s ⏱️ + 15m 30s
28 tests +28  26 ✔️ +26  0 💤 ±0  2 +2 
30 runs  +30  28 ✔️ +28  0 💤 ±0  2 +2 

For more details on these failures, see this check.

Results for commit 3b29409. ± Comparison against base commit 45c20a3.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question

@@ -69,6 +71,9 @@ mod consts {
include!(concat!(env!("OUT_DIR"), "/consts.rs"));
}

#[derive(Debug, PartialEq, Clone)]
pub struct ByteVector(Vec<c_uchar>); // declared like this so that it can be exposed to external header
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it needs exposing, then it needs rep_c as well?

Copy link
Contributor Author

@brianp brianp Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied it verbatim from the wallet, which doesn't use rep_c for it.

Which is a roundabout way of saying I'm hesitant to "fix" something not broken :D

@brianp brianp changed the title DNM feat(chatffi): tor configuration feat(chatffi): tor configuration Sep 8, 2023
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Sep 12, 2023
@SWvheerden SWvheerden merged commit 1eeb4a9 into tari-project:development Sep 12, 2023
12 of 14 checks passed
@brianp brianp deleted the feat-chatffi-tor-config branch September 12, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants