neutrino

package
v1.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: BSD-3-Clause Imports: 46 Imported by: 0

Documentation

Overview

Package neutrino integrate btc light client neutrino

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositNotification

type DepositNotification struct {
	TxHash       chainhash.Hash
	Amount       btcutil.Amount
	FromAddress  string
	Chain33Addr  string // 绑定的Chain33地址
	OpReturnData string // 原始OP_RETURN数据
}

DepositNotification 充值通知

type UTXO

type UTXO struct {
	OutPoint wire.OutPoint
	Amount   btcutil.Amount
	PkScript []byte
}

UTXO 结构

type WithdrawNotification

type WithdrawNotification struct {
	TxHash        chainhash.Hash
	ToAddress     string
	Chain33TxHash string // Chain33提现交易哈希
	OpReturnData  string // 原始OP_RETURN数据
}

WithdrawNotification 提现确认通知

Jump to

Keyboard shortcuts

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