mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

This commit changes the InvVect_* constants, which are not standard Go style, to the InvType*. In order to preserve backwards compatibility, it also adds a legacy.go file which maps the old public constant names to the new ones. Closes #1.
15 lines
466 B
Go
15 lines
466 B
Go
// Copyright (c) 2013 Conformal Systems LLC.
|
|
// Use of this source code is governed by an ISC
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package btcwire
|
|
|
|
// These constants are deprecated as they do not follow the standard Go style
|
|
// guidelines and are only provided for backwards compatibility. Use the
|
|
// InvType* constants instead.
|
|
const (
|
|
InvVect_Error InvType = InvTypeError
|
|
InvVect_Tx InvType = InvTypeTx
|
|
InvVect_Block InvType = InvTypeBlock
|
|
)
|