Commit Graph

31 Commits

Author SHA1 Message Date
Francisco Gindre c7a27c0b86
[#401] DecodingError when refreshing pending transactions (#402)
Closes #401
This commit changes the way Codable in implemented for Zatoshi and PendingTransaction.

SQLite attempts to decode Custom Types as JSONStrings inside a TEXT column whereas Zatoshi only needs to be an INTEGER that can be treated as an Int64 value

`ConfirmedTransaction` entity is not affected because it is already deserialized
in a custom fashion whereas `PendingTransaction` was relying on `Codable` and
`CodingKey`.
2022-06-27 12:51:13 -03:00
dh-ecc a3a33382c1
Add caveat to SPM / Xcode integration in Readme (#356) 2022-05-05 14:27:42 -03:00
Francisco Gindre 9f67464e78
Merge branch 'master' into release/0.13.0-beta.2 2022-03-11 17:11:42 -03:00
Francisco Gindre 42d1797c73 Update README.md: remove private Spec Repo installation step. 2022-03-11 16:28:16 -03:00
Francisco Gindre e1507c1a7d
Fix CocoaPodsSpec links and version 2022-03-04 14:59:51 -03:00
Daniel Haight 86d1257ab5 Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
adam b9dede6ff0 README Updates 2021-09-15 06:53:23 -05:00
Francisco Gindre a5c67c6593 remove ZCASH_NETWORK_ENVIRONMENT 2021-07-28 17:03:09 -03:00
Charlie O'Keefe ef93c5160b minor fix (run it rosetta -> run it in rosetta) 2021-03-24 13:57:51 -06:00
Francisco Gindre ed6420c7bf [wip] readme instructions for m1 2021-03-24 14:02:21 -03:00
Francisco Gindre 0df4b9e4f2 fix compilation error on DemoApp. Add troubleshooting step on README 2020-10-16 19:11:05 -03:00
Francisco Gindre b34fe121cd Fix compilation errors and update README 2020-10-08 15:38:54 -03:00
Francisco Gindre 97b6b5abcc add workaround to fix rustc problem on init accounts 2020-09-02 13:04:23 -03:00
Francisco Gindre 8ab608cce1
Add Build Badge 2020-06-18 20:54:55 -03:00
Francisco Gindre 37c4db10e0
Update README.md 2020-06-10 13:59:13 -03:00
Taylor Hornby 6261aa8c03
Replace the threat model with the one on readthedocs (#131) 2020-05-27 20:25:15 -03:00
Dimitris Apostolou 51419010ea
Fix typos and cleanup (#103) 2020-03-26 11:27:55 -03:00
Francisco Gindre 72c3cb59ef
Integrate logging capabilities (#93)
* Integrate logging capabilities

* Relocate file
2020-03-09 17:25:27 -03:00
Francisco Gindre 456c365c4d How to fix missing params error on ZcashLightClientKitSample app 2020-02-14 20:18:15 -03:00
Francisco Gindre 070259d08f Add documentation to fix ZCASH_NETWORK_ENVIRONMENT missing error 2020-02-14 20:12:59 -03:00
Francisco Gindre 02e095f005
Merge pull request #70 from defuse/link-to-threat-model
Link to Threat Model in README
2020-01-16 19:22:40 -03:00
Taylor Hornby e345220b4b Link to Threat Model in README 2020-01-16 12:27:20 -07:00
Marshall Gaucher db22dc5649
Update lightwalletd url
This current URL will redirect proper, but the lightwalletd repo is now in zcash org
2020-01-15 19:19:59 -08:00
Brad Miller 82e49fcd11 Update README to prepare for making repo public (#61)
Co-authored-by: Francisco Gindre <francisco.gindre@gmail.com>
2020-01-14 19:51:06 -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 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 3e2050d0f0
Swiftlint (#5)
* Swiftlint + tests

* Added Swiftlint to README.md
2019-10-18 17:09:13 -03:00
Francisco Gindre 60ea9d6737
Block downloading + storing (#4)
* Initial scaffold for Block Downloader

* (Failing) init Wallet test

* Ignore generated files

* Inject endpoint address on tests

* Simple Downloader + Tests

* CompactBlockDownloader latestBlockHeight, rewind + tests

* remover awful sync functions

* Compact Block processor scaffold

* Block Downloader + tests
[WIP] Block Processor

* Synchronous getBlockRange

* CompactBlock downloading sync + tests

* Sync CompactBlock Storage + Tests

* Rename Storage to FakeStorage

* WIP Blockdownloader test, block storage tests

* Fix carthage import for SQLite.framework

* SQLite Storage implementation for CompactBlocks + Tests

* Housekeeping, TestDbBuilder and other utils to their own place

* Integrated CompactBlockStorage to Downloader Tests

* Get latestBlockHeight from wallet

* move FakeStorage class to test utils

* Add ZcashLightClientKit import to moved file

* data db initialization + test

* ZcashOperation, CompactBlockDownloadOperation + tests. BlockDAO, latestScannedHeight

* Download and scan blocks. Download Operation. Scan Operation. Tests.

* cleanup test

* Updated readme
2019-10-18 15:45:19 -03:00
Francisco Gindre cb54a800b4 improve README.md 2019-09-09 12:47:03 -03:00
Jack Grigg 22e8b86b2f Update README 2019-07-02 10:02:26 +01:00
Jack Grigg 08216945e5 Initial repository 2019-05-04 13:23:24 -04:00