Commit Graph

4578 Commits

Author SHA1 Message Date
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
dependabot-preview[bot] 6d2384044a Bump tracing from 0.1.11 to 0.1.12
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.11...tracing-0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 18:35:02 -05:00
dependabot-preview[bot] b1c1105936 Bump tracing-futures from 0.2.0 to 0.2.1
Bumps [tracing-futures](https://github.com/tokio-rs/tracing) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.0...tracing-futures-0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 16:03:58 -05:00
Henry de Valence e492cf067e Disable version string test. 2020-01-15 12:06:31 -08:00
Henry de Valence 4fcb550aa6 Fix a deadlock in TokioComponent.
The components are accessed by a lock on application state.  When some command
calls block_on to enter an async context, it obtained a write lock on the
entire application state.  This meant that if the application state were
accessed later in an async context, a deadlock would occur.  Instead the
TokioComponent holds an Option<Runtime> now, so that before calling block_on,
the caller can .take() the runtime and release the lock.  Since we only ever
enter an async context once, it's not a problem that the component is then
missing its runtime, as once we are inside of a task we can access the runtime.
2020-01-15 12:06:31 -08:00
Henry de Valence ab3db201ee Change TracingEndpoint to forward to the Abscissa Tracing component. 2020-01-15 12:06:31 -08:00
Tony Arcieri 45eb81a204 Upgrade to Abscissa v0.5 2020-01-15 12:06:31 -08:00
Henry de Valence d3e954cd4a Remove vestigial tower git dep 2020-01-15 14:23:01 -05:00
Deirdre Connolly a3b09c3690
Target crates.io 0.3 versions of tower and tower-load (#172) 2020-01-14 17:18:14 -05:00
Deirdre Connolly 50e20a1053
Update GitHub Actions workflow to use latest GoogleCloudPlatform located actions (#171)
The locations of the Actions were moved around for some reason, resulting in 404s.
2020-01-14 17:03:51 -05:00
dependabot-preview[bot] c14a372f4c Bump tokio from 0.2.7 to 0.2.9
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.7 to 0.2.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.7...tokio-0.2.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 15:39:27 -08:00
dependabot-preview[bot] b8796114c8 Bump tokio from 0.2.6 to 0.2.7
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.6...tokio-0.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 16:43:53 -05:00
dependabot-preview[bot] e0848e0d23 Bump sha2 from 0.8.0 to 0.8.1
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 11:16:57 -08:00
Henry de Valence 41021c65ad Implement transaction (de)serialization. 2019-12-31 02:46:39 -05:00
Henry de Valence 53cae4647e Make invalid ShieldedData unrepresentable.
ShieldedData objects must have at least one spend or output; using Either
ensures that at least one must be present.  This is similar to the
JoinSplitData case, but slightly more complicated: rather than enforcing that
one list has at least one element (which can be done as `(first, rest)`), here
we need to use Either.   This has the downside that it is possible to construct
multiple equivalent internal representations (choosing whether a spend or
output goes in the `first` slot), but this easily fixed with a custom PartialEq
implementation.
2019-12-31 02:46:39 -05:00
Henry de Valence 3a7ddbad2d Add another convenience method for arrays, this time 64 bytes. 2019-12-31 02:46:39 -05:00
Henry de Valence 049998c751 Fix publicity for SaplingNoteTreeRootHash 2019-12-31 02:46:39 -05:00
Henry de Valence 8ff4139c1f Use Groth16Proof in ShieldedData, not just JoinSplits. 2019-12-31 02:46:39 -05:00
Henry de Valence 92ddf0542f Provide impl Zcash[De]Serialize for Vec<T: Zcash[De]Serialize>.
This replaces the read_list function and makes the code significantly cleaner.

The only downside is that it loses exact preallocation, but this is probably not a big deal.
2019-12-31 02:46:39 -05:00