reorganize lots of files, add rebroadcast

move methods to new files to keep things a bit organized.
add rebroadcast of unconfirmed txs after sync
mutex on OKtxid map
deal with doublespends next
This commit is contained in:
Tadge Dryja committed 2016-02-05 01:16:45 -08:00
1 parent 9eccb0638a
commit 25d90f5345
7 files changed
+390 -305

No files matched your search

+1 -1
View File
@@ -302,7 +302,7 @@ func SendCoins(s uspv.SPVCon, adr btcutil.Address, sendAmt int64) error {
// send it out on the wire. hope it gets there.
// we should deal with rejects. Don't yet.
err = s.PushTx(tx)
err = s.NewOutgoingTx(tx)
if err != nil {
return err
}