Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Propose blocks with attestations #1192

Closed
mkalinin opened this issue Sep 26, 2018 · 1 comment
Closed

Propose blocks with attestations #1192

mkalinin opened this issue Sep 26, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@mkalinin
Copy link
Contributor

mkalinin commented Sep 26, 2018

Abstract

Feature blocks created by BeaconProposer with attestations.

Requirements

AttestationRecord is defined by the spec.
There should be a pool with pending attestations that holds distinct attestation records that are coming from attesters. The pool is updated either on newly came attestation record or on newly imported block, attestations that came within the block must be evicted from the pool. There should be a background task that constantly aggregates attestations with same chain segment.

Attestation aggregation consists of setting bits in a bitfield and aggregated signature calculation. Note, only attestations that refer to same chain segment can be aggregated. When pending attestation pool is updated, previous attestation aggregation task should be cancelled and superseded with a new one unless it's locked by proposer. Proposer locks the most recent aggregation task, waits until it's finished and then includes produced attestation records into a block it is working on.

@mkalinin mkalinin added this to the Beacon milestone Sep 26, 2018
@zilm13 zilm13 self-assigned this Oct 1, 2018
@zilm13
Copy link
Collaborator

zilm13 commented Nov 15, 2018

resolved with #1219

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants