diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-21 18:39:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-21 18:39:15 +0800 |
commit | 0e9c8568fd689fdee0cce2584ad96ecce60c60d7 (patch) | |
tree | cd7851130b48054b45334fe3bb48abf6869cf31c /peer.go | |
parent | 2667cb3ab69271604262e809927f7ab25dafa93e (diff) | |
download | dexon-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.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) } } |