Skip to content
Snippets Groups Projects
Select Git revision
  • 07ab865bdc6cba6f7be122e07b7e1e452b34b794
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

info.go

Blame
  • runNetwork.sh 813 B
      
    #!/bin/bash
    
    if [ -z "$1" ]; then
        echo "Usage: `basename $0` number_of_nodes"
        exit 0
    fi
    
    re='^[0-9]+$'
    if ! [[ $1 =~ $re ]] ; then
       echo "Error: Number of nodes given is not a number" >&2; exit 1
    fi
    
    PEERING_PORT=14630
    GOSSIP_PORT=15670
    
    if [ -d testNodes ]; then
        rm -r testNodes
    fi
    mkdir testNodes
    cd testNodes
    
    for i in `seq 1 $1`; do
        PEERING_PORT=$((PEERING_PORT+1))
        GOSSIP_PORT=$((GOSSIP_PORT+1))
        mkdir node_$i
        mkdir node_$i/logs
        cp ../goshimmer node_$i/
        cd node_$i
        ./goshimmer --autopeering.port $PEERING_PORT --gossip.port $GOSSIP_PORT --autopeering.address 127.0.0.1 --autopeering.entryNodes 2TwlC5mtYVrCHNKG8zkFWmEUlL0pJPS1DOOC2U4yjwo=@127.0.0.1:14626 --node.LogLevel 4 --node.disablePlugins statusscreen --analysis.serverAddress 127.0.0.1:188 &
        cd ..
    done