-
Notifications
You must be signed in to change notification settings - Fork 242
CW-519 Enable built-in Tor #1950
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
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
23078a6
tor wip
MrCyjaneK 812c5e6
Enable tor on iOS
MrCyjaneK 179f039
Prevent app lag when node is exceptionally slow (usually over tor)
MrCyjaneK 937c45f
fix: logic in daemonBlockchainHeight refresh
MrCyjaneK 18c743a
Pin ledger_flutter_plus dependency to fix builds
MrCyjaneK 7211252
bump arti version
MrCyjaneK 20249e5
wip
MrCyjaneK f10f284
add single httpclient
MrCyjaneK 3bc3b03
route everything I was able to catch trough the built-in tor node
MrCyjaneK 1fec0df
Enable proxy for http.Client [run tests]
MrCyjaneK 595e9fb
add tor proxy support to cw_evm, cw_tron and cw_polygon [run tests]
MrCyjaneK 99431ba
remove log pollution, cleanup [skip slack]
MrCyjaneK 896cec8
fix tests not working in latest main [skip slack] [run tests]
MrCyjaneK 6a858cb
remove cw_wownero import
MrCyjaneK 4d723a1
fix build issues
MrCyjaneK cc32f23
migrate all remaining calls to use ProxyWrapper
MrCyjaneK ed92ce1
fix tor background sync (will work on test builds after #2142 is merg…
MrCyjaneK 195c03f
wip [skip ci]
MrCyjaneK 1915082
relicense to GPLv3 add socks5 license, build fixes
MrCyjaneK de1eccc
use ProxyWrapper instead of http in robinhood
MrCyjaneK 28a7cc9
Revert "relicense to GPLv3"
MrCyjaneK 38d943a
feat(cw_bitcoin): support socks proxy and CakeTor
MrCyjaneK 9ce9c03
fix(tor): migrate OCP and EVM over to ProxyWrapper()
MrCyjaneK 98cab3e
chore: cleanup
MrCyjaneK 07fd2dd
fix: tor switch properly dismisses fullscreen loading dialog
MrCyjaneK 0acab89
fix(tor): status check for xmr/wow/zano
MrCyjaneK a7db610
fix(tor): onramper request fix
MrCyjaneK c3a52d6
fix(api): ServicesResponse is now being cached and doesn't fetch data…
MrCyjaneK bc162fb
[skip ci] remove print
MrCyjaneK bb25264
address comments from review
MrCyjaneK 7bfa3ad
fix: derusting tor implementation
MrCyjaneK 923aa1a
fix conflicts with main
MrCyjaneK 460adb5
fix(cw_wownero): tor connection
MrCyjaneK 4a2aa28
fix(cw_evm): add missing chainId
MrCyjaneK 1b258ee
feat: mark tor as experimental
MrCyjaneK 29fb4af
fix re-formatting [skip ci]
OmarHatem28 e1f9e35
changes from review
MrCyjaneK ca57d0d
Delete android/.kotlin/sessions/kotlin-compiler-2468481326039681181.s…
OmarHatem28 67506b4
fix missing imports
OmarHatem28 152b458
Merge branch 'main' into CW-519-add-tor-connection-feature-to-cake
OmarHatem28 ba07b71
Update pubspec_base.yaml
OmarHatem28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: No http imports | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
PR_test_build: | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check for http package usage | ||
if: github.event_name == 'pull_request' | ||
run: | | ||
GIT_GREP_OUT="$(git grep package:http | (grep .dart: || test $? = 1) | (grep -v proxy_wrapper.dart || test $? = 1) | (grep -v very_insecure_http_do_not_use || test $? = 1) || true)" | ||
[[ "x$GIT_GREP_OUT" == "x" ]] && exit 0 | ||
echo "$GIT_GREP_OUT" | ||
echo "There are .dart files which use http imports" | ||
echo "Using http package breaks proxy integration" | ||
echo "Please use ProxyWrapper.getHttpClient() from package:cw_core/utils/proxy_wrapper.dart" | ||
exit 1 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.