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

@ -17,7 +17,7 @@ import (
// protocol. These are wrapped into Envelopes that need not be understood by
// intermediate nodes, just forwarded.
type Message struct {
Flags byte // First bit it signature presence, rest reserved and should be random
Flags byte // First bit is signature presence, rest reserved and should be random
Signature []byte
Payload []byte
Sent int64