pkg

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pkg provides multisig functionality for Bitcoin SV transactions

Index

Constants

View Source
const Version = "1.5.0"

Version of the KeymasterMultisigPool library

Variables

View Source
var (
	// Multisig script creation
	Lock   = libs.Lock
	Unlock = libs.Unlock

	// Utility functions
	GetAddressFromPublicKey = libs.GetAddressFromPublicKey
	GetAddressFromPubKey    = libs.GetAddressFromPubKey

	// Dual endpoint functions
	DualPoolSpentScript        = dual.DualPoolSpentScript
	MergeDualPoolSigForSpendTx = dual.MergeDualPoolSigForSpendTx
	// Dual endpoint verify helpers
	ServerVerifyClientSpendSig  = dual.ServerVerifyClientSpendSig
	ClientVerifyServerSpendSig  = dual.ClientVerifyServerSpendSig
	ServerVerifyClientUpdateSig = dual.ServerVerifyClientUpdateSig
	ClientVerifyServerUpdateSig = dual.ClientVerifyServerUpdateSig

	// Triple endpoint functions
	TripleFeePoolSpentScript        = triple.TripleFeePoolSpentScript
	MergeTripleFeePoolSigForSpendTx = triple.MergeTripleFeePoolSigForSpendTx
	VerifySignature                 = triple.VerifySignature
	// Triple endpoint verify helpers
	ServerVerifyClientASig = triple.ServerVerifyClientASig
	ServerVerifyClientBSig = triple.ServerVerifyClientBSig
	ClientVerifyServerSig  = triple.ClientVerifyServerSig
)
View Source
var (
	ErrInvalidPublicKeys = libs.ErrInvalidPublicKeys
	ErrNoPrivateKeys     = libs.ErrNoPrivateKeys
	ErrInvalidM          = libs.ErrInvalidM
)

Common errors

Functions

This section is empty.

Types

type MultiSig

type MultiSig = libs.MultiSig

Re-export multisig types and functions

type UTXO

type UTXO = libs.UTXO

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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