public class Program extends Object
| Constructor and Description |
|---|
Program() |
| Modifier and Type | Method and Description |
|---|---|
static byte[][] |
getParamInfo(byte[] program) |
static ProgramInfo |
getProgramInfo(byte[] program) |
static byte[] |
programFromMultiPubKey(byte[][] publicKey,
short m) |
static byte[] |
ProgramFromMultiPubKey(int m,
byte[]... publicKeys) |
static byte[] |
programFromParams(byte[][] sigs) |
static byte[] |
ProgramFromParams(byte[][] sigData) |
static byte[] |
programFromPubKey(byte[] publicKey) |
static byte[] |
ProgramFromPubKey(byte[] publicKey) |
static byte[] |
readBytes(BinaryReader br) |
static short |
readNum(BinaryReader reader) |
static ScriptOp |
readOpCode(BinaryReader reader) |
static byte[][] |
sortPublicKeys(byte[]... publicKeys) |
public static byte[] ProgramFromParams(byte[][] sigData)
throws IOException
IOExceptionpublic static byte[] ProgramFromPubKey(byte[] publicKey)
throws Exception
Exceptionpublic static byte[] ProgramFromMultiPubKey(int m,
byte[]... publicKeys)
throws Exception
Exceptionpublic static byte[][] sortPublicKeys(byte[]... publicKeys)
public static byte[][] getParamInfo(byte[] program)
public static byte[] readBytes(BinaryReader br) throws IOException
IOExceptionpublic static ProgramInfo getProgramInfo(byte[] program) throws IOException
IOExceptionpublic static short readNum(BinaryReader reader) throws IOException, SDKException
IOExceptionSDKExceptionpublic static ScriptOp readOpCode(BinaryReader reader) throws IOException
IOExceptionpublic static byte[] programFromParams(byte[][] sigs)
public static byte[] programFromPubKey(byte[] publicKey)
public static byte[] programFromMultiPubKey(byte[][] publicKey,
short m)
throws SDKException
SDKExceptionCopyright © 2020. All rights reserved.