aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-10 21:52:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-10 21:52:01 +0800
commit0e4f21fc376fae88b59cb33a06a1ddd36a11a592 (patch)
treee7512b77374ada18387bde01065ecf1edaa51fce /whisper/whisper.go
parent7d8ce53eca90a6e93e49d584a2cff5e39aea40c0 (diff)
downloaddexon-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.go3
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 {