diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2024-03-31 23:50:42 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2024-08-06 01:38:10 +0200 |
commit | 74a04f9e7ad6a16988149cc3438b9ce13c91cdb9 (patch) | |
tree | b9db7fb3b361d76c8f60a0af1b13239d4b1aabbd /src/qt | |
parent | 902dd14382256c9d33bce667795a64079f3bee6b (diff) |
testnet: Introduce Testnet4
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/guiconstants.h | 1 | ||||
-rw-r--r-- | src/qt/guiutil.cpp | 1 | ||||
-rw-r--r-- | src/qt/networkstyle.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index 0386689baf..30ffa302a4 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -50,6 +50,7 @@ static const int TOOLTIP_WRAP_THRESHOLD = 80; #define QAPP_ORG_DOMAIN "bitcoin.org" #define QAPP_APP_NAME_DEFAULT "Bitcoin-Qt" #define QAPP_APP_NAME_TESTNET "Bitcoin-Qt-testnet" +#define QAPP_APP_NAME_TESTNET4 "Bitcoin-Qt-testnet4" #define QAPP_APP_NAME_SIGNET "Bitcoin-Qt-signet" #define QAPP_APP_NAME_REGTEST "Bitcoin-Qt-regtest" diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 0e3a0d9a9d..baa19d7c24 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -115,6 +115,7 @@ static std::string DummyAddress(const CChainParams ¶ms) break; case ChainType::SIGNET: case ChainType::TESTNET: + case ChainType::TESTNET4: addr = "tb1p35yvjel7srp783ztf8v6jdra7dhfzk5jaun8xz2qp6ws7z80n4tqa6qnlg"; break; case ChainType::REGTEST: diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index b6314f5533..d3f7c02d05 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -19,6 +19,7 @@ static const struct { } network_styles[] = { {ChainType::MAIN, QAPP_APP_NAME_DEFAULT, 0, 0}, {ChainType::TESTNET, QAPP_APP_NAME_TESTNET, 70, 30}, + {ChainType::TESTNET4, QAPP_APP_NAME_TESTNET4, 70, 30}, {ChainType::SIGNET, QAPP_APP_NAME_SIGNET, 35, 15}, {ChainType::REGTEST, QAPP_APP_NAME_REGTEST, 160, 30}, }; |