Basic script, README, gitignore tweaks
This commit is contained in:
parent
683cc1bed9
commit
db2a47220b
|
@ -0,0 +1 @@
|
|||
data
|
|
@ -14,7 +14,13 @@
|
|||
[nim-beacon-chain](https://github.com/status-im/nim-beacon-chain), with:
|
||||
|
||||
> make VALIDATORS=192 NODES=6 USER_NODES=1 eth2_network_simulation
|
||||
> make USE_MULTITAIL="yes" eth2_network_simulation
|
||||
|
||||
|
||||
And progressively more sophisticated modes. That is, starting with a basic simulation, then testnet, multi client test net, monitoring, state simulation, and so on.
|
||||
|
||||
For now, basics are enough. I.e. a few nodes that send some Waku envelopes between eachother.
|
||||
|
||||
## To run
|
||||
|
||||
`./start.sh`
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
SIM_ROOT="$(pwd)"
|
||||
SIMULATION_DIR="${SIM_ROOT}/data"
|
||||
WAKU_NODE_BIN="${SIMULATION_DIR}/waku_node"
|
||||
|
||||
echo "$SIM_ROOT"
|
||||
|
||||
cd "$SIM_ROOT"
|
||||
|
||||
mkdir -p "$SIMULATION_DIR"
|
||||
|
||||
# NIMFLAGS
|
||||
# DEFS
|
||||
|
||||
# XXX: Right now this is shh basic client
|
||||
echo "Building $WAKU_NODE_BIN"
|
||||
|
||||
echo "Running $WAKU_NODE_BIN"
|
||||
${WAKU_NODE_BIN}
|
Loading…
Reference in New Issue