Sha256: 2b577723afe39871d7aaa09306c1374adf78095aa5fab2e8f48e8ad92860656f

Contents?: true

Size: 848 Bytes

Versions: 12

Compression:

Stored size: 848 Bytes

Contents

#!/bin/bash

port=$(reserve_port)

mkdir server
cd server
zold node --trace --invoice=NOPREFIX@ffffffffffffffff \
  --host=localhost --port=${port} --bind-port=${port} \
  --threads=0 --standalone &
pid=$!
trap "kill -9 $pid" EXIT
cd ..

wait_for_port ${port}

zold remote clean
zold remote add localhost ${port}
zold remote trim
zold remote show

zold --public-key=id_rsa.pub create 0000000000000000
target=$(zold create --public-key=id_rsa.pub)
invoice=$(zold invoice ${target})
zold pay --private-key=id_rsa 0000000000000000 ${invoice} 14.99 'To save the world!'
zold propagate 0000000000000000
zold show
zold show 0000000000000000
zold taxes debt 0000000000000000

zold remote show
zold push 0000000000000000
zold fetch 0000000000000000 --ignore-score-weakness
zold diff 0000000000000000
zold merge 0000000000000000
zold clean 0000000000000000

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
zold-0.13.46 fixtures/scripts/push-and-pull.sh
zold-0.13.45 fixtures/scripts/push-and-pull.sh
zold-0.13.44 fixtures/scripts/push-and-pull.sh
zold-0.13.43 fixtures/scripts/push-and-pull.sh
zold-0.13.42 fixtures/scripts/push-and-pull.sh
zold-0.13.41 fixtures/scripts/push-and-pull.sh
zold-0.13.40 fixtures/scripts/push-and-pull.sh
zold-0.13.39 fixtures/scripts/push-and-pull.sh
zold-0.13.38 fixtures/scripts/push-and-pull.sh
zold-0.13.37 fixtures/scripts/push-and-pull.sh
zold-0.13.36 fixtures/scripts/push-and-pull.sh
zold-0.13.35 fixtures/scripts/push-and-pull.sh