Browse Source

ui ssu2 options (part 1 of code) ( #57 related ) + default sigtype fix ( fixes #46 )

pull/59/head
Gitea 2 years ago
parent
commit
a0653e7f43
  1. 45
      src/generalsettingswidget.ui
  2. 4
      src/mainwindow.h

45
src/generalsettingswidget.ui

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>679</width>
<height>4152</height>
<height>8152</height>
</rect>
</property>
<property name="sizePolicy">
@ -584,7 +584,7 @@ QGroupBox::title { @@ -584,7 +584,7 @@ QGroupBox::title {
<x>0</x>
<y>20</y>
<width>661</width>
<height>397</height>
<height>488</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
@ -623,6 +623,47 @@ QGroupBox::title { @@ -623,6 +623,47 @@ QGroupBox::title {
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ssu2enabledCheckBox">
<property name="text">
<string>Enable SSU2</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ssu2publishedCheckBox">
<property name="text">
<string>Publish SSU2</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="ssu2horizontalLayout">
<item>
<widget class="QLabel" name="ssu2portLabel">
<property name="text">
<string>Port to listen for incoming SSU2 packets (0 means auto-assign):</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ssu2portLineEdit"/>
</item>
<item>
<spacer name="ssu2horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="natCheckBox">
<property name="text">

4
src/mainwindow.h

@ -681,7 +681,7 @@ private: @@ -681,7 +681,7 @@ private:
std::string address = "127.0.0.1";
int destinationPort = 0;
int cryptoType = 0;
i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256;
i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;
// I2CP
I2CPParameters i2cpParameters;
CreateDefaultI2CPOptions (i2cpParameters);
@ -709,7 +709,7 @@ private: @@ -709,7 +709,7 @@ private:
std::string hostOverride = "";
std::string webircpass = "";
bool gzip = true;
i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256;
i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;
std::string address = "127.0.0.1";
bool isUniqueLocal = true;
int cryptoType = 0;

Loading…
Cancel
Save