dependabot[bot]
f301de41fa
Bump tracing-subscriber from 0.2.5 to 0.2.6
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber/-0.2.5...tracing-subscriber-0.2.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:01:47 -04:00
dependabot[bot]
e3ad9737e7
Bump sled from 0.31.0 to 0.32.0
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.31.0 to 0.32.0.
- [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.31...v0.32 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:00:54 -04:00
dependabot[bot]
bf779ea1d6
Bump serde from 1.0.112 to 1.0.114
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.114 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 11:58:09 -04:00
dependabot[bot]
5c0df915f1
Bump w9jds/firebase-action from v1.3.1 to v1.5.0
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from v1.3.1 to v1.5.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v1.3.1...6d1a577caffa15dfad8cc3d95e8ea2ac7ff51f7f )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 11:55:43 -04:00
teor
d8b48f885b
consensus: Add a checkpoint verifier stub ( #502 )
...
consensus: Add a checkpoint verifier stub
This stub only verifies blocks whose hashes are in the checkpoint
list.
It doesn't have tests, chain child verifies to their ancestors, or
support checkpoint maximum height queries.
Part of #429 .
2020-06-22 08:51:43 +10:00
Deirdre Connolly
2bdd07c1bc
Create instance group if it doesn't exist, update it if it does ( #513 )
...
* Deploy instance group if it doesn't exist, update it if it does
* Rename push.yml to cd.yml
* Rename some CD steps
2020-06-21 04:39:47 -04:00
dependabot[bot]
6324ad8828
Bump bytes from 0.5.4 to 0.5.5
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v0.5.4...v0.5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-19 12:56:38 -04:00
Deirdre Connolly
2f87a9a9f6
Update existing managed instance groups on deploy
2020-06-19 03:46:09 -04:00
Deirdre Connolly
509f0763ad
Scope deploys to main, gcloud branches; shorten initial delay
2020-06-19 03:46:09 -04:00
Deirdre Connolly
c901b42c75
Shorten health check delay from 3 minutes to 1
2020-06-19 03:46:09 -04:00
Deirdre Connolly
05316dee21
Listen on 0.0.0.0, not 127.0.0.1
...
Turns out when your node faces the internet directly, it has to listen
to those addresses directly.
2020-06-19 03:46:09 -04:00
Deirdre Connolly
e6d986a057
Put all ports EXPOSE'd on the same line
2020-06-19 03:46:09 -04:00
Deirdre Connolly
c85acde18f
Add 'zebrad' tags to instance templates
...
And add 'one time' commands commented out for managing firewall rules.
2020-06-19 03:46:09 -04:00
Deirdre Connolly
f95e7d5595
Add health check
2020-06-19 03:46:09 -04:00
Deirdre Connolly
4aabadc67d
Remove zone param
2020-06-19 03:46:09 -04:00
Deirdre Connolly
621a14abe9
Managed group of size 1 seems to reliably work 🙃
2020-06-19 03:46:09 -04:00
Deirdre Connolly
c7046eb6f5
Create instance group in one specified zone
2020-06-19 03:46:09 -04:00
Deirdre Connolly
20e0e4bef0
Go back to project default machine type for now
2020-06-19 03:46:09 -04:00
Deirdre Connolly
cae9df9169
Remove --base-instance-name, redundant
2020-06-19 03:46:09 -04:00
Deirdre Connolly
c50e9a5bee
Add region
2020-06-19 03:46:09 -04:00
Deirdre Connolly
e2c30e7bd2
Type n1-highmem-8
2020-06-19 03:46:09 -04:00
Deirdre Connolly
14a62bf9bb
Remove region; highmem is constrainted
2020-06-19 03:46:09 -04:00
Deirdre Connolly
7742bb4dbd
Bump memory on instance template
2020-06-19 03:46:09 -04:00
Deirdre Connolly
30f01c6ff0
Use updated 'zebrad seed' command, move binary to root, no workdir
2020-06-19 03:46:09 -04:00
Deirdre Connolly
29117f7c73
Explicit WORKDIR for runner stage
2020-06-19 03:46:09 -04:00
Deirdre Connolly
84c34b2e48
Use ENTRYPOINT plus CMD for command
2020-06-19 03:46:09 -04:00
Deirdre Connolly
e86bbf372b
Run 'zebrad seed' instead of 'connect' for now
2020-06-19 03:46:09 -04:00
Deirdre Connolly
65bd05932e
Remove cloudbuild.yml, tidy gcloud deploy workflow
2020-06-19 03:46:09 -04:00
Deirdre Connolly
0ccf167125
gcloud workflow to deploy containers via managed instance group
...
Also default command to 'zebrad connect' until 'start' is fleshed out.
2020-06-19 03:46:09 -04:00
Jane Lusby
9d4ad933aa
cleanup
2020-06-19 01:48:56 -04:00
Jane Lusby
b67ead665a
cleaning
2020-06-19 01:48:56 -04:00
Jane Lusby
b727beb778
use better generic idents
2020-06-19 01:48:56 -04:00
Jane Lusby
61489dbf5d
fix debug impl
2020-06-19 01:48:56 -04:00
Jane Lusby
faf36f5c04
require clone bound inner error type rather than Arcifying it ourselves
2020-06-19 01:48:56 -04:00
Jane Lusby
9db936923b
use type inference
2020-06-19 01:48:56 -04:00
Jane Lusby
63ae085945
make return error type for Batch generic
2020-06-19 01:48:56 -04:00
Henry de Valence
6cc1627a5d
zebrad: apply serde(default) to config sections
...
Each subsection has to have `serde(default)` to get the behaviour we want
(delete all fields except the ones that have been changed); otherwise, we can
delete only entire sections.
2020-06-18 17:43:36 -04:00
Henry de Valence
4b8f07ebb2
zebrad: Add reference to config docs.
2020-06-18 17:43:36 -04:00
Alfredo Garcia
b8f174ee3a
change config module to generate
2020-06-18 12:44:02 -07:00
dependabot[bot]
70948556cf
Bump ed25519-zebra from 0.4.0 to 0.4.1
...
Bumps [ed25519-zebra](https://github.com/ZcashFoundation/ed25519-zebra ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/ZcashFoundation/ed25519-zebra/releases )
- [Changelog](https://github.com/ZcashFoundation/ed25519-zebra/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/ed25519-zebra/compare/0.4.0...0.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-18 03:18:56 -07:00
Jane Lusby
7f8a336b69
switch to on_disk state service for start cmd
2020-06-17 23:30:50 -07:00
Jane Lusby
df18ac72c5
fix sharedpeererror to propagate tracing context
2020-06-17 14:38:26 -07:00
Jane Lusby
fa6b098056
cleanup clippy warnings ( #495 )
...
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-16 17:51:50 -07:00
Henry de Valence
a40b1a787b
Clean up Ed25519 example
2020-06-16 14:35:42 -07:00
Henry de Valence
b299fb7162
Remove deprecated pin_project items
2020-06-16 14:35:42 -07:00
Henry de Valence
a0e0e2302b
Update ed25519-zebra to 0.4
2020-06-16 14:35:42 -07:00
Henry de Valence
34ca9a7ed2
Fix Ed25519Verifier using a patched batch API.
...
Changing the batch API to have an explicit item type removes the lifetime
problems described in the previous commit.
2020-06-16 14:35:42 -07:00
Henry de Valence
5bcef64514
Add Ed25519 batch verification example test.
...
This test doesn't compile in a way that reveals a problem with the design. The
verification service takes a `Request<'msg>` parameterized by the message
lifetime, and returns a future unconstrained by the message lifetime (it hashes
upfront to avoid requiring that `'msg` outlive `call`). But the `Batch`
middleware has the verification service working on its own task, so how can we
ensure that the message lives long enough to be read by the worker task?
2020-06-16 14:35:42 -07:00
Henry de Valence
8f2ee22708
Add documentation.
2020-06-16 14:35:42 -07:00
Henry de Valence
ee26e786f7
tower-batch: initial implementation of batching logic.
...
The name "Buffer" is changed to "Batch" everywhere, and the worker task is rewritten.
Instead of having Worker implement Future directly, we have a consuming async run() function.
2020-06-16 14:35:42 -07:00