Don't label transactions "Open" while catching up

Since the default `nSequence` is `0xFFFFFFFE` and locktime is enabled,
the checking `wtx.is_final` is meaningless until the syncing has
completed.
This commit is contained in:
Hennadii Stepanov
2018-10-23 22:02:20 +03:00
parent bfd7e54097
commit fb3ce75807
7 changed files with 27 additions and 14 deletions

View File

@@ -178,7 +178,8 @@ public:
//! Try to get updated status for a particular transaction, if possible without blocking.
virtual bool tryGetTxStatus(const uint256& txid,
WalletTxStatus& tx_status,
int& num_blocks) = 0;
int& num_blocks,
int64_t& block_time) = 0;
//! Get transaction details.
virtual WalletTx getWalletTxDetails(const uint256& txid,