Commit Graph

687 Commits

Author SHA1 Message Date
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
Francisco Gindre 37c4db10e0
Update README.md 2020-06-10 13:59:13 -03:00
Francisco Gindre 32058fbc30 Remove MnemonicSwift from tests. iOS 12 Compatibility 2020-06-10 10:49:04 -03:00
Francisco Gindre 2ea38dd1e0 bump up deployment target 2020-06-10 10:42:50 -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 89d251c578
Update LICENSE 2020-06-09 16:15:31 -03:00
Francisco Gindre ebee65798d
Switch to MnemonicSwift (#142) 2020-06-09 11:27:10 -03:00
Francisco Gindre cc77d9705e
Issue 136 Null bytes in strings effectively truncate the string from … (#140)
* Issue 136 Null bytes in strings effectively truncate the string from librustzcash's point of view

* Code clean up

* Fix from PR review
2020-06-08 17:07:48 -03:00
Francisco Gindre 3f130ebebf
Fixes issue 136 - expiry height -1 on pending transactions (#139) 2020-06-04 18:36:25 -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 3767485676
CI doc mods (#116) 2020-06-03 20:15:38 -03:00
Linda Lee 4b11aafaa0 Update issue templates 2020-06-01 14:45:37 -05:00
Taylor Hornby 6261aa8c03
Replace the threat model with the one on readthedocs (#131) 2020-05-27 20:25:15 -03:00
Linda Lee 7486c7a3f5 Add bug report and feature request issue templates 2020-05-27 10:13:23 -05:00
Francisco Gindre 15e9a95ccb remove commit lock from podfile 2020-05-06 16:45:10 -03:00
Francisco Gindre 1d71bc30c4
Canonical empty memo test (#112) 2020-04-28 15:30:57 -03:00
Francisco Gindre 36f2d0730a
Memo tests (#111)
* test scaffold

* Memo Tests

* emoji memo test
2020-04-24 16:50:23 -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 007a11bfa6 Updated Docs 2020-04-06 14:06:13 -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
str4d 65f9d78c54
ZcashRustBackend.decryptAndStoreTransaction() (#102)
* cargo fmt

* Migrate to latest note-spending-v7

* ZcashRustBackend.decryptAndStoreTransaction()

* cargo update
2020-03-26 11:24:47 -03:00
Linda Lee a0f063148e
Add jazzy outputs to docs/rtd (#101)
For eventual CI pull/automated docs with each release.
2020-03-23 19:06:58 -03:00
Francisco Gindre e426a44ab4
Merge pull request #100 from zcash/fix/sync-improvements
Fix/sync improvements
2020-03-23 12:03:05 -03:00
Francisco Gindre bca093ca42 Enhance logging on compact block processor 2020-03-19 12:59:45 -03:00
Francisco Gindre 18eea3261c parameterize helper method with constant 2020-03-19 12:59:19 -03:00
Francisco Gindre 8d6a37472e
Merge pull request #99 from zcash/release/0.3.1
revert upgrade to librustzcash
2020-03-18 11:32:14 -03:00
Francisco Gindre aead606cd0 revert upgrade to librustzcash 2020-03-18 11:12:18 -03:00
Francisco Gindre 75cbd3a9cf Merge branch 'master' of github.com:zcash/ZcashLightClientKit 2020-03-17 13:04:33 -03:00
Francisco Gindre 5f9a6c5ea6 release 0.3.0 2020-03-16 19:06:37 -03:00
Francisco Gindre e5883dd88c
Merge pull request #98 from zcash/fix/reorg-bug
FIX: race condition on reorgs
2020-03-16 19:02:19 -03:00
Francisco Gindre d4d3f0e5cf FIX: race condition on reorgs 2020-03-16 18:23:39 -03:00
Francisco Gindre 55783c50a5
Merge pull request #97 from zcash/fix/decrypt_store_tx
decrypt store tx and other fixes
2020-03-16 18:21:57 -03:00
Francisco Gindre f783f55f73 fix test crash 2020-03-16 15:26:17 -03:00
Francisco Gindre 9f223596f8 fix sample code where interface changed 2020-03-16 15:25:55 -03:00
Francisco Gindre 60510edd63 ENHANCEMENT: Retry support + error management 2020-03-13 21:00:01 -03:00
Francisco Gindre 8f415d71ce FIX: processor crashes when lightwalletd has not caught up with latest height 2020-03-12 18:58:23 -03:00
Francisco Gindre 2d34615c6d Better error handing when scanning fails 2020-03-11 23:17:32 -03:00
Francisco Gindre 2f95a5fbf4 update librustzcash to commit 52d8b436300724bc4b83aa4a0c659ab34c3dbce7 2020-03-11 17:24:23 -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
Linda Naeun Lee 3d77f37278 Merge branch 'master' of github.com:zcash/ZcashLightClientKit 2020-03-04 14:39:28 -06:00
Francisco Gindre 63dc6c2958 fix account initialization error 2020-03-04 14:38:46 -06:00
Francisco Gindre 1733bfcdfe Mainnet checkpoints (#88)
* Added checkpoints

* add more checkpoints
2020-03-04 14:38:46 -06:00
Francisco Gindre 4201a0d912 Release 0.2.0 2020-03-04 14:38:46 -06:00