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

add option for -onlynet=onion in bails-menu #15

Closed
BenWestgate opened this issue Jul 19, 2023 · 2 comments
Closed

add option for -onlynet=onion in bails-menu #15

BenWestgate opened this issue Jul 19, 2023 · 2 comments
Labels
enhancement New feature or request priority: medium Issues raised by 1 tester

Comments

@BenWestgate
Copy link
Owner

In ordinary circumstances there is a privacy benefit of using -onlynet=onion. However because it is more fragile in hostile network circumstances and may need console commands to be as resilient as the default, it is not set on. Users who need the maximum in transaction broadcast privacy can turn this on or off in the bails-menu after a debriefing.
Suggestion by @epiccurious .

related to #5

@BenWestgate
Copy link
Owner Author

Sure! Here's an example Zenity dialog that presents the option to enable -onlynet=onion or leave it at defaults:

zenity --question --title='Network Settings' --width=400 --text='Bails offers different network settings for connecting to the Bitcoin network. By default, Bails connects to both the clearnet and Tor (onion) peers, providing a balance between usability and privacy.

Would you like to enhance your privacy by connecting exclusively to Tor (onion) peers with reduced clearnet exposure? This will increase your privacy but may limit your network diversity and can be less stable if you have limited Tor peers.'

if [ $? = 0 ]; then
    # User chose to enable -onlynet=onion
    # Add your code here to set the option and inform the user about potential implications.
    # You can also provide instructions on how to revert to the default setting if desired.
    zenity --info --title='Network Settings Updated' --text='You have chosen to connect exclusively to Tor (onion) peers. Your network settings have been updated to enhance your privacy. Please note that this may affect network diversity and stability.'

else
    # User chose to leave it at defaults
    zenity --info --title='Network Settings Unchanged' --text='You have chosen to keep the default network settings. Bails will continue to connect to both clearnet and Tor (onion) peers, providing a balance between usability and privacy.'

fi

This dialog presents a clear explanation of the network settings and their implications, allowing non-technical users to make an informed decision based on their privacy preferences. It also includes a message for each option to confirm the user's choice and provide feedback on the updated settings.

@BenWestgate BenWestgate added enhancement New feature or request priority: medium Issues raised by 1 tester labels Jul 21, 2023
@BenWestgate
Copy link
Owner Author

Enhancement added to bails-menu re-write. Enjoy @epiccurious

e13ffb8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: medium Issues raised by 1 tester
Projects
None yet
Development

No branches or pull requests

1 participant