Deirdre Connolly
fbca3c7434
Remove testnet --container-mount-disk for now
2020-12-16 14:45:07 +10:00
Deirdre Connolly
4d387efe1d
Disable tesnet post-Sapling sync tests for now
2020-12-16 14:45:07 +10:00
Deirdre Connolly
93b91769d6
Update stateful disks for post-Sapling-activation sync tests
2020-12-16 14:45:07 +10:00
teor
69fcf64d6c
Disable issue URLs for "duplicate hash" errors ( #1517 )
...
In our README, we tell users to ignore these errors, so we should also
disable the issue URL.
Also include the hash in the error. (We don't want the span active for
all messages, we just want the hash in the error.)
2020-12-16 08:14:42 +10:00
teor
008577561c
Use a sleep future in the async acceptance tests
...
And wait slightly longer for `zebrad` to launch.
These fixes should reduce the failure rate of the acceptance tests on
busy machines.
2020-12-16 08:09:48 +10:00
teor
1b6bf7f105
Use random ports in the acceptance tests
...
This change avoids errors when tests are cancelled and re-run within a
short period of time, for example, using `cargo watch`.
It introduces a slight risk of port conflicts between the endpoint tests,
and with (ephemeral) ports used by other services. The risk of conflicts
across 2 tests is very low, and tests should be run in an isolated
environment on busy servers.
2020-12-16 08:09:48 +10:00
dependabot[bot]
5f8891df88
build(deps): bump indexmap from 1.6.0 to 1.6.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.0...1.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 16:56:00 -05:00
Alfredo Garcia
41833340c1
downgrade remaining version strings to 1.0.0-alpha.0 ( #1488 )
2020-12-15 11:21:00 +10:00
Alfredo Garcia
436ce00fc2
Move height check to NetworkUpgrade ( #1505 )
...
* move height check to NetworkUpgrade
* refactor the max block time height check
Co-authored-by: teor <teor@riseup.net>
2020-12-15 08:30:38 +10:00
Alfredo Garcia
7468dae88d
add commands and logs section to bug template ( #1506 )
...
* add commands and logs section to bug template
Co-authored-by: teor <teor@riseup.net>
2020-12-15 07:45:10 +10:00
teor
b8646fa78e
Depend on a tokio commit with the time wheel panic fix
...
Updates the tokio dependency to the commit that merged
tokio-rs/tokio#3229, which should fix the time wheel panic in #1452 .
2020-12-13 22:27:22 -05:00
teor
d482900e7f
Remove a redundant pattern match
...
Identified by clippy's redundant_pattern_match lint.
2020-12-13 22:10:05 -05:00
Alfredo Garcia
d725eeb4d6
Add documentation to zebra-utils and checkpoint generation ( #1491 )
...
* create readme for utils and checkpoints
* add link to checkpoint usage to book
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2020-12-14 11:34:22 +10:00
teor
66e300be0a
Cleanup the ExpandedDifficulty PartialOrd impl ( #1466 )
2020-12-14 11:25:50 +10:00
teor
394634c933
Remove a redundant argument ( #1456 )
2020-12-14 11:05:31 +10:00
teor
8e2f08221f
Add peer set tracing and unreachable panics ( #1468 )
...
Add some extra tracing and panics to double-check our
assumptions about the peer set state machine.
2020-12-14 11:00:39 +10:00
Deirdre Connolly
2d1698a120
Comment out Sentry stacktraces for now
...
While panic = abort, Sentry collects the same one-line stack trace for all panics,
making it incorrectly dedupe different errors into one.
2020-12-12 13:26:52 -05:00
dependabot[bot]
6ca6d38c5c
build(deps): bump tokio-util from 0.5.0 to 0.5.1
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.5.0...tokio-util-0.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 10:57:11 -05:00
Pili Guerra
f6ff4d2255
Fix typo ( #1504 )
2020-12-11 14:13:45 +01:00
teor
3c267f9c9d
README: clang and libclang are different
2020-12-10 23:24:30 -05:00
Alfredo Garcia
9c711c42c9
Rename State method names ( #1500 )
...
* rename `StateService::chain` to `any_ancestor_blocks`
* rename `StateService::tip` to `best_tip`
* rename `NonFinalizedState::tip` to `best_tip`
* rename `StateService::depth` to `best_depth`
* rename `StateService::transaction` to `best_transaction`
* rename `NonFinalizedState::transaction` to `best_transaction`
* rename `StateService::find_chain_intersection` to `find_best_chain_intersection`
* Rename `StateService::collect_chain_hashes` to `collect_best_chain_hashes`
* rename `StateService::find_chain_hashes` to `find_best_chain_hashes`
* rename `StateService::utxo` to `any_utxo`
* rename `NonFinalizedState::utxo` to `any_utxo`
* rename `NonFinalizedState::block_by_hash` to `any_block_by_hash`
* update `any_ancestor_blocks` comment
Co-authored-by: teor <teor@riseup.net>
2020-12-11 10:23:26 +10:00
dependabot[bot]
e537926e7b
build(deps): bump serde from 1.0.117 to 1.0.118
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 15:16:15 -05:00
teor
d0b3577968
Simplify C++ compiler dependency
...
We might as well prefer clang, but mention alternatives
2020-12-09 21:54:39 -05:00
teor
34481a28b4
Add a "without --locked" troubleshooting hint
...
We added "--locked" to the build instructions, but forgot to
update the troubleshooting hints.
2020-12-09 19:53:52 -05:00
Deirdre Connolly
cff28f7ac8
Use the commit sha as the sentry release
2020-12-09 13:06:18 -05:00
Jane Lusby
400213e2b3
integrate sentry with our existing panic reporting logic
2020-12-09 13:06:18 -05:00
Deirdre Connolly
f1ec1d626d
Tidy for now
2020-12-09 13:06:18 -05:00
Deirdre Connolly
44e1051dee
Debug
2020-12-09 13:06:18 -05:00
Deirdre Connolly
8b268e3f71
Don't keep guard around
2020-12-09 13:06:18 -05:00
Deirdre Connolly
25f6fd25b3
Test catching panic
2020-12-09 13:06:18 -05:00
Deirdre Connolly
6a17549945
Try sentry-tracing integration
2020-12-09 13:06:18 -05:00
Deirdre Connolly
8f958e3c05
apt-get install ca-certificates for the release image stage
2020-12-09 13:06:18 -05:00
Deirdre Connolly
c03a3a2606
Pull DSN from runtime env, enable Sentry debug mode with RUST_LOG=debug
2020-12-09 13:06:18 -05:00
Deirdre Connolly
1fb9198248
Can't pass feature flags at the root of the workspace
2020-12-09 13:06:18 -05:00
Deirdre Connolly
27e42f4ed5
Set up Sentry error collection via a feature flag
2020-12-09 13:06:18 -05:00
Deirdre Connolly
47d78d4cf4
Try sentry::init()
2020-12-09 13:06:18 -05:00
Deirdre Connolly
b3c8794760
Recommend using --locked with `cargo install` by default
...
cargo build != cargo install, we should just make it as easy as possible to install in one go
2020-12-09 12:38:39 -05:00
teor
85c7eea444
Add download, build and run instructions to the README ( #1478 )
...
Zebra first alpha release
The goals of this release are to:
- participate in the Zcash network,
- replicate the Zcash chain state,
- implement the Zcash proof of work consensus rules, and
- sync on Mainnet under excellent network conditions.
Currently, Zebra does not validate all the Zcash consensus rules.
It may be unreliable on Testnet, and under less-than-perfect
network conditions.
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-12-08 19:22:42 -05:00
Pili Guerra
444002d7a3
Fix small nits in README ( #1481 )
...
* Fix small nit
* Fix link to future-work
2020-12-08 17:32:48 +01:00
Jane Lusby
65e38b3c74
Begin working on rough draft for alpha section in README ( #1462 )
...
* Expand README
* add more alpha release sections
* split existing README into sections
* reorder the sections based on reader priority
* Be clearer about what Zebra doesn't do
* Update known issues
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: teor <teor@riseup.net>
2020-12-08 15:41:49 +10:00
teor
621dc23082
Link to where the deployments docs will be
2020-12-07 21:11:24 -05:00
Pili Guerra
113c27196e
Update alpha-release-criteria.md
...
Update after Team Sync on 2020.12.07
2020-12-07 21:11:24 -05:00
Henry de Valence
0842eb2dab
zebra: move to 1.x-based versioning. ( #1476 )
...
Previously we set the crate versions to 3.x, so that the major version was
aligned with the NU version. But we want to be able to make API changes
independently of the NU schedule.
2020-12-08 08:53:07 +10:00
teor
de613409c2
Support systems where bash isn't in /usr/bin ( #1473 )
...
Also remove the space between `#!` and `/`, because some OSes don't support
a space there.
2020-12-08 07:47:31 +10:00
teor
16ffb1dbbf
Disable issue URLs on all timeouts ( #1470 )
...
This change helps prevent spurious bug reports.
2020-12-08 07:47:01 +10:00
teor
81d19ca196
Move the system requirements to the README
2020-12-08 07:45:05 +10:00
teor
d965a4cd24
Check crate versions before a release
2020-12-08 07:36:59 +10:00
teor
3d9a2f1da5
Stop panicking on side chain contextual validation ( #1465 )
...
Closes #1464 .
2020-12-08 07:30:55 +10:00
teor
c75a659d03
Update release criteria ( #1469 )
...
Add checkpoint list and known serious issues updates
Update statuses based on recent changes
2020-12-07 12:14:58 +01:00
teor
5b687f878a
Remove unused dependencies found using cargo-udeps
2020-12-05 14:53:28 -05:00