ZcashLightClientKit/Tests/TestUtils
Francisco Gindre f5e7c027af
[#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001)
Removes `PendingTransactionEntity` and all of its related components.
Pending items are still tracked and visualized by the existing APIs
but they are retrieved from the `TransactionRepository` instead by
returning `ZcashTransaction.Overview` instead.

`pendingDbURL` is removed from every place it was required. Its
deletion is responsibility of wallet developers.

`ClearedTransactions` are now just `transactions`.

`MigrationManager` is deleted. Now all migrations are in charge of
the rust welding layer.

`PendingTransactionDao.swift` is removed.

Implementation of `AccountEntity` called `Account` is now `DbAccount`

`ZcashTransaction.Overview` can be checked for "pending-ness" by calling
`.isPending(latestHeight:)` latest height must be provided so that minedHeight
can be compared with the lastest and the `defaultStaleTolerance` constant.

`TransactionRecipient` is now a public type.

protocol `PendingTransactionRepository` is removed.

`TransactionManagerError` and `PersistentTransactionManager` are deleted.

`OutboundTransactionManager` is deleted and replaced by `TransactionEncoder`
which now incorporates `submit(encoded:)` functionality

`WalletTransactionEncoder` now uses a `LightWalletService` to submit the
encoded transactions.

Add changelog changes

Delete references to PendingDb from tests and documentation.

Fixes some typos. Adds the ability to trace transaction repository
SQL queries from test

Fix rebase conflicts and generate code

[#837] Memo tests regarding transparent address

Closes #837

Add model for transaction output

Point to FFI branch

Fix issue where sync wouldn't resume after wipe. Becasue GRPC
channel would be closed

Fix Tests

Fix testPendingTransactionMinedHeightUpdated

Fix testLastStates

[#921] Fix  broken SynchronizerDarksideTests

Add ZcashTransaction.Output API to Synchronizer

Changelog + comment fix

Add Assertions for transaction outputs and recipients

Point to FFI 0.3.1

Fix Demo App Compiler errors

Fix Demo App Compiler errors

fix cacheDb warnings

Fix Tests and compiler errors of rebase

build demo app

Remove `ZcashTransaction.Sent` and `.Received`. Add `.State` and tests

Fix SPM warning

PR Suggestions

Removes errors that are not used anymore

fix warnings
2023-05-05 14:30:47 -03:00
..
Resources [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
Sourcery [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
proto [#394] Update swift-grpc to 1.8.0 (#395) 2022-06-16 12:37:16 -03:00
CompactBlockProcessorEventHandler.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
DarkSideWalletService.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
FakeChainBuilder.swift [#361] Introduce ZcashError (#1005) 2023-04-24 18:15:20 -03:00
FakeService.swift [#361] Introduce ZcashError (#1005) 2023-04-24 18:15:20 -03:00
FakeStorage.swift [#442] Introduce parallel downloading and scanning 2023-05-05 09:35:43 +02:00
InternalSyncProgressMemoryStorage.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
LatestBlocksDataProviderMock.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
LoggerProxy.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
MockSessionIDGenerator.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
MockTransactionRepository.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
SDKSynchronizer+Utils.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
SDKSynchronizerSyncStatusHandler.swift [#724] Switch from NotificationCenter to Combine 2023-03-17 10:18:51 +01:00
Stubs.swift [#361] Introduce ZcashError (#1005) 2023-04-24 18:15:20 -03:00
TestCoordinator.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
TestDbBuilder.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
TestVector.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
Tests+Utils.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
TestsData.swift [#1001] Remove PendingDb in favor of `v_transactions` and `v_tx_output` Views (#1001) 2023-05-05 14:30:47 -03:00
UnspentTransactionOutputEntityMock.swift [#831] Add SDKSynchronizer wrappers for non-async API 2023-03-21 22:47:19 +01:00