forked from onflow/flow-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
otherwise it gets deduped at network layer
- Loading branch information
1 parent
8632b6a
commit 1eb59ff
Showing
5 changed files
with
34 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.log | ||
data* |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#/bin/sh | ||
|
||
echo "Running 1" | ||
./consensus \ | ||
--entries consensus-0000000000000000000000000000000000000000000000000000000000000001@localhost:8001=1000,consensus-0000000000000000000000000000000000000000000000000000000000000002@localhost:8002=1000,consensus-0000000000000000000000000000000000000000000000000000000000000003@localhost:8003=1000 \ | ||
--connections 2 \ | ||
--nodeid 0000000000000000000000000000000000000000000000000000000000000001 \ | ||
--datadir ./data1 \ | ||
&>./node1.log & | ||
|
||
echo "Running 2" | ||
./consensus \ | ||
--entries consensus-0000000000000000000000000000000000000000000000000000000000000001@localhost:8001=1000,consensus-0000000000000000000000000000000000000000000000000000000000000002@localhost:8002=1000,consensus-0000000000000000000000000000000000000000000000000000000000000003@localhost:8003=1000 \ | ||
--connections 2 \ | ||
--nodeid 0000000000000000000000000000000000000000000000000000000000000002 \ | ||
--datadir ./data2 \ | ||
&>./node2.log & | ||
|
||
echo "Running 3" | ||
./consensus \ | ||
--entries consensus-0000000000000000000000000000000000000000000000000000000000000001@localhost:8001=1000,consensus-0000000000000000000000000000000000000000000000000000000000000002@localhost:8002=1000,consensus-0000000000000000000000000000000000000000000000000000000000000003@localhost:8003=1000 \ | ||
--connections 2 \ | ||
--nodeid 0000000000000000000000000000000000000000000000000000000000000003 \ | ||
--datadir ./data3 \ | ||
&>./node3.log & | ||
|
||
echo "Done" |
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