Add Electrum Local IP Command
This commit is contained in:
parent
bce78b4e29
commit
cbb37a652a
|
@ -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
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user