diff options
author | Matt Corallo <git@bluematt.me> | 2017-01-17 16:44:25 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-04-13 10:36:21 -0400 |
commit | 9fececb2cbabc52cc375b84bf840fac018cc8121 (patch) | |
tree | 63e3bda7949b4168b47a219f5fae6bd2d636c32d /src/prevector.h | |
parent | d89f8adf256727915346bd564e9c92bee094be36 (diff) |
Remove CValidationInterface::UpdatedTransaction
This removes another callback from block connection logic, making it
easier to reason about the wallet-RPCs-returns-stale-info issue.
UpdatedTransaction was previously used by the GUI to display
coinbase transactions only after they have a block built on top of
them. This worked fine for in most cases, but only worked due to a
corner case if the user received a coinbase payout in a block
immediately prior to restart. In that case, the normal process of
caching the most recent coinbase transaction's hash would not work,
and instead it would only work because of the on-load -checkblocks
calling DisconnectBlock and ConnectBlock on the current tip.
In order to make this more robust, a full mapWallet loop after the
first block which is connected after restart was added.
Diffstat (limited to 'src/prevector.h')
0 files changed, 0 insertions, 0 deletions