From 0e4f21fc376fae88b59cb33a06a1ddd36a11a592 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Fri, 10 Apr 2015 16:52:01 +0300 Subject: whisper: polish the Envelope a bit, prep for tests. --- whisper/whisper.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'whisper/whisper.go') 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 { -- cgit