Skip to content

Commit 5a23aaf

Browse files
committed
Fix README
1 parent b785219 commit 5a23aaf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ _SwiftSync_ is a protocol to accelerate the initial block download for Bitcoin c
44

55
## Methodology
66

7-
The file encodes monotonically increasing indices within a block for which coins remain unspent. Given a block of `M` elements, suppose `N` are not spent, then the file encodes these positions with $ 2n + n \lceil \log_2(m/n) \rceil $ bits. This is near the optimum of $ \log_2 \binom{m}{n} $
7+
The file encodes monotonically increasing indices within a block for which coins remain unspent. Given a block of `M` elements, suppose `N` are not spent, then the file encodes these positions with $`2n + n \lceil \log_2(m/n) \rceil`$ bits. This is near the optimum of $`\log_2 \binom{m}{n}`$
88

99
The technique used for this encoding was developed by _Elias_ and _Fano_, which you may read about [here](https://t.holmium.no/dia/elias-fano/).
1010

1111
## Usage
1212

13-
```cargo add bitcoin-hintsfile```
13+
```cargo add hintsfile```
1414

1515
```rust
16-
use bitcoin_hintsfile::Hintsfile;
16+
use hintsfile::Hintsfile;
1717

1818
// Load a file
1919
let hints = Hintsfile::from_reader(&mut file)?;

0 commit comments

Comments
 (0)