Update sendversion.go

This commit is contained in:
topianet 2023-12-11 11:39:24 +01:00 committed by GitHub
parent 46bea7f2fd
commit 12aeaa153b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,22 @@
package handshake package handshake
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/fabbez/topiad/app/appmessage"
"github.com/kaspanet/kaspad/app/protocol/common" "github.com/fabbez/topiad/app/protocol/common"
peerpkg "github.com/kaspanet/kaspad/app/protocol/peer" peerpkg "github.com/fabbez/topiad/app/protocol/peer"
"github.com/kaspanet/kaspad/infrastructure/logger" "github.com/fabbez/topiad/infrastructure/logger"
"github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" "github.com/fabbez/topiad/infrastructure/network/netadapter/router"
"github.com/kaspanet/kaspad/version" "github.com/fabbez/topiad/version"
"github.com/pkg/errors" "github.com/pkg/errors"
) )
var ( var (
// userAgentName is the user agent name and is used to help identify // userAgentName is the user agent name and is used to help identify
// ourselves to other kaspa peers. // ourselves to other topia peers.
userAgentName = "kaspad" userAgentName = "topiad"
// userAgentVersion is the user agent version and is used to help // userAgentVersion is the user agent version and is used to help
// identify ourselves to other kaspa peers. // identify ourselves to other topia peers.
userAgentVersion = version.Version() userAgentVersion = version.Version()
// defaultServices describes the default services that are supported by // defaultServices describes the default services that are supported by