From 891f4c7ef3da059a1bb20850e7f71b43149d6ac0 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Wed, 18 May 2022 12:12:54 -0400 Subject: [PATCH] Update Vulcanize License in a `.go` files --- cmd/boot.go | 26 +++++++++---------- cmd/capture.go | 18 ++++++++++--- cmd/head.go | 18 ++++++++++--- cmd/historic.go | 18 ++++++++++--- cmd/root.go | 18 ++++++++++--- cmd/version.go | 15 +++++++++++ internal/boot/boot.go | 15 +++++++++++ internal/boot/boot_suite_test.go | 15 +++++++++++ internal/boot/boot_test.go | 15 +++++++++++ internal/shutdown/shutdown.go | 15 +++++++++++ internal/shutdown/shutdown_suite_test.go | 15 +++++++++++ internal/shutdown/shutdown_test.go | 15 +++++++++++ main.go | 15 +++++++++++ pkg/beaconclient/beaconclient.go | 15 +++++++++++ pkg/beaconclient/beaconclient_suite_test.go | 15 +++++++++++ pkg/beaconclient/capturehead.go | 15 +++++++++++ pkg/beaconclient/capturehead_test.go | 15 +++++++++++ pkg/beaconclient/checksyncstatus.go | 15 +++++++++++ pkg/beaconclient/databasewrite.go | 15 +++++++++++ pkg/beaconclient/healthcheck.go | 15 +++++++++++ pkg/beaconclient/healthcheck_test.go | 15 +++++++++++ pkg/beaconclient/incomingsse.go | 15 +++++++++++ pkg/beaconclient/metrics.go | 15 +++++++++++ pkg/beaconclient/models.go | 15 +++++++++++ pkg/beaconclient/multihash.go | 15 +++++++++++ pkg/beaconclient/processevents.go | 15 +++++++++++ pkg/beaconclient/processslot.go | 15 +++++++++++ pkg/beaconclient/queryserver.go | 15 +++++++++++ pkg/database/sql/error.go | 15 +++++++++++ pkg/database/sql/interfaces.go | 15 +++++++++++ pkg/database/sql/postgres/config.go | 15 +++++++++++ pkg/database/sql/postgres/database.go | 15 +++++++++++ pkg/database/sql/postgres/pgx.go | 15 +++++++++++ pkg/database/sql/postgres/pgx_test.go | 15 +++++++++++ .../sql/postgres/postgres_suite_test.go | 15 +++++++++++ pkg/gracefulshutdown/gracefulshutdown.go | 15 +++++++++++ pkg/loghelper/logendpoint.go | 15 +++++++++++ pkg/loghelper/logerror.go | 15 +++++++++++ pkg/loghelper/logreorg.go | 15 +++++++++++ pkg/testhelpers/test_helper.go | 15 +++++++++++ pkg/version/version.go | 15 +++++++++++ 41 files changed, 613 insertions(+), 25 deletions(-) diff --git a/cmd/boot.go b/cmd/boot.go index 91a958c..9cab893 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -1,19 +1,19 @@ -/* -Copyright © 2022 Abdul Rabbani +// VulcanizeDB +// Copyright © 2022 Vulcanize -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. -This program 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 Affero General Public License for more details. +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/capture.go b/cmd/capture.go index c2137db..e8da70b 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/head.go b/cmd/head.go index 54c5d7e..9e95f9f 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/historic.go b/cmd/historic.go index 7b6feeb..2211503 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/root.go b/cmd/root.go index 6fc17c6..2625dbe 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/version.go b/cmd/version.go index 7b70eb4..ff10f6e 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package cmd import ( diff --git a/internal/boot/boot.go b/internal/boot/boot.go index bafecd4..7edeafa 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot import ( diff --git a/internal/boot/boot_suite_test.go b/internal/boot/boot_suite_test.go index e7bcdf3..bc5be22 100644 --- a/internal/boot/boot_suite_test.go +++ b/internal/boot/boot_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot_test import ( diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index aa73a9e..21daba1 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot_test import ( diff --git a/internal/shutdown/shutdown.go b/internal/shutdown/shutdown.go index ca296b0..22c7310 100644 --- a/internal/shutdown/shutdown.go +++ b/internal/shutdown/shutdown.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package shutdown import ( diff --git a/internal/shutdown/shutdown_suite_test.go b/internal/shutdown/shutdown_suite_test.go index 4b8d411..3b81687 100644 --- a/internal/shutdown/shutdown_suite_test.go +++ b/internal/shutdown/shutdown_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package shutdown_test import ( diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index f9fb9d1..b26bc7c 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . //go:build !race // +build !race diff --git a/main.go b/main.go index a7f0cb4..2c366f3 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . /* Copyright © 2022 NAME HERE diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index cb8df7d..b1a83ea 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/beaconclient_suite_test.go b/pkg/beaconclient/beaconclient_suite_test.go index 67e98de..5a1bc6a 100644 --- a/pkg/beaconclient/beaconclient_suite_test.go +++ b/pkg/beaconclient/beaconclient_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/capturehead.go b/pkg/beaconclient/capturehead.go index ca171fb..df70fd0 100644 --- a/pkg/beaconclient/capturehead.go +++ b/pkg/beaconclient/capturehead.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will call all the functions to start and stop capturing the head of the beacon chain. package beaconclient diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 55e5b49..34f3bbf 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/checksyncstatus.go b/pkg/beaconclient/checksyncstatus.go index 25c0398..3f88398 100644 --- a/pkg/beaconclient/checksyncstatus.go +++ b/pkg/beaconclient/checksyncstatus.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/databasewrite.go b/pkg/beaconclient/databasewrite.go index 43803fb..84d160e 100644 --- a/pkg/beaconclient/databasewrite.go +++ b/pkg/beaconclient/databasewrite.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/healthcheck.go b/pkg/beaconclient/healthcheck.go index 27638fc..fb0a0e5 100644 --- a/pkg/beaconclient/healthcheck.go +++ b/pkg/beaconclient/healthcheck.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index 88aab7e..dd60bef 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/incomingsse.go b/pkg/beaconclient/incomingsse.go index 4cb8ef4..42fee02 100644 --- a/pkg/beaconclient/incomingsse.go +++ b/pkg/beaconclient/incomingsse.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This package will handle all event subscriptions that utilize SSE. package beaconclient diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index 2778198..a6a45c4 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/models.go b/pkg/beaconclient/models.go index 836655e..a80f15c 100644 --- a/pkg/beaconclient/models.go +++ b/pkg/beaconclient/models.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient // This interface captured what the events can be for processed event streams. diff --git a/pkg/beaconclient/multihash.go b/pkg/beaconclient/multihash.go index 4a4d8e6..a9918b7 100644 --- a/pkg/beaconclient/multihash.go +++ b/pkg/beaconclient/multihash.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/processevents.go b/pkg/beaconclient/processevents.go index f788f28..15e4e16 100644 --- a/pkg/beaconclient/processevents.go +++ b/pkg/beaconclient/processevents.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file contains all the functions to handle SSE events after they have been turned // to the structs. diff --git a/pkg/beaconclient/processslot.go b/pkg/beaconclient/processslot.go index 7c4082d..4e60109 100644 --- a/pkg/beaconclient/processslot.go +++ b/pkg/beaconclient/processslot.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will keep track of all the code needed to process a slot. // To process a slot, it should have all the necessary data needed to write it to the DB. // But not actually write it. diff --git a/pkg/beaconclient/queryserver.go b/pkg/beaconclient/queryserver.go index 00376d5..b863c7b 100644 --- a/pkg/beaconclient/queryserver.go +++ b/pkg/beaconclient/queryserver.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will contain functions to query the Beacon Chain Server. package beaconclient diff --git a/pkg/database/sql/error.go b/pkg/database/sql/error.go index 9701968..ca3d3d4 100644 --- a/pkg/database/sql/error.go +++ b/pkg/database/sql/error.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package sql import ( diff --git a/pkg/database/sql/interfaces.go b/pkg/database/sql/interfaces.go index 095b89b..9744282 100644 --- a/pkg/database/sql/interfaces.go +++ b/pkg/database/sql/interfaces.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package sql import ( diff --git a/pkg/database/sql/postgres/config.go b/pkg/database/sql/postgres/config.go index 8f57bcd..42958d6 100644 --- a/pkg/database/sql/postgres/config.go +++ b/pkg/database/sql/postgres/config.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/database.go b/pkg/database/sql/postgres/database.go index 3087a7c..c8451f8 100644 --- a/pkg/database/sql/postgres/database.go +++ b/pkg/database/sql/postgres/database.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/pgx.go b/pkg/database/sql/postgres/pgx.go index 3981b33..0845915 100644 --- a/pkg/database/sql/postgres/pgx.go +++ b/pkg/database/sql/postgres/pgx.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/pgx_test.go b/pkg/database/sql/postgres/pgx_test.go index 21a76a8..f601abe 100644 --- a/pkg/database/sql/postgres/pgx_test.go +++ b/pkg/database/sql/postgres/pgx_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres_test import ( diff --git a/pkg/database/sql/postgres/postgres_suite_test.go b/pkg/database/sql/postgres/postgres_suite_test.go index eb6a7f9..8cb1ac9 100644 --- a/pkg/database/sql/postgres/postgres_suite_test.go +++ b/pkg/database/sql/postgres/postgres_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres_test import ( diff --git a/pkg/gracefulshutdown/gracefulshutdown.go b/pkg/gracefulshutdown/gracefulshutdown.go index 8230a38..b8e7066 100644 --- a/pkg/gracefulshutdown/gracefulshutdown.go +++ b/pkg/gracefulshutdown/gracefulshutdown.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package gracefulshutdown import ( diff --git a/pkg/loghelper/logendpoint.go b/pkg/loghelper/logendpoint.go index 809bf62..1afe190 100644 --- a/pkg/loghelper/logendpoint.go +++ b/pkg/loghelper/logendpoint.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package loghelper import ( diff --git a/pkg/loghelper/logerror.go b/pkg/loghelper/logerror.go index 66305dd..94a5069 100644 --- a/pkg/loghelper/logerror.go +++ b/pkg/loghelper/logerror.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // A simple function to help with logging errors. package loghelper diff --git a/pkg/loghelper/logreorg.go b/pkg/loghelper/logreorg.go index 9ad6ffe..64776cf 100644 --- a/pkg/loghelper/logreorg.go +++ b/pkg/loghelper/logreorg.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package loghelper import ( diff --git a/pkg/testhelpers/test_helper.go b/pkg/testhelpers/test_helper.go index 5b3cc0f..ecccdb3 100644 --- a/pkg/testhelpers/test_helper.go +++ b/pkg/testhelpers/test_helper.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package testhelpers import ( diff --git a/pkg/version/version.go b/pkg/version/version.go index 778fc85..7962222 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program 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 Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package version import "fmt"