aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 18:39:15 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 18:39:15 +0800
commit0e9c8568fd689fdee0cce2584ad96ecce60c60d7 (patch)
treecd7851130b48054b45334fe3bb48abf6869cf31c /peer.go
parent2667cb3ab69271604262e809927f7ab25dafa93e (diff)
downloaddexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.gz
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.bz2
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.lz
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.xz
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.zst
dexon-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.zip
Re broadcast transactions
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/peer.go b/peer.go
index cd3cc7635..5c46b73fb 100644
--- a/peer.go
+++ b/peer.go
@@ -381,6 +381,7 @@ func (p *Peer) HandleInbound() {
}
case ethwire.MsgTxTy:
+ fmt.Println("received tx")
// If the message was a transaction queue the transaction
// in the TxPool where it will undergo validation and
// processing when a new block is found
@@ -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())
- /*
- msg = ethwire.NewMessage(ethwire.MsgGetTxsTy, []interface{}{})
- p.QueueMessage(msg)
- */
+ msg = ethwire.NewMessage(ethwire.MsgGetTxsTy, []interface{}{})
+ p.QueueMessage(msg)
}
}