You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
Popup:
|
|
id: nd
|
|
title: _('Network')
|
|
is_connected: app.network.is_connected()
|
|
server: app.network.interface.host
|
|
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
padding: '10dp'
|
|
spacing: '10dp'
|
|
TopLabel:
|
|
text: _("Connected to %s.")%root.server if root.is_connected else _("Not connected?")
|
|
Widget:
|
|
size_hint: 1, 0.1
|
|
TopLabel:
|
|
text: _("Electrum retrieves your wallet information from a single server. In addition, it connects to a number of extra nodes, in order to fetch block headers. Block headers are used to verify the information sent by the address server, using Simple Payment Verification (SPV).")
|
|
font_size: '6pt'
|
|
Widget:
|
|
size_hint: 1, 0.1
|
|
GridLayout:
|
|
cols: 2
|
|
Label:
|
|
text: _('Server')
|
|
Spinner:
|
|
id: host
|
|
height: '48dp'
|
|
size_hint_y: None
|
|
text: ''
|
|
values: sorted(app.network.get_servers())
|
|
disabled: auto_connect.active
|
|
Label:
|
|
text: _('Auto-connect')
|
|
CheckBox:
|
|
id: auto_connect
|
|
size_hint_y: None
|
|
Widget:
|
|
size_hint: 1, 0.1
|
|
TopLabel:
|
|
text: _("If auto-connect is checked, the address server will be selected automatically.")
|
|
font_size: '6pt'
|
|
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:
|
|
nd.dismiss()
|
|
|