From d3d99b003a11393e5fe3c5dcb1279d5ffd520688 Mon Sep 17 00:00:00 2001 From: lightclient Date: Thu, 17 Jul 2025 12:27:14 -0600 Subject: [PATCH] internal/era2: add correct license headers --- internal/era2/accumulator.go | 2 +- internal/era2/builder.go | 17 ++++++++++++++++- internal/era2/era.go | 16 ++++++++++++++++ internal/era2/era_test.go | 2 +- 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/internal/era2/accumulator.go b/internal/era2/accumulator.go index da75e7dceb..732931fa96 100644 --- a/internal/era2/accumulator.go +++ b/internal/era2/accumulator.go @@ -1,4 +1,4 @@ -// Copyright 2024 The go-ethereum Authors +// Copyright 2025 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify diff --git a/internal/era2/builder.go b/internal/era2/builder.go index a291174121..79370e4336 100644 --- a/internal/era2/builder.go +++ b/internal/era2/builder.go @@ -1,7 +1,22 @@ +// Copyright 2025 The go-ethereum Authors +// This file is part of the go-ethereum library. +// +// The go-ethereum library is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// The go-ethereum library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with the go-ethereum library. If not, see . + package era2 // The format can be summarized with the following expression: - // eraE := Version | CompressedHeader* | CompressedBody* | CompressedReceipts* | TotalDifficulty* | Proofs* | other-entries* | Accumulator | BlockIndex // Each basic element is its own e2store entry: diff --git a/internal/era2/era.go b/internal/era2/era.go index 85e711b5a1..ac965254fc 100644 --- a/internal/era2/era.go +++ b/internal/era2/era.go @@ -1,3 +1,19 @@ +// Copyright 2025 The go-ethereum Authors +// This file is part of the go-ethereum library. +// +// The go-ethereum library is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// The go-ethereum library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with the go-ethereum library. If not, see . + package era2 import ( diff --git a/internal/era2/era_test.go b/internal/era2/era_test.go index 1dfdb3f6a5..447c7676ff 100644 --- a/internal/era2/era_test.go +++ b/internal/era2/era_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The go-ethereum Authors +// Copyright 2025 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify