mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
This commit is contained in:
parent
7a99821377
commit
976c08b68a
3 changed files with 37 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue