forked from cosmos/cosmos-sdk
-
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.
Added testnet command and localnet targets
Finished testnet command and introduced localnet targets in Makefile, together with gaiadnode Docker image Fixed function parameter list - now starts with ctx Separated GenTxConfig into a server/config package so both the server package and the mock package can use it Adding server/config to app package gaiadnode Docker image Separated GenTxConfig into a server/config package so both the server package and the mock package can use it Adding server/config to app package Fixes requested by Rigel Removed commented code Global flag fixes
- Loading branch information
1 parent
1b20adc
commit 4c5e536
Showing
15 changed files
with
630 additions
and
179 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
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
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,68 @@ | ||
version: '3' | ||
|
||
services: | ||
node0: | ||
container_name: node0 | ||
image: "tendermint/gaiadnode" | ||
ports: | ||
- "46656-46657:46656-46657" | ||
environment: | ||
- ID=0 | ||
- LOG=$${LOG:-gaiad.log} | ||
volumes: | ||
- ./build:/gaiad:Z | ||
networks: | ||
localnet: | ||
ipv4_address: 192.168.10.2 | ||
|
||
node1: | ||
container_name: node1 | ||
image: "tendermint/gaiadnode" | ||
ports: | ||
- "46659-46660:46656-46657" | ||
environment: | ||
- ID=1 | ||
- LOG=$${LOG:-gaiad.log} | ||
volumes: | ||
- ./build:/gaiad:Z | ||
networks: | ||
localnet: | ||
ipv4_address: 192.168.10.3 | ||
|
||
node2: | ||
container_name: node2 | ||
image: "tendermint/gaiadnode" | ||
environment: | ||
- ID=2 | ||
- LOG=$${LOG:-gaiad.log} | ||
ports: | ||
- "46661-46662:46656-46657" | ||
volumes: | ||
- ./build:/gaiad:Z | ||
networks: | ||
localnet: | ||
ipv4_address: 192.168.10.4 | ||
|
||
node3: | ||
container_name: node3 | ||
image: "tendermint/gaiadnode" | ||
environment: | ||
- ID=3 | ||
- LOG=$${LOG:-gaiad.log} | ||
ports: | ||
- "46663-46664:46656-46657" | ||
volumes: | ||
- ./build:/gaiad:Z | ||
networks: | ||
localnet: | ||
ipv4_address: 192.168.10.5 | ||
|
||
networks: | ||
localnet: | ||
driver: bridge | ||
ipam: | ||
driver: default | ||
config: | ||
- | ||
subnet: 192.168.10.0/16 | ||
|
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,7 @@ | ||
# Makefile for the "gaiadnode" docker image. | ||
|
||
all: | ||
docker build --tag tendermint/gaiadnode gaiadnode | ||
|
||
.PHONY: all | ||
|
Oops, something went wrong.