You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: send_only_node.go
    path of file: ./repos/chainlink/common/client
    
    the code of the file until where you have to start completion: package client

import (
	"context"
	"fmt"
	"net/url"
	"sync"

	"github.com/smartcontractkit/chainlink-common/pkg/logger"
	"github.com/smartcontractkit/chainlink-common/pkg/services"

	"github.com/smartcontractkit/chainlink/v2/common/types"
)

//go:generate mockery --quiet --name sendOnlyClient --structname mockSendOnlyClient --filename "mock_send_only_client_test.go" --inpackage --case=underscore
type sendOnlyClient[
	CHAIN_ID types.ID,
] interfa
    
func (s *sendOnlyNode[CHAIN_ID, RPC]) start(startCtx context.Context) {
	if s.State() != nodeStateUndialed {
		panic(fmt.Sprintf("cannot dial node with state %v", s.state))
	}

	err := s.rpc.DialHTTP()
	if err != nil {
		promPoolRPCNodeTransitionsToUnusable.WithLabelValues(s.chainID.String(), s.name).Inc()
		s.log.Errorw("Dial failed: SendOnly Node is unusable", "err", err)
		s.setState(nodeStateUnusable)
		return
	}
	s.setState(nodeStateDialed)

	if s.chainID.String() == "0" {
		// Skip verification if chainID is zero
		s.log.Warn("sendonly rpc ChainID verification skipped")
	} else {
		chainID, err := s.rpc.ChainID(startCtx)
		if err != nil || chainID.String() != s.chainID.String() {
			promPoolRPCNodeTransitionsToUnreachable.WithLabelValues(s.chainID.String(), s.name).Inc()
			if err != nil {
				promPoolRPCNodeTransitionsToUnreachable.WithLabelValues(s.chainID.String(), s.name).Inc()
				s.log.Errorw(fmt.Sprintf("Verify failed: %v", err), "err", err)
				s.setState(nodeStateUnreachable)
			} else {
				promPoolRPCNodeTransitionsToInvalidChainID.WithLabelValues(s.chainID.String(), s.name).Inc()
				s.log.Errorf(
					"sendonly rpc ChainID doesn't match local chain ID: RPC ID=%s, local ID=%s, node name=%s",
					chainID.String(),
					s.chainID.String(),
					s.name,
				)
				s.setState(nodeStateInvalidChainID)
			}
			// Since it has failed, spin up the verifyLoop that will keep
			// retrying until success
			s.wg.Add(1)
			go s.verifyLoop()
			return
		}
	}

	promPoolRPCNodeTransitionsToAlive.WithLabelValues(s.chainID.String(), s.name).Inc()
	s.setState(nodeStateAlive)
	s.log.Infow("Sendonly RPC Node is online", "nodeState", s.state)
}