lbcd/legacy.go
Dave Collins 5c8fddf4b4 Add deprecated comments to legacy InvVect_* consts.
This makes it a little more obvious in the documentation that they are
deprecated.
2013-10-08 15:51:34 -05:00

14 lines
511 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 // DEPRECATED
InvVect_Tx InvType = InvTypeTx // DEPRECATED
InvVect_Block InvType = InvTypeBlock // DEPRECATED
)