Some checks are pending
docker-build-cometbft / vars (push) Waiting to run
docker-build-cometbft / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-cometbft / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-cometbft / merge-images (push) Blocked by required conditions
docker-build-e2e-node / vars (push) Waiting to run
docker-build-e2e-node / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-e2e-node / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-e2e-node / merge-images (push) Blocked by required conditions
16 lines
396 B
Go
16 lines
396 B
Go
//go:build go1.10
|
|
// +build go1.10
|
|
|
|
package conn
|
|
|
|
// Go1.10 has a proper net.Conn implementation that
|
|
// has the SetDeadline method implemented as per
|
|
// https://github.com/golang/go/commit/e2dd8ca946be884bb877e074a21727f1a685a706
|
|
// lest we run into problems like
|
|
// https://github.com/tendermint/tendermint/issues/851
|
|
|
|
import "net"
|
|
|
|
func NetPipe() (net.Conn, net.Conn) {
|
|
return net.Pipe()
|
|
}
|