URI: 
       tAdd sleep after uploading tor tx - electrum-personal-server - Maximally lightweight electrum server for a single user
  HTML git clone https://git.parazyd.org/electrum-personal-server
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 1908c7bdc8163b93e255a6e8a601e41d10bfa9d7
   DIR parent 95b76f1e0534c9109985bcedfd8afaebd901693f
  HTML Author: chris-belcher <chris-belcher@users.noreply.github.com>
       Date:   Mon, 24 Jun 2019 15:10:56 +0100
       
       Add sleep after uploading tor tx
       
       Diffstat:
         M electrumpersonalserver/server/peer… |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrumpersonalserver/server/peertopeer.py b/electrumpersonalserver/server/peertopeer.py
       t@@ -335,6 +335,10 @@ class P2PBroadcastTx(P2PMessageHandler):
                            self.uploaded_tx = True
                            self.logger.info("Uploaded transaction via tor to peer at "
                                + str(p2p.remote_hostport))
       +                    ##make sure the packets really got through by sleeping
       +                    ##some kernels seem to send a RST packet on close() even
       +                    ##if theres still data in the send buffer
       +                    time.sleep(5)
                            p2p.close()
        
        def broadcaster_thread(txhex, node_addrs, tor_hostport, network, logger,