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
Discover Packages
github.com/ethereum/go-ethereum
Godeps
_workspace
src
gopkg.in
karalabe
cookiejar.v2
collections
prque
package
Version:
v1.4.3
Opens a new window with list of versions in this module.
Published: May 10, 2016
License: GPL-3.0, BSD-2-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package prque implements a priority queue data structure supporting arbitrary
value types and float priorities.
The reasoning behind using floats for the priorities vs. ints or interfaces
was larger flexibility without sacrificing too much performance or code
complexity.
If you would like to use a min-priority queue, simply negate the priorities.
Internally the queue is based on the standard heap package working on a
sortable version of the block based stack.
Priority queue data structure.
Creates a new priority queue.
Checks whether the priority queue is empty.
Pops the value with the greates priority off the stack and returns it.
Currently no shrinking is done.
func (p *Prque ) PopItem() interface{}
Pops only the item from the queue, dropping the associated priority value.
Pushes a value with a given priority into the queue, expanding if necessary.
Clears the contents of the priority queue.
Returns the number of element in the priority queue.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.