Raise version.

2024-05-20_merge
tecnovert 6 years ago
parent 589e4ca1d6
commit 74dc933381
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 2
      Dockerfile
  2. 4
      bin/basicswap_prepare.py
  3. 4
      bin/basicswap_run.py

@ -17,7 +17,7 @@ RUN cd ~; \
pip3 install .; \ pip3 install .; \
pip3 install pyzmq plyvel protobuf; pip3 install pyzmq plyvel protobuf;
RUN PARTICL_VERSION=0.18.0.12 PARTICL_VERSION_TAG= PARTICL_ARCH=x86_64-linux-gnu_nousb.tar.gz coldstakepool-prepare --update_core && \ RUN PARTICL_VERSION=0.18.1.0 PARTICL_VERSION_TAG= PARTICL_ARCH=x86_64-linux-gnu_nousb.tar.gz coldstakepool-prepare --update_core && \
mkdir -p ${LITECOIN_BINDIR} && cd ${LITECOIN_BINDIR} && \ mkdir -p ${LITECOIN_BINDIR} && cd ${LITECOIN_BINDIR} && \
wget https://download.litecoin.org/litecoin-${LITECOIN_VERSION}/linux/litecoin-${LITECOIN_VERSION}-x86_64-linux-gnu.tar.gz && \ wget https://download.litecoin.org/litecoin-${LITECOIN_VERSION}/linux/litecoin-${LITECOIN_VERSION}-x86_64-linux-gnu.tar.gz && \
wget -O build.assert https://github.com/litecoin-project/gitian.sigs.ltc/raw/master/${LITECOIN_VERSION}-linux/thrasher/litecoin-linux-0.17-build.assert && \ wget -O build.assert https://github.com/litecoin-project/gitian.sigs.ltc/raw/master/${LITECOIN_VERSION}-linux/thrasher/litecoin-linux-0.17-build.assert && \

@ -292,7 +292,7 @@ def main():
json.dump(settings, fp, indent=4) json.dump(settings, fp, indent=4)
cores = [ cores = [
('particl', '0.18.0.12'), ('particl', '0.18.1.0'),
('litecoin', '0.17.1') ('litecoin', '0.17.1')
] ]
for c in cores: for c in cores:
@ -332,7 +332,7 @@ def main():
particl_settings = settings['chainclients']['particl'] particl_settings = settings['chainclients']['particl']
partRpc = make_rpc_func(particl_settings['bindir'], particl_settings['datadir'], chain) partRpc = make_rpc_func(particl_settings['bindir'], particl_settings['datadir'], chain)
d = startDaemon(particl_settings['datadir'], particl_settings['bindir'], cfg.PARTICLD) d = startDaemon(particl_settings['datadir'], particl_settings['bindir'], cfg.PARTICLD, ['-noconnect', '-nofindpeers', '-nostaking', '-nodnsseed', '-nolisten'])
try: try:
waitForRPC(partRpc) waitForRPC(partRpc)

@ -43,10 +43,10 @@ def signal_handler(sig, frame):
swap_client.stopRunning() swap_client.stopRunning()
def startDaemon(node_dir, bin_dir, daemon_bin): def startDaemon(node_dir, bin_dir, daemon_bin, opts=[]):
daemon_bin = os.path.join(bin_dir, daemon_bin) daemon_bin = os.path.join(bin_dir, daemon_bin)
args = [daemon_bin, '-datadir=' + node_dir] args = [daemon_bin, '-datadir=' + node_dir] + opts
logger.info('Starting node ' + daemon_bin + ' ' + '-datadir=' + node_dir) logger.info('Starting node ' + daemon_bin + ' ' + '-datadir=' + node_dir)
return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Loading…
Cancel
Save