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
50aa1f17
Commit
50aa1f17
authored
Apr 07, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated logging
parent
688d118c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
main.go
cmd/geth/main.go
+6
-8
ethereum.js
cmd/mist/assets/ext/ethereum.js
+1
-1
No files found.
cmd/geth/main.go
View file @
50aa1f17
...
@@ -46,10 +46,7 @@ const (
...
@@ -46,10 +46,7 @@ const (
Version
=
"0.9.7"
Version
=
"0.9.7"
)
)
var
(
var
app
=
utils
.
NewApp
(
Version
,
"the go-ethereum command line interface"
)
clilogger
=
logger
.
NewLogger
(
"CLI"
)
app
=
utils
.
NewApp
(
Version
,
"the go-ethereum command line interface"
)
)
func
init
()
{
func
init
()
{
app
.
Action
=
run
app
.
Action
=
run
...
@@ -217,9 +214,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
...
@@ -217,9 +214,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils
.
DataDirFlag
,
utils
.
DataDirFlag
,
utils
.
JSpathFlag
,
utils
.
JSpathFlag
,
utils
.
ListenPortFlag
,
utils
.
ListenPortFlag
,
utils
.
LogFileFlag
,
utils
.
LogJSONFlag
,
utils
.
LogLevelFlag
,
utils
.
MaxPeersFlag
,
utils
.
MaxPeersFlag
,
utils
.
EtherbaseFlag
,
utils
.
EtherbaseFlag
,
utils
.
MinerThreadsFlag
,
utils
.
MinerThreadsFlag
,
...
@@ -234,8 +228,12 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
...
@@ -234,8 +228,12 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils
.
ProtocolVersionFlag
,
utils
.
ProtocolVersionFlag
,
utils
.
NetworkIdFlag
,
utils
.
NetworkIdFlag
,
utils
.
RPCCORSDomainFlag
,
utils
.
RPCCORSDomainFlag
,
utils
.
LogLevelFlag
,
utils
.
BacktraceAtFlag
,
utils
.
BacktraceAtFlag
,
utils
.
LogToStdErrFlag
,
utils
.
LogToStdErrFlag
,
utils
.
LogVModuleFlag
,
utils
.
LogFileFlag
,
utils
.
LogJSONFlag
,
}
}
// missing:
// missing:
...
@@ -250,6 +248,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
...
@@ -250,6 +248,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
}
}
func
main
()
{
func
main
()
{
fmt
.
Printf
(
"Welcome to the FRONTIER
\n
"
)
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
defer
logger
.
Flush
()
defer
logger
.
Flush
()
if
err
:=
app
.
Run
(
os
.
Args
);
err
!=
nil
{
if
err
:=
app
.
Run
(
os
.
Args
);
err
!=
nil
{
...
@@ -259,7 +258,6 @@ func main() {
...
@@ -259,7 +258,6 @@ func main() {
}
}
func
run
(
ctx
*
cli
.
Context
)
{
func
run
(
ctx
*
cli
.
Context
)
{
fmt
.
Printf
(
"Welcome to the FRONTIER
\n
"
)
utils
.
HandleInterrupt
()
utils
.
HandleInterrupt
()
cfg
:=
utils
.
MakeEthConfig
(
ClientIdentifier
,
Version
,
ctx
)
cfg
:=
utils
.
MakeEthConfig
(
ClientIdentifier
,
Version
,
ctx
)
ethereum
,
err
:=
eth
.
New
(
cfg
)
ethereum
,
err
:=
eth
.
New
(
cfg
)
...
...
ethereum.js
@
c80ede50
Subproject commit
31e046dbecea51d3b99b21f3e7e60ddfb6c39304
Subproject commit
c80ede50c3b60a482f1ec76038325ec52f5e73b0
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