whisper: polish the Envelope a bit, prep for tests.

This commit is contained in:
Péter Szilágyi
2015-04-10 16:52:01 +03:00
parent 7d8ce53eca
commit 0e4f21fc37
6 changed files with 75 additions and 65 deletions

View File

@ -29,7 +29,8 @@ type MessageEvent struct {
}
const (
DefaultTimeToLive = 50 * time.Second
DefaultTimeToLive = 50 * time.Second
DefaultProofOfWork = 50 * time.Millisecond
)
type Whisper struct {