Russell Yanofsky
6d6bcc77c0
Remove use of g_connman / PushInventory in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
00dfb2a440
Remove uses of g_connman in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
cc3836e8f9
Remove uses of fPruneMode in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
cc02c796d3
Remove uses of fee globals in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
1fb0a4a04e
Remove use of CalculateMemPoolAncestors in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
cd32160af0
Remove use of GetTransactionAncestry in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
291276f7f4
Remove use of GetCountWithDescendants in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
bdc6628683
Remove use of IsRBFOptIn in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
80f52a2267
Remove uses of CheckFinalTx in wallet code
...
This commit does not change behavior.
2019-02-22 15:43:02 -04:00
Russell Yanofsky
aebafd0edf
Rename Chain getLocator -> getTipLocator
...
Suggested https://github.com/bitcoin/bitcoin/pull/14711#discussion_r252044389
2019-02-01 16:17:43 -05:00
Russell Yanofsky
44de1561aa
Remove remaining chainActive references from CWallet
...
This commit does not change behavior.
Co-authored-by: Ben Woosley <ben.woosley@gmail.com>
2019-01-15 08:42:00 -08:00
Russell Yanofsky
db21f02648
Convert CWallet::ScanForWalletTransactions and SyncTransaction to the new Chain apis
...
Only change in behavior is "Rescan started from block <height>" message
replaced by "Rescan started from block <hash>" message in
ScanForWalletTransactions.
Co-authored-by: Ben Woosley <ben.woosley@gmail.com>
2019-01-15 08:42:00 -08:00
Russell Yanofsky
2ffb07929e
Add findFork and findBlock to the Chain interface
...
And use them to remove uses of chainActive and mapBlockIndex in wallet code
This commit does not change behavior.
Co-authored-by: Ben Woosley <ben.woosley@gmail.com>
2019-01-15 08:42:00 -08:00
Russell Yanofsky
d93c4c1d6e
Add time methods to the Chain interface
...
And use them to remove uses of chainActive and mapBlockIndex in wallet code
This commit does not change behavior.
Co-authored-by: Ben Woosley <ben.woosley@gmail.com>
2019-01-15 08:42:00 -08:00
Russell Yanofsky
700c42b85d
Add height, depth, and hash methods to the Chain interface
...
And use them to remove uses of chainActive and mapBlockIndex in wallet code
This commit does not change behavior.
Co-authored-by: Ben Woosley <ben.woosley@gmail.com>
2019-01-15 12:42:00 -04:00
Russell Yanofsky
79d579f4e1
Remove uses of cs_main in wallet code
...
This commit does not change behavior.
It is easiest to review this change with:
git log -p -n1 -U0
2018-11-06 11:44:40 -04:00
Russell Yanofsky
7e2e62cf7c
Add skeleton chain and client classes
...
This commit does not change behavior. It just adds new skeleton classes that
don't do anything and aren't instantiated yet.
2018-11-06 11:44:40 -04:00