ethereum / ethereumj

DEPRECATED! Java implementation of the Ethereum yellowpaper. For JSON-RPC and other client features check Ethereum Harmony
GNU Lesser General Public License v3.0
2.18k stars 1.1k forks source link

Attestation pool refactor #1232

Closed mkalinin closed 5 years ago

mkalinin commented 5 years ago

Abstract

Attestation pool is a memory pool that tracks attestations came from the wire and not yet included into known blocks. It's obviously important to track those attestations for proposers. But it either important part of DoS attack vectors that are based on attestations.

Implementation

Here is a basic implementation of AttestationPool.

Improvements