Affected by GO-2022-0392
and 6 other vulnerabilities
GO-2022-0392: Denial of service in go-ethereum due to CVE-2020-28362 in github.com/ethereum/go-ethereum
GO-2022-0456: DoS via malicious p2p message in Go Ethereum in github.com/ethereum/go-ethereum
GO-2022-0775: Erroneous Proof of Work calculation in geth in github.com/ethereum/go-ethereum
GO-2022-0814: Go Ethereum Denial of Service in github.com/ethereum/go-ethereum
GO-2022-0871: Go Ethereum Improper Input Validation in github.com/ethereum/go-ethereum
GO-2023-2046: Unbounded memory consumption in github.com/ethereum/go-ethereum
GO-2024-2819: Denial of Service in github.com/ethereum/go-ethereum
package
Version:
v1.8.13
Opens a new window with list of versions in this module.
Published: Jul 31, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
MultihashLength = defaultMultihashLength
)
FromMulithash returns the digest portion of the multihash
It will fail if the multihash is not a valid swarm multihash
GetMultihashLength returns the digest length of the provided multihash
It will fail if the multihash is not a valid swarm mulithash
func ToMultihash(hashData []byte) []byte
ToMulithash wraps the provided digest data with a swarm mulithash header
Source Files
¶
Click to show internal directories.
Click to hide internal directories.