JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network

This commit is contained in:
Jeff Garzik
2012-05-23 16:21:25 -04:00
committed by Jeff Garzik
parent 7a99821377
commit 976c08b68a
3 changed files with 37 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ void static EraseFromWallets(uint256 hash)
}
// make sure all wallets know about the given transaction, in the given block
void static SyncWithWallets(const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false)
void SyncWithWallets(const CTransaction& tx, const CBlock* pblock, bool fUpdate)
{
BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered)
pwallet->AddToWalletIfInvolvingMe(tx, pblock, fUpdate);