Constructs from a byte-vector encoding.
Declared in <script/script.h>
explicit
CScriptNum(
std::vector<unsigned char> const& vch,
bool fRequireMinimal,
size_t const nMaxNumSize = nDefaultMaxNumSize);
| Name | Description |
|---|---|
| vch | Little-endian, sign-magnitude byte encoding of the number. |
| fRequireMinimal | Whether to reject non-minimal encodings. |
| nMaxNumSize | Maximum allowed size of vch in bytes. |