secp256k1

package
v1.23.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2023 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	OffsetsSerializedSize = 11
	DataStart             = OffsetsSerializedSize + 1
)

Variables

This section is empty.

Functions

func NewSecp256k1Instruction

func NewSecp256k1Instruction(msgs [][]byte, sigs [][]byte, addrs [][]byte, thisInstrIndex uint8) (types.Instruction, error)

Types

type Secp256k1InstructionParam

type Secp256k1InstructionParam struct {
	Offsets []SecpSignatureOffsets
}

type SecpSignatureOffsets

type SecpSignatureOffsets struct {
	SignatureOffsets           uint16
	SignatureInstructionIndex  uint8
	EthAddressOffset           uint16
	EthAddressInstructionIndex uint8
	MessageDataOffset          uint16
	MessageDataSize            uint16
	MessageInstructionIndex    uint8
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL