Auto detect testnet and mainnet ports

This commit is contained in:
Aditya Kulkarni
2018-10-16 22:59:22 -07:00
parent c40785ce28
commit 402b80d289
14 changed files with 245 additions and 95 deletions

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>362</height>
<width>441</width>
<height>430</height>
</rect>
</property>
<property name="windowTitle">
@@ -38,7 +38,7 @@
<property name="leftMargin">
<number>10</number>
</property>
<item row="4" column="0">
<item row="6" column="0">
<widget class="QLabel" name="label_3">
<property name="minimumSize">
<size>
@@ -51,10 +51,10 @@
</property>
</widget>
</item>
<item row="5" column="0">
<item row="7" column="0">
<widget class="QLineEdit" name="rpcuser"/>
</item>
<item row="0" column="0">
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
@@ -67,21 +67,21 @@
</property>
</widget>
</item>
<item row="1" column="0">
<item row="3" column="0">
<widget class="QLineEdit" name="hostname">
<property name="placeholderText">
<string>127.0.0.1</string>
</property>
</widget>
</item>
<item row="3" column="0">
<item row="5" column="0">
<widget class="QLineEdit" name="port">
<property name="placeholderText">
<string>8232</string>
</property>
</widget>
</item>
<item row="6" column="0">
<item row="8" column="0">
<widget class="QLabel" name="label_4">
<property name="minimumSize">
<size>
@@ -94,10 +94,10 @@
</property>
</widget>
</item>
<item row="7" column="0">
<item row="9" column="0">
<widget class="QLineEdit" name="rpcpassword"/>
</item>
<item row="2" column="0">
<item row="4" column="0">
<widget class="QLabel" name="label_2">
<property name="minimumSize">
<size>
@@ -110,6 +110,20 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Values configured in ~/.zcash/zcash.conf &lt;br/&gt;will overwrite these values&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>