Documentation ¶
Index ¶
- Variables
- func AddressSummaryAction(r *http.Request) api.Response
- func AutoUpdateAction(r *http.Request) api.Response
- func ChainQueryStatusAction(r *http.Request) api.Response
- func IndexAction(r *http.Request) api.Response
- func ProcessBlocks(r *http.Request) api.Response
- func SQLQueryAction(r *http.Request) api.Response
- func SyncAddressBalance(r *http.Request) api.Response
- func SyncName(r *http.Request) api.Response
- func SyncTransactionValue(r *http.Request) api.Response
- func ValidateChainData(r *http.Request) api.Response
Constants ¶
This section is empty.
Variables ¶
var AutoUpdateCommand = ""
AutoUpdateCommand is the path of the shell script to run in the environment chainquery is installed on. It should stop the service, download and replace the new binary from https://github.com/lbryio/chainquery/releases, start the service.
Functions ¶
func AddressSummaryAction ¶
AddressSummaryAction returns address details: received, spent, balance
func AutoUpdateAction ¶
AutoUpdateAction takes a travis webhook for a successful deployment and runs an environment script to self update.
func ChainQueryStatusAction ¶
ChainQueryStatusAction returns status information of the chainquery application. Currently, tables' name and size.
func ProcessBlocks ¶ added in v1.4.0
ProcessBlocks processed a specific block or range of blocks if authorized.
func SQLQueryAction ¶
SQLQueryAction returns an array of structured data matching the queried results.
func SyncAddressBalance ¶ added in v1.4.0
SyncAddressBalance will synchronize the balances for all addresses in chainquery.
func SyncName ¶ added in v1.6.2
SyncName syncs the claims for a give name with the lbrycrd claimtrie ( effective amount, valid at height, and bidstate).
func SyncTransactionValue ¶ added in v1.4.0
SyncTransactionValue will synchronize the value of all transactions in chainquery.
func ValidateChainData ¶ added in v1.4.0
ValidateChainData validates a range of blocks ensure that the block,Txs, and the same number of outputs,inputs exist. If a difference in data is identified it will return an array identifying where there are differences.
Types ¶
This section is empty.