Commit Graph

1946 Commits

Author SHA1 Message Date
Deirdre Connolly 100c5b15ec Impl Arbitrary for ShieldedData and derive it for other types
Wraps the construction of redjubjub Signature so we don't
need an explicit impl for it.
2020-01-28 03:48:23 -05:00
Deirdre Connolly 7632863454 Impl Arbitrary for JoinSplitData<P>
Wraps the construction of ed25519 PublicKeyBytes and Signature so we don't
need an explicit impl for ed25519 types.
2020-01-28 03:48:23 -05:00
Deirdre Connolly 7e34a543ff Impl Arbitrary for Groth16Proof 2020-01-28 03:48:23 -05:00
Deirdre Connolly b47e886eed Add transaction v3 proptest strategy 2020-01-28 03:48:23 -05:00
Deirdre Connolly b786e1e19c derive Arbitrary on BlockHeight 2020-01-28 03:48:23 -05:00
Deirdre Connolly 08012f058a cargo fmt 2020-01-28 03:48:23 -05:00
Deirdre Connolly 9cbc60a2d7 Proptest v1 and v2 transaction variants 2020-01-28 03:48:23 -05:00
Deirdre Connolly 31b759a924 Update (de)serialization to use EncryptedCiphertext types 2020-01-28 03:48:23 -05:00
Deirdre Connolly ffd64d4b71 Add shielded_data::EncryptedCiphertext 2020-01-28 03:48:23 -05:00
Deirdre Connolly 95f3c61e53 Add joinsplit::EncryptedCiphertext and derive(Arbitrary) on JoinSplit* 2020-01-28 03:48:23 -05:00
Deirdre Connolly 7d520f8133 Impl Arbitrary for Bctv14Proof 2020-01-28 03:48:23 -05:00
Deirdre Connolly f4df61eb47 Remove commented out extra Arbitrary impl for Locktime 2020-01-28 03:48:23 -05:00
Deirdre Connolly b0c0055915 Transaction::V1 round trip proptest 2020-01-28 03:48:23 -05:00
Deirdre Connolly dfb28b7854 Stubbing out an Arbitrary impl for variant V1 of the Transaction enum 2020-01-28 03:48:23 -05:00
Deirdre Connolly 1ee79b79d3 Add proptest-regressions for transaction/tests.rs 2020-01-28 03:48:23 -05:00
Deirdre Connolly eb5b3dfefc Add zcash_[de]serialize roundtrip proptest for Script type 2020-01-28 03:48:23 -05:00
Deirdre Connolly 86f631f9b7 Truncate LockTime::Time datetimes to only seconds for proptests 2020-01-28 03:48:23 -05:00
Deirdre Connolly 71d5571e39 Add roundtrip proptest for LockTime serialization/deserialization
Relates to #150
2020-01-28 03:48:23 -05:00
Deirdre Connolly d8ebeea08c Add proptest regressions file 2020-01-28 03:48:23 -05:00
Deirdre Connolly c2411f4315 Add a little proptest around Magic's Debug impl 2020-01-28 03:48:23 -05:00
Deirdre Connolly 9709b54c57 Fix proptest-regressions locations after reorganizations of files 2020-01-28 03:48:23 -05:00
dependabot-preview[bot] 624f481d3d Bump tokio from 0.2.10 to 0.2.11
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.10...tokio-0.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 17:24:45 -05:00
dependabot-preview[bot] d55d673027 Bump pin-project from 0.4.7 to 0.4.8
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.7...v0.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:39:16 -08:00
Deirdre Connolly 5ff8edd14e Try caching cargo 2020-01-24 19:40:30 -05:00
Deirdre Connolly b60135568a Output HTML report and try to archive it 2020-01-24 19:40:30 -05:00
Deirdre Connolly d3cff23897 Run with --test profile and add more tarpaulin flags 2020-01-24 19:40:30 -05:00
Deirdre Connolly 69c0c3e9fd A code coverage step 2020-01-24 19:40:30 -05:00
Henry de Valence 976bbff0b9 Add docs link to README 2020-01-24 15:12:10 -08:00
Henry de Valence 60f3f35d89 Refine Ed25519 byte arrays to ed25519-zebra types. 2020-01-24 16:43:31 -05:00
Henry de Valence 2e04610be3 Fix doc errors (missing links, etc). 2020-01-24 13:38:23 -08:00
Henry de Valence 4d5c8c7940 Clarify Transaction docs to point to iterator methods.
Closes #191.
2020-01-24 13:38:23 -08:00
dependabot-preview[bot] 842a29b90c Bump tokio from 0.2.9 to 0.2.10
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.9...tokio-0.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-24 13:38:07 -08:00
dependabot-preview[bot] 0dd8559486 Bump bytes from 0.5.3 to 0.5.4
Bumps [bytes](https://github.com/tokio-rs/bytes) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v0.5.3...v0.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 12:11:13 -08:00
dependabot-preview[bot] 5413e0c70d Bump pin-project from 0.4.6 to 0.4.7
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.6...v0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 10:26:39 -08:00
dependabot-preview[bot] dbe7427f58 Bump once_cell from 1.3.0 to 1.3.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-18 23:26:25 -05:00
dependabot-preview[bot] 99063dcb76 Bump tower from 0.3.0 to 0.3.1
Bumps [tower](https://github.com/tower-rs/tower) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.3.0...tower-0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-18 13:56:46 -08:00
dependabot-preview[bot] f24243bd7b Bump redjubjub from 0.1.0 to 0.1.1
Bumps [redjubjub](https://github.com/ZcashFoundation/redjubjub) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/ZcashFoundation/redjubjub/releases)
- [Changelog](https://github.com/ZcashFoundation/redjubjub/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ZcashFoundation/redjubjub/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 10:44:04 -08:00
dependabot-preview[bot] b53190b6a3 Bump proptest from 0.9.4 to 0.9.5
Bumps [proptest](https://github.com/altsysrq/proptest) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/altsysrq/proptest/releases)
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/altsysrq/proptest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 08:51:09 -08:00
Henry de Valence bea7b195ce Remove vestigial should_be_private module. 2020-01-16 19:27:08 -05:00
Henry de Valence acabbece8f Use actions-rs to install nightly rust. 2020-01-16 18:53:04 -05:00
Henry de Valence e78048e16a Use nightly cargo to build docs. 2020-01-16 18:38:16 -05:00
Henry de Valence 63ef2a3824 Only build docs for workspace members. 2020-01-16 18:38:16 -05:00
Henry de Valence 9115493ac2 Configure redirect for firebase hosting 2020-01-16 18:38:16 -05:00
Henry de Valence 9c781581a0 add firebase data dir to gitignore 2020-01-16 18:38:16 -05:00
Henry de Valence 470e96e97f Try to build docs only on pushes to main 2020-01-16 16:47:19 -05:00
Henry de Valence 6709a15954 Try to add firebase to GH ActionS 2020-01-16 16:47:19 -05:00
Henry de Valence a3c15eb7e6 firebase init 2020-01-16 16:47:19 -05:00
Henry de Valence 7cc44f4fa9 Move server.rs to connection.rs and change imports. 2020-01-16 13:20:03 -05:00
Henry de Valence 77ad61331c Rename `peer::Server` to `peer::Connection`.
This doesn't change the file path or edit imports so that the diff is easier to review.
2020-01-16 13:20:03 -05:00
dependabot-preview[bot] 619f4c18ea Bump toml from 0.5.5 to 0.5.6
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.5...0.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 13:13:13 -05:00