[tbb-commits] [tor-browser-build/master] Bug 33752: Bump electrum-nmc and stemns versions
gk at torproject.org
gk at torproject.org
Sun Jun 14 21:16:39 UTC 2020
commit a4b3eeb55f0dcb1cf04b38dc4697f30f8fa9048e
Author: JeremyRand <jeremyrand at airmail.cc>
Date: Wed Apr 15 11:33:25 2020 +0000
Bug 33752: Bump electrum-nmc and stemns versions
These updates include network performance and reliability improvements.
---
projects/electrum-nmc/config | 6 ++----
projects/stemns/config | 2 +-
projects/stemns/settings_services.py | 12 ++++++++++++
.../tor-browser/Bundle-Data/linux/Data/Electrum-NMC/config | 1 +
4 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/projects/electrum-nmc/config b/projects/electrum-nmc/config
index 57cabe5..a782d38 100644
--- a/projects/electrum-nmc/config
+++ b/projects/electrum-nmc/config
@@ -1,10 +1,8 @@
# vim: filetype=yaml sw=2
filename: 'Electrum-NMC-[% c("version") %]-[% c("var/build_id") %].tar.gz'
-version: 3.3.8
+version: 3.3.9.1
git_url: https://github.com/namecoin/electrum-nmc.git
-# Note: this Git hash has a couple of fixes on top of the 3.3.8 tag, which
-# aren't yet in a release tag.
-git_hash: 74b87da8f2ddbbf33c23cc8e63b0e1515f427d86
+git_hash: 50eb796d875a45d19f5b194b9d85d6c64d55a0fe
# TODO: This Git repo uses GPG sigs; we should switch from commit hash to GPG verification.
var:
container:
diff --git a/projects/stemns/config b/projects/stemns/config
index df2ac5c..efb5793 100644
--- a/projects/stemns/config
+++ b/projects/stemns/config
@@ -1,7 +1,7 @@
# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
git_url: https://github.com/namecoin/StemNS.git
-git_hash: '32ed59be344d6bb949faa4a2bf70ae058bfe4d21'
+git_hash: '68d437491c0308545e149181768cd98e45c1ac82'
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
var:
container:
diff --git a/projects/stemns/settings_services.py b/projects/stemns/settings_services.py
index 57897f0..2819c75 100644
--- a/projects/stemns/settings_services.py
+++ b/projects/stemns/settings_services.py
@@ -1,4 +1,16 @@
+import base64
+import urllib.request
+
+def unpause_namecoin():
+ request = urllib.request.Request("http://127.0.0.1:8336/", data=b'{"id":"stemns","method":"unpausenetwork","params":[]}')
+ auth = b"user:password"
+ authb64 = base64.b64encode(auth).decode("utf-8")
+ request.add_header("Authorization", f"Basic {authb64}")
+ urllib.request.urlopen(request)
+
_service_to_command = {
"bit.onion": ['TorBrowser/ncprop279/ncprop279', '--conf=TorBrowser/Data/ncprop279/ncprop279.conf'],
"bit": ['TorBrowser/ncprop279/ncprop279', '--conf=TorBrowser/Data/ncprop279/ncprop279.conf'],
}
+
+_bootstrap_callback = unpause_namecoin
diff --git a/projects/tor-browser/Bundle-Data/linux/Data/Electrum-NMC/config b/projects/tor-browser/Bundle-Data/linux/Data/Electrum-NMC/config
index df1ab17..f718572 100644
--- a/projects/tor-browser/Bundle-Data/linux/Data/Electrum-NMC/config
+++ b/projects/tor-browser/Bundle-Data/linux/Data/Electrum-NMC/config
@@ -1,4 +1,5 @@
{
+ "pause_network": true,
"proxy": "socks5:127.0.0.1:9150::",
"rpcpassword": "password",
"rpcport": 8336,
More information about the tbb-commits
mailing list