mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Use go:build lines and remove obsolete +build lines (#4175)
This commit is contained in:
parent
4e7807251a
commit
0a75065e7a
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package bind
|
package bind
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build freebsd || dragonfly
|
//go:build freebsd || dragonfly
|
||||||
// +build freebsd dragonfly
|
|
||||||
|
|
||||||
package fdlimit
|
package fdlimit
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build linux || netbsd || openbsd || solaris
|
//go:build linux || netbsd || openbsd || solaris
|
||||||
// +build linux netbsd openbsd solaris
|
|
||||||
|
|
||||||
package fdlimit
|
package fdlimit
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build none
|
//go:build none
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package state
|
package state
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build go1.6
|
//go:build go1.6
|
||||||
// +build go1.6
|
|
||||||
|
|
||||||
// Code generated by codecgen - DO NOT EDIT.
|
// Code generated by codecgen - DO NOT EDIT.
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build go1.7 && amd64 && !gccgo && !appengine
|
//go:build go1.7 && amd64 && !gccgo && !appengine
|
||||||
// +build go1.7,amd64,!gccgo,!appengine
|
|
||||||
|
|
||||||
package blake2b
|
package blake2b
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build !go1.7,amd64,!gccgo,!appengine
|
//go:build !go1.7 && amd64 && !gccgo && !appengine
|
||||||
|
|
||||||
package blake2b
|
package blake2b
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build gofuzz
|
//go:build gofuzz
|
||||||
|
|
||||||
package blake2b
|
package blake2b
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build !amd64 || appengine || gccgo
|
//go:build !amd64 || appengine || gccgo
|
||||||
// +build !amd64 appengine gccgo
|
|
||||||
|
|
||||||
package blake2b
|
package blake2b
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build go1.9
|
//go:build go1.9
|
||||||
// +build go1.9
|
|
||||||
|
|
||||||
package blake2b
|
package blake2b
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build amd64,blsasm amd64,blsadx
|
//go:build (amd64 && blsasm) || (amd64 && blsadx)
|
||||||
|
|
||||||
package bls12381
|
package bls12381
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
// Package bls (generated by goff) contains field arithmetics operations
|
// Package bls (generated by goff) contains field arithmetics operations
|
||||||
|
|
||||||
// +build !amd64 !blsasm,!blsadx
|
//go:build !amd64 || (!blsasm && !blsadx)
|
||||||
|
|
||||||
package bls12381
|
package bls12381
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build amd64,blsadx
|
//go:build amd64 && blsadx
|
||||||
|
|
||||||
package bls12381
|
package bls12381
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build amd64,blsasm
|
//go:build amd64 && blsasm
|
||||||
|
|
||||||
package bls12381
|
package bls12381
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// in the LICENSE file.
|
// in the LICENSE file.
|
||||||
|
|
||||||
//go:build amd64 || arm64
|
//go:build amd64 || arm64
|
||||||
// +build amd64 arm64
|
|
||||||
|
|
||||||
// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
|
// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
|
||||||
package bn256
|
package bn256
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be found
|
// Use of this source code is governed by a BSD-style license that can be found
|
||||||
// in the LICENSE file.
|
// in the LICENSE file.
|
||||||
|
|
||||||
// +build !amd64,!arm64
|
//go:build !amd64 && !arm64
|
||||||
|
|
||||||
// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
|
// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
|
||||||
package bn256
|
package bn256
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build (amd64 && !generic) || (arm64 && !generic)
|
//go:build (amd64 && !generic) || (arm64 && !generic)
|
||||||
// +build amd64,!generic arm64,!generic
|
|
||||||
|
|
||||||
package bn256
|
package bn256
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build !amd64,!arm64 generic
|
//go:build (!amd64 && !arm64) || generic
|
||||||
|
|
||||||
package bn256
|
package bn256
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build !nacl && !js && cgo && !gofuzz
|
//go:build !nacl && !js && cgo && !gofuzz
|
||||||
// +build !nacl,!js,cgo,!gofuzz
|
|
||||||
|
|
||||||
package crypto
|
package crypto
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build nacl js !cgo gofuzz
|
//go:build nacl || js || !cgo || gofuzz
|
||||||
|
|
||||||
package crypto
|
package crypto
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build !js
|
//go:build !js
|
||||||
// +build !js
|
|
||||||
|
|
||||||
package olddb
|
package olddb
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build go1.6
|
//go:build go1.6
|
||||||
// +build go1.6
|
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build !go1.6
|
//go:build !go1.6
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build !windows
|
//go:build !windows
|
||||||
// +build !windows
|
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build windows
|
//go:build windows
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build go1.5
|
//go:build go1.5
|
||||||
// +build go1.5
|
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//+build !go1.5
|
//go:build !go1.5
|
||||||
|
|
||||||
// no-op implementation of tracing methods for Go < 1.5.
|
// no-op implementation of tracing methods for Go < 1.5.
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package p2p
|
package p2p
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package enode
|
package enode
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package nat
|
package nat
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build !windows
|
//go:build !windows
|
||||||
// +build !windows
|
|
||||||
|
|
||||||
package netutil
|
package netutil
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//+build windows
|
//go:build windows
|
||||||
|
|
||||||
package netutil
|
package netutil
|
||||||
|
|
||||||
|
1
rules.go
1
rules.go
@ -1,5 +1,4 @@
|
|||||||
//go:build gorules
|
//go:build gorules
|
||||||
// +build gorules
|
|
||||||
|
|
||||||
package gorules
|
package gorules
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU Lesser General Public License
|
// 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-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// +build gofuzz
|
//go:build gofuzz
|
||||||
|
|
||||||
package bls
|
package bls
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
|
1
tools.go
1
tools.go
@ -1,5 +1,4 @@
|
|||||||
//go:build tools
|
//go:build tools
|
||||||
// +build tools
|
|
||||||
|
|
||||||
package tools
|
package tools
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package rlphacks
|
package rlphacks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user