zebra/zebra-state/src
teor 166526a088
feat(ui): Add a terminal-based progress bar to Zebra (#6235)
* Implement Display and to_string() for NetworkUpgrade

* Add a progress-bar feature to zebrad

* Add the progress bar writer to the tracing component

* Add a block progress bar transmitter

* Correctly shut down the progress bar, and shut it down on an interrupt

* Make it clearer that the progress task never exits

* Add a config for writing logs to a file

* Add a progress-bar feature to zebra-network

* Add a progress bar for the address book size

* Add progress bars for never attempted and failed peers

* Add an optional limit and label to connection counters

* Add open connection progress bars

* Improve CheckpointList API and CheckpointVerifier debugging

* Add checkpoint index and checkpoint queue progress bars

* Security: Limit the number of non-finalized chains tracked by Zebra

* Make some NonFinalizedState methods available with proptest-impl

* Add a non-finalized chain count progress bar

* Track the last fork height for newly forked chains

* Add a should_count_metrics to Chain

* Add a display method for PartialCumulativeWork

* Add a progress bar for each chain fork

* Add a NonFinalizedState::disable_metrics() method and switch to using it

* Move metrics out of Chain because we can't update Arc<Chain>

* Fix: consistently use best chain order when searching chains

* Track Chain progress bars in NonFinalizedState

* Display work as bits, not a multiple of the target difficulty

* Handle negative fork lengths by reporting "No fork"

* Correctly disable unused fork bars

* clippy: rewrite using `match _.cmp(_) { ... }`

* Initial mempool progress bar implementation

* Update Cargo.lock

* Add the actual transaction size as a description to the cost bar

* Only show mempool progress bars after first activation

* Add queued and rejected mempool progress bars

* Clarify cost note is actual size

* Add tracing.log_file config and progress-bar feature to zebrad docs

* Derive Clone for Chain

* Upgrade to howudoin 0.1.2 and remove some bug workarounds

* Directly call the debug formatter to Display a Network

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

* Rename the address count metric to num_addresses

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

* Simplify reverse checkpoint lookup

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

* Simplify progress bar shutdown code

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

* Remove unused MIN_TRANSPARENT_TX_MEMPOOL_SIZE

* Document that the progress task runs forever

* Fix progress log formatting

* If progress-bar is on, log to a file by default

* Create missing directories for log files

* Add file security docs for running Zebra with elevated permissions

* Document automatic log file, spell progress-bar correctly

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
2023-04-13 08:42:17 +00:00
..
service feat(ui): Add a terminal-based progress bar to Zebra (#6235) 2023-04-13 08:42:17 +00:00
tests feat(elasticsearch): Export block data to elasticsearch database (#6274) 2023-03-13 21:13:30 +00:00
arbitrary.rs change(mempool) reject transactions with spent outpoints or nullifiers (#5434) 2022-10-24 19:48:45 +00:00
config.rs feat(ui): Add a terminal-based progress bar to Zebra (#6235) 2023-04-13 08:42:17 +00:00
constants.rs security(state): Limit the number of non-finalized chains tracked by Zebra (#6447) 2023-04-04 01:05:21 +00:00
error.rs improve CommitBlockError message: include underlying ValidateContextError message (#6251) 2023-03-02 06:30:01 +00:00
lib.rs change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
request.rs change(state): Stop re-downloading blocks that are in non-finalized side chains (#6335) 2023-03-24 07:10:07 +00:00
response.rs change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
service.rs feat(ui): Add a terminal-based progress bar to Zebra (#6235) 2023-04-13 08:42:17 +00:00
tests.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00