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
teor
531a33f03b
Update the zebrad commit whenever any Zebra crate changes ( #1455 )
...
vergen's implementation of REBUILD_ON_HEAD_CHANGE assumes that the .git
directory is in the crate root, but Zebra uses a workspace.
Temporary fix for rustyhorde/vergen#21 .
2020-12-05 07:23:05 +10:00
teor
e2792fa656
Add crate dependencies to the release checklist ( #1459 )
...
* Add crate dependencies to the release checklist
* Update "Last updated" date
Co-authored-by: Pili Guerra <pili@piliguerra.com>
2020-12-04 11:47:17 +01:00
teor
b4a50fd99f
Downgrade tokio to 0.3.4 to avoid a time wheel panic ( #1453 )
...
See tokio-rs/tokio#2789 for details. We were seeing this panic during
normal operation, not just at shutdown.
2020-12-04 13:52:37 +10:00
Deirdre Connolly
8f58c41a38
Pipe SHORT_SHA into container builds ( #1451 )
2020-12-03 22:51:42 -05:00
Jane Lusby
ef7e91c3c7
disable color-eyre colors if not connected to a tty ( #1443 )
...
* disable color-eyre colors if not connected to a tty
* check if color is disabled
2020-12-04 11:05:25 +10:00
teor
b72d095d6b
Fix a comment typo
...
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2020-12-04 10:44:36 +10:00
teor
9bd3b8becd
Clarify a difficulty debug impl comment
2020-12-04 10:44:36 +10:00
teor
0e1f330720
Use error message derives in zebra-state
...
Rather than displaydoc.
2020-12-04 10:44:36 +10:00
teor
2d3c41f0af
Rename a constant for consistency
2020-12-04 10:44:36 +10:00
teor
7f823e7c5a
Activate the max time rule on testnet at block 653606
2020-12-04 10:44:36 +10:00
teor
2014dffd27
Show expanded values in CompactDifficulty debug fmt
2020-12-04 10:44:36 +10:00
teor
207ded6889
Add error context for contextual validation
2020-12-04 10:44:36 +10:00
teor
23e07a94cf
Implement the block header time consensus rules
2020-12-04 10:44:36 +10:00
teor
0bac2dafcc
Split out a separate `median_time_past` function
2020-12-04 10:44:36 +10:00