Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
41810464
Commit
41810464
authored
Dec 13, 2016
by
zelig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)
parent
d7c398b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.go
cmd/swarm/main.go
+1
-1
protocol.go
swarm/network/protocol.go
+1
-1
No files found.
cmd/swarm/main.go
View file @
41810464
...
@@ -68,7 +68,7 @@ var (
...
@@ -68,7 +68,7 @@ var (
}
}
SwarmNetworkIdFlag
=
cli
.
IntFlag
{
SwarmNetworkIdFlag
=
cli
.
IntFlag
{
Name
:
"bzznetworkid"
,
Name
:
"bzznetworkid"
,
Usage
:
"Network identifier (integer, default 3
22
=swarm testnet)"
,
Usage
:
"Network identifier (integer, default 3=swarm testnet)"
,
Value
:
network
.
NetworkId
,
Value
:
network
.
NetworkId
,
}
}
SwarmConfigPathFlag
=
cli
.
StringFlag
{
SwarmConfigPathFlag
=
cli
.
StringFlag
{
...
...
swarm/network/protocol.go
View file @
41810464
...
@@ -51,7 +51,7 @@ const (
...
@@ -51,7 +51,7 @@ const (
Version
=
0
Version
=
0
ProtocolLength
=
uint64
(
8
)
ProtocolLength
=
uint64
(
8
)
ProtocolMaxMsgSize
=
10
*
1024
*
1024
ProtocolMaxMsgSize
=
10
*
1024
*
1024
NetworkId
=
3
22
NetworkId
=
3
)
)
const
(
const
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment