Add deprecated comments to legacy InvVect_* consts.

This makes it a little more obvious in the documentation that they are
deprecated.
This commit is contained in:
Dave Collins 2013-10-08 15:51:34 -05:00
parent 93d86305a2
commit 5c8fddf4b4

View file

@ -8,7 +8,7 @@ package btcwire
// guidelines and are only provided for backwards compatibility. Use the // guidelines and are only provided for backwards compatibility. Use the
// InvType* constants instead. // InvType* constants instead.
const ( const (
InvVect_Error InvType = InvTypeError InvVect_Error InvType = InvTypeError // DEPRECATED
InvVect_Tx InvType = InvTypeTx InvVect_Tx InvType = InvTypeTx // DEPRECATED
InvVect_Block InvType = InvTypeBlock InvVect_Block InvType = InvTypeBlock // DEPRECATED
) )