apibtc
2. If no one mines, there will be no computing power and no block, so bitcoin will not be proced naturally. The current situation is that with more and more people mining, more professional mining machines and more computing power, the 2100W bitcoin set will be fully mined in 2140.
Take a blockchain API tool that I am currently using as an example
previously, I occasionally found bctools , which can quickly and conveniently test and verify BTC and EOS blockchain API. At the same time, these API interface test network and main network can be verified on bctools ; If you are interested, you can go http://bctools.io Use it
at present, Apis on bctools seem to have the following types:
choose your own direction
the cost of developing an interface is not so high. Except for EOS, there is not much data to be chained, which is basically completed locally. As a top blockchain technology developer in China, weisanyun is still a good technology developer.
<? php
* DATE:2014-07-29
>
& #39 39; < br/> #api No
$apicode=& #39; caipiao ' < br/> $ rettype=& #39; xml ' # Providing json and xml in two forms, select I
$ url = & #39 in use; http://192.168.1.15/data/getData.htm' ;# The requested data interface URL
$ c=& #39; dlt ' < br/> $ params =& #39;& apikey='$ apikey.'& apicode='$ apicode.'& rettype='$ rettype.'& c='$ c; < br/ >
$ content = getData($url.'?' 39. $ Parms); < / br/ > } else {
< echo & #39; #39; < br/ / /br/ / / / /br/ / / /br/ / / / / / / /br// / / / / / /br/ / / / / / / / / / / / / / / /
/curl_setopt($ch, CURLOPT_URL, $url); < br/ > / /curl_setopt($ch, CURLOPT_HEADER, 0); < br/ / / / /curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) / / retrieve data
/ / / / / / capture URLs and transmit it to the browser
/ $ response = curl_exec($ch); < br />
/ /curl_close($ch); < br />
/ < return $response; <
> <
br > <
*@author datatang
@version 1.0
@create date 2014/08
*/
import java.io.BufferedReader; < br/>Import java.io.IOException; < br/>Import java.io.InputStream; < br/>Import java.io.InputStreamReader; < br/>Import java.net.HttpURLConnection; < br/>Import java.net.URL; < br/>
import org.apache.log4j.Logger; < / br/ / / / / / / / / / / / / /public static void main(String[]args) {
< String strUrl = " http://api.datatang.com/data/getData.htm"; < br/ / / / / /dtkey / / API KEY applied for via page. (must be projected)
= String strKey = " XXXXXXXXXXXXXXXXXXXX " < br/ / / / / / / /apicode/ Encoding API (required projects)
/String strApicode = " < br/ / / / //rettype / Form of return required (support XML and JSON) (need projects)
/String strRettype = " < br/ > / / / / / / / /API needs parameters (detailed reference to painting-various API parameters)
/String strparam = " ) < br/ / / / / / / /e.g.
/ /strparam = " datatype=ore&startDate=2014-06-30&endDate=2014-06-30" < br/ / / / / / / /
/ / /String url = strUrl + "? apikey=" + strKey + "" apicode=" + strApicode + "" rettype=" + strRettype
& > quot;+ strparam; < br/ > /try
< String res = readByGet(url); < br/ > > System.out.println(res); < br/ > } catch (IOException e) {
< e.printStackTrace(); < br br/ / / /br/ / / /
* br/ / / / / / /
* * param inUrl in Url request url
* @param inUrl in Url request url
/private static String readByGet(String inUrl) throws IOException {
/StringBuffer sbf = new StringBuffer();
> String strRead = zero; < br/ >
/ / / / / / / / / / / / / /String userAgent = " Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 " < br /> & + "( KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 " < br/ / /
/ /URL = new URL (inUrl); < br/ / / / / / / / / / / / / / / / / / / / /fort 20945; / fort 20945; / / / / / / / / / / / / / / forts 20945; ; / openConnConnConnConnection communications will be opened on a connection, in accordance with URLs types of,
> connection.setReadTimeout(30000); < br/ > > connection.setConnectTimeout(30000); < RequestProperty(" User-agent ", userAgent); < br/ / / / / / / / / / / / / / / /connection.connect(); < br/ / / / / / / / / / / / / / / / / /InputStream is = connection.getInputStream(); < br/ > / / / / / / / / / / / / /BufferedReader = new BufferedReader UTF-8 ") ";< br/ > = while ((strRead = reader.readLine())= zero) {
> sbf.append(strRead); < br/ > /sbf.append(" 92; r\ n") < br/ > }
< reader.close(); < br/ / / / / / discontinue contact
/ / connection.disconnect(); < br/ > / /return sbf.toString(); < br/ >
1. The official positions are as follows:
in ancient times, the eastern palace refers to the prince who lived in the eastern palace
in ancient times, Xigong refers to the concubines
In ancient times, eunuchs were high-ranking officials among eunuchs In ancient times, Xiang Jiang refers to generals and Xiang refers to nine ministers of six departmentsin ancient times, marshal refers to the highest commander of the armed forces in ancient China
{rrrrrrr}
extended data
comparison between present and past
the Taishou was called the prefect in the Warring States period, and was changed into the Taishou in the Han Dynasty, and was the chief executive of a county. Qin is divided into 36 counties, larger than the county. It is equivalent to the mayor of a provincial city
Emperor Hanwu was divided into 13 states, and the governor was in charge of the military and political power of one state. It is equivalent to the governor of a province (city) and the commander of a province (city) Army (sub district)
jingzhaoyin, the chief executive of the capital of the Western Han Dynasty, refers to jingzhaoyin as the mayor of the capital
From Qin Dynasty to Song Dynasty, Taiwei was set up as the head of the national military and government. Equivalent to the Secretary of defense Ting Wei is the minister in charge of law and major cases. Against the president of the Supreme Courtthe Minister of the Ministry of official is in charge of the assessment, reward and punishment of civil and military officials. Equivalent to the head of the organization department
Guanglu was the advisor to the emperor. It is equivalent to a member of the Standing Committee of the Central Advisory Committee
zhongshuling was in charge of issuing the emperor's order. It is equivalent to the Secretary General of the "two offices"
the order of the Secretary of state can participate in the major government affairs, and take a comprehensive view of the government affairs. Equivalent to the prime minister
the grand general of motorcycles has a high status, which is equivalent to the rank of Marshal
the imperial censor of chayuan was the highest supervisory organ in ancient times. Equivalent to the Minister of supervision
the magistrate and the chief executive. Equivalent to the mayor of a city under the jurisdiction of a province
the highest official of Zhizhou in the Song Dynasty was equivalent to the mayor of a city under the jurisdiction of a province, slightly lower than the "magistrate"
County Magistrate. Equivalent to the county magistrate
the deputy of tonganfu. Equivalent to vice mayor
the county magistrate assisted the county magistrate in governing a county. It is equivalent to the deputy county magistrate P>
is the master of grain and registered residence. It is equivalent to the director of grain or the director of household registration. p>
the professor's office is in charge of discipline and assessment of students. Equivalent to the director of the Provincial Department of ecation
under the participation of a guerrilla general, he led his troops to defend. A divisional officer in charge of defense
An official who attends the emperor. An official of the Central Security Bureau