zebra/zebra-chain/src
teor d076b999f3
Fix syncer download order and add sync tests (#3168)
* Refactor so that RetryLimit::Future is std::marker::Sync

* Make the syncer future std::marker::Send by spawning tips futures

* Download synced blocks in chain order, not HashSet order

* Improve MockService failure messages

* Add closure-based responses to the MockService API

* Move MockChainTip to zebra-chain

* Add a MockChainTipSender type alias

* Support MockChainTip in ChainSync and its downloader

* Add syncer tests for obtain tips, extend tips, and wrong block hashes

* Add block too high tests for obtain tips and extend tips

* Add syncer tests for duplicate FindBlocks response hashes

* Allow longer request delays for mocked services in syncer tests
2022-01-11 14:11:35 -03:00
..
amount Check remaining transaction value & make value balance signs match the spec (#2566) 2021-08-09 14:22:26 -03:00
block Document part of the block header consensus rules (#3296) 2021-12-29 23:07:27 +00:00
chain_tip Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
history_tree Refactor HistoryTree into NonEmptyHistoryTree and HistoryTree (#2582) 2021-08-10 09:51:50 -03:00
orchard Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
parameters Fix task handling bugs, so peers are more likely to be available (#3191) 2021-12-20 09:02:31 +10:00
primitives Fix new clippy lints in clippy nightly (#3176) 2021-12-09 14:19:14 +00:00
sapling Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
serialization Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
sprout Validate JoinSplit proofs (#3128) 2021-12-10 16:33:15 +00:00
transaction Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
transparent Fix new clippy lints in clippy nightly (#3176) 2021-12-09 14:19:14 +00:00
value_balance Split ValueBalance methods into NegativeAllowed and NonNegative (#2649) 2021-08-20 13:30:38 +00:00
work Replace read_compactsize and write_compactsize with CompactSizeMessage (#3014) 2021-11-05 15:24:24 -03:00
amount.rs Check remaining transaction value & make value balance signs match the spec (#2566) 2021-08-09 14:22:26 -03:00
block.rs Fix new clippy lints in clippy nightly (#3176) 2021-12-09 14:19:14 +00:00
chain_tip.rs Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
fmt.rs Add a TypeNameToDebug formatter to zebra_chain (#2466) 2021-07-09 12:40:19 +10:00
history_tree.rs Tweak some assertions to better match their error messages (#2822) 2021-10-04 10:31:56 -03:00
lib.rs Refactor BestTipHeight into a generic ChainTip sender and receiver (#2676) 2021-08-27 11:34:33 +10:00
orchard.rs ZIP 212: validate Sapling and Orchard output of coinbase transactions (#3029) 2021-11-11 22:18:37 +00:00
parameters.rs Cleanup a few arbitrary impls (#2222) 2021-05-28 09:49:28 -03:00
primitives.rs ZIP 212: validate Sapling and Orchard output of coinbase transactions (#3029) 2021-11-11 22:18:37 +00:00
sapling.rs Update multiple crates to ensure bitvec 0.22.3 is being used (#2351) 2021-06-23 13:16:22 +10:00
serialization.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
shutdown.rs Fix shutdown panics (#1637) 2021-02-03 19:03:28 +10:00
sprout.rs Validate JoinSplit proofs (#3128) 2021-12-10 16:33:15 +00:00
transaction.rs Integrate JoinSplit verifier (#3180) 2021-12-13 14:50:49 -05:00
transparent.rs Add some proptests for lock time validation (#3089) 2021-12-19 23:44:12 +00:00
value_balance.rs Document chain value balances consensus rules with new format (#3286) 2021-12-30 23:50:05 +00:00
work.rs Replace primitives_types with uint (#2350) 2021-06-18 15:35:05 -03:00