Affected by GO-2022-0392
and 4 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-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
swarm
swap
package
Version:
v1.8.27
Opens a new window with list of versions in this module.
Published: Apr 17, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
SwAP Swarm Accounting Protocol
a peer to peer micropayment system
A node maintains an individual balance with every peer
Only messages which have a price will be accounted for
Swap implements the protocols.Balance interface
Add is the (sole) accounting function
func (swap *Swap ) Close()
Clean up Swap
GetPeerBalance returns the balance for a given peer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.