Documentation ¶
Index ¶
- Constants
- func NewSecp256k1Instruction(priv *ecdsa.PrivateKey, msg []byte, thisInstrIndex uint8) (types.Instruction, error)
- func NewSecp256k1InstructionMultipleSigs(privs []*ecdsa.PrivateKey, msgs [][]byte, thisInstrIndex uint8) (types.Instruction, error)
- type Secp256k1InstructionParam
- type SecpSignatureOffsets
Constants ¶
View Source
const ( OffsetsSerializedSize = 11 DataStart = OffsetsSerializedSize + 1 )
Variables ¶
This section is empty.
Functions ¶
func NewSecp256k1Instruction ¶
func NewSecp256k1Instruction(priv *ecdsa.PrivateKey, msg []byte, thisInstrIndex uint8) (types.Instruction, error)
func NewSecp256k1InstructionMultipleSigs ¶
func NewSecp256k1InstructionMultipleSigs(privs []*ecdsa.PrivateKey, msgs [][]byte, thisInstrIndex uint8) (types.Instruction, error)
Types ¶
type Secp256k1InstructionParam ¶
type Secp256k1InstructionParam struct {
Offsets []SecpSignatureOffsets
}
Click to show internal directories.
Click to hide internal directories.