diff --git a/msgtx.go b/msgtx.go index a8181e74..48f00678 100644 --- a/msgtx.go +++ b/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 diff --git a/protocol.go b/protocol.go index 1e5c8ede..ebf166fb 100644 --- a/protocol.go +++ b/protocol.go @@ -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