Francisco Gindre
1073654448
cargo update
2021-04-23 15:18:48 -03:00
Francisco Gindre
68568cce80
cargo update
2021-04-22 13:48:53 -03:00
Francisco Gindre
cb48f5f8d1
use taddr3 branch
2021-04-22 12:37:30 -03:00
Francisco Gindre
65aa7d8474
[wip] autoshield poc with uvks
2021-04-02 19:18:16 -03:00
Francisco Gindre
477f7cc69f
Merge branch 'master' into shield-funds-poc
2021-03-29 14:53:01 -03:00
Francisco Gindre
53bc114948
Allow Wallet developers to rewind synchronizer and (eventually) rescan ( #267 )
...
* [WIP] tests
* Use Rust creates instead of pinned revision
* expose rewind API to public interface
* fix ci error
* Documentation
2021-03-26 19:56:51 -03:00
Francisco Gindre
30d141ab94
Fix #255 #261 outgoing no-change transactions not reported as mined ( #265 )
...
* Fix #255 #261 outgoing no-change transactions not reported as mined
* Bump rust welding version to 0.0.6
Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
2021-03-25 14:43:20 -03:00
Francisco Gindre
40aa3b2fd6
Pin LRZ to a specific commit
2021-03-24 13:53:39 -03:00
Francisco Gindre
c69b54db9e
Data Access Api integration ( #227 )
...
* add cargo dependencies for data access api
* Imports + init_accounts_table
* ported init_accounts_table and init_accounts_table_with_keys
* ported zcashlc_derive_extended_spending_keys
* ported zcashlc_derive_extended_full_viewing_keys
* ported zcashlc_derive_shielded_address_from_seed
* ported zcashlc_derive_shielded_address_from_viewing_key
* ported zcashlc_derive_extended_full_viewing_key
* ported zcashlc_init_blocks_table
* port zcashlc_get_address
* port zcashlc_is_valid_transparent_address
* port zcashlc_get_balance
* fix u32 try_into error
* ported zcashlc_get_received_memo_as_utf8
* fixed zcashlc_init_blocks_table, ported zcashlc_get_sent_memo_as_utf8
* ported zcashlc_validate_combined_chain
* ported zcashlc_rewind_to_height
* ported zcashlc_rewind_to_height
* ported zcashlc_decrypt_and_store_transaction
* ported zcashlc_branch_id_for_height
* ported zcashlc_derive_transparent_address_from_seed
* Compiled lib.rs
* lib.rs compiles
* fix AccountId import
* Fix: send fails with missing params. cargo update
* Fix: demo app fails to initialize
* fix AdvancedReOrgTests
* deprecate default FEE
* Add fee for height helper for UI purposes
* default fee for heightwq
* update proto files and compiled files
* Update to librustzcash master.
* add latests changes from rust on master
* merge with master
* fix merge error
Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
2021-03-11 18:41:57 -03:00
Francisco Gindre
246d10edaa
[WIP] catch up to latest librustzcash changes
2021-03-08 15:47:36 -03:00
Francisco Gindre
1affc50726
[WIP] data access api compliance
2021-03-03 18:19:10 -03:00
Francisco Gindre
2d76c96b42
Fix compile errors
2021-03-03 18:19:10 -03:00
Kris Nuttycombe
6db159c880
Update for data access api changes.
2021-03-03 18:19:10 -03:00
Francisco Gindre
a0766f1ffa
fix rebase thing on Cargo.toml
2021-03-03 18:19:10 -03:00
Francisco Gindre
228183af23
split send_funds function into bindgen and pure rust impl
2021-03-03 18:19:10 -03:00
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
204b1866b1
Fix: send fails with missing params. cargo update
2021-03-03 18:09:13 -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
Francisco Gindre
b34fe121cd
Fix compilation errors and update README
2020-10-08 15:38:54 -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
Jack Grigg
52a3488027
Migrate to new Cargo.lock format
...
Requires Rust 1.38.0
2020-10-08 15:38:54 -03:00
Jack Grigg
9c554a7d41
cargo update
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
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