Merge pull request #43 from duggavo/master

Add MoneroBlock block explorer
This commit is contained in:
tobtoht 2023-01-09 23:18:46 +00:00 committed by GitHub
commit 7894d55d45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View file

@ -516,6 +516,12 @@
<string>blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion</string>
</property>
</item>
<item>
<property name="text">
<string>127.0.0.1:31312</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">

View file

@ -438,6 +438,11 @@ QString blockExplorerLink(const QString &blockExplorer, NetworkType::Type nettyp
return QString("http://blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion/monero/transaction/%1").arg(txid);
}
}
else if (blockExplorer == "127.0.0.1:31312") {
if (nettype == NetworkType::MAINNET) {
return QString("http://127.0.0.1:31312/tx?id=%1").arg(txid);
}
}
switch (nettype) {
case NetworkType::MAINNET: