Commit Graph

687 Commits

Author SHA1 Message Date
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
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 670ec12494
Compact Block Processor progress notifications (#8) 2019-10-31 14:33:21 -03:00
Francisco Gindre 40a1f57274
download - Validate - Scan (#7)
* Deleted SQLStorage class added Connection Manager, abstracted Wallet over SQL storage

* Use ConnectionProvider, open and close connections per operation

* Replace fileExists with isReadableFile

* WIP - compact block processor + start stop notification tests

* Mock service to test smaller ranges on BlockProcessor

* Improvements to ZcashOperation and tests

* ZcashOperation own file. CompactBlockProcessor fixes + tests

* Block Processor. Batch processing first 1000 blocks

* Download-Validate-Scan sequence of compact block processor
2019-10-30 17:18:57 -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 8456ccc5b2
Merge pull request #3 from zcash/carthage-support
Carthage support
2019-09-11 15:00:17 -03:00
Francisco Gindre 6d07025483 Carthage Example project 2019-09-10 20:37:53 -03:00
Francisco Gindre 7933fb4264 Carthage build project 2019-09-10 18:17:57 -03:00
Francisco Gindre 1098a0ecdb
Merge pull request #2 from zcash/cocoapods-support
Cocoapods support
2019-09-09 18:01:09 -03:00
Francisco Gindre d5debab684 Add SwiftGRPC dependency 2019-09-09 15:33:26 -03:00
Francisco Gindre dc5496e6ff remove unused script 2019-09-09 12:54:39 -03:00
Francisco Gindre 43575094b4 Podspec clean up 2019-09-09 12:54:21 -03:00
Francisco Gindre cb54a800b4 improve README.md 2019-09-09 12:47:03 -03:00
Francisco Gindre 3806526aaf Cocoapods Support + Example Project 2019-09-09 12:30:38 -03:00
Jack Grigg 56093730fe Rust backend tests 2019-07-02 10:02:26 +01:00
Jack Grigg 22e8b86b2f Update README 2019-07-02 10:02:26 +01:00
Jack Grigg 78642261f6 Set up a Swift shim to the Rust FFI 2019-07-02 10:02:21 +01:00
Jack Grigg d940c891d4 Connect Rust FFI backend to iOS Framework 2019-06-28 10:09:53 +01:00
Jack Grigg 9ca270ffd8 Empty iOS Framework 2019-06-28 10:09:53 +01:00
Jack Grigg 80ca214b25 Implement remainder of FFI interface 2019-06-28 10:09:53 +01:00
Jack Grigg bac9957f2b Initial implementation of account initialization and address fetching
Errors are indicated by returning a NULL-equivalent value, and functions
are provided to query the last error message.
2019-06-28 10:09:35 +01:00
Jack Grigg 3ca39955ea Initial Rust library 2019-06-28 10:06:17 +01:00
Jack Grigg 08216945e5 Initial repository 2019-05-04 13:23:24 -04:00