teor
436a4e9a5b
Add better diagnostics for the checkpoint restart tests
2021-03-04 08:06:31 +10:00
teor
db23258216
Re-enable the checkpoint restart tests
2021-03-04 08:06:31 +10:00
Alfredo Garcia
8883543a85
Add transaction version 5 stubs ( #1824 )
...
* add transaction V5 stub
* add v5_strategy
* deduplicate version group ids
* Update comment for V5 transactions
* Add V5 transactions to non_finalized_state
Currently these are all `unimplemented!(...)`
* Fix struct matches
* Apply trivial panic message changes
* add zcash_deserialize for V5
* make all tx versions explicit in sprout and sapling nullifier functions
* match exhaustively in sprout and sapling nullifier functions
* fix matches in zebra-consensus
* fix NU5 strategy
* We're still deciding if v5 transactions support Sprout
Co-authored-by: teor <teor@riseup.net>
2021-03-04 07:56:41 +10:00
Alfredo Garcia
65fa1c6bd9
replace canopy.pdf with protocol.pdf
2021-03-02 16:07:04 -05:00
Jane Lusby
e541746a50
Add initial support for NU5 to zebra ( #1823 )
...
* Add NU5 variant to NetworkUpgrade
* Add consensus branch ID for NU5
* Add network protocol versions for NU5
* Add NU5 to the protocol::version_consistent test
* Make unimplemented panic messages more specific
* Block target spacing doesn't change in NU5
* add comments for future updates for NU5
Co-authored-by: teor <teor@riseup.net>
2021-03-03 06:22:11 +10:00
dependabot[bot]
3c4cd31ce0
build(deps): bump once_cell from 1.7.1 to 1.7.2
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.1 to 1.7.2.
- [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.7.1...v1.7.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 12:37:36 -05:00
dependabot[bot]
d0873da150
build(deps): bump once_cell from 1.7.0 to 1.7.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.0 to 1.7.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.7.0...v1.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 11:28:55 -05:00
Alfredo Garcia
ca44fbd7b8
upgrade ed25519-zebra to v2 ( #1811 )
...
This implements ZIP-215
2021-03-02 17:45:55 +10:00
teor
895bb43ead
Clippy: Fix inconsistent struct member orders lint
2021-03-01 23:31:18 -05:00
teor
f2bdebee07
Clippy: Use Option::map instead of a manual impl
2021-03-01 23:31:18 -05:00
dependabot[bot]
c5958dbb3d
build(deps): bump rlimit from 0.5.3 to 0.5.4
...
Bumps [rlimit](https://github.com/Nugine/rlimit ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/Nugine/rlimit/releases )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.5.3...v0.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 18:32:49 -05:00
dependabot[bot]
45e22cd6eb
build(deps): bump serde_json from 1.0.63 to 1.0.64
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.63...v1.0.64 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 18:08:29 -05:00
teor
4a812af5d7
Move design/data-flow to rfcs/drafts
2021-03-01 17:58:50 -05:00
teor
9736abdf07
Update grafana instructions
2021-03-01 16:50:06 -05:00
teor
c466bd47ec
Add grafana configs
...
Add checkpoint, block, and network health grafana configs.
2021-03-01 16:50:06 -05:00
teor
0ed372703d
Fix a typo in Transaction
...
We parse v1, v2, and v3 transactions, but we don't validate them,
due to the Sapling checkpoint.
2021-02-25 20:42:25 -05:00
dependabot[bot]
1b02f2d327
build(deps): bump serde_json from 1.0.62 to 1.0.63 ( #1819 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.63 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 10:22:01 +10:00
teor
2587a4e272
Fix a peer DNS resolution edge case ( #1796 )
...
* Retry each peer DNS a few times individually
We retry each peer individually, as well as retrying if there are no
peers in the combined list.
DNS failures are correlated, so all peers can fail DNS, leaving Zebra
with a small list of custom-configured IP address peers.
Individual retries avoid this issue.
* Rename parse_peers to resolve_peers
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2021-02-26 09:06:27 +10:00
dependabot[bot]
70327dc9f5
build(deps): bump once_cell from 1.6.0 to 1.7.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.6.0 to 1.7.0.
- [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.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 15:32:03 -05:00
teor
9c3f236075
Stop sending blocks and transactions on error
2021-02-25 08:44:57 -08:00
dependabot[bot]
bf1e2bd3b8
build(deps): bump tracing from 0.1.24 to 0.1.25 ( #1815 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.24 to 0.1.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 09:28:26 +10:00
teor
fb6acfaff7
Update the acceptance test port range ( #1812 )
...
Windows can reserve or use ports up to 53500.
Windows and macOS sequentially allocate ephemeral ports,
starting at 41952.
2021-02-25 09:27:56 +10:00
teor
78f162733d
Revert "leverage return value for propagating errors"
...
This reverts commit e6cb20e13f
.
2021-02-24 13:07:31 -08:00
teor
72e2e83828
Revert "introduce Transition enum"
...
This reverts commit 6906f87ead
.
2021-02-24 13:07:31 -08:00
teor
a5e89f4f2b
Revert "accidental drop on mustusesender"
...
This reverts commit 5ec8d09e0d
.
2021-02-24 13:07:31 -08:00
teor
d60226a3cf
Revert "rustfmt"
...
This reverts commit 9d9734ea81
.
2021-02-24 13:07:31 -08:00
teor
359015b2be
Revert "Only reject pending client requests when the peer has errored"
...
This reverts commit e06705ed81
.
2021-02-24 13:07:31 -08:00
teor
663ed6c842
Revert "Remove remaining references to fail_with"
...
This reverts commit 5e4bf804aa
.
2021-02-24 13:07:31 -08:00
teor
3c225550ee
Revert "rename transitions from Exit to Close"
...
This reverts commit cfc4717b98
.
2021-02-24 13:07:31 -08:00
teor
86dc66dfa9
Revert "deduplicate match arms in handle_client_request"
...
This reverts commit 2adee7b31a
.
2021-02-24 13:07:31 -08:00
teor
292a4391e2
Revert "update comments throughout connection.rs"
...
This reverts commit 651d352ce1
.
2021-02-24 13:07:31 -08:00
teor
fc44a97925
Revert "remove unnecessary Option around request timeout"
...
This reverts commit c3724031df
.
2021-02-24 13:07:31 -08:00
teor
e06120cd36
Revert "ensure peer/client.rs comments are up to date"
...
This reverts commit 2266886a53
.
2021-02-24 13:07:31 -08:00
teor
1a70d807b6
Revert "make sure peer/error.s comments are up to date"
...
This reverts commit 6f205a1812
.
2021-02-24 13:07:31 -08:00
teor
3b2077fcfd
Revert "Apply suggestions from code review"
...
This reverts commit 736092abb8
.
2021-02-24 13:07:31 -08:00
Deirdre Connolly
624bbf4b9a
Update release-checklist.md ( #1810 )
...
With edits from our recent release
2021-02-24 08:56:06 +10:00
dependabot[bot]
7b675bbd73
build(deps): bump futures from 0.3.12 to 0.3.13
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [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.12...0.3.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 16:09:53 -05:00
dependabot[bot]
58f26df5cb
build(deps): bump futures-core from 0.3.12 to 0.3.13
...
Bumps [futures-core](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [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.12...0.3.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 11:11:35 -05:00
dependabot[bot]
dab65b33eb
build(deps): bump once_cell from 1.5.2 to 1.6.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.5.2 to 1.6.0.
- [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.5.2...v1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 10:59:40 -05:00
teor
7558f74c78
Bump versions for zebrad 1.0.0-alpha.3
2021-02-23 10:39:13 -05:00
teor
d0632ea29b
Add md files to release checklist commands
2021-02-23 17:33:39 +10:00
teor
6badfe73ca
Add fastmod example to release checklist
2021-02-23 17:31:02 +10:00
teor
a1c507240f
Fix a release-checklist.md typo
2021-02-23 11:47:02 +10:00
dependabot[bot]
304d7682f5
build(deps): bump tracing-subscriber from 0.2.15 to 0.2.16
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.15...tracing-subscriber-0.2.16 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 01:38:42 -05:00
dependabot[bot]
b578d1ff2e
build(deps): bump proptest-derive from 0.2.0 to 0.3.0
...
Bumps [proptest-derive](https://github.com/AltSysrq/proptest ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/AltSysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/AltSysrq/proptest/compare/proptest-derive-0.2.0...proptest-derive-0.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 01:33:54 -05:00
Deirdre Connolly
1fa41ff199
Use new bech32 methods that expect a Variant enum variant
2021-02-21 20:51:43 -05:00
dependabot[bot]
dd940f7dbf
build(deps): bump bech32 from 0.7.2 to 0.8.0
...
Bumps [bech32](https://github.com/rust-bitcoin/rust-bech32 ) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/rust-bitcoin/rust-bech32/releases )
- [Commits](https://github.com/rust-bitcoin/rust-bech32/compare/v0.7.2...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 20:51:43 -05:00
teor
3af57ece7a
Partly revert "Fix poll_ready usage in ChainVerifier" ( #1735 )
...
* Revert "Fix poll_ready usage in ChainVerifier (#1700 )"
This reverts commit 0723ac5be1
.
* Keep the VERIFIER_BUFFER_BOUND change
* Correctly implement multiple readiness
2021-02-20 10:43:38 +10:00
teor
d4f2f27218
Add global span to spawned network tasks ( #1761 )
...
Closes #1575
2021-02-20 08:36:50 +10:00
ebfull
b7fddbde94
Compute the expected body length to reduce heap allocations ( #1773 )
...
* Compute the expected body length to reduce heap allocations
2021-02-19 22:18:57 +00:00