aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-14 20:16:02 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-14 20:16:02 +0800
commitf6efdd8aad96db24f29268b4393e95644dbbd18a (patch)
tree74d85a83763f5e20f3f036e9b7ca19711be5770d /whisper/whisper.go
parent1a4cfc173eb3f62c5859d25744f3c0de119e1b59 (diff)
downloadgo-tangerine-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.gz
go-tangerine-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.zst
go-tangerine-f6efdd8aad96db24f29268b4393e95644dbbd18a.zip
whisper: shorten constants to TTL and PoW
Diffstat (limited to 'whisper/whisper.go')
-rw-r--r--whisper/whisper.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go
index 2634a23a4..b83e3f1c6 100644
--- a/whisper/whisper.go
+++ b/whisper/whisper.go
@@ -30,8 +30,8 @@ const (
)
const (
- DefaultTimeToLive = 50 * time.Second
- DefaultProofOfWork = 50 * time.Millisecond
+ DefaultTTL = 50 * time.Second
+ DefaultPoW = 50 * time.Millisecond
)
type MessageEvent struct {