ZcashLightClientKit/Tests/TestUtils
Francisco Gindre 802aaa437d
[#959] Fix `v_transactions` view issues with value (#963)
This change switches to a new (future) version of the rust crates
that will get rid of the sent and received transactions Views in
favor of a `v_transaction` view that will do better accounting of
outgoing and incoming funds. Additionally it will support an
outputs view for seeing the inner details of transactions enabling
the SDKs tell the users the precise movement of value that a tx
causes in its multiple possible ways according to the protocol.

the `v_tx_outputs` view is not yet implemented.

Sent and Received transaction sub-types are kept for compatibility
purposes but they are generated from Overviews instead of queried
from a specific view.

In the transaction Overview the value represents the whole value
transfer for the transaction from the point of view of a given
account including fees. This means that the value for a single
transaction Overview struct represents the addition or subtraction
of ZEC value to the account's balance.

Future updates will give clients the possibility to drill into the
inner workings of those value changes in a per-output basis for
each transaction.

Also, the field `pending_unmined` field was added to `v_transactions`
so that wallets can query `DataDb` for pending but yet unmined txs

This will prepare the field for removing the notion of a "PendingDb"
and its nuances.

Also updated test database `darkside_data.db`

Closes #959

Closes #971 ZcashLightClientKitSample main target broken swiftlint script

Demo App improvements: Show Short date and value on transaction list
2023-04-18 09:10:56 -03:00
..
Resources [#959] Fix `v_transactions` view issues with value (#963) 2023-04-18 09:10:56 -03:00
Sourcery [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02: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 [#876] Add tests which runs multiple instances of the SDKSynchronizer 2023-03-28 16:11:13 +02:00
FakeChainBuilder.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
FakeService.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
FakeStorage.swift [#871] Cleanup internals of the SDK and use async where applicable 2023-03-27 16:16:42 +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 [#959] Fix `v_transactions` view issues with value (#963) 2023-04-18 09:10:56 -03:00
SDKSynchronizer+Utils.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
SDKSynchronizerSyncStatusHandler.swift [#724] Switch from NotificationCenter to Combine 2023-03-17 10:18:51 +01:00
Stubs.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
TestCoordinator.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
TestDbBuilder.swift [#959] Fix `v_transactions` view issues with value (#963) 2023-04-18 09:10:56 -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 [#959] Fix `v_transactions` view issues with value (#963) 2023-04-18 09:10:56 -03:00
UnspentTransactionOutputEntityMock.swift [#831] Add SDKSynchronizer wrappers for non-async API 2023-03-21 22:47:19 +01:00