Git Product home page Git Product logo

Comments (3)

sifnoc avatar sifnoc commented on July 4, 2024

Testing environment

A instance : rootchain, operator-node
B instance : user-node(bootnode)

operator-node run script

build/bin/geth \
    --nousb \
    --datadir ./chaindata-oper \
    --syncmode="full" \
    --networkid 77 \
    --rootchain.url ws://localhost:8546 \
    --operator 0x71562b71999873DB5b286dF957af199Ec94617F7 \
    --port 30305 \
    --nat extip:111.111.111.111 \
    --maxpeers 50 \
    --unlock 0x71562b71999873DB5b286dF957af199Ec94617F7 \
    --password signer.pass \
    --mine \
    --miner.gastarget 7500000 \
    --miner.gaslimit 10000000

user-node run script

build/bin/geth \
    --nousb \
    --datadir ./chaindata-user \
    --syncmode="full" \
    --networkid 77 \
    --rootchain.url ws://111.111.111.111:8546 \
    --rpc \
    --rpcaddr '0.0.0.0' \
    --rpcport 8545 \
    --rpcapi eth,net,debug \
    --rpccorsdomain "*" \
    --rpcvhosts=222.222.222.222 \
    --ws \
    --wsorigins '*' \
    --wsaddr '0.0.0.0' \
    --wsport 8546 \
    --bootnodes "enode://ff433b360da7baf28162d322e08a84156192acbc8b35c88e31c7c551b91ffb8185acbbaa77186a0fa18c50c00182bd2fcd2ccb8be58890e898c776fbb5b6d512@111.111.111.111:30305" \
    --nat extip:222.222.222.222 \
    --maxpeers 50

Well synced

operator node log

TRACE[03-10|05:19:32.744] Accepted connection                      addr=222.222.222.222:42720
DEBUG[03-10|05:19:32.747] Adding p2p peer                          id=340d6d9ba2562af7 conn=inbound addr=52.78.199.80:42720 peers=1 name=Geth/v1.9.3-stable-9...
TRACE[03-10|05:19:32.747] Connection set up                        id=340d6d9ba2562af7 addr=52.78.199.80:42720 conn=inbound inbound=true
TRACE[03-10|05:19:32.747] Starting protocol pls/63                 id=340d6d9ba2562af7 conn=inbound
DEBUG[03-10|05:19:32.747] Plasma peer connected                    id=340d6d9ba2562af7 conn=inbound name=Geth/v1.9.3-stable-917ac4a0/linux-amd64/go1.13.4
TRACE[03-10|05:19:32.747] Registering sync peer                    peer=340d6d9ba2562af7
TRACE[03-10|05:19:32.974] Dial task done                           task="discovery lookup"
TRACE[03-10|05:19:32.974] New dial task                            task="discovery lookup"

Should update docs that generate boot key process move to operator node, from user node setup.

from docs.tokamak.network.

sifnoc avatar sifnoc commented on July 4, 2024

Would be simpler using --nodekeyhex instead of --nodekey.

will update soon

from docs.tokamak.network.

sifnoc avatar sifnoc commented on July 4, 2024

Updated commit 48f9964 belongs PR #47

from docs.tokamak.network.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.