Commit Graph

21 Commits

Author SHA1 Message Date
Francisco Gindre 47905d39ae Everything compiling! wooo! 2021-03-03 18:19:10 -03:00
Francisco Gindre d75d5cb3ee [WIP] shield funds PoC 2021-03-03 18:19:04 -03:00
Francisco Gindre 7b5e7a033d add cargo dependencies for data access api 2021-03-03 18:09:13 -03:00
Francisco Gindre ce67fa7636 pin to revision and compile lib.rs 2020-12-14 18:02:21 -03:00
Francisco Gindre 6a762205f6 Fix sqlite crate canopy issue. Add a new checkpoint to aid testing 2020-10-24 18:25:28 -03:00
Francisco Gindre 328a18d898 DerivationTool + tests
Fixes #204
2020-10-09 17:58:36 -03:00
Jack Grigg 0ebb61dd0f Update remaining Rust dependencies 2020-10-08 15:38:54 -03:00
Jack Grigg 48a601600b cbindgen 0.14 2020-10-08 15:38:54 -03:00
Jack Grigg 94d397ed13 Switch to v0.4 Zcash Rust crates 2020-10-08 15:38:54 -03:00
Francisco Gindre e394514f85
Update LibRustZcash revision to support canopy on TESTNET (#172) 2020-08-12 14:45:35 -03:00
Francisco Gindre 4dec60cfc9
update to rebased version of note-spending-v7 (#157)
* update to rebased version

* update librustzcash. add OvkPolicy::Sender to retain behavior
2020-07-21 18:54:47 -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
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
Francisco Gindre aead606cd0 revert upgrade to librustzcash 2020-03-18 11:12:18 -03:00
Francisco Gindre 2f95a5fbf4 update librustzcash to commit 52d8b436300724bc4b83aa4a0c659ab34c3dbce7 2020-03-11 17:24:23 -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 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
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
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