Commit Graph

174 Commits

Author SHA1 Message Date
Francisco Gindre 2f541d1459
Mainnet checkpoints (#88)
* Added checkpoints

* add more checkpoints
2020-03-02 14:55:20 -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
Linda Lee 099786fbd1
Merge pull request #85 from zcash/update-troubleshooting
Update troubleshooting
2020-02-18 10:19:59 -06: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 e56c04db63 release 0.1.3 2020-02-12 10:18:57 -03:00
Francisco Gindre cf739f958a
Merge pull request #84 from zcash/synchronizer-enhancements
Synchronizer enhancements
2020-02-12 10:13:03 -03:00
Francisco Gindre 09496c234d FIX: parameters path with spaces wouldn't be found 2020-02-11 21:12:36 -03:00
Francisco Gindre 1ffa64aa55 Merge branch 'master' into synchronizer-enhancements 2020-02-10 13:40:39 -03:00
Francisco Gindre 2e010e1764 release 0.1.1 2020-02-10 13:27:00 -03:00
Francisco Gindre b5c5191328
Merge pull request #74 from zcash/bugfix/reorg-loop
Fix - CompactBlock Processsor loops indefinitely on reorg
2020-02-10 13:18:51 -03:00
Francisco Gindre 77cfb2c328 Enhancements from PR 2020-02-07 18:04:21 -03:00
Francisco Gindre 360c50ec84
Merge pull request #75 from zcash/release/0.1.1
Release 0.1.1
2020-01-30 12:35:36 -03:00
Francisco Gindre bf8ac08353 Release 0.1.1 2020-01-30 12:33:19 -03:00
Francisco Gindre 549aa25001 add functions that express the underlying errors and make variables a convenience extension 2020-01-30 02:34:03 -03:00
Francisco Gindre b3d42304a9 Fix - CompactBlock Processsor loops indefinitely on reorg 2020-01-30 00:11:40 -03:00
Francisco Gindre e10bfd1583
Merge pull request #72 from zcash/fix-processing-timing
Randomize POLL_INTERVAL
2020-01-21 16:58:35 -03:00
Francisco Gindre b33527416b Randomize POLL_INTERVAL 2020-01-17 15:39:11 -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
Francisco Gindre b948e50d02
Merge pull request #69 from zcash/minor_README_update
Update lightwalletd url
2020-01-16 19:22:13 -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
Francisco Gindre df44d424a0
Merge pull request #67 from zcash/header-fix
Header fix
2020-01-15 18:36:59 -03:00
Francisco Gindre 7b762e8462 make all h files public 2020-01-15 18:28:44 -03:00
Francisco Gindre fbf45f5552 include header file to fix pod validation 2020-01-15 18:03:43 -03:00
Francisco Gindre e0ceae48df patch gitignore 2020-01-15 18:02:46 -03:00
Francisco Gindre 1cf1a3a61e
Fix zcashlc.h missing error (#66) 2020-01-15 17:27:48 -03:00
Francisco Gindre 8bb5eca9a6 fix testTxIdAsString test 2020-01-15 15:30:59 -03:00
Francisco Gindre 40041a696c Fixed podspec typo 2020-01-15 15:20:12 -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
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 4f6e15bd9a
Add SampleStorage (#58) 2019-12-20 17:52:53 -03:00
Francisco Gindre 81c4754ec0
post notification after DBs are rewound (#53) 2019-12-19 10:06:15 -03:00
Francisco Gindre 343507b565
Fix poll interval and cut it to half (#54) 2019-12-19 10:05:06 -03:00
Francisco Gindre 85ec6b1f95
propagate error (#55) 2019-12-19 10:04:50 -03:00
Francisco Gindre 5ad77abf46
Removed confirmed pending transactions (#52) 2019-12-17 18:16:26 -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 5930fbed6f
Outbound transaction reorg handling proposal (#48)
* Outbound transaction reorg handling proposal

* Add rewind distance

* include rewind on reorg notification, use it to refresh pending transactions
2019-12-17 14:12:07 -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
str4d cff6ec5505 Migrate to note-spending-v6 branch (#35)
* Migrate to note-spending-v6 branch

* Rename sendToAddress -> createToAddress

* cargo update

* Disable multicore proving temporarily

createToAddress breaks when called from a background thread if multicore
is enabled.

* Modify expectations. Single thread librustzcash needs more time
2019-12-03 14:11:23 -03:00
Francisco Gindre d8affaebd3
Transaction submission + tests (#34)
* transaction manager

* Transaction Manager Tests

* pending transactions DAO + Scaffold tests

* PendingTransactionsDao + tests

* Persistent Transaction Manager
2019-12-03 12:19:44 -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 908d8ac823
Received Notes and Sent Notes repository + tests (#31) 2019-11-18 17:54:23 -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
Taylor Hornby 7c4ead1008 Add empty threat model. (#13) 2019-11-14 13:46: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 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