Skip to content

Commit

Permalink
version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
royshang committed Dec 30, 2017
1 parent 7c8447b commit ed37bea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ For the roadmap of Nebulas, please visit the [Roadmap](https://github.com/nebula

For more information of Nebulas protocol, design documents, please refer to our [wiki](https://github.com/nebulasio/wiki).

TestNet is released, please check [here](https://github.com/nebulasio/wiki/blob/master/testnet.md) for more details

## Building from source

### Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions core/dpos_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
const (
BlockInterval = int64(5)
AcceptedNetWorkDelay = int64(2)
DynastyInterval = int64(60) // TODO(roy): 3600
DynastySize = 6 // TODO(roy): 21
DynastyInterval = int64(3600) // TODO(roy): 3600
DynastySize = 21 // TODO(roy): 21
SafeSize = DynastySize/3 + 1
)

Expand Down
4 changes: 2 additions & 2 deletions net/testing/normal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Message struct {
HangUp bool
}

// streamWrap wraps a libp2p stream. We encode/decode whenever we
// WrappedStream wraps a libp2p stream. We encode/decode whenever we
// write/read from a stream, so we can just carry the encoders
// and bufios with us
type WrappedStream struct {
Expand All @@ -50,7 +50,7 @@ type WrappedStream struct {
r *bufio.Reader
}

// wrapStream takes a stream and complements it with r/w bufios and
// WrapStream takes a stream and complements it with r/w bufios and
// decoder/encoder. In order to write raw data to the stream we can use
// wrap.w.Write(). To encode something into it we can wrap.enc.Encode().
// Finally, we should wrap.w.Flush() to actually send the data. Handling
Expand Down
4 changes: 2 additions & 2 deletions net/testing/seed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Message struct {
HangUp bool
}

// streamWrap wraps a libp2p stream. We encode/decode whenever we
// WrappedStream wraps a libp2p stream. We encode/decode whenever we
// write/read from a stream, so we can just carry the encoders
// and bufios with us
type WrappedStream struct {
Expand All @@ -43,7 +43,7 @@ type WrappedStream struct {
r *bufio.Reader
}

// wrapStream takes a stream and complements it with r/w bufios and
// WrapStream takes a stream and complements it with r/w bufios and
// decoder/encoder. In order to write raw data to the stream we can use
// wrap.w.Write(). To encode something into it we can wrap.enc.Encode().
// Finally, we should wrap.w.Flush() to actually send the data. Handling
Expand Down

0 comments on commit ed37bea

Please sign in to comment.