ZcashLightClientKit/Tests/OfflineTests
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
..
DerivationToolTests [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
BirthdayTests.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
BlockBatchValidationTests.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
ClosureSynchronizerOfflineTests.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
CombineSynchronizerOfflineTests.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
CompactBlockProcessorOfflineTests.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
CompactBlockRepositoryTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
ErrorLocalizationTests.swift [#711] Add Swiftlint plug in to SDK (#722) 2023-01-18 17:09:04 +01:00
FsBlockStorageTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
InitializerOfflineTests.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
InternalSyncProgressTests.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
MemoTests.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
NotesRepositoryTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
NullBytesTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
PagedTransactionRepositoryTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
PendingTransactionRepositoryTests.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
RawTransactionTests.swift [#796] Fix tests 2023-02-16 17:14:31 +01:00
RecipientTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
SynchronizerOfflineTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
TransactionRepositoryTests.swift [#959] Fix `v_transactions` view issues with value (#963) 2023-04-18 09:10:56 -03:00
TxIdTests.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
UndescribableTests.swift [#778] Add swiflint config file only for tests 2023-02-13 13:36:58 +01:00
UnifiedTypecodesTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
WalletTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
ZatoshiTests.swift Fix typos 2022-12-31 12:50:16 +02:00
ZcashRustBackendTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
Zip302MemoTests.swift Update code to to comply better with linter rules 2023-02-13 12:18:08 +01:00