View definition

func NewMsgVersionFromConn

Defined in github.com/btcsuite/btcd/wire/msgversion.go

Description

NewMsgVersionFromConn is a convenience function that extracts the remote and local address from conn and returns a new bitcoin version message that conforms to the Message interface. See NewMsgVersion.

NewMsgVersionFromConn is referenced in 6 repositories

github.com/btcsuite/btcd github.com/jonasnick/btcP2P github.com/OpenBazaar/spvwallet

...