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 | |
parent | 2667cb3ab69271604262e809927f7ab25dafa93e (diff) | |
download | go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.gz go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.bz2 go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.lz go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.xz go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.zst go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.zip |
Re broadcast transactions
-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) } } |