mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-16 05:04:04 +01:00
Settings: add melo.tools and blockchair onion block explorer
This commit is contained in:
@@ -357,6 +357,21 @@ QString blockExplorerLink(const QString &blockExplorer, NetworkType::Type nettyp
|
||||
return QString("https://blockchair.com/monero/transaction/%1").arg(txid);
|
||||
}
|
||||
}
|
||||
else if (blockExplorer == "melo.tools") {
|
||||
switch (nettype) {
|
||||
case NetworkType::MAINNET:
|
||||
return QString("https://melo.tools/explorer/mainnet/tx/%1").arg(txid);
|
||||
case NetworkType::STAGENET:
|
||||
return QString("https://melo.tools/explorer/stagenet/tx/%1").arg(txid);
|
||||
case NetworkType::TESTNET:
|
||||
return QString("https://melo.tools/explorer/testnet/tx/%1").arg(txid);
|
||||
}
|
||||
}
|
||||
else if (blockExplorer == "blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion") {
|
||||
if (nettype == NetworkType::MAINNET) {
|
||||
return QString("http://blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion/monero/transaction/%1").arg(txid);
|
||||
}
|
||||
}
|
||||
|
||||
switch (nettype) {
|
||||
case NetworkType::MAINNET:
|
||||
|
||||
Reference in New Issue
Block a user