mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
This allows optionally specifying the protocol for the main server. fixes #6095 fixes #5278
47 lines
1.5 KiB
Text
47 lines
1.5 KiB
Text
Popup:
|
|
id: nd
|
|
title: _('Server')
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
padding: '10dp'
|
|
spacing: '10dp'
|
|
TopLabel:
|
|
text: _("Electrum requests your transaction history from a single server. The returned history is checked against blockchain headers sent by other nodes, using Simple Payment Verification (SPV).")
|
|
font_size: '6pt'
|
|
Widget:
|
|
size_hint: 1, 0.8
|
|
GridLayout:
|
|
cols: 2
|
|
Label:
|
|
height: '36dp'
|
|
size_hint_x: 1
|
|
size_hint_y: None
|
|
text: _('Server') + ':'
|
|
TextInput:
|
|
id: server_str
|
|
multiline: False
|
|
height: '36dp'
|
|
size_hint_x: 3
|
|
size_hint_y: None
|
|
text: app.network.get_parameters().server.net_addr_str()
|
|
Widget
|
|
Button:
|
|
id: chooser
|
|
text: _('Choose from peers')
|
|
height: '36dp'
|
|
size_hint_x: 0.5
|
|
size_hint_y: None
|
|
on_release:
|
|
app.choose_server_dialog(root)
|
|
Widget:
|
|
size_hint: 1, 0.1
|
|
BoxLayout:
|
|
Widget:
|
|
size_hint: 0.5, None
|
|
Button:
|
|
size_hint: 0.5, None
|
|
height: '48dp'
|
|
text: _('OK')
|
|
on_release:
|
|
app.maybe_switch_to_server(str(root.ids.server_str.text))
|
|
nd.dismiss()
|