electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

server.kv (1557B)


      1 Popup:
      2     id: nd
      3     title: _('Server')
      4     BoxLayout:
      5         orientation: 'vertical'
      6         padding: '10dp'
      7         spacing: '10dp'
      8         TopLabel:
      9             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).")
     10             font_size: '6pt'
     11         Widget:
     12             size_hint: 1, 0.8
     13         GridLayout:
     14             cols: 2
     15             Label:
     16                 height: '36dp'
     17                 size_hint_x: 1
     18                 size_hint_y: None
     19                 text: _('Server') + ':'
     20             TextInput:
     21                 id: server_str
     22                 multiline: False
     23                 height: '36dp'
     24                 size_hint_x: 3
     25                 size_hint_y: None
     26                 text: app.network.get_parameters().server.net_addr_str()
     27             Widget
     28             Button:
     29                 id: chooser
     30                 text: _('Choose from peers')
     31                 height: '36dp'
     32                 size_hint_x: 0.5
     33                 size_hint_y: None
     34                 on_release:
     35                     app.choose_server_dialog(root)
     36         Widget:
     37             size_hint: 1, 0.1
     38         BoxLayout:
     39             Widget:
     40                 size_hint: 0.5, None
     41             Button:
     42                 size_hint: 0.5, None
     43                 height: '48dp'
     44                 text: _('OK')
     45                 on_release:
     46                     app.maybe_switch_to_server(str(root.ids.server_str.text))
     47                     nd.dismiss()