mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
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"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TxVersion is the current latest supported transaction version.
|
||||||
|
const TxVersion = 1
|
||||||
|
|
||||||
// MaxTxInSequenceNum is the maximum sequence number the sequence field
|
// MaxTxInSequenceNum is the maximum sequence number the sequence field
|
||||||
// of a transaction input can be.
|
// of a transaction input can be.
|
||||||
const MaxTxInSequenceNum uint32 = 0xffffffff
|
const MaxTxInSequenceNum uint32 = 0xffffffff
|
||||||
|
|
|
@ -24,8 +24,6 @@ const (
|
||||||
// ProtocolVersion is the latest protocol version this package supports.
|
// ProtocolVersion is the latest protocol version this package supports.
|
||||||
ProtocolVersion uint32 = 70001
|
ProtocolVersion uint32 = 70001
|
||||||
|
|
||||||
TxVersion = 1
|
|
||||||
|
|
||||||
// MultipleAddressVersion is the protocol version which added multiple
|
// MultipleAddressVersion is the protocol version which added multiple
|
||||||
// addresses per message (pver >= MultipleAddressVersion).
|
// addresses per message (pver >= MultipleAddressVersion).
|
||||||
MultipleAddressVersion uint32 = 209
|
MultipleAddressVersion uint32 = 209
|
||||||
|
|
Loading…
Add table
Reference in a new issue