Zebra/zebra-state/src/service
teor cda0a0b475
refactor(state): Make implementation of block consensus rules clearer (#5915)
* Replace duplicate code with read::hash_by_height()

* Rename an unclear function to difficulty_threshold_and_time_are_valid()
2023-01-06 06:59:55 +00:00
..
chain_tip Only fetch block headers from the database to answer headers requests (#4792) 2022-07-22 09:15:22 +10:00
check change(rpc): Refactor get block template RPC into stages (#5837) 2022-12-13 21:25:04 +00:00
finalized_state fix(test): Reduce verbose test logs (#5825) 2022-12-08 23:56:01 +00:00
non_finalized_state fix(clippy): Put Rust format variables inline (#5783) 2022-12-08 01:05:57 +00:00
queued_blocks 3. change(state): Move the finalized queue to the StateService (#5152) 2022-09-16 13:53:40 +00:00
read refactor(state): Make implementation of block consensus rules clearer (#5915) 2023-01-06 06:59:55 +00:00
arbitrary.rs fix(test): Reduce verbose test logs (#5825) 2022-12-08 23:56:01 +00:00
block_iter.rs change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00
chain_tip.rs fix(clippy): Fix nightly clippy redundant code lints (#5916) 2023-01-05 15:46:04 +00:00
check.rs refactor(state): Make implementation of block consensus rules clearer (#5915) 2023-01-06 06:59:55 +00:00
finalized_state.rs fix(clippy): Put Rust format variables inline (#5783) 2022-12-08 01:05:57 +00:00
non_finalized_state.rs change(mempool): Contextually validates mempool transactions in best chain (#5716) 2022-11-30 04:40:15 +00:00
pending_utxos.rs change(state): Write finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5134) 2022-09-28 16:09:56 +00:00
queued_blocks.rs change(state): Add block channel metrics, in preparation for block fork metrics (#5327) 2022-10-20 20:02:58 +00:00
read.rs refactor(state): Make implementation of block consensus rules clearer (#5915) 2023-01-06 06:59:55 +00:00
tests.rs change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00
watch_receiver.rs change(rpc): Return from long polling immediately when the chain tip changes (#5862) 2022-12-15 15:33:00 +00:00
write.rs change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00