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
540c79e6
Commit
540c79e6
authored
Mar 02, 2015
by
Taylor Gerring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename "net" methods
parent
65cad14f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
api.go
rpc/api.go
+4
-4
No files found.
rpc/api.go
View file @
540c79e6
...
...
@@ -513,8 +513,6 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
switch
req
.
Method
{
case
"eth_coinbase"
:
return
p
.
GetCoinbase
(
reply
)
case
"eth_listening"
:
return
p
.
GetIsListening
(
reply
)
case
"eth_mining"
:
return
p
.
GetIsMining
(
reply
)
case
"eth_setMining"
:
...
...
@@ -531,8 +529,6 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
return
err
}
return
p
.
SetDefaultBlockAge
(
int64
(
args
),
reply
)
case
"eth_peerCount"
:
return
p
.
GetPeerCount
(
reply
)
case
"eth_number"
:
return
p
.
BlockNumber
(
reply
)
case
"eth_accounts"
:
...
...
@@ -668,6 +664,10 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
return
err
}
return
p
.
DbGet
(
args
,
reply
)
case
"net_listening"
:
return
p
.
GetIsListening
(
reply
)
case
"net_peerCount"
:
return
p
.
GetPeerCount
(
reply
)
case
"shh_newIdentity"
:
return
p
.
NewWhisperIdentity
(
reply
)
case
"shh_newFilter"
:
...
...
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