Deirdre Connolly
e11e8e1373
s/TRASPARENT/TRANSPARENT/g
2020-11-25 17:22:26 -05:00
Henry de Valence
fa02b266ca
clippy
2020-11-25 10:55:44 -08:00
Henry de Valence
de8415dcb1
tidy spans
2020-11-25 10:55:44 -08:00
Henry de Valence
05837797b1
tidy imports
2020-11-25 10:55:44 -08:00
Henry de Valence
77bf327b07
fix errors (2)
2020-11-25 10:55:44 -08:00
Henry de Valence
527f4d39ed
fix errors
2020-11-25 10:55:44 -08:00
Henry de Valence
e645e3bf0c
remove async
2020-11-25 10:55:44 -08:00
Henry de Valence
6569977549
test compile change
2020-11-25 10:55:44 -08:00
Alfredo Garcia
7d42c63790
fix comment
2020-11-25 10:55:44 -08:00
Alfredo Garcia
486e55104a
create Downloads for Inbound
2020-11-25 10:55:44 -08:00
teor
31eb0a5126
Avoid verbose default logs
...
Temporary fix so that Zebra's default logs support a typical workflow:
1. Developer or user runs Zebra with the default config
2. They send the logs to a terminal
3. When they see a bug, they copy-paste the last few log lines into a
bug report
This is the same change that was merged in #1373 and reverted in #1375 .
We'll create a consistent logging design for Zebra in ticket #1381 .
2020-11-25 10:55:15 -08:00
teor
b1bbb13978
Make debug_stop_at_height and ephemeral work together ( #1339 )
...
* Make debug_stop_at_height and ephemeral work together
* if `debug_stop_at_height` and `ephemeral` are set, delete the database
files after reaching the stop height
* drop or flush the database before `debug_stop_at_height` exits Zebra
2020-11-25 15:04:18 +10:00
Deirdre Connolly
2a21c86b91
I before E except after C (or uh, not-english)
2020-11-24 22:23:57 -05:00
Deirdre Connolly
5c465abed2
Remove timeout on test job
2020-11-24 22:14:37 -05:00
Henry de Valence
b9347e01e4
consensus: ignore sighash-derived checks until #1377
2020-11-24 16:28:22 -08:00
Henry de Valence
f798aef843
consensus: increase buffer for batch redjubjub results
2020-11-25 08:53:07 +10:00
Henry de Valence
61b3286085
consensus: add NU plumbing to block,tx,script verifiers
...
Closes #1367 by propagating the network upgrade through the service
requests.
2020-11-25 08:53:07 +10:00
Henry de Valence
2e0ed94b22
Revert "Downgrade a per-block log to debug level"
...
This reverts commit 15d26e3c47
.
2020-11-24 14:39:45 -05:00
Deirdre Connolly
487ee6d317
Use cloud disk default of auto-delete=true
2020-11-24 11:04:30 -05:00
Deirdre Connolly
e6210caffb
Create and mount another state cache for Sapling activation on testnet and use for running sync_past_sapling_testnet
2020-11-24 11:04:30 -05:00
Deirdre Connolly
6a0a6f6d37
allow(dead_code) not allow(clippy::dead_code)
2020-11-24 11:04:30 -05:00
Deirdre Connolly
3c9b7927a5
Run sync_past_sapling_mainnet, not sync_to_sapling_mainnet
2020-11-24 11:04:30 -05:00
Deirdre Connolly
cf82560538
Reference correct disk name when mounting in container
2020-11-24 11:04:30 -05:00
Deirdre Connolly
466b9ea303
Not a tty
2020-11-24 11:04:30 -05:00
Deirdre Connolly
6dab76bc36
Avoid disk naming collisions
2020-11-24 11:04:30 -05:00
Deirdre Connolly
4a67e0e7bb
Enable stateful/long sync tests by features, mount rocksdb-based state at Sapling activation for sync_past_sapling_mainnet test
2020-11-24 11:04:30 -05:00
Deirdre Connolly
b3908b4425
Compile tests without running as container layer
2020-11-24 11:04:30 -05:00
Deirdre Connolly
d813603bac
Remove defunct memory_cache_bytes from test config
2020-11-24 11:04:30 -05:00
Jane Lusby
b96ca38d1c
fix args issue
2020-11-24 11:04:30 -05:00
Jane Lusby
c2a57d7e49
slight comment tweek
2020-11-24 11:04:30 -05:00
Jane Lusby
99c5acc94f
rename test fn
2020-11-24 11:04:30 -05:00
Jane Lusby
602d8c4898
document tests
2020-11-24 11:04:30 -05:00
Jane Lusby
583ec8738b
change ci to not blanket enable all ignored tests
2020-11-24 11:04:30 -05:00
Jane Lusby
17fdbe941b
fix stdout issue with test framework for cached data tests
2020-11-24 11:04:30 -05:00
Jane Lusby
0f51891359
revert unnecessary change in sync_until
2020-11-24 11:04:30 -05:00
Jane Lusby
9fd38f29b4
further make use statement consistent
2020-11-24 11:04:30 -05:00
Jane Lusby
a21ddfeefc
fix use cfg
2020-11-24 11:04:30 -05:00
Jane Lusby
4bfe747f34
update acceptance tests
2020-11-24 11:04:30 -05:00
Jane Lusby
d093b4e528
Add network integration test for quick post sapling sync testing
2020-11-24 11:04:30 -05:00
teor
15d26e3c47
Downgrade a per-block log to debug level
2020-11-24 10:56:57 -05:00
dependabot[bot]
e832f70c2c
build(deps): bump tracing from 0.1.21 to 0.1.22
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 10:55:53 -05:00
teor
133ebd078a
Remove a post-Canopy panic in funding stream block subsidy validation
...
Funding stream block subsidy validation will be implemented as part of
block subsidy validation in #801 .
2020-11-24 10:01:24 -05:00
dependabot[bot]
a4af90c2b0
build(deps): bump color-eyre from 0.5.7 to 0.5.8
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.7 to 0.5.8.
- [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.7...v0.5.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 09:59:22 -05:00
teor
8d6ac8eece
Placate clippy
2020-11-24 20:03:21 +10:00
Henry de Valence
d90e709ce1
network: tidy peer set implementation
...
- rename functions more descriptively
- create a common `take_ready_service` function
- organize poll_ functions separately
2020-11-24 20:03:21 +10:00
Henry de Valence
f36a4800b2
network: fix invariant violation in peer set
...
Closes #1183 .
The peer set maintains a preselected ready service that it can use to
perform power-of-two-choices (p2c) routing of requests. Ready services
are stored by key (socket address) in an `IndexMap`, and the preselected
service is represented by an `Option<usize>` indexing that map. This
means that whenever the set of ready services changes (e.g., a service
is removed from the peer set, or a service is taken to be used to
process a request), the preselected index is invalidated. The original
P2C-only implementation maintained this invariant but did not document
it.
The change to inventory-based routing introduced a bug by failing to
maintain this invariant and appropriately invalidate the preselected
index. However, this was only noticeable approximately 1/N of the time
on the next request after an inventory-directed request, so the bug
occurred infrequently. Luckily, the use of `.expect` caused the bug to
be an immediate panic, making it possible to identify by inspecting all
uses of the ready service map.
2020-11-24 20:03:21 +10:00
Henry de Valence
f1155297a3
consensus: temporarily skip scripts on big transactions ( #1360 )
...
Temporary workaround for #1350 until that issue is properly fixed.
2020-11-24 19:31:03 +10:00
teor
6387dfe1d0
Fix individual crate compilation failures
...
Some Zebra crates don't compile individually due to missing features in
their dependencies. Add those features to each crate's dependency list.
2020-11-23 23:56:28 -08:00
teor
2d60c00fb0
Avoid a panic when downcasting to redjubjub::Error fails ( #1363 )
...
Instead, format the original error as a string, to provide better
diagnostics.
Temporary fix for #1357 , the permanent fix ticket is #1186 .
2020-11-24 16:46:02 +10:00
Henry de Valence
6202cb45b1
ci: remove nightly clippy
...
Closes #1212
2020-11-23 22:18:43 -08:00