Commit Graph

11 Commits

Author SHA1 Message Date
Francisco Gindre b9e00055e9 [#614] make prepare(with:) and get{pool_type}Address() synchronous
Closes #614

fixes travis ci

Removed `setStartHeight` function

I’m going back in time and this setHeight is not something we are using anywhere else than in the prepare function. This comes from the times we had `initialize(seed:birthday) and we don’t have that anymore

See diff 246d10edaa (diff-414771774e10bc81260094ffcdc7b310a3be48758b2abd2bfae831c83912c02c)

The `func setStartHeight(_ startHeight: BlockHeight)` function assumes that
there might not be a wallet birthday set up or that it might be changed
in-flight which are things that are no longer happening.

remove test warning

Fix test compiler error
2022-11-11 14:07:45 -03:00
Francisco Gindre dbd4b8934c Merge branch 'master' into merge-master 2022-10-31 09:34:38 -03:00
Lukas Korba 085257881d
[#595] Update Travis to use Xcode 14
- yml file updated to the latest Xcode
2022-10-28 15:08:17 +02:00
Francisco Gindre 9b930391a4 [#384] Adopt Type Safe Memos in the FFI and SDK
Closes #384

This makes the SDK use the Memo and MemoBytes types across the FFI and the
public interface of the SDKSynchronizer. Addresses the comments by @defuse  on
issue https://github.com/zcash/ZcashLightClientKit/issues/378.
These changes depend on zcash-light-client-ffi repo changes managing
memos as byte arrays instead of string encoding of memos.

There are some compromises in terms of database representation of memos
and their exposure in transaction representing entities because we
wanted to avoid changing the database at this moment and be retro-
compatible with earlier versions and maintain deprecated APIs for wallets
to have time to adopt.

Memo and MemoBytes are WIP and subject to change. we are exploring
making Memo an opaque type based on a struct and drop the enum approach
to make the interface less throwing.

Fix: wrap new functions and deprecate old API. catch Memo errors

update get_sent and get_received memo functions from rust welding
point to branch in FFI repo

Fix type Tests/DarksideTests/BalanceTests.swift

Co-authored-by: Carter Jernigan <git@carterjernigan.com>

PR suggestions. Inverted condition

PR Suggestions + cleanup

merge fixes

Suggestions from PR to treat null bytes on TextMemo

refactor unpaddedRawBytes function and add tests

undo change in PendingTransactionSQLDAO

Fix broken import on Swift Package for libzcashlc

Fix libzcashlc url

Fix travis.yml
2022-09-07 14:49:08 -03:00
Lukas Korba 5d662dc98b
[#496] Travis CI and GA update to support compiler >= 5.6 (#497)
- travis.yml updated to xcode13.4
- github actions updated to run on macos 12
2022-08-23 16:08:10 -03:00
Francisco Gindre 605a3e9881 Update changelog.md and podspec version
Fix Travis CI builds

fix travis build

Fix Travis CI

fix travis

Fix Travis CI

Delete unneeded test

Change scheme

Fix Project file so that it compile and tests for Travis CI

restore Demo app scheme

fix dumb typo

Fix Tests. Add workflow

fix workflow for github action

blank line
2022-03-03 19:07:03 -03:00
Francisco Gindre 4d12e856fc update to xcode 12.2 environment on travis 2021-07-29 12:02:09 -03:00
Francisco Gindre 3f555d296b
Fix travis ci (#236)
* Update travis environment to 12.2

* build

* correct ci

* change xcode version for travisci
2020-12-01 15:25:28 -03:00
Francisco Gindre 92f0652fbe add pods stage 2020-09-10 20:30:11 -03:00
Charlie O'Keefe 9768220694 Run swiftlint before travis build 2020-06-17 13:56:00 -06:00
Charlie O'Keefe 59834f7ef8
Add a .travis.yml file (#151)
* Add a .travis.yml file

* Add scripts for setup on travis ci

* Add 'use_frameworks' in test targets in Podfile

* Remove 'test' target from xcodebuild command
2020-06-17 14:35:47 -03:00