Commit Graph

29 Commits

Author SHA1 Message Date
Kevin Gorham addcf60fc4
add error logging in Rust
This allows errors to bubble up to the android log file, rather than
having to sift through a tombstone file on the device.
2018-12-01 01:48:02 +00:00
Kevin Gorham 5df6e95e4f
saving and retrieving data is working and db files are generated 2018-12-01 01:48:01 +00:00
Kevin Gorham 72b594b0d0
added JNI test
I am a little excited about this because it will be a great way to test
Rust functionality quickly and iterate quickly because we will not have
to update and run the full app.
2018-12-01 01:48:00 +00:00
Kevin Gorham 241c646f14
checkpoint. data access object exists 2018-12-01 01:47:59 +00:00
Kevin Gorham 58f5a24a90
checkpoint. database exists 2018-12-01 01:47:58 +00:00
Kevin Gorham 81667f17cc
start with a test and maybe it will actually get used, Eventually. 2018-12-01 01:47:57 +00:00
Kevin Gorham f7263f69c0
manual version bump, still. 2018-12-01 01:47:56 +00:00
Kevin Gorham 56154ee506
Update build-ndk-standalone scripts.
Previous version did a bad job of recognizing an incorrect config file.
This makes it a bit better. It also removes the need for a config in the
parent directory.

Co-authored-by: Jack Grigg <jack@z.cash>
2018-12-01 01:47:55 +00:00
Kevin Gorham 42295cf09a
fix false positive when detecting file changes.
Copies were happening before the creation of the libraries.
2018-12-01 01:47:54 +00:00
Jack Grigg 83e00e1611
JniConverter.scanBlocks() 2018-12-01 01:47:41 +00:00
Jack Grigg 7bc3f2eede
Generate Rust protobuf representing received value 2018-12-01 01:46:35 +00:00
Jack Grigg fc6c3c6b2b
Split address_from_seed to expose ExtendedFullViewingKey 2018-12-01 01:46:34 +00:00
str4d a4bfd8b282
Merge pull request #1 from zcash/address-from-seed
Address from seed
2018-12-01 01:45:42 +00:00
Kevin Gorham a522715406
version bump.
doing these manually for now.
2018-12-01 01:43:06 +00:00
Jack Grigg 6ab9c6610c
JniConverter.getAddress(seed) 2018-12-01 01:43:05 +00:00
Jack Grigg c479e67667
Add NDK binaries to path so the cc crate can find them 2018-11-21 16:24:40 +00:00
Jack Grigg 904099d761
jni 0.10 2018-11-21 15:52:28 +00:00
Jack Grigg 945e48a439
cargo update 2018-11-21 15:47:09 +00:00
Jack Grigg 193a1f3b22
cargo fmt 2018-11-21 13:51:37 +00:00
Jack Grigg 05e6ab8133
Add target/ to ignores (for e.g. RLS data) 2018-11-21 13:51:16 +00:00
Jack Grigg d1560687f3
Build scripts for Windows 2018-11-21 13:41:07 +00:00
Jack Grigg 8a5997b158
Fix path in build script 2018-11-21 13:32:42 +00:00
Kevin Gorham 179abf92e3 add ability to publish to the local repo 2018-11-21 04:48:26 -05:00
Kevin Gorham a30f338a39 add scripts for building rust libs 2018-11-21 02:04:53 -05:00
Kevin Gorham 19212b14c4 ignore unused variable 2018-11-21 02:04:06 -05:00
Kevin Gorham 4fe155ac20 completely ignore intellij files for now 2018-11-21 02:03:35 -05:00
Kevin Gorham 885357b2c3 add gradle wrapper 2018-11-21 02:02:31 -05:00
Kevin Gorham 1b43798464 reverted gradle kotlin dsl
kotlin dsl has a low ROI at this time because it does not provide a lot of benefits yet adds a lot of complexity and build issues so we've removed it from our projects
2018-11-21 02:01:45 -05:00
Kevin Gorham 32af4b9559 initial commit of sample project code
The next step is to clean this up and integrate it with the latest version of the android app
2018-11-20 12:59:08 -05:00