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
0e9c8568
Commit
0e9c8568
authored
May 21, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re broadcast transactions
parent
2667cb3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
peer.go
peer.go
+3
-4
No files found.
peer.go
View file @
0e9c8568
...
@@ -381,6 +381,7 @@ func (p *Peer) HandleInbound() {
...
@@ -381,6 +381,7 @@ func (p *Peer) HandleInbound() {
}
}
case
ethwire
.
MsgTxTy
:
case
ethwire
.
MsgTxTy
:
fmt
.
Println
(
"received tx"
)
// If the message was a transaction queue the transaction
// If the message was a transaction queue the transaction
// in the TxPool where it will undergo validation and
// in the TxPool where it will undergo validation and
// processing when a new block is found
// processing when a new block is found
...
@@ -658,10 +659,8 @@ func (p *Peer) CatchupWithPeer(blockHash []byte) {
...
@@ -658,10 +659,8 @@ func (p *Peer) CatchupWithPeer(blockHash []byte) {
ethutil
.
Config
.
Log
.
Debugf
(
"Requesting blockchain %x... from peer %s
\n
"
,
p
.
ethereum
.
BlockChain
()
.
CurrentBlock
.
Hash
()[
:
4
],
p
.
conn
.
RemoteAddr
())
ethutil
.
Config
.
Log
.
Debugf
(
"Requesting blockchain %x... from peer %s
\n
"
,
p
.
ethereum
.
BlockChain
()
.
CurrentBlock
.
Hash
()[
:
4
],
p
.
conn
.
RemoteAddr
())
/*
msg
=
ethwire
.
NewMessage
(
ethwire
.
MsgGetTxsTy
,
[]
interface
{}{})
msg = ethwire.NewMessage(ethwire.MsgGetTxsTy, []interface{}{})
p
.
QueueMessage
(
msg
)
p.QueueMessage(msg)
*/
}
}
}
}
...
...
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