diff options
| author | Jonas Schnelli <[email protected]> | 2015-07-27 15:33:03 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-12-04 09:18:53 +0100 |
| commit | 7d0bf0bb4652fad052d5bf3ca3bf883754b46ead (patch) | |
| tree | 21f66c55be4e532bf52ce39373a7e5a92c45fbcb /src/zmq/zmqnotificationinterface.cpp | |
| parent | Merge pull request #7152 (diff) | |
| download | discoin-7d0bf0bb4652fad052d5bf3ca3bf883754b46ead.tar.xz discoin-7d0bf0bb4652fad052d5bf3ca3bf883754b46ead.zip | |
include the chaintip *blockIndex in the SyncTransaction signal
- allows reducing of calls to main.cpp for getting the chaintip during transaction syncing
- potentially allows reducing of cs_main locks
Diffstat (limited to 'src/zmq/zmqnotificationinterface.cpp')
| -rw-r--r-- | src/zmq/zmqnotificationinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq/zmqnotificationinterface.cpp b/src/zmq/zmqnotificationinterface.cpp index be2aec7d1..c8adcf846 100644 --- a/src/zmq/zmqnotificationinterface.cpp +++ b/src/zmq/zmqnotificationinterface.cpp @@ -142,7 +142,7 @@ void CZMQNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindex) } } -void CZMQNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock) +void CZMQNotificationInterface::SyncTransaction(const CTransaction& tx, const CBlockIndex* pindex, const CBlock* pblock) { for (std::list<CZMQAbstractNotifier*>::iterator i = notifiers.begin(); i!=notifiers.end(); ) { |