Zebra/zebrad
Marek 2a48d4cf25
change(chain): Refactor the handling of height differences (#6330)
* Unify the `impl`s of `Sub` and `Add` for `Height`

* Adjust tests for `Height` subtraction

* Use `Height` instead of `i32`

* Use `block:Height` in RPC tests

* Use `let .. else` statement

Co-authored-by: Arya <aryasolhi@gmail.com>

* Update zebra-consensus/src/block/subsidy/general.rs

* Refactor the handling of height differences

* Remove a redundant comment

* Update zebrad/src/components/sync/progress.rs

Co-authored-by: Arya <aryasolhi@gmail.com>

* Update progress.rs

* impl TryFrom<u32> for Height

* Make some test assertions clearer

* Refactor estimate_up_to()

* Restore a comment that was accidentally removed

* Document when estimate_distance_to_network_chain_tip() returns None

* Change HeightDiff to i64 and make Height.sub(Height) return HeightDiff (no Option)

* Update chain tip estimates for HeightDiff i64

* Update subsidy for HeightDiff i64

* Fix some height calculation test edge cases

* Fix the funding stream interval calculation

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-03-29 23:06:31 +00:00
..
proptest-regressions/components/mempool/storage/tests Limit the size and age of the ZIP-401 rejected transaction ID list (#2932) 2021-10-27 20:27:00 +00:00
src change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
systemd add systemd service file 2020-10-14 15:33:00 -04:00
tests change(log): Log a cute message for blocks that were mined by Zebra (off by default) (#6098) 2023-02-23 00:10:11 +00:00
Cargo.toml build(deps): bump tokio from 1.26.0 to 1.27.0 (#6426) 2023-03-29 01:50:47 +00:00
README.md Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
build.rs fix(clippy): Fix new lints in nightly clippy (#5959) 2023-01-18 00:27:42 +00:00

README.md

Zebrad

Zebrad is an application.

Getting Started

This application is authored using Abscissa, a Rust application framework.

For more information, see:

Documentation