Unverified Commit a4b3eeb5 authored by JeremyRand's avatar JeremyRand
Browse files

Bug 33752: Bump electrum-nmc and stemns versions

These updates include network performance and reliability improvements.
parent b76fb996
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
# 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:
+1 −1
Original line number Diff line number Diff line
# 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:
+12 −0
Original line number Diff line number Diff line
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
+1 −0
Original line number Diff line number Diff line
{
    "pause_network": true,
    "proxy": "socks5:127.0.0.1:9150::",
    "rpcpassword": "password",
    "rpcport": 8336,