conformal/btcd — pull request #114 by decred (2014-03-19 20:59:01+00:00)
Title: Issue #101 Resolution (Draft 0.2)

This is a resolution to Issue #99 that causes btcd to periodicially rebroadcast transactions that have come through the RPC server. It also ensures the rebroadcast of such transactions that occurred when btcd was connected to no peers.

It does this by adding a new listening thread to server that grabs the InvVects from sendrawtransaction submissions at the level of the RPC server to a map, and removes them from the map when the blockmanager detects a new block and parses the transactions in it. Rebroadcasting is by a random time in minutes from 1 minute to 30 minutes.