-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
90 lines (71 loc) · 4.38 KB
/
Copy pathconfig.yaml.example
File metadata and controls
90 lines (71 loc) · 4.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
VIEWER: # ONLY needed if using this for the remote viewer script
viewer_ip: 127.0.0.1 # The remote IP/hostname to connect to.
viewer_port: 5000 # The remote port to connect to.
# NOTE: STATUSBAR SECTION BELOW CAN ALSO (OPTIONALLY) USED FOR VIEWER SCRIPT TMUX #
# Nothing else needed for Viewer only script. Will separate into its own file later #
#######################################################################################
GENERAL:
buffer_blocks: 40 # How many blocks before Epoch to trigger (1 block = 10seconds)
enable_tmux: False # Enables tmux statusbar
auto_stake_rewards: True
auto_reclaim_full_restakes: True
min_peers: 8 # Minimum number of peers to be considered healthy
use_sudo: True # ONLY needs to be set True if you NEED to use sudo to run your ruskquery and rusk-wallet commands.
display_options: False # Enable the Settings display at top of tool
## These minimums are still checked to make sure it's worth doing vs missed potential rewards.
min_rewards: 1 # Minimum amount of rewards to consider claiming rewards to stake
min_slashed: 1 # Minimum amount of slashed rewards from topoffs before considering restaking to reclaim
PROCESS_WATCHDOG: # Settings for monitoring and killing stuck processes
wallet_command_timeout: 120 # Timeout in seconds for wallet commands (stake-info, balance, etc.)
general_command_timeout: 300 # Timeout in seconds for general commands
max_retries: 3 # Maximum number of retries for failed commands
retry_delay: 5 # Base delay in seconds between retries (uses exponential backoff)
WEB_DASHBOARD: # Default at http://localhost:5000
enable_dashboard: True
dash_port: 5000 # Port the Dashboard and API should listen on. Defaults to 5000
dash_ip: 0.0.0.0 # Defaults to 0.0.0.0 for any IP, otherwise specific IP
include_rendered: False # Include a render text of the console display in the API response
# Allows grabbing the whole thing to display easily, vs parsing and building a display because I got bored
NOTIFICATIONS:
monitor_balance: True # Get notifications when balances change for Public or Shielded
discord_webhook: # Insert webhook to activate. Example: https://discord.com/api/webhooks/xxxxxxxxxx/XXXXXXXXX
pushbullet_token: # Leave Blank to Disable
telegram_bot_token: # Leave Blank to Disable
telegram_chat_id: # Leave Blank to Disable
pushover_user_key: # Leave Blank to Disable
pushover_app_token: # Leave Blank to Disable
slack_webhook: # "https://hooks.slack.com/services/your/webhook/url"
webhook_url: # https://your-webhook-url.com/endpoint # For parsing with your own server/middleware
LOG_FILES:
enable_logging: False
action_log: # Defaults to ./duskman_actions.log (set to 'none' to use default)
error_log: # Defaults to ./duskman_errors.log (set to 'none' to use default)
debug_log: # Defaults to ./duskman_tmp_debug.log (set to 'none' to use default) :NOTE: Debug log is deleted on each start!
debug: False # Enable the debugging log. Debug log is deleted on each start!
STATUSBAR: # Determines what to show in tmux statusbar
# Also for Viewer
show_current_block: True
show_balance: True
show_public: True
show_shielded: True
show_total: True
show_staked: True
show_rewards: True
show_reclaimable: True
show_price: True
show_timer: True
show_trigger_time: True
show_peer_count: False
SUDO_CONFIG: # Configuration for sudo handling
# Option 1: Use passwordless sudo (recommended)
# Configure with: sudo visudo
# Add line: username ALL=(ALL) NOPASSWD: /path/to/ruskquery, /path/to/rusk-wallet
passwordless_sudo: False
# Option 2: Provide sudo password (less secure)
# sudo_password: "" # Leave empty to disable, or set via environment variable SUDO_PASSWORD
# Option 3: Use sudo with -S flag to read password from stdin
use_stdin_password: True
# Replaced with using .env file (SEE INSTRUCTIONS), but still works as an alternative:
# pwd_var_name: MY_WALLET_VARIABLE # NAME OF THE ENVIRONMENT VARIABLE WITH THE PASSWORD! DO_NOT_ PUT IN YOUR DAMN PASSWORD HERE, FFS!
# # Make sure you read the instructions on exporting the environment variable.
# # OPTIONAL. See instructions for .env file instead