prysm-pulse/beacon-chain
Sammy Rosso 3bd116db16
Blob filesystem add pruning at startup (#13253)
* Add Save blob and tests

* Remove locks

* Remove test cleanup

* Fix go mod

* Cleanup

* Add checksum

* Add file hashing to fileutil

* Move test

* Check data when exists

* Add one more test

* Rename

* Gaz

* Add packaged level comment

* Fix block proposals in the REST validator client (#13116)

* Fix block proposals in the REST validator client

* fix graffiti test

* return empty graffiti

* fallback to old endpoints

* logs

* handle 404

* everything passes

* review from James

* log undecoded value

* test fixes and additions

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* fix head slot in log (#13139)

* zig: Update zig to recent main branch commit (#13142)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* Fix Pending Queue Deadline Bug (#13145)

* rearrange deadline

* naming

* Add pruning

* Gaz

* Gaz

* Update pruning

* Cleanup

* Making a mess

* Benchmarking

* Forgot to add the file + fixes

* Fixes

* Pruning from DB fixed

* Add prune by file data

* Fix pruning

* Prune fixes

* Cleanup db blockRoot filter

* Handle file close error

* Fix deletion

* Change read at + remove retentionEpich from bs

* Gaz

* Seperate logic + add detailed comments

* Add tests

* Add retention slot when creating blobStorage

* Fix tests

* Gaz

* Fix testonly import

* Add pruning at startup

* Add nil check

* Fix merge errors

* Fix test

* Fix test

---------

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-12-11 17:08:52 +00:00
..
blockchain only run metrics for canonical blocks (#13289) 2023-12-07 11:03:23 +00:00
builder builder API: remove blinded blob sidecar (#13202) 2023-11-29 06:28:37 -08:00
cache Fix staticcheck violations (#13301) 2023-12-08 13:07:52 +00:00
core Verify roblobs (#13245) 2023-12-07 02:36:25 +00:00
db Ensure partial blob is deleted if there's an error (#13292) 2023-12-07 20:52:16 +00:00
deterministic-genesis Integrate EIP-4881 Deposit Tree Into Prysm via a Feature Flag (#11942) 2023-09-07 03:19:32 +00:00
execution Add --jwt-id flag (#13218) 2023-12-05 19:02:25 +00:00
forkchoice Allow requests for old target roots (#13281) 2023-12-06 17:11:34 +00:00
gateway HTTP handler for Beacon API events (#13207) 2023-11-28 23:20:02 +00:00
monitor Ignore Phase0 Blocks For Monitor (#12503) 2023-06-09 05:00:36 +00:00
node Blob filesystem add pruning at startup (#13253) 2023-12-11 17:08:52 +00:00
operations no need to hash it again (#13261) 2023-12-05 07:59:01 -03:00
p2p Support New Subnet Backbone (#13179) 2023-12-08 04:07:48 +00:00
package Update cross compile toolchains (#12069) 2023-03-07 20:09:46 +00:00
rpc beacon-chain/rpc: use BalanceAtIndex instead of Balances to reduce memory copy (#13279) 2023-12-10 00:04:45 +00:00
slasher Remove remote slashing protection feature (#12989) 2023-10-04 04:15:06 +00:00
startup Verify roblobs (#13245) 2023-12-07 02:36:25 +00:00
state Optimize Multivalue Slice For Trie Recomputation (#13238) 2023-12-01 12:01:28 +01:00
sync Test improvement TestValidateVoluntaryExit_ValidExit (#13313) 2023-12-11 08:01:56 +00:00
verification initialize sig cache for verification.Initializer (#13295) 2023-12-07 20:14:01 +00:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.