Commit Graph

820 Commits

Author SHA1 Message Date
dependabot-preview[bot] 433c2e1b3f Bump serde from 1.0.110 to 1.0.111
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.110 to 1.0.111.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.110...v1.0.111)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 00:29:43 -04:00
dependabot-preview[bot] a62b93d47c Bump hyper from 0.13.5 to 0.13.6
Bumps [hyper](https://github.com/hyperium/hyper) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.5...v0.13.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 00:29:05 -04:00
dependabot-preview[bot] 145d9a1835 Bump proptest from 0.9.6 to 0.10.0
Bumps [proptest](https://github.com/altsysrq/proptest) from 0.9.6 to 0.10.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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29 15:06:40 -04:00
Jane Lusby da72c5a86a
switch from abscissa::Context to color-eyre (#409)
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-05-28 23:01:24 -04:00
dependabot-preview[bot] e317b68b1d Bump proptest-derive from 0.1.2 to 0.2.0
Bumps [proptest-derive](https://github.com/AltSysrq/proptest) from 0.1.2 to 0.2.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.1.2...proptest-derive-0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 23:00:29 -04:00
Jane Lusby 4a2d2a359c
add cargo fmt to ci (#403)
* add cargo fmt to ci

* rebase on main

* switch to stable

Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-05-27 19:12:25 -07:00
Jane Lusby 8c178c3ee4
fix panic in seed subcommand (#401)
Co-authored-by: Jane Lusby <jane@zfnd.org>

Prior to this change, the seed subcommand would consistently encounter a panic in one of the background tasks, but would continue running after the panic. This is indicative of two bugs. 

First, zebrad was not configured to treat panics as non recoverable and instead defaulted to the tokio defaults, which are to catch panics in tasks and return them via the join handle if available, or to print them if the join handle has been discarded. This is likely a poor fit for zebrad as an application, we do not need to maximize uptime or minimize the extent of an outage should one of our tasks / services start encountering panics. Ignoring a panic increases our risk of observing invalid state, causing all sorts of wild and bad bugs. To deal with this we've switched the default panic behavior from `unwind` to `abort`. This makes panics fail immediately and take down the entire application, regardless of where they occur, which is consistent with our treatment of misbehaving connections.

The second bug is the panic itself. This was triggered by a duplicate entry in the initial_peers set. To fix this we've switched the storage for the peers from a `Vec` to a `HashSet`, which has similar properties but guarantees uniqueness of its keys.
2020-05-27 17:40:12 -07:00
Jane Lusby 8276bed400 reinstate reject error variant 2020-05-27 15:42:29 -04:00
Jane Lusby 4dc307f2f3 fix last warnings 2020-05-27 15:42:29 -04:00
Jane Lusby b6b35364f3 cleanup warnings throughout codebase 2020-05-27 15:42:29 -04:00
Deirdre Connolly 8d29d05761 Upgrade sha2 to 0.8.2 release
Resolves #326
2020-05-23 21:32:37 -04:00
dependabot-preview[bot] ce78fb38a0 Bump thiserror from 1.0.18 to 1.0.19
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.18...1.0.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 22:44:56 -04:00
dependabot-preview[bot] 775a323759 Bump pin-project from 0.4.16 to 0.4.17
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.16...v0.4.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 16:19:51 -04:00
Deirdre Connolly cdc1f38e72 Try new unstable Clippy action, update PR job logic 2020-05-15 23:46:21 -04:00
Deirdre Connolly 796eddfb25 Only run gcloud build when it's a push 2020-05-15 23:46:21 -04:00
Deirdre Connolly 77b42d2048 Try actions-rs build+test, gcloud build is an app not an action 2020-05-15 23:46:21 -04:00
dependabot-preview[bot] c30a683bac Bump thiserror from 1.0.17 to 1.0.18
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.17...1.0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 23:10:46 -04:00
dependabot-preview[bot] eb78b84c0a Bump tracing from 0.1.13 to 0.1.14
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.13...tracing-0.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 09:29:48 -04:00
Kiminuo 6465689555 transaction/hash.rs: Add FromStr implementation (issue #299)
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2020-05-14 15:30:11 -04:00
dependabot-preview[bot] 46cb7c02f2 Bump once_cell from 1.3.1 to 1.4.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.3.1 to 1.4.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.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 22:28:18 -04:00
Deirdre Connolly 6a09187a8b Trigger CI workflow on push to main or PR opened against main
To support PRs from forks.
2020-05-13 16:32:49 -04:00
dependabot-preview[bot] 0fd2b86d2a Bump tokio from 0.2.20 to 0.2.21
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.20...tokio-0.2.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:57:37 -04:00
dependabot-preview[bot] 2849fbb08d Bump thiserror from 1.0.16 to 1.0.17
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.16...1.0.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:56:16 -04:00
dependabot-preview[bot] bbc9bf51b9 Bump pin-project from 0.4.15 to 0.4.16
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.15 to 0.4.16.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.15...v0.4.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 15:01:07 -04:00
dependabot-preview[bot] acbe711e02 Bump pin-project from 0.4.14 to 0.4.15
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.14...v0.4.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 13:19:16 -04:00
dependabot-preview[bot] eb50599fdf Bump serde from 1.0.107 to 1.0.110
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.107 to 1.0.110.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.107...v1.0.110)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 02:51:40 -04:00
dependabot-preview[bot] bafaea47de Bump pin-project from 0.4.13 to 0.4.14
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.13...v0.4.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-09 13:39:07 -04:00
dependabot-preview[bot] 126a1fb801 Bump futures from 0.3.4 to 0.3.5
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.4 to 0.3.5.
- [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.4...0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 19:43:14 -04:00
dependabot-preview[bot] 47aebe6ef0 Bump serde from 1.0.106 to 1.0.107
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.106 to 1.0.107.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.106...v1.0.107)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 19:17:52 -04:00
dependabot-preview[bot] b083991bbb Bump pin-project from 0.4.10 to 0.4.13
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.10 to 0.4.13.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.10...v0.4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 18:57:52 -04:00
dependabot-preview[bot] 9da490c732 Bump pin-project from 0.4.9 to 0.4.10
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 0.4.9 to 0.4.10.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.9...v0.4.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 16:35:07 -04:00
Deirdre Connolly 6ed6ccd62e Clean up imports and some doc comments 2020-04-29 22:42:52 -04:00
dependabot-preview[bot] 7bc77042ef Bump tokio from 0.2.19 to 0.2.20
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.19 to 0.2.20.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.19...tokio-0.2.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 22:08:14 -04:00
dependabot-preview[bot] 307a45b7c7 Bump thiserror from 1.0.15 to 1.0.16
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 19:36:29 -04:00
dependabot-preview[bot] 53cf27a7b9 Bump tokio from 0.2.18 to 0.2.19
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.18...tokio-0.2.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 20:45:47 -04:00
Deirdre Connolly eb826af0b4 Add link to CI workflows on main 2020-04-22 03:19:33 -04:00
Deirdre Connolly c3122a6ede Add license badge 2020-04-22 03:19:33 -04:00
Deirdre Connolly f1c7f2ce91 Fix linebreak 2020-04-22 03:19:33 -04:00
Deirdre Connolly 646b4c3b77 Workflow has a name, therefore different url 2020-04-22 03:19:33 -04:00
Deirdre Connolly e4a88986d6 Update url 2020-04-22 03:19:33 -04:00
Deirdre Connolly 10e9acb85a Add badges to the readme 2020-04-22 03:19:33 -04:00
Deirdre Connolly 7367daef9f Tidy TransparentAddress FromStr/Display 2020-04-22 02:17:17 -04:00
dependabot-preview[bot] bf371c3abc Bump tracing-futures from 0.2.3 to 0.2.4
Bumps [tracing-futures](https://github.com/tokio-rs/tracing) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.3...tracing-futures-0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 19:41:03 -04:00
dependabot-preview[bot] a5cf5f538e Bump bs58 from 0.3.0 to 0.3.1
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases)
- [Commits](https://github.com/mycorrhiza/bs58-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 04:58:59 -04:00
Deirdre Connolly d53d69aa6e
Tweak coverage job (#364)
* Add step ids, better names

* Split out Clippy to its own job

* If coverage goes down, don't fail the build

* Go back to tarpaulin

* bump version of tarpaulin

* config tarpaulin
2020-04-21 04:51:05 -04:00
Deirdre Connolly df7ed7ae81
Move note encryption types around (#362)
* Move around and dedupe note *Cipertext types

* Bump code coverage test timeout to 5 minutes

* Try uploading coverage to codecov.io
2020-04-19 14:45:25 -04:00
Deirdre Connolly 21eca164d8 Refine Output description ephemeral_key to jubjub::AffinePoint
And impl Arbitrary for Output to support better generation of those points in proptests.
2020-04-18 22:05:13 -04:00
Deirdre Connolly 7a4be955be Remove todo 2020-04-18 22:05:13 -04:00
dependabot-preview[bot] 83ee4c2ca3 Bump hyper from 0.13.4 to 0.13.5
Bumps [hyper](https://github.com/hyperium/hyper) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.4...v0.13.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18 08:43:40 +00:00
Deirdre Connolly b53be18c8f Remove unused From<[u8; 32]> for SpendAuthorizingKey 2020-04-18 04:40:31 -04:00