OSDN Git Service

rename policy config
authorHAOYUatHZ <haoyu@protonmail.com>
Sun, 1 Sep 2019 06:45:32 +0000 (14:45 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Sun, 1 Sep 2019 06:45:32 +0000 (14:45 +0800)
toolbar/precog/config/config.go

index 289f168..3c5ba3f 100644 (file)
@@ -43,8 +43,8 @@ type Config struct {
 }
 
 type Policy struct {
-       Confirmations      uint64 `json:"confirmations"`
-       RequiredLantencyMS uint64 `json:"required_lantency_ms"`
+       Confirmations uint64 `json:"confirmations"`
+       RequiredRttMS uint64 `json:"required_rtt_ms"`
 }
 
 type Node struct {