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:
parent
035a9c3dc3
commit
69446009b2
2 changed files with 3 additions and 2 deletions
3
msgtx.go
3
msgtx.go
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue