Export a new constant for MaxPrevOutIndex.
This commit exports a new constant for the maximum index a previous outpoint can contain.
This commit is contained in:
parent
13e0b0e7b9
commit
1623818c12
1 changed files with 11 additions and 5 deletions
16
msgtx.go
16
msgtx.go
|
@ -11,12 +11,18 @@ import (
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TxVersion is the current latest supported transaction version.
|
const (
|
||||||
const TxVersion = 1
|
// TxVersion is the current latest supported transaction version.
|
||||||
|
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
|
MaxTxInSequenceNum uint32 = 0xffffffff
|
||||||
|
|
||||||
|
// MaxPrevOutIndex is the maximum index the index field of a previous
|
||||||
|
// outpoint can be.
|
||||||
|
MaxPrevOutIndex uint32 = 0xffffffff
|
||||||
|
)
|
||||||
|
|
||||||
// defaultTxInOutAlloc is the default size used for the backing array for
|
// defaultTxInOutAlloc is the default size used for the backing array for
|
||||||
// transaction inputs and outputs. The array will dynamically grow as needed,
|
// transaction inputs and outputs. The array will dynamically grow as needed,
|
||||||
|
|
Loading…
Reference in a new issue