diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-10 21:52:01 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-10 21:52:01 +0800 |
commit | 0e4f21fc376fae88b59cb33a06a1ddd36a11a592 (patch) | |
tree | e7512b77374ada18387bde01065ecf1edaa51fce /whisper/whisper.go | |
parent | 7d8ce53eca90a6e93e49d584a2cff5e39aea40c0 (diff) | |
download | dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.gz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.bz2 dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.lz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.xz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.zst dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.zip |
whisper: polish the Envelope a bit, prep for tests.
Diffstat (limited to 'whisper/whisper.go')
-rw-r--r-- | whisper/whisper.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go index 3cb92a07a..d803e27d4 100644 --- a/whisper/whisper.go +++ b/whisper/whisper.go @@ -29,7 +29,8 @@ type MessageEvent struct { } const ( - DefaultTimeToLive = 50 * time.Second + DefaultTimeToLive = 50 * time.Second + DefaultProofOfWork = 50 * time.Millisecond ) type Whisper struct { |