prysm-pulse/proto/beacon/db/attestation_container.proto
Preston Van Loon 6bf14dedcd
Better aggregated attestations pool (#3761)
* WIP of aggregated signatures in DB

* new lines at end

* taking a nap on the plane now

* fix tests

* remove duplication of attestations. so much for that airplane nap lol

* benchmark before flight lands

* gaz

* manual gaz

* fully contained checks

* quick improvement before landing

* new bitlist with fixes

* doesn't need real signatures

* it works, mostly

* print shard too

* some refactoring

* Revert "some refactoring"

This reverts commit 377ce7fbfb02321c20522da2eb27208a20a67669.

* Revert "Revert "some refactoring""

This reverts commit b46a458898acd214da44fc20dfae920d2725b6e8.

These changes are ok, just need to update the expected values

* fix tests

* lint

* lint

* upstream changes

* fix tests

* what

* resolve TODOs

* gofmt

* revert unrelated pb

* remove debug statement
2019-10-16 23:46:07 -07:00

19 lines
526 B
Protocol Buffer

syntax = "proto3";
package prysm.beacon.db;
import "proto/eth/v1alpha1/attestation.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option go_package = "github.com/prysmaticlabs/prysm/proto/beacon/db";
message AttestationContainer {
message SignaturePair {
bytes aggregation_bits = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitlist"];
bytes signature = 2;
}
ethereum.eth.v1alpha1.AttestationData data = 1;
repeated SignaturePair signature_pairs = 2;
}