Skip to content

Commit

Permalink
rename file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rameight committed Jun 20, 2023
1 parent 7f29345 commit 43446ef
Show file tree
Hide file tree
Showing 175 changed files with 980 additions and 973 deletions.
4 changes: 2 additions & 2 deletions cmd/flags/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ OPTIONS:
AppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}}
Copyright 2013-2021 The go-ethereum Authors
Copyright 2013-2021 The go-kardia Authors
USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} [command] [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
Expand All @@ -84,7 +84,7 @@ COPYRIGHT:
ClefAppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}}
Copyright 2013-2021 The go-ethereum Authors
Copyright 2013-2021 The go-kardia Authors
USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
Expand Down
10 changes: 5 additions & 5 deletions cmd/kaigo/config.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2017 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

package main

Expand Down
12 changes: 6 additions & 6 deletions cmd/kaigo/main.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// Copyright 2014 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2014 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

// Kaigo is the official command-line client for Ethereum.
// Kaigo is the official command-line client for Kardiachain.
package main

import (
Expand Down
32 changes: 16 additions & 16 deletions cmd/kaigo/snapshot.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2021 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2021 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

package main

Expand Down Expand Up @@ -89,17 +89,17 @@ kaigo snapshot check-dangling-storage <state-root> traverses the snap storage
data, and verifies that all snapshot storage data has a corresponding account.
`,
},
// {
// Name: "inspect-account",
// Usage: "Check all snapshot layers for the a specific account",
// ArgsUsage: "<address | hash>",
// Action: checkAccount,
// Flags: flags.Merge(utils.NetworkFlags, utils.DatabasePathFlags),
// Description: `
// kaigo snapshot inspect-account <address | hash> checks all snapshot layers and prints out
// information about the specified address.
// `,
// },
// {
// Name: "inspect-account",
// Usage: "Check all snapshot layers for the a specific account",
// ArgsUsage: "<address | hash>",
// Action: checkAccount,
// Flags: flags.Merge(utils.NetworkFlags, utils.DatabasePathFlags),
// Description: `
// kaigo snapshot inspect-account <address | hash> checks all snapshot layers and prints out
// information about the specified address.
// `,
// },
{
Name: "traverse-state",
Usage: "Traverse the state with given root hash and perform quick verification",
Expand Down
12 changes: 6 additions & 6 deletions cmd/utils/cmd.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// Copyright 2014 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2014 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

// Package utils contains internal helper functions for go-ethereum commands.
// Package utils contains internal helper functions for go-kardia commands.
package utils

import (
Expand Down
10 changes: 5 additions & 5 deletions cmd/utils/diskusage.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2021 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2021 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

//go:build !windows && !openbsd
// +build !windows,!openbsd
Expand Down
10 changes: 5 additions & 5 deletions cmd/utils/diskusage_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2021 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2021 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

//go:build openbsd
// +build openbsd
Expand Down
10 changes: 5 additions & 5 deletions cmd/utils/diskusage_windows.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2021 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2021 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

package utils

Expand Down
12 changes: 6 additions & 6 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// Copyright 2015 The go-ethereum Authors
// This file is part of go-ethereum.
// Copyright 2015 The go-kardia Authors
// This file is part of go-kardia.
//
// go-ethereum is free software: you can redistribute it and/or modify
// go-kardia is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// go-ethereum is distributed in the hope that it will be useful,
// go-kardia 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-kardia. If not, see <http://www.gnu.org/licenses/>.

// Package utils contains internal helper functions for go-ethereum commands.
// Package utils contains internal helper functions for go-kardia commands.
package utils

import (
Expand Down
10 changes: 5 additions & 5 deletions internal/debug/api.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

// Package debug interfaces Go runtime debugging facilities.
// This package is mostly glue code making these facilities available
Expand Down
10 changes: 5 additions & 5 deletions internal/debug/flags.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

package debug

Expand Down
10 changes: 5 additions & 5 deletions internal/debug/loudpanic.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

//go:build go1.6
// +build go1.6
Expand Down
10 changes: 5 additions & 5 deletions internal/debug/loudpanic_fallback.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

//go:build !go1.6
// +build !go1.6
Expand Down
10 changes: 5 additions & 5 deletions internal/debug/trace.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

//go:build go1.5
// +build go1.5
Expand Down
10 changes: 5 additions & 5 deletions internal/debug/trace_fallback.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
// Copyright 2016 The go-kardia Authors
// This file is part of the go-kardia library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// The go-kardia 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,
// The go-kardia 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 <http://www.gnu.org/licenses/>.
// along with the go-kardia library. If not, see <http://www.gnu.org/licenses/>.

//go:build !go1.5
// +build !go1.5
Expand Down

0 comments on commit 43446ef

Please sign in to comment.