aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/config
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-09-11 14:56:47 +0800
committerGitHub <noreply@github.com>2018-09-11 14:56:47 +0800
commit292ad73ec08621fa9beef5f028860131fcbf9bd9 (patch)
tree47644eaad7757cd2e8798ae7fe361fa5d6e99060 /simulation/config
parent582a491aa0bcb784ac7b65ebbfb42139945ea703 (diff)
downloadtangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.gz
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.bz2
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.lz
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.xz
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.zst
tangerine-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.zip
simulation: integrate test.Transport (#99)
- Add marshaller for simulation by encoding/json - Implement peer server based on test.TranportServer - Remove network models, they are replaced with test.LatencyModel
Diffstat (limited to 'simulation/config')
-rw-r--r--simulation/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/simulation/config/config.go b/simulation/config/config.go
index 2f03f85..f8f629b 100644
--- a/simulation/config/config.go
+++ b/simulation/config/config.go
@@ -31,6 +31,7 @@ type NetworkType string
const (
NetworkTypeTCP NetworkType = "tcp"
NetworkTypeTCPLocal NetworkType = "tcp-local"
+ NetworkTypeFake NetworkType = "fake"
)
// Consensus settings.