diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-14 20:16:02 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-14 20:16:02 +0800 |
commit | f6efdd8aad96db24f29268b4393e95644dbbd18a (patch) | |
tree | 74d85a83763f5e20f3f036e9b7ca19711be5770d /whisper/whisper.go | |
parent | 1a4cfc173eb3f62c5859d25744f3c0de119e1b59 (diff) | |
download | dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.gz dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.bz2 dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.lz dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.xz dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.tar.zst dexon-f6efdd8aad96db24f29268b4393e95644dbbd18a.zip |
whisper: shorten constants to TTL and PoW
Diffstat (limited to 'whisper/whisper.go')
-rw-r--r-- | whisper/whisper.go | 4 |
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 { |