1
0
mirror of https://github.com/PurpleI2P/i2pd-qt.git synced 2025-01-24 21:34:15 +00:00

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

This commit is contained in:
Gitea 2022-08-14 10:14:54 +08:00
parent 9df5829339
commit a0653e7f43
2 changed files with 45 additions and 4 deletions

View File

@ -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 {
<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 {
</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">

View File

@ -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:
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;