aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/config
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-08-25 16:42:18 +0800
committerGitHub <noreply@github.com>2018-08-25 16:42:18 +0800
commite122cb236312e0ca3ef6e0207a20890ec1e7bfaf (patch)
tree36cfe4cfe59e01082aaf377ed6292fc2aa7fc911 /simulation/config
parent2f7bb14d1d4b1e11129109d3ec2386d004ffb8af (diff)
downloaddexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar.gz
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar.bz2
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar.lz
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar.xz
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.tar.zst
dexon-consensus-e122cb236312e0ca3ef6e0207a20890ec1e7bfaf.zip
simulation: remove fake network (#74)
Diffstat (limited to 'simulation/config')
-rw-r--r--simulation/config/config.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/simulation/config/config.go b/simulation/config/config.go
index fe91881..0c6b5d3 100644
--- a/simulation/config/config.go
+++ b/simulation/config/config.go
@@ -29,7 +29,6 @@ type NetworkType string
// NetworkType enums.
const (
- NetworkTypeFake NetworkType = "fake"
NetworkTypeTCP NetworkType = "tcp"
NetworkTypeTCPLocal NetworkType = "tcp-local"
)
@@ -93,7 +92,7 @@ func GenerateDefault(path string) error {
MaxBlock: math.MaxUint64,
},
Networking: Networking{
- Type: NetworkTypeFake,
+ Type: NetworkTypeTCPLocal,
PeerServer: "peer.server",
Mean: 100,
Sigma: 10,