Merge pull request #1383 from jgarzik/rawtx

JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
This commit is contained in:
Jeff Garzik
2012-05-24 09:14:04 -07:00
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);