Commit Graph

1995 Commits

Author SHA1 Message Date
Dimitris Apostolou ce3c1b9933 Bitcoin -> Zcash (#177) 2019-09-23 12:13:08 -07:00
Deirdre Connolly dceefc164b Namespace built containers by github-org/repo/branch
So that zebra and zebra2-* repos can all be in the same GCloud project without
clobbering each other in the Container Registry namespace
2019-09-06 12:59:24 -04:00
dependabot-preview[bot] c27f97c652 Bump blake2b_simd from `004e488` to `a312979`
Bumps [blake2b_simd](https://github.com/oconnor663/blake2b_simd) from `004e488` to `a312979`.
- [Release notes](https://github.com/oconnor663/blake2b_simd/releases)
- [Commits](004e4886cf...a312979dc4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 14:27:34 -04:00
Henry de Valence d549a19eb2
More design sketches. (#166)
* More design sketches.  Rework crate boundaries.

Co-authored-by: George Tankersley <george@zfnd.org>

* Add internal dependencies for zebrad

* depluralize desiderata
2019-08-27 13:34:13 -07:00
Henry de Valence d2df66689c Add note on replacing zebra-logs with tracing.
Cf. #156
2019-08-27 13:28:51 -07:00
Henry de Valence 4fe3553097 Add mining and Sprout issues to anti-design.md.
Closes #142.
Closes #73.
2019-08-21 19:04:02 -04:00
dependabot-preview[bot] 97ef0c4709 Merge pull request #150 from ZcashFoundation/dependabot/cargo/blake2b_simd-004e488
Bump blake2b_simd from `011e695` to `004e488`
2019-08-19 13:32:18 -04:00
Henry de Valence 2efee819f5 fixup! Move doc/ to docs/ and add design stubs. 2019-08-19 10:19:33 -07:00
Deirdre Connolly 5acd80c8c1 Log rustc, cargo, rustup versions before executing build
Since we ping our build/deploy container to rust:stretch, which pulls in the latest rust:stable
by default, our rustc will change under us when a new rust:stable is available, possibly changing the
output of our builds and making them noisier. They shouldn't _break_, but still,
it's good to know what changed when the build log 'suddenly' starts to look different.

It's possible that we might want to pin a version of rust or the upstream container
in the future and use a smart job similar to Dependabot to open a pull request
that will upgrade and test the new version of Rust before we merge it,
but since Rust stable versions are supposed to be, well, stable, this is
less of a concern than our cargo dependencies.

Fixes #146
2019-08-18 20:20:06 -04:00
dependabot-preview[bot] cd03a0d3b7 Bump serde_derive from 1.0.94 to 1.0.99
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.94 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.99)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 19:08:57 -04:00
Henry de Valence f4a7b65d91 Move doc/ to docs/ and add design stubs. 2019-08-16 16:58:45 -07:00
Deirdre Connolly e420c5cdfc
New GitHub Actions (#138)
* Migrate old workflow file

* Only build fuzzers on master

* Conditional branch matching on steps shouldn't be this hard

* Remove old workflow file

* Reorder the if and the uses

To see if putting the 'if' first will prevent the image that 'uses' references from being fetched
when the step doesn't actually run.

* Nope, that's a bug in GitHub Actions

* Wrong project name 🙃

* Remove standard Rust workflow, rename some steps

* Remove .travis.yml

* Remove .gitlab-ci.yml

* Increase container layer cache ttl to 12hours
2019-08-16 14:34:50 -04:00
dependabot-preview[bot] 90e0385d75 Bump ansi_term from 0.11.0 to 0.12.0
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases)
- [Commits](https://github.com/ogham/rust-ansi-term/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 00:55:11 -04:00
Henry de Valence f1ae63f0af Rename binaries until rewrite is finished 2019-07-19 19:31:43 -04:00
dependabot-preview[bot] 6566f0a195 Bump serde from 1.0.94 to 1.0.97
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-19 18:17:24 -04:00
dependabot-preview[bot] ca5a86ef34 Bump parking_lot from 0.8.0 to 0.9.0
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.8.0...0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 22:05:19 -04:00
dependabot-preview[bot] 558086e49e Bump jsonrpc-pubsub from 12.0.0 to 12.1.0
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases)
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.0.0...v12.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 19:32:34 -04:00
dependabot-preview[bot] 15f37fc4e3 Bump log from 0.4.6 to 0.4.7
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 18:48:06 -04:00
dependabot-preview[bot] 1288a7cf3c Bump libc from 0.2.58 to 0.2.59
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.58 to 0.2.59.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.58...0.2.59)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 14:06:48 -04:00
Deirdre Connolly ca7925fdfa
Test and build simultaneously, smarter nightly job (#112)
This is a pretty good travis config for the immediate future.
2019-07-10 18:29:02 -04:00
Henry de Valence 8282b36556 Update zebrad/Cargo.toml
Co-Authored-By: Tony Arcieri <bascule@gmail.com>
2019-07-10 18:03:29 -04:00
Henry de Valence 90f440aea5 Update Abcissa dev-dependency
Follows @tarcieri's suggestion here: https://github.com/ZcashFoundation/zebra/pull/105#discussion_r299705959
2019-07-10 18:03:29 -04:00
Deirdre Connolly eb078f5e95
Gcloud build (#116)
* Add cloudbuild.yaml

* Add longer timeouts than the default 10 minutes.

* Parallel gcloud build action via cli

* gcloud auth is not master-only now

* See how gcloud Kaniko container layer caching does

Leave out the .cargo/ and target/ copies for now, break out 'cargo fetch' on its
own line because that's probably cachable.

* Fix some scripting

* Bah those layers are needed yet

* Comment out build job timeout

* Try this kaniko cache warmer and docker pre-pull

* Yaml is annoying

* Cache .cargo in separate Docker layer, streamline cloudbuild

* Fix COPY

* Ah, locally it was searching up the tree for another .toml

* Try 8 cores vs 32

* Revert "Try 8 cores vs 32"

This reverts commit 636e9668a7.

* Streamline workflow

* Fix workflow

* Remove defunct resolveer

* I think explicitly adding :latest is redundant for GCR

* Try image push to  see if latest tag auto populates
2019-07-08 13:14:20 -04:00
dependabot-preview[bot] d692438e39 Bump env_logger from 0.5.13 to 0.6.2 (#110)
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.5.13 to 0.6.2.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.5.13...v0.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-05 00:48:22 -04:00
dependabot-preview[bot] af50918cfe Bump jsonrpc-pubsub from 10.0.1 to 12.0.0 (#8)
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc) from 10.0.1 to 12.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases)
- [Commits](https://github.com/paritytech/jsonrpc/compare/v10.0.1...v12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-03 21:32:07 -04:00
dependabot-preview[bot] 89f9dc52d7 Bump bit-vec from 0.4.4 to 0.6.1 (#109)
Bumps [bit-vec](https://github.com/contain-rs/bit-vec) from 0.4.4 to 0.6.1.
- [Release notes](https://github.com/contain-rs/bit-vec/releases)
- [Commits](https://github.com/contain-rs/bit-vec/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-03 19:25:13 -04:00
dependabot-preview[bot] 61f9652aaf Bump abscissa from 0.1.0-rc.0 to 0.1.0 (#105)
Bumps [abscissa](https://github.com/iqlusioninc/abscissa) from 0.1.0-rc.0 to 0.1.0.
- [Release notes](https://github.com/iqlusioninc/abscissa/releases)
- [Changelog](https://github.com/iqlusioninc/abscissa/blob/develop/CHANGES.md)
- [Commits](https://github.com/iqlusioninc/abscissa/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 17:51:23 -04:00
Deirdre Connolly 2a62cbd6a6 Update zebrad/Cargo.toml
Co-Authored-By: Henry de Valence <hdevalence@hdevalence.ca>
2019-07-02 14:17:34 -07:00
Deirdre Connolly f25a80c88c Add abscissa-generated zebrad skeleton
Resolves #103
2019-07-02 14:17:34 -07:00
Henry de Valence 8a6c85ee13 Move zebra binary (#100)
* Make the zebra binary a workspace member

* Rename the old zebra binary
2019-07-02 16:30:25 -04:00
Henry de Valence a6ee2a67bf Move workspace members (#98)
* Move workspace members to have zebra- names.

This commit breaks the build because it doesn't update any of the Cargo.toml
files, but the advantage is that this commit is a simple git mv for ease of
review.

* Update Cargo.toml files to have new file paths.

This is a separate commit to the preceding commit for ease of review (so that
the preceding commit is a simple git mv).
2019-07-02 15:44:00 -04:00
Henry de Valence 22c3bdeb61 Prefix workspace crates with zebra- (#70)
* Update license and author metadata in workspace crates.

- ensure that the license field is set to GPL-3 for all GPL-3 licensed crates;
- ensure that the author field is set to "Zcash Foundation", responsible for maintenance;
- preserve the original authorship info in AUTHORS.md for human-readable history.

Updating the author field ensures that all of the machine systems that read
crate metadata list the ZF organization, not any single individual, as the
maintainer of the crate.

* Prefix all internal crate names with zebra-.

This does not move the directories containing these crates to also have zebra-
prefixes (for instance, zebra-chain instead of chain).  I think that this would
be preferable, but because it's a `git mv`, it will be simple to do later and
leaving it out of this change makes it easier to see the renaming of all of the
internal modules.

* Remove git dependency from eth-secp256k1

* Avoid an error seemingly related to Deref coercions.

This code caused an overflow while evaluating type constraints.  As best as I
can determine, the cause of the problem was something like so: the Rust
implementation of the Bitcoin-specific hash function used in the Bloom filter
doesn't operate on byte slices, but only on a `&mut R where R: Read`, so to
hash a byte slice, you need to create a mutable copy of the input slice which
can be consumed as a `Read` implementation by the hash function; the previous
version of this code created a slice copy using a `Deref` coercion instead of
`.clone()`, and when a tokio update added new trait impls, the type inference
for the `Deref` coercion exploded (somehow -- I'm not sure about the last
part?).

This commit avoids the problem by manually cloning the input slice.
2019-07-02 15:07:06 -04:00
dependabot-preview[bot] 1d82b3d55e Bump getopts from 0.2.18 to 0.2.19 (#80)
Bumps [getopts](https://github.com/rust-lang/getopts) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/rust-lang/getopts/releases)
- [Commits](https://github.com/rust-lang/getopts/compare/v0.2.18...v0.2.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 12:55:33 -04:00
dependabot-preview[bot] 924ee7fc98 Bump regex from 1.1.0 to 1.1.2 (#81)
Bumps [regex](https://github.com/rust-lang/regex) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.1.0...1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 11:37:06 -04:00
dependabot-preview[bot] ebc52f6754 Bump tokio-threadpool from 0.1.10 to 0.1.11 (#85)
Bumps [tokio-threadpool](https://github.com/tokio-rs/tokio) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-threadpool-0.1.11/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-threadpool-0.1.10...tokio-threadpool-0.1.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 11:30:15 -04:00
dependabot-preview[bot] 21f43053dd Bump h2 from 0.1.21 to 0.1.25 (#86)
Bumps [h2](https://github.com/hyperium/h2) from 0.1.21 to 0.1.25.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.1.21...v0.1.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 11:21:09 -04:00
Deirdre Connolly 6a935e7e18
Tidy travis (#76)
* Tidy up .travis.yml

* Remove unneeded bitcoin-compare git submodule
2019-07-02 03:24:41 -04:00
dependabot-preview[bot] 7f18e7e9e7 Bump serde from 1.0.84 to 1.0.94 (#56)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.84 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.84...v1.0.94)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 19:44:42 -04:00
Henry de Valence 891226069a Run cargo fmt 2019-06-28 15:26:18 -07:00
Taylor Hornby 43aace6d71 Add test for ambiguity in parsing of minimal equihash solution 2019-06-27 09:08:58 -07:00
dependabot-preview[bot] ccacec173f Bump curve25519-dalek from 1.1.4 to 1.2.1 (#30)
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) from 1.1.4 to 1.2.1.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/1.1.4...1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 08:54:44 -07:00
Deirdre Connolly 0b578d4a0f
Update README re current code flux, alpha status (#50) 2019-06-25 11:17:32 +02:00
Za Wilcox 62211a4e77 Update JSON_RPC.md to mention regtest mode (#45)
Co-Authored-By: Deirdre Connolly <durumcrustulum@gmail.com>
2019-06-23 18:54:01 +02:00
Deirdre Connolly de50f2dbfa
Remove reference to `build-essential` in macOS section (#46) 2019-06-23 15:22:16 +02:00
Deirdre Connolly 87c076ead8
Use mainnet verification keys for all *nets (#35)
All *net keys besides mainnet were using empty values, which ran into length issues.

* Clean up Dockerfile logging
* Use mainnet verification keys for all *nets

Resolves #12, #22
2019-06-22 12:56:21 +02:00
Deirdre Connolly 748f8d6e3d
This still fails inside containers (#3) (#42)
* This still fails inside containers (#3)

* Try to pass the optional fuzzer builds via signal for now (#4)

Otherwise wise the whole workflow is marked a failure, which it isn't, it just doesn't really support
'additional' actions.
2019-06-22 12:08:11 +02:00
Deirdre Connolly c187d3fbd9
Update main.workflow (#39) 2019-06-22 02:15:07 +02:00
Deirdre Connolly 04c9a52386
Add GitHub Actions CI workflow, including fuzzers (#36)
* Add GitHub Actions CI workflow, including fuzzers

* Rearrange and make fuzzer build exit 0 for now
2019-06-22 01:59:19 +02:00
dependabot-preview[bot] 216a4c4c32 Bump unicase from 2.2.0 to 2.4.0 (#21)
Bumps [unicase](https://github.com/seanmonstar/unicase) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/seanmonstar/unicase/releases)
- [Commits](https://github.com/seanmonstar/unicase/compare/v2.2.0...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-19 15:23:03 -04:00
dependabot-preview[bot] 62f7431289 Bump remove_dir_all from 0.5.1 to 0.5.2 (#19)
Bumps [remove_dir_all](https://github.com/XAMPPRocky/remove_dir_all) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/XAMPPRocky/remove_dir_all/releases)
- [Changelog](https://github.com/XAMPPRocky/remove_dir_all/blob/master/CHANGELOG.md)
- [Commits](https://github.com/XAMPPRocky/remove_dir_all/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 17:28:10 -04:00