-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a trace streamer for fun. Should probably remove
- Loading branch information
Showing
5 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,4 @@ EXPOSE 9090 | |
RUN mkdir -p /tmp/trace | ||
RUN mkfifo /tmp/trace/trace.fifo | ||
CMD ["/start.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
#! /bin/bash | ||
echo "HELLO" | ||
source ./state_sync_vars.sh | ||
source ./peers.sh | ||
echo "trust_height: $BLOCK_HEIGHT" | ||
echo "trust_hash: $TRUST_HASH" | ||
echo "rpc servers: $PYLONSD_STATESYNC_RPC_SERVERS" | ||
echo "peers: $PYLONSD_P2P_PEERS" | ||
exec pylonsd start --trace-store /tmp/trace/trace.fifo | ||
echo "peers: $PYLONSD_P2P_PERSISTENT_PEERS" | ||
|
||
# enable rest server and swagger | ||
toml set --toml-path $HOME/.pylons/config/app.toml api.swagger true | ||
toml set --toml-path $HOME/.pylons/config/app.toml api.enable true | ||
|
||
# explicitly set rpc to 0.0.0.0 so that docker expose port would work | ||
exec pylonsd start --rpc.laddr tcp://0.0.0.0:26657 --trace-store /tmp/trace/trace.fifo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters