mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 02:31:07 +00:00
Compare commits
4 Commits
5b8c204275
...
5f66fca633
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f66fca633 | ||
|
|
02240a7698 | ||
|
|
be2b48b9f3 | ||
|
|
b261100e71 |
@ -1175,12 +1175,8 @@ void RPCConsole::updateDetailWidget()
|
||||
ui->peerBytesRecv->setText(GUIUtil::formatBytes(stats->nodeStats.nRecvBytes));
|
||||
ui->peerPingTime->setText(GUIUtil::formatPingTime(stats->nodeStats.m_last_ping_time));
|
||||
ui->peerMinPing->setText(GUIUtil::formatPingTime(stats->nodeStats.m_min_ping_time));
|
||||
if (stats->nodeStats.nVersion) {
|
||||
ui->peerVersion->setText(QString::number(stats->nodeStats.nVersion));
|
||||
}
|
||||
if (!stats->nodeStats.cleanSubVer.empty()) {
|
||||
ui->peerSubversion->setText(QString::fromStdString(stats->nodeStats.cleanSubVer));
|
||||
}
|
||||
ui->peerVersion->setText(stats->nodeStats.nVersion ? QString::number(stats->nodeStats.nVersion) : ts.na);
|
||||
ui->peerSubversion->setText(!stats->nodeStats.cleanSubVer.empty() ? QString::fromStdString(stats->nodeStats.cleanSubVer) : ts.na);
|
||||
ui->peerConnectionType->setText(GUIUtil::ConnectionTypeToQString(stats->nodeStats.m_conn_type, /*prepend_direction=*/true));
|
||||
ui->peerTransportType->setText(QString::fromStdString(TransportTypeAsString(stats->nodeStats.m_transport_type)));
|
||||
if (stats->nodeStats.m_transport_type == TransportProtocolType::V2) {
|
||||
|
||||
@ -23,6 +23,8 @@ import time
|
||||
import urllib.request
|
||||
import zipfile
|
||||
|
||||
TAR = os.getenv('TAR', 'tar')
|
||||
|
||||
SHA256_SUMS = {
|
||||
"0e2819135366f150d9906e294b61dff58fd1996ebd26c2f8e979d6c0b7a79580": {"tag": "v0.14.3", "archive": "bitcoin-0.14.3-aarch64-linux-gnu.tar.gz"},
|
||||
"d86fc90824a85c38b25c8488115178d5785dbc975f5ff674f9f5716bc8ad6e65": {"tag": "v0.14.3", "archive": "bitcoin-0.14.3-arm-linux-gnueabihf.tar.gz"},
|
||||
@ -214,7 +216,7 @@ def download_binary(tag, args) -> int:
|
||||
print(f"Zip extraction failed: {e}", file=sys.stderr)
|
||||
return 1
|
||||
else:
|
||||
ret = subprocess.run(['tar', '-zxf', archive, '-C', tag,
|
||||
ret = subprocess.run([TAR, '-zxf', archive, '-C', tag,
|
||||
'--strip-components=1',
|
||||
'bitcoin-{tag}'.format(tag=tag[1:])]).returncode
|
||||
if ret != 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user