aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-10-01 15:29:40 -0400
committerMatt Corallo <git@bluematt.me>2016-10-04 13:53:04 -0400
commit7565e03b962cfa8d8e54aa0f9068f41194915523 (patch)
tree4535fa640781f26d3eaa4058b3c3e3e5512d8351 /src/validationinterface.h
parent12ee1fe018e99bba6c2b74940ece3b39a45ed8d3 (diff)
Remove SyncWithWallets wrapper function
Diffstat (limited to 'src/validationinterface.h')
-rw-r--r--src/validationinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h
index 683f8fe20c..a29859999b 100644
--- a/src/validationinterface.h
+++ b/src/validationinterface.h
@@ -28,8 +28,6 @@ void RegisterValidationInterface(CValidationInterface* pwalletIn);
void UnregisterValidationInterface(CValidationInterface* pwalletIn);
/** Unregister all wallets from core */
void UnregisterAllValidationInterfaces();
-/** Push an updated transaction to all registered wallets */
-void SyncWithWallets(const CTransaction& tx, const CBlockIndex *pindex, int posInBlock = -1);
class CValidationInterface {
protected:
@@ -50,6 +48,8 @@ protected:
struct CMainSignals {
/** Notifies listeners of updated block chain tip */
boost::signals2::signal<void (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip;
+ /** A posInBlock value for SyncTransaction which indicates the transaction was conflicted, disconnected, or not in a block */
+ static const int SYNC_TRANSACTION_NOT_IN_BLOCK = -1;
/** Notifies listeners of updated transaction data (transaction, and optionally the block it is found in. */
boost::signals2::signal<void (const CTransaction &, const CBlockIndex *pindex, int posInBlock)> SyncTransaction;
/** Notifies listeners of an updated transaction without new data (for now: a coinbase potentially becoming visible). */