btc

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MINIMUM_CONFIRMATIONS_REQ      = 6
	MINIMUM_CONFIRMATIONS_REQ_TEST = 1
)

Variables

This section is empty.

Functions

func Name

func Name() string

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(
	balances *balance.Store,

	accounts accounts.Wallet,
	nodeCtx node.Context,
	validators *identity.ValidatorStore,
	trackerStore *bitcoin.TrackerStore,
	logger *log.Logger,
) *Service

func (*Service) AddUserSignatureAndProcessLock

func (s *Service) AddUserSignatureAndProcessLock(args client.BTCLockRequest, reply *client.CreateTxReply) error

func (*Service) GetMaxTrackerBalance added in v0.14.0

func (s *Service) GetMaxTrackerBalance(args client.EmptyRequest, reply *client.MaxTrackerBalanceReply) error

func (*Service) GetTracker

func (s *Service) GetTracker(args client.BTCGetTrackerRequest, reply *client.BTCGetTrackerReply) error

func (*Service) PrepareLock

PrepareLock

func (*Service) PrepareRedeem

func (s *Service) PrepareRedeem(args client.BTCRedeemRequest, reply *client.BTCRedeemPrepareResponse) error

Jump to

Keyboard shortcuts

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