Move TxVersion constant definition to msgtx.go.

This moves the definition closer to the associated type and mirrors the
rest of the package.
This commit is contained in:
Dave Collins 2013-07-27 16:34:47 -05:00
parent 035a9c3dc3
commit 69446009b2
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,9 @@ import (
"io"
)
// TxVersion is the current latest supported transaction version.
const TxVersion = 1
// MaxTxInSequenceNum is the maximum sequence number the sequence field
// of a transaction input can be.
const MaxTxInSequenceNum uint32 = 0xffffffff

View file

@ -24,8 +24,6 @@ const (
// ProtocolVersion is the latest protocol version this package supports.
ProtocolVersion uint32 = 70001
TxVersion = 1
// MultipleAddressVersion is the protocol version which added multiple
// addresses per message (pver >= MultipleAddressVersion).
MultipleAddressVersion uint32 = 209