mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +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
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…
x
Reference in New Issue
Block a user