api

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArkAPIclient *core.ArkClient
View Source
var ArkGoServerVersion string
View Source
var Arkpooldb *storm.DB
View Source
var VotersEarnings []core.DelegateDataProfit

Functions

func CheckServiceModelHandler

func CheckServiceModelHandler() gin.HandlerFunc

func EnterServiceMode

func EnterServiceMode(c *gin.Context)

func GetArkNewsFromAddress added in v0.8.0

func GetArkNewsFromAddress(c *gin.Context)

GetArkNewsFromAddress - returns news to show

func GetBlocked

func GetBlocked(c *gin.Context)

GetBlocked Returns a list of peers to client call. Response is in JSON

func GetDelegate

func GetDelegate(c *gin.Context)

GetDelegate Returns a list of peers to client call. Response is in JSON

func GetDelegateNodeStatus added in v0.8.0

func GetDelegateNodeStatus(c *gin.Context)

GetDelegateNodeStatus - returns news to show

func GetDelegatePaymentRecord

func GetDelegatePaymentRecord(c *gin.Context)

GetDelegatePaymentRecord Returns a list of peers to client call. Response is in JSON URL samples: Get All Payment Runs: http://localhost:54000/delegate/paymentruns

func GetDelegatePaymentRecordDetails

func GetDelegatePaymentRecordDetails(c *gin.Context)

GetDelegatePaymentRecordDetails Returns a list of peers to client call. Response is in JSON URL samples: 1.TO GET ALL PAYMENT DETAILS: http://localhost:54000/delegate/paymentruns/details 2.TO GET ALL PAYMENT DETAILS FOR SPECIFIED PAYMENT RUN: http://localhost:54000/delegate/paymentruns/details?parentid=12 3.TO GET ALL PAYMENT DETAILS FOR SPECIFIED VOTER(address): http://localhost:54000/delegate/paymentruns/details?address=D5St8ot3asrxYW3o63EV3bM1VC6UBKMUfE 4.TO GET ALL PAYMENT DETAILS FOR SPECIFIED VOTER(address) in Specified RUN:http://localhost:54000/delegate/paymentruns/details?parentid=12&address=D5St8ot3asrxYW3o63EV3bM1VC6UBKMUfE

func GetDelegateSharingConfig

func GetDelegateSharingConfig(c *gin.Context)

GetDelegateSharingConfig Returns a list of peers to client call. Response is in JSON

func GetDelegateSocialData added in v0.8.0

func GetDelegateSocialData(c *gin.Context)

GetDelegateSocialData returns delegate social details for fron page generation

func GetVoterEarningsTotal added in v0.9.6

func GetVoterEarningsTotal(c *gin.Context)

GetVoterEarningsTotal Returns a list of peers to client call. Response is in JSON

func GetVotersList added in v0.7.9

func GetVotersList(c *gin.Context)

GetVotersList Returns a list voters that voted for a delegate

func GetVotersPendingRewards added in v0.7.9

func GetVotersPendingRewards(c *gin.Context)

GetVotersPendingRewards Returns a list of peers to client call. Response is in JSON

func InitGlobals

func InitGlobals(version string)

func LeaveServiceMode

func LeaveServiceMode(c *gin.Context)

func OnlyLocalCallAllowed

func OnlyLocalCallAllowed() gin.HandlerFunc

func SendDARK added in v0.9.5

func SendDARK(c *gin.Context)

SendDARK to devs

Types

This section is empty.

Jump to

Keyboard shortcuts

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