Jane Lusby
1bc833dbcc
Move work conversion helpers to test code
2020-11-12 09:14:52 -05:00
teor
18bd5e5fbd
Update Cargo.lock
...
We need spandoc 0.2.1 to avoid a panic on empty blocks.
2020-11-12 12:30:54 +10:00
dependabot[bot]
a7ad73feac
build(deps): bump sled from 0.34.4 to 0.34.5
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.4 to 0.34.5.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.34.4...v0.34.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-10 11:01:06 -05:00
dependabot[bot]
e40c7b57c3
build(deps): bump bs58 from 0.3.1 to 0.4.0
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.3.1...0.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 09:35:19 -05:00
dependabot[bot]
a58299a0f0
build(deps): bump color-eyre from 0.5.6 to 0.5.7
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.6...v0.5.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 08:40:55 -05:00
dependabot[bot]
1e3cf6dc5c
build(deps): bump tracing-subscriber from 0.2.14 to 0.2.15
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.14...tracing-subscriber-0.2.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 20:37:40 -05:00
dependabot[bot]
785fc30481
build(deps): bump hyper from 0.13.8 to 0.13.9
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.8 to 0.13.9.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.8...v0.13.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 20:07:18 -05:00
dependabot[bot]
e87340594a
build(deps): bump thiserror from 1.0.21 to 1.0.22
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.21...1.0.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 19:28:42 -05:00
dependabot[bot]
b99ecbd2d7
build(deps): bump blake2b_simd from 0.5.10 to 0.5.11
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.10...0.5.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 19:28:24 -05:00
dependabot[bot]
dd7e1bb3f1
build(deps): bump blake2s_simd from 0.5.10 to 0.5.11
...
Bumps [blake2s_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.10...0.5.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 18:54:13 -05:00
dependabot[bot]
578a3ca5ab
build(deps): bump sha2 from 0.9.1 to 0.9.2
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.1...streebog-v0.9.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 18:53:49 -05:00
dependabot[bot]
2442cf162f
build(deps): bump regex from 1.4.1 to 1.4.2
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.1 to 1.4.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.4.1...1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 17:01:21 -05:00
dependabot[bot]
83c844abb5
build(deps): bump futures from 0.3.6 to 0.3.7
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.6...0.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 02:28:48 -04:00
Henry de Valence
12d25159c6
zebrad: use hedged requests in sync
...
The hedge middleware implements hedged requests, as described in _The
Tail At Scale_. The idea is that we auto-tune our retry logic according
to the actual network conditions, pre-emptively retrying requests that
exceed some latency percentile. This would hopefully solve the problem
where our timeouts are too long on mainnet and too slow on testnet.
2020-10-26 12:05:35 -07:00
Henry de Valence
b90581a3d7
zebrad: create a Downloads Stream for syncing.
...
This makes two changes relative to the existing download code:
1. It uses a oneshot to attempt to cancel the download task after it
has started;
2. It encapsulates the download creation and cancellation logic into a
Downloads struct.
2020-10-26 12:05:35 -07:00
teor
672b39a847
Use MAX_BLOCK_REORG_HEIGHT in zebra-checkpoints
...
MAX_BLOCK_REORG_HEIGHT is 1 less than the constant it replaces. The new
calculation is correct: the 100th block is finalized.
2020-10-26 20:59:40 +10:00
dependabot[bot]
ff51c2e0c0
build(deps): bump tracing-subscriber from 0.2.13 to 0.2.14
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.13...tracing-subscriber-0.2.14 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 15:02:02 -04:00
Henry de Valence
9dc8d76d68
consensus: add stub groth16::Verifier
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-10-20 11:16:22 -04:00
dependabot[bot]
2358091a37
build(deps): bump serde from 1.0.116 to 1.0.117
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-16 15:26:00 -04:00
teor
32bbc19c6b
Fix a timeout bug in zebra_test::command
...
And add tests for the command functionality.
Also document some remaining bugs (see #1140 ).
2020-10-15 19:54:00 -04:00
Jane Lusby
e05103323e
Implement Async Script Verification RFC ( #961 )
...
This commit begins the process of integrating `zcash_script` with the rest of the system for verifying scripts while syncing the block chain. It does so by adding the necessary support for looking up UTXOs from the state service and implements the first parts of the `script::Verifier` for looking up the necessary UTXOs in the state and then generating the necessary call to `zcash_script` to verify the script itself.
Co-authored-by: teor <teor@riseup.net>
2020-10-14 14:06:32 -07:00
dependabot[bot]
49042c5f78
build(deps): bump regex from 1.4.0 to 1.4.1 ( #1159 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.0 to 1.4.1.
- [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.4.0...1.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 12:10:48 -07:00
dependabot[bot]
15d0e127fd
build(deps): bump structopt from 0.3.19 to 0.3.20
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.19...v0.3.20 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 12:00:27 -04:00
dependabot[bot]
f2d9d4fb87
build(deps): bump serde_json from 1.0.58 to 1.0.59
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 12:00:03 -04:00
dependabot[bot]
766baea9d8
build(deps): bump regex from 1.3.9 to 1.4.0 ( #1150 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.9 to 1.4.0.
- [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.3.9...1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 13:27:26 -07:00
dependabot[bot]
2d0d8eb2fd
build(deps): bump pin-project from 0.4.26 to 0.4.27 ( #1149 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.26 to 0.4.27.
- [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.26...v0.4.27 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:36:21 -07:00
dependabot[bot]
3d309447ed
build(deps): bump toml from 0.5.6 to 0.5.7 ( #1148 )
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.6...0.5.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:36:00 -07:00
dependabot[bot]
5e58955212
build(deps): bump zcash_script from 0.1.2 to 0.1.3 ( #1147 )
...
Bumps [zcash_script](https://github.com/ZcashFoundation/zcash_script ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/ZcashFoundation/zcash_script/releases )
- [Changelog](https://github.com/ZcashFoundation/zcash_script/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/zcash_script/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:35:37 -07:00
dependabot[bot]
256c0fce27
build(deps): bump structopt from 0.3.18 to 0.3.19 ( #1139 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.18 to 0.3.19.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.18...v0.3.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 13:07:10 -07:00
dependabot[bot]
76e7e3d714
build(deps): bump tracing-subscriber from 0.2.12 to 0.2.13
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.12...tracing-subscriber-0.2.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-08 15:09:32 -04:00
Jane Lusby
855f9b5bcb
Implement MVP of NonFinalizedState and integrate it with the state service ( #1101 )
...
* implement most of the chain functions
* implement fork
* fix outpoint handling in Chain struct
* update expect for work
* split utxo into two sets
* update the Chain definition
* remove allow attribute in zebra-state/lib.rs
* merge ChainSet type into MemoryState
* Add error messages to asserts
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* try to fix github actions syntax
* add module doc comment
* update RFC for utxos
* add missing header
* working proptest for Chain
* propagate back results over channel
* Start updating RFC to match changes
* implement queued block pruning
* and now it syncs wooo!
* remove empty modules
* setup config for proptests
* re-enable missing_docs lint
* update RFC to match changes in impl
* add documentation
* use more explicit variable names
2020-10-08 13:07:32 +10:00
dependabot[bot]
1b7bf61f96
build(deps): bump thiserror from 1.0.20 to 1.0.21
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-07 18:25:33 -04:00
dependabot[bot]
08f363e1cb
build(deps): bump futures from 0.3.5 to 0.3.6
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 16:54:08 -04:00
dependabot[bot]
1d742d0658
build(deps): bump futures-util from 0.3.5 to 0.3.6
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:32:21 -04:00
dependabot[bot]
23a62a2d87
build(deps): bump inferno from 0.10.0 to 0.10.1
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:31:01 -04:00
dependabot[bot]
51746892ff
build(deps): bump futures-core from 0.3.5 to 0.3.6
...
Bumps [futures-core](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:29:51 -04:00
dependabot[bot]
b473476a4a
build(deps): bump pin-project from 0.4.25 to 0.4.26
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.25 to 0.4.26.
- [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.25...v0.4.26 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 11:27:06 -04:00
dependabot[bot]
d769f62a73
build(deps): bump color-eyre from 0.5.5 to 0.5.6
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 11:26:23 -04:00
Jane Lusby
86ed13060f
Add tests for `Chain` implementation ( #1093 )
...
* Begin work on RFC5 implementation
* I think this is necessary
* holy shit supertrait implemented via subtrait
* implement most of the chain functions
* change to slightly better name
* implement fork
* fix outpoint handling in Chain struct
* update expect for work
* resolve review comment
* split utxo into two sets
* update the Chain definition
* just a little more
* update comment
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* apply changes from code review
* remove allow attribute in zebra-state/lib.rs
* Update zebra-state/src/memory_state.rs
Co-authored-by: teor <teor@riseup.net>
* merge ChainSet type into MemoryState
* rename state impl types
* Add error messages to asserts
* checkpoint so I can split off arbitrary changes into a PR
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* run rustfmt
* try to fix github actions syntax
* differentiate name
* prove that github action tests zebra-chain build without features
* revert change from last commit now that test is running
* remove accidentally introduced newline
* checkpoint
* add module doc comment
* update RFC for utxos
* add missing header
* working proptest for Chain
* apply change from chain impl PR
* setup config for proptests
* Update zebra-chain/src/block/arbitrary.rs
Co-authored-by: teor <teor@riseup.net>
* run rustfmt
Co-authored-by: teor <teor@riseup.net>
2020-10-02 15:51:51 -07:00
dependabot[bot]
1b528404cd
build(deps): bump pin-project from 0.4.24 to 0.4.25
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.24 to 0.4.25.
- [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.24...v0.4.25 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 11:18:13 -04:00
dependabot[bot]
ae362d260e
build(deps): bump serde_json from 1.0.57 to 1.0.58
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 16:56:11 -04:00
dependabot[bot]
b5ecafa7bc
build(deps): bump chrono from 0.4.18 to 0.4.19
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.18...v0.4.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 15:09:10 -04:00
dependabot[bot]
15c5365ca7
build(deps): bump tracing from 0.1.19 to 0.1.21
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.19 to 0.1.21.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.19...tracing-0.1.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-29 11:01:34 -04:00
dependabot[bot]
2230e353df
Merge pull request #1103 from ZcashFoundation/dependabot/cargo/pin-project-0.4.24
...
build(deps): bump pin-project from 0.4.23 to 0.4.24
2020-09-28 11:13:11 -07:00
dependabot[bot]
bf4ddc1074
build(deps): bump chrono from 0.4.15 to 0.4.18
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.15 to 0.4.18.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.15...v0.4.18 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 11:13:05 -07:00
dependabot[bot]
d5ce5eeee2
build(deps): bump structopt from 0.3.17 to 0.3.18
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.17...v0.3.18 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 18:25:54 -04:00
Jane Lusby
0b4e974c9e
export proptest impls for use in downstream crates ( #1092 )
...
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* run rustfmt
* try to fix github actions syntax
* differentiate name
* prove that github action tests zebra-chain build without features
* revert change from last commit now that test is running
* remove accidentally introduced newline
* Update .github/workflows/ci.yml
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-23 18:52:52 -07:00
Jane Lusby
40e22808c7
disable reporting url for timeout errors ( #1087 )
...
* disable reporting url for timeout errors
* revert newline removal
* switch to released color-eyre version
2020-09-21 16:15:09 -07:00
Henry de Valence
6dd7318d3b
deps: use Tower 0.4 from git instead of 0.3.1.
...
This addresses at least three pain points:
- we were affected by bugs that were already fixed in git, but not in
the released crate;
- we can use service combinators to transform requests and responses;
- we can use the hedge middleware.
The version in git is still marked as 0.3.1 but these changes will be
part of tower 0.4: https://github.com/tower-rs/tower/issues/431
2020-09-21 14:16:56 -07:00
Alfredo Garcia
c616c7ffd2
Move consensus verification errors ( #1070 )
...
* refactor block and tx validation errors
* rename errors module to error
* move NoTransactions to BlockError
* clarify some errors, use dbg format for hash in error
* mnake is_coinbase_first return BlockError
* add new error types for each consensus Service
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-09-21 11:54:06 -07:00