Commit Graph

156 Commits

Author SHA1 Message Date
Francisco Gindre 7846d20476 remove module map from podspec 2020-09-30 19:40:36 -03:00
Francisco Gindre 02ddb7be24 update MnemonicSwift dependency 2020-09-28 12:29:09 -03:00
Francisco Gindre bd56f32164 bump version 2020-09-24 19:08:49 -03:00
Francisco Gindre 86b20c4236
Xcode 12 cocoapods error fix (#193)
* add arm64 damn apple

* fix: exclude arm from simulator builds

* change built platform depending on target architecture

* exclude arm64 for simulator builds
2020-09-24 12:00:15 -03:00
Francisco Gindre 49e3300692 Removed some warnings, added xconfig to fix pod lint issues, updated protobufs 2020-09-23 15:39:00 -03:00
Francisco Gindre 2ef4abd498 remove wrong server 2020-09-04 14:38:23 -03:00
Francisco Gindre 8c41899edb update grpc-swift 2020-09-02 15:34:06 -03:00
Francisco Gindre 97abbf2a4e bump version 2020-09-02 13:38:12 -03:00
Francisco Gindre deed240a6a
update version and checkpoints (#174) 2020-08-13 14:33:28 -03:00
Francisco Gindre e394514f85
Update LibRustZcash revision to support canopy on TESTNET (#172) 2020-08-12 14:45:35 -03:00
Francisco Gindre 2e8551aaa6 enforce gRPC-Swift 1.0.0-alpha.17 because of module name error 2020-08-10 20:34:00 -03:00
Francisco Gindre 251b4c7aa3
Error handling refactor (#170)
* Improve error handling on processor and service

* Error Refactoring

* fix XCode12 issue

* Fix Compilation errors and test

* bump MIDDLE version
2020-08-10 19:19:59 -03:00
Francisco Gindre d2ffd852bb release 0.5.3 2020-07-22 16:33:58 -03:00
Francisco Gindre 17a7efb149 bump version to 0.5.2 2020-07-21 19:01:16 -03:00
Francisco Gindre 9a00284a28
Added memo demo! (#155) 2020-06-18 20:53:11 -03: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
Francisco Gindre 32058fbc30 Remove MnemonicSwift from tests. iOS 12 Compatibility 2020-06-10 10:49:04 -03:00
Francisco Gindre 7b5871540e version 0.5.0 2020-06-10 10:42:50 -03:00
Kevin Gorham a45f056242
Enable heartwood. (#138)
* Enable heartwood.

We might want to make further adjustments to conditionally enable this only on testnet.

* add consensus branch Id code

* better address validation

Co-authored-by: Francisco Gindre <francisco.gindre@gmail.com>
2020-06-09 21:23:46 -03:00
Francisco Gindre ebee65798d
Switch to MnemonicSwift (#142) 2020-06-09 11:27:10 -03:00
Francisco Gindre f8f8be30a4
Advanced Re Org tests + Balance tests (#137)
* Stub methods and internal initializers

* [WIP] Balance tests

* testVerifyBalanceAfterExpiredTransaction and testVerifyChangeTransaction

* adopt new version of darkside lightwalletd

* Balance tests with new darkside wallet proto files

* podspec and podfile

* Advanced reorg testsw

* Issue 117 - Reorg Test Case: Index of incoming tx changes

* Hooking to Darksidewalletd

* update proto files to latest

* sanity tests

* FakeChainBuilder + advanced tests

* Use new datasets

* test: outbound tx index change on reorg

* testReOrgChangesInboundTxMinedHeight test + other improvements

* testReOrgChangesInboundMinedHeight

* testReOrgRemovesIncomingTxForever

* testReOrgRemovesOutboundTxAndIsNeverMined

* testReOrgRemovesOutboundTxAndIsNeverMined

* Fixes to balance tests
2020-06-03 20:18:57 -03:00
Francisco Gindre 15e9a95ccb remove commit lock from podfile 2020-05-06 16:45:10 -03:00
Francisco Gindre 462ce0f5d7
Decrypt transactions. Full wallet restore (#110)
* Add enhancement [WIP]

* Added enhance and decrypt transaction step

* modify logging

* Enhancement tests scaffolding
2020-04-23 14:11:03 -03:00
Francisco Gindre 174ceb1d8e
Swift grpc to NIO (#109)
* update protofiles

* update protobuf

* swift lint

* update GRPC service to NIO

* initial update [wip]

* Upgrade to SwiftGRPC NIO and Tests
2020-04-09 19:25:43 -03:00
Francisco Gindre 7510370892 Release 0.3.2 2020-04-06 14:06:53 -03:00
Francisco Gindre 312a169911
Feature/reorg testing (#104)
* Add DarksideWalletD class

* darkside walletd reorg tests

* Removed hardcoded stuff from tests

* add parameters to support other kinds of reorgs

* Basic reorg test in place

* Integration to DarksideWalletD and tests

* tests improvements

* Implement reorg testing. fix error throwing
2020-04-06 12:54:31 -03:00
Dimitris Apostolou 51419010ea
Fix typos and cleanup (#103) 2020-03-26 11:27:55 -03:00
Francisco Gindre 9f223596f8 fix sample code where interface changed 2020-03-16 15:25:55 -03:00
Linda Lee fc8689f894
Move read.me up a directory. (#90) 2020-03-09 19:39:10 -03:00
Francisco Gindre 72c3cb59ef
Integrate logging capabilities (#93)
* Integrate logging capabilities

* Relocate file
2020-03-09 17:25:27 -03:00
Francisco Gindre 4db57d1be0 Merge branch 'master' of github.com:zcash/ZcashLightClientKit 2020-03-06 19:28:40 -03:00
Francisco Gindre 4201a0d912 Release 0.2.0 2020-03-04 14:38:46 -06:00
Francisco Gindre 5bc3764f9e Support Note Spending v7
* upgraded to note-spending-v7

* use "zip32 compliant" seed on demo app

* Fixes to initializer, added v7 methods, documented API. Fixed compact block processor not initializing correctly upon new wallets.

* documentation

* Change u8 return value to bool + tests

* add address validation functionality to Initializer

* renamed functions to a C style. Exposed deriving functions in rust backend. Added more tests

* fixed bug where compact block processor wouldn't reschedule

* Fixed capture blocks retaining references

* fixed memory cycles and leaks

* fixed memory leak and blockrange error

* fixed error on confirmed transactions and added blockheight to progress notifications
2020-03-04 14:38:46 -06:00
Francisco Gindre 91462dc95f release 0.1.3 2020-03-04 14:38:46 -06:00
Francisco Gindre 5c177b3f4b release 0.1.1 2020-03-04 14:38:46 -06:00
Linda Naeun Lee acc4ddf166 Add read.me to iOS demo app, along with an image. 2020-03-04 13:49:19 -06:00
Francisco Gindre 5ec7c795f0 release 0.2.1 2020-03-03 12:18:01 -03:00
Francisco Gindre 6fb230588a Release 0.2.0 2020-02-26 13:57:13 -03:00
Francisco Gindre b867649443
Support Note Spending v7
* upgraded to note-spending-v7

* use "zip32 compliant" seed on demo app

* Fixes to initializer, added v7 methods, documented API. Fixed compact block processor not initializing correctly upon new wallets.

* documentation

* Change u8 return value to bool + tests

* add address validation functionality to Initializer

* renamed functions to a C style. Exposed deriving functions in rust backend. Added more tests

* fixed bug where compact block processor wouldn't reschedule

* Fixed capture blocks retaining references

* fixed memory cycles and leaks

* fixed memory leak and blockrange error

* fixed error on confirmed transactions and added blockheight to progress notifications
2020-02-26 13:54:48 -03:00
Francisco Gindre e56c04db63 release 0.1.3 2020-02-12 10:18:57 -03:00
Francisco Gindre 2e010e1764 release 0.1.1 2020-02-10 13:27:00 -03:00
Francisco Gindre 2f3b9e7b63
Prepare release (#65)
* lock dependency versions

* fixes to scripts

* Fix txId string extension
2020-01-15 00:33:45 -03:00
Francisco Gindre 750108252f
Feature/single pod mainnet (#60)
* Mainnet changes [WIP]

* Separate pods approach [WIP]

* Create a single podfile and scripts to build mainnet or testnet [WIP]

* Added test spec to pod with TESTNET Script [WIP]

* pod install + sample app testnet build worked

* add prefix to database names

* Fix constants in tests

* fix plist

* fix stencils

* Force environment variable

* Get config from environment variable

* Save project settings and create new DemoAppConfig settings

* Fix Template. change demoApp config port

* Add extra warning when building to see environment in logs

* New Readme! + enhanced messaging on build_librustzcash_xcode.sh

* Fix Stencil if statement

* add our domain names to the demo app endpoints

* clean up Podfile

* fix: mainnet not building properly

* improve cleanup

* fixed weird seed change

* remove duplicated file reference

* Improve error handling on LightWalletService

* Improve error handling on Latest block height. fix get address pasteboard gesture

* fix mainnet walletbirthday stencil

* fix: demo app not syncing on mainnet

* Verified Balances and Send Max Funds fixed

* Add paths to preserve when installing pod

* add Stencil to preserved paths

* Fix $ZCASH_SDK_GENERATED_SOURCES_FOLDER not writable error

* Fixes from PR Comments

* Fixed TransactionId string generation

* Fixed Test build scripts + PR comments

* fix indentation

* Changes to script_commons

* fixes per PR

* remove else from mismatch function

* Add comment to poorly named function
2020-01-14 19:25:14 -03:00
Francisco Gindre 4f6e15bd9a
Add SampleStorage (#58) 2019-12-20 17:52:53 -03:00
Francisco Gindre 97ab864cbe
Feature/notify mined tx (#51)
* add notification for mined transactions

* display a notification bubble when transaction is mined
2019-12-17 17:11:21 -03:00
Francisco Gindre a139ffbdfe
Transaction Listing + send funds + synchronizer implementation (#47)
* Create UIKit subfolder

* add offset to transaction repository

* mock repository and tests [WIP]

* Paged transaction DAO

* Paged transaction repository by kind

* update protobuf files

* move SDKSynchronizer to UIKit folder

* created some health check test on transactions

* Build release version of librustzcash

* Add Send on main thread button for troubleshooting purposes

* fix submit method by using RawTransaction factory method

* fix transactions table mapping

* fix transactions table mapping

* fix get balance sample

* FIX: cosensus branch ID for Blossom

* SDKSynchronizer integration for Send Funds

* fix rawTransactionId mistaken by raw field

* fix testEncodeSpend

* Transaction submission failed tests

* unpaged transaction listings

* renamed method, fixed typo

* stupid xcode misplaced folders again

* add PaginatedTableView Dependency to Example and hook it up [WIP]

* fix  unit test target not being shared

* removed performance test

* fix get address, paged transactions nulled, added type of transaction

* added kind of transaction to transaction repo builder, fixed transaction builder

* Transaction Detail screen

* add transaction details to paginated transaction
2019-12-16 19:25:45 -03:00
Francisco Gindre 561ea7b620
Feature/sending ui (#39)
* [WIp} Send View Controller + Synchronizer methods to send and cancel tx +  builders

* Send Funds scaffold

* project changes

* initializer and synchronizer enhancements. removed dummy file

* fix bitcode issue, add Progress HUD

* Pending Transactions, send transactions

* create_to_address tests + sending UI
2019-12-06 09:38:47 -03:00
Francisco Gindre c772934d3d
Transaction data access improvements + Create Spend + Get Balance Screen (#33)
* Transaction encoder implementation tests WIP

* Create Spend and Create Transaction + Test [WIP]

* New! Get Balance Screen

* Send to address
2019-11-26 19:32:20 -03:00
Francisco Gindre 2a80d705aa
Transaction Entity data access (#30)
* Account, Received & Received Notes, Transaction Protocols

* Transaction Entity fix

* TransactionRepository Implementation

* delete Carthage sample project

* (Pending|Sent|Received)Transaction Data Access

* Add findAll performance measure + test fix
2019-11-18 16:49:36 -03:00
Francisco Gindre 2c23875607
Synchronizer + Handle reorgs (#27)
* Compact Block Synchronizer first impl

* Synchronizer

* Basic Reorg logic. Moved tests to cocoapods

* Remote Carthage Support

* remove Carthage support from readme

* RustBackendMock

* RustBackend Stub for testing reorgs. Tests (fail). Download retry logic

* Simple reorgTest passed
2019-11-14 11:38:54 -03:00
Francisco Gindre d757a1337f
Compact Block Processor Sync (#11)
* Compact Block Processor demo + tests

* fix latest block sync glitch

* fix Compact Block Processor tests

* fix lint
2019-11-04 20:18:07 -03:00
Francisco Gindre bce2bd0d7e
Get Address Example, API improvements, test fixes (#10) 2019-11-01 16:59:16 -03:00
Francisco Gindre b1887cc1b6
GetBlockHeight demo app (#9) 2019-10-31 19:43:09 -03:00
Francisco Gindre 6d07025483 Carthage Example project 2019-09-10 20:37:53 -03:00
Francisco Gindre 43575094b4 Podspec clean up 2019-09-09 12:54:21 -03:00
Francisco Gindre 3806526aaf Cocoapods Support + Example Project 2019-09-09 12:30:38 -03:00