Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

docker exec -it <container-name> /bin/bash

for i in `ls /opt/docker/examples/*.rho | sort -R | tail -n 3`; do echo "running deploy with ${i}"; /opt/docker/bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 ${i}; done
for i in `ls /opt/docker/examples/tut-hello.rho | sort -R | tail -n 3`; do echo "running deploy with ${i}"; /opt/docker/bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 ${i}; done
/opt/docker/bin/rnode propose

Node Test testing branch

Code Block
sudo docker run -u root --network host -it rchain/rnode:testing run -b rnode://f4f20286feebc89d36d11b9e6ad726b6dd3d1490@52.119.8.51:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7

Dev 

Code Block
sudo docker run -u root --network host -it rchain/rnode:dev run --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 -p 5252

Master

Code Block
sudo docker run -u root --network host -it rchain/rnode:master run --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 -b rnode://de6eed5d00cf080fc587eeb412cb31a75fd10358@52.119.8.109:40400


bootstrap-release

Code Block
sudo docker run -u root --network host -it rchain/rnode:v0.5.3 run --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 -b rnode://baa289f8b32ce8009753bbffcd2c6814aef0da9b@52.119.8.52:40400

DEPLOY/PROPOSE USING DEV BOOTSTRAP and DOCKER

You will need your validator-private-key from here https://docs.google.com/spreadsheets/d/18merD3OzaDk7nmxQ78SUZBzWLbxA-aOnmcdxpXrp_U0

docker pull rnode/rchain:dev

sudo docker run -u root --network host -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key <validator-private-key>

...

sudo docker run -u root --network host -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400


With Validator

sudo docker run -u root --network host -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7

validator and port

sudo docker run -u root --network host -it rchain/rnode:dev run -b rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400 --validator-private-key 901b1f0837b7e891d7c2ea0047f502fd95637e450b0226c39a97d68dd951c8a7 -p 7777



Code Block
[server]
host = "localhost"
port = 44010
metrics-port = 44011
no-upnp = false
default-timeout = 5000
# to choose right address please read:
# https://rchain.atlassian.net/wiki/spaces/CORE/pages/501842019/RNode+bootstrap+addresses
bootstrap = "rnode://c61769b39d368cbcbc9499634e030386c79d5b02@52.119.8.108:40400"
standalone = true
data-dir = "C:/RChain/data"
map-size = 200000000

[grpc-server]
host = "grpc"
port = 44012

[tls]
certificate = "C:/RChain/ssl/node.certificate.pem"
key = "C:/RChain/ssl/node.key.pem"

# [validators]
# count = 5
# bonds-file = "/validator/bonds"
# known = "v1"
# public-key = "88888"
# private-key = "99999"
# sig-algorithm = "ed25519"
# wallets-file = "/validator/wallet"