mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
ci: add markdown linter (#146)
This commit is contained in:
@@ -70,13 +70,13 @@ when calculating a bucket.
|
||||
|
||||
When placing a peer into a new bucket:
|
||||
|
||||
```
|
||||
```md
|
||||
hash(key + sourcegroup + int64(hash(key + group + sourcegroup)) % bucket_per_group) % num_new_buckets
|
||||
```
|
||||
|
||||
When placing a peer into an old bucket:
|
||||
|
||||
```
|
||||
```md
|
||||
hash(key + group + int64(hash(key + addr)) % buckets_per_group) % num_old_buckets
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user