electrum-bitcoinprivate/gui/kivy/uix/ui_screens/network.kv

56 lines
1.9 KiB
Plaintext
Raw Normal View History

Popup:
2015-10-07 01:13:40 -07:00
id: nd
title: _('Network')
n_nodes: len(app.network.get_interfaces())
blockchain_height: app.network.get_local_height()
is_connected: app.network.is_connected()
2015-10-07 01:13:40 -07:00
BoxLayout:
2015-10-07 01:13:40 -07:00
orientation: 'vertical'
2016-02-22 02:34:21 -08:00
padding: '10dp'
spacing: '10dp'
TopLabel:
s1: _("Connected to %d nodes.")%root.n_nodes if root.n_nodes else _("Not connected?")
s2: _("Blockchain length") + ": %d "%root.blockchain_height + _("blocks")
text: self.s1 + '\n' + self.s2
Widget:
size_hint: 1, 0.1
2015-10-07 01:13:40 -07:00
GridLayout:
cols: 2
Label:
2016-02-22 02:49:37 -08:00
text: _('Server')
Spinner:
2015-10-07 01:13:40 -07:00
id: host
height: '48dp'
2016-06-04 11:49:45 -07:00
size_hint_y: None
text: ''
2016-02-14 19:18:11 -08:00
values: sorted(app.network.get_servers())
disabled: auto_connect.active
Label:
text: _('Auto-connect')
CheckBox:
id: auto_connect
size_hint_y: None
2015-12-02 03:11:28 -08:00
Widget:
size_hint: 1, 0.1
2016-02-22 02:34:21 -08:00
TopLabel:
2016-02-22 02:49:37 -08:00
text: _("Electrum retrieves your wallet information from a single node (address 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
TopLabel:
text: _("If auto-connect is checked, the address server will be selected automatically.")
2016-02-22 02:34:21 -08:00
font_size: '6pt'
Widget:
size_hint: 1, 0.1
BoxLayout:
2015-12-02 03:11:28 -08:00
Widget:
size_hint: 0.5, None
Button:
size_hint: 0.5, None
height: '48dp'
text: _('OK')
on_release:
nd.dismiss()