Client. get_version stratum metode Forklar og eksempel

Følg og del nu!

client.get_version is one of the in the stratum protocol defined method, used by encrypted currency mining pools to ask a mining software for her identity.

Function of client.get_version:

This as JSON decoded method call has no parameters and just a string as response. This string should contain the name and version number of the mining software.

client.get_version call:

Antydning:

Extra line-wrapping for readability. Spaces get ignored, a call ends with a line feed. (UTF-8 10/0x0A)

Beskrivelse:

{
	"id": <something>,
	"method": "client.get_version",
	"params": [ ]
}
(\n)

It is a usual stratum command. The map field Id should contain anything others than null, you didn’t used before. The response will contain the same object you send, the usual way is to use an increasing number. The field method contains the name of the method to call and params is an empty list, since this method has no arguments.

Eksempel:

{
	"id": 5,
	"method": "client.get_version",
	"params": [ ]
}
(\n)

client.get_version response:

Beskrivelse:

{
	"id": <the same as above>,
	"result": <the identity of the miner>,
	"error": null
}
(\n)

The field Id is the same as the request had. result contains the answer as a string and Fejl is null, assumed there was no error.

Eksempel:

{
	"id": 5,
	"result": "cgminer/4.11.1",
	"error": null
}
(\n)


Skriv din kommentar her

Din e-mail adresse vil ikke blive offentliggjort. Obligatoriske felter er markeret *

Gratis Demo!

Deltag Calloway Crypto System nu,
at få en gratis demokonto:

Join the Calloway Crypto Soft now!

Læs nu hele anmeldelse!

Hvis du har yderligere spørgsmål eller snuble, behage email umiddelbare til earnmoneytodayblog@gmail.com eller brug simpelt Kontakt formular.

 

tjene money.today vellykket udfordring: 1041/2000 vellykket erhvervsdrivende. Test nu Calloway Crypto System eller andre verificerede handelssystemer gratis og sende os hvor vellykket du er og hvor meget overskud du gjort, og kan, hvad vi kan gøre for dig.

52%

Sidste vellykket erhvervsdrivende:
Antje B.
Være næste!