faucet

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

View Source
const (
	// the amount of funds the requester receives.
	CfgFaucetAmount = "faucet.amount"
	// the amount of funds the requester receives if the target address has more funds than the faucet amount and less than maximum.
	CfgFaucetSmallAmount = "faucet.smallAmount"
	// the maximum allowed amount of funds on the target address.
	CfgFaucetMaxAddressBalance = "faucet.maxAddressBalance"
	// the maximum output count per faucet message.
	CfgFaucetMaxOutputCount = "faucet.maxOutputCount"
	// the faucet transaction indexation payload.
	CfgFaucetIndexationMessage = "faucet.indexationMessage"
	// the maximum duration for collecting faucet batches.
	CfgFaucetBatchTimeout = "faucet.batchTimeout"
	// the amount of workers used for calculating PoW when issuing faucet messages.
	CfgFaucetPoWWorkerCount = "faucet.powWorkerCount"
	// the bind address on which the faucet website can be accessed from
	CfgFaucetWebsiteBindAddress = "faucet.website.bindAddress"
	// whether to host the faucet website
	CfgFaucetWebsiteEnabled = "faucet.website.enabled"
)
View Source
const (

	// RouteFaucetInfo is the route to give info about the faucet address.
	// GET returns address and balance of the faucet.
	RouteFaucetInfo = "/info"

	// RouteFaucetEnqueue is the route to tell the faucet to pay out some funds to the given address.
	// POST enqueues a new request.
	RouteFaucetEnqueue = "/enqueue"
)

Variables

View Source
var (
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.

Jump to

Keyboard shortcuts

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