Alfredo Garcia
fe2a468417
add favicon to generated docs ( #681 )
2020-07-17 16:45:29 -07:00
Jane Lusby
f3dd24bb3c
bug cleanup related to error handling ( #552 )
...
* cleanup error handling fixes
2020-07-17 18:19:00 -04:00
dependabot[bot]
f70f3b324c
Bump sled from 0.32.1 to 0.33.0
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.32.1 to 0.33.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.32.1...v0.33 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-15 10:21:59 -07:00
dependabot[bot]
ebcf6b0385
Bump sled from 0.32.0 to 0.32.1
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.32.0 to 0.32.1.
- [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.32...v0.32.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-13 11:51:35 -04:00
Jane Lusby
765e1e61e7
fix spandoc instrumentation for await expressions ( #618 )
...
* fix spandoc instrumentation for await expressions
* depend on released version of spandoc
2020-07-09 17:43:44 -04:00
dependabot[bot]
d627889104
Bump tracing from 0.1.15 to 0.1.16
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.15...tracing-0.1.16 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-09 10:22:27 -07:00
Jane Lusby
2abf4b93a8
consolidate test init functions into zebra-test ( #541 )
...
* consolidate test init logic into one place
* rustfmt
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-24 11:47:18 -07:00
Henry de Valence
87a8d328d5
Rewrite zebra-state tests to use transcripts.
...
This makes adding more tests easier.
2020-06-24 11:47:18 -07:00
Henry de Valence
70241d3cad
Fix broken git dependencies.
...
Pinning hashes means these won't break again in the future; they can always be updated.
2020-06-22 20:23:02 -07:00
Henry de Valence
e8561d8f9e
rename zebra-test-vectors to zebra-test
2020-06-22 20:23:02 -07:00
Jane Lusby
1c42b66a4f
Implement sync component for start subcommand ( #506 )
2020-06-22 19:24:53 -07:00
Jane Lusby
246e7cd2a9
Start testing out new version of `eyre` and `color-eyre` in zebra ( #526 )
...
* port to new version of eyre without generics
* correctly setup color_eyre hooks
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-22 15:36:23 -07:00
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
Jane Lusby
bb0553fab6
implement initial persistent state backend based on `sled` ( #473 )
2020-06-15 14:41:26 -07:00
teor
334329f38a
state: Move block header hashing to block_index
...
Only hash block headers in the lowest-level block index code.
This design has a few benefits:
- failures are obvious, because the hash is not available,
- get_tip() returns a smaller object,
- we avoid re-hashing block headers multiple times.
These efficiency changes may be needed to support chain reorganisations,
multiple tips, and heavy query loads.
2020-06-12 09:46:18 -07:00
teor
26a58b23de
state: Make Response::Added return the block header hash
...
Move block header hashing from zebra-consensus to zebra-state.
Handle zebra-state AddBlock errors in zebra-consensus BlockVerifier.
Add unit tests for BlockVerifier state error handling.
Part of #428 .
2020-06-12 09:46:18 -07:00
teor
8072d5b7e8
state: Add an Error type alias to ZebraState
2020-06-12 09:46:18 -07:00
Jane Lusby
ac76d75813
Make blocks queryable by height ( #422 )
2020-06-04 10:17:49 -07:00
dependabot-preview[bot]
07b7c711fb
Bump color-eyre from 0.3.2 to 0.3.4
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.3.2 to 0.3.4.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Commits](https://github.com/yaahc/color-eyre/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 22:55:02 -04:00
Jane Lusby
e9af80b875
Add initial version of zebra-state ( #414 )
...
* rename zebra-storage to zebra-state
* Setup initial skeleton for zebra-state
* add test
* Apply suggestions from code review
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
* move shared test vectors to a common crate
Co-authored-by: Jane Lusby <jane@zfnd.org>
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
2020-06-02 16:16:17 -07:00