Add Electrum Local IP Command

This commit is contained in:
Taylor Helsper 2019-09-24 21:54:46 -05:00
parent bce78b4e29
commit cbb37a652a
2 changed files with 11 additions and 0 deletions

View File

@ -92,6 +92,9 @@ def electrum_server_page():
server_standard_port = "50001"
server_secure_port = "50002"
# Get IP URLs
electrs_command = "./electrum -1 -s {}:50002:s".format(server_ip)
# Get Onion URLs
electrs_onion_hostname = "..."
electrs_onion_password = "..."
@ -118,6 +121,7 @@ def electrum_server_page():
"server_ip": server_ip,
"server_standard_port": server_standard_port,
"server_secure_port": server_secure_port,
"electrs_command": electrs_command,
"electrs_onion_hostname": electrs_onion_hostname,
"electrs_onion_password": electrs_onion_password,
"electrs_onion_command": electrs_onion_command

View File

@ -47,6 +47,13 @@
</div>
</div>
<div class="app_tile_row">
<div class="info_tile">
<div class="info_tile_header">Electrum CLI Command</div>
<div class="info_tile_contents">{{electrs_command}}</div>
</div>
</div>
<div class="divider" style="width: 800px;"></div>
<div class="app_tile_row">