From 25bdd0bb9722f94714930814cabea8f3085f54b6 Mon Sep 17 00:00:00 2001 From: x19 <100000306+0xNineteen@users.noreply.github.com> Date: Mon, 7 Aug 2023 16:00:59 -0400 Subject: [PATCH] Update readme.md --- src/gossip/readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gossip/readme.md b/src/gossip/readme.md index e34772874..54d72e1bf 100644 --- a/src/gossip/readme.md +++ b/src/gossip/readme.md @@ -209,7 +209,7 @@ def insert(self: *CrdsShards, crds_index: usize, hash: *const Hash): - when `shard_bits == mask_bits` its very straightforward, we just lookup the shard corresponding to the first `shard_bits` of `mask` and return its values
- +
```python @@ -228,7 +228,7 @@ def find_matches(self: *CrdsShards, mask: u64, mask_bits: u64) Vec: - we then need to check to make sure the last `shard_bits - mask_bits` match the mask which we do through iteration
- +
```python @@ -265,7 +265,7 @@ def find_matches(self: *CrdsShards, mask: u64, mask_bits: u64) Vec: - since we know the final shard and the number of shards were looking for, we can iterate over them from `index = (end-count)..end`
- +
```python @@ -315,4 +315,4 @@ def filter_crds_values( ## Push Requests -## Ping/Pong \ No newline at end of file +## Ping/Pong