Bitcoin Forum
June 28, 2024, 12:29:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: re-broadcasting a transaction?  (Read 1479 times)
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
January 14, 2013, 12:20:30 AM
 #1

So im using Multibit for my wallet.. and I have sent a small amount of BTC to another address.. 0.013 to be exact. Its been a couple days now and theres been zero confirmations and it says it hasnt been seen by the network. If I try and view the transaction on blockchain.info, it doesnt seem to exist on the network at all. Anyone know of a way to rebroadcast the transaction? Not much BTC at all so its not really a big deal, but little bit annoying to always have the "available to spend" thing showing next to my balance.

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
BitcoinOxygen
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile WWW
January 22, 2013, 10:00:53 AM
 #2

You could use Blockchain.info's Broadcast Transaction feature to re-broadcast your transaction.

https://blockchain.info/pushtx


Regards
BitcoinOxygen

BTCOxygen PPS Mining Pool 2% Fee  <<<  Join Now
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
January 24, 2013, 03:30:03 PM
 #3

You could use Blockchain.info's Broadcast Transaction feature to re-broadcast your transaction.

https://blockchain.info/pushtx


Regards
BitcoinOxygen

nice! Thanks!

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
January 25, 2013, 02:19:05 PM
 #4

void CWallet::ResendWalletTransactions()
{
    // Do this infrequently and randomly to avoid giving away
    // that these are our transactions.
    static int64 nNextTime;
    if (GetTime() < nNextTime)
        return;
    bool fFirst = (nNextTime == 0);
    nNextTime = GetTime() + GetRand(30 * 60);
    if (fFirst)
        return;

    // Only do it if there's been a new block since last time
    static int64 nLastTime;
    if (nTimeBestReceived < nLastTime)
        return;
    nLastTime = GetTime();

    // Rebroadcast any of our txes that aren't in a block yet
    printf("ResendWalletTransactions()\n");
    {
        LOCK(cs_wallet);
        // Sort them in chronological order
        multimap<unsigned int, CWalletTx*> mapSorted;
        BOOST_FOREACH(PAIRTYPE(const uint256, CWalletTx)& item, mapWallet)
        {
            CWalletTx& wtx = item.second;
            // Don't rebroadcast until it's had plenty of time that
            // it should have gotten in already by now.
            if (nTimeBestReceived - (int64)wtx.nTimeReceived > 5 * 60)
                mapSorted.insert(make_pair(wtx.nTimeReceived, &wtx));
        }
        BOOST_FOREACH(PAIRTYPE(const unsigned int, CWalletTx*)& item, mapSorted)
        {
            CWalletTx& wtx = *item.second;
            wtx.RelayWalletTransaction();
        }
    }
}

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!