bittorrentv2merkletree

package module
v0.0.0-...-06d23f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2021 License: MIT Imports: 10 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockSize = 16384 // 16kiB = Bittorrentv2 block size

BlockSize sets the size of consecutive blocks to extract from files

Functions

func MultiBlocks

func MultiBlocks(
	ctx context.Context,
	fds []io.Reader,
	maxBlocks int64,
) (
	counts map[string]uint32,
	err error,
)

MultiBlocks identifies BlockSize-sized blocks in files with same SHA256.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL