api_faucet

package
v0.0.0-...-8ecdb2c Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxCoinsPerIP      = 5
	MaxCoinsPer5Min    = 100
	MaxCoinsPerRequest = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(
	bitcoind *coreproxy.Bitcoind,
) *Server

New creates a new Client

func NewClient

func NewClient(ctx context.Context, bitcoind *coreproxy.Bitcoind) *Server

func (*Server) DispenseCoins

DispenseCoins implements faucetv1connect.FaucetServiceHandler.

func (*Server) ListClaims

ListClaims implements faucetv1connect.FaucetServiceHandler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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