Position: Home page » Equipment » Geth mining command dataDir

Geth mining command dataDir

Publish: 2021-05-11 21:15:26
1.

Ethernet mining tutorial

1. Create a new folder on the hard disk, which is better than C: eth. Then all the mining software is stored here

2. Download the following software

1) geth -- select geth win download and unzip

2) ethernet -- download and unzip to the same folder and rename it as "miner"

3) Ethereum wallet -- Download the win Ethereum wallet and unzip it and rename it as "wallet"

install all the software

3 Open the command prompt (click win and R at the same time, or click Start menu and enter CMD). The command prompt is a command line parser that allows you to execute command input software in the operating system

After

, you will have Ethereum wallet. But there is no balance, so next you need to build an ethminer. It's time to minimize your wallet

Mining

2. To create a Genesis configuration file:
first, you need to create a "Genesis" JSON configuration file, which describes some parameters of the genesis block. The following is the content of the file:
{
& quot; coinbase": & quot;& quot;,< br />" config": {< br />" homesteadBlock": 5
},
" difficulty": & quot; 0x20000",< br />" extraData": & quot; 0x",< br />" gasLimit": & quot; 0x2FEFD8",< br />" mixhash": & quot;& quot;,< br />" nonce": & quot; 0x0",< br />" parentHash": & quot; 000000000000000000000000",< br />" timestamp": & quot; 0x00",< br />" alloc": {< br />"& quot;:< br />{
" balance":& quot;& quot;
}
}
} 1234567891011213141516171819

the above code into a text file and name it genesis.json

Genesis!:
in order not to conflict with the data of the main chain, it is recommended to establish your own private chain data folder. On my computer, I built an ethdbspace as the Ethereum experimental work area on disk e, and created a privchain folder as the data storage folder of my first private chain
here, in order to facilitate management, I put genesis.json under the ethdbspace folder
open the windows command line

type the following command
geth -- dataDir & quot; E:\ EthDBSpace\ PrivChain" init " E:\ EthDBSpace\ genesis.json" 1

– the dataDir option is used to specify the data directory of our private chain. On my computer, it's E: &; EthDBSpace\ Privchain
init is the genesis command, followed by our Genesis configuration file path
after clicking enter, the execution result is as follows

at this time, genesis is complete
create an account:
in order to do experiments on the private chain, we also need to create our own account on the private chain
windows command line, type
geth -- dataDir & quot; E:\ EthDBSpace\ PrivChain" Console1

we have successfully created the world, so when we enter the client for the second time, we do not need to specify the genesis.json file path again, but directly – dataDir to indicate the private link data path
the console command is used to open the command line of geth
after clicking enter, the client will be initialized for a while. After the command prompt appears, it means that you have entered the geth console

type
personal. Newaccount (& #) in the geth command line; Your Password') 1

the personal.newaccount function is used to create an account, in which the parameter is the account password.
after clicking enter, the account creation address will be listed in green below the command, that is, the public key of the account.
we can check the account balance first, In the geth command line, type:
My = eth. Accounts [0]
eth. Getbalance (my) 12

My = eth. Accounts [0]. The purpose of this sentence is to assign the account address we just created to my variable. This can simplify the subsequent account address input. Among them, eth.accounts records the addresses of all accounts on this machine. Since we created an account for the first time, there is only one account on the computer at present. So here we use eth. Accounts [0] to extract the first account address. The eth.getbalance function is used to obtain the account balance, and the parameters are filled in the account address. The my variable here records the address of the first account

I hope my answer can help you
3.
top ten Ethereum mining software in 2020

in terms of market value, Ethereum is the second largest cryptocurrency, second only to bitcoin. Ethereum's popularity among the holders has increased rapidly because it can build the whole decentralized ecosystem and applications on top of its blockchain. As Ethereum is friendly to GPU mining, Ethereum is a good choice for PC users (especially those with AMD high-end graphics cards). However, 24ker should also warn readers that at this time point, Ethereum's price is $241, which means that even if you use radon VII (90mh / s), your weekly profit is less than $7, The annual profit is about $339. However, considering the potential value-added space of Ethereum, if the price can return to the healthy range of $500-600, it means that your radon will be back in one year

if you already have Ethereum mining hardware and an effective wallet, all you have to do is to find the best eth mining software, which will help you manage the mining work effectively

in this article, we will introce the features, advantages and compatible operating systems. But before we get there... Let's talk about the basics

why Ethereum

unlike traditional currencies, Ethernet operates on the public ledger system, which makes mining itself the core power of Ethereum network. When miners receive the transaction data sent by other members of the network, they assemble them into a structure called Merkle tree, and then try to find an acceptable hash value

only one hash will be returned for each dataset, and the hash value cannot be used to dece the original data. Its purpose is to effectively ensure that the block information is not tampered with. Moreover, if someone changes even one number in any long transaction string, the output hash value will be completely different, and false transaction or fraud will be eliminated

as you can see, if there is no Ethereum mining, Ethereum network will be paralyzed immediately. Therefore, participating in Ethereum mining is not only the mining revenue, but also the support for the operation and growth of Ethereum

what is mining software< In short, mining software is a program that uses a computer graphics card (GPU) as a resource to solve complex mathematical equations. Once the equation is solved, the data is added to the rest of the blockchain

the mining software will monitor the input and output of the hardware, and display statistical data to you, such as miner speed, fan speed, temperature and hash rate

the Ethereum mining software described in this article can be connected to many available Ethereum mining pools

Ethereum mine pool

Ethereum mine pool is a resource area that is equally distributed and shared among miners. Nowadays, it has become too difficult for a person to dig a mine, so it is necessary to use the way of mining pool to fight in groups

today, Ethereum is one of the most famous choice of Ethereum mines. The pool allows its users to remain anonymous and pay only a small 1% mining fee<

top ten Ethereum mining software:

1-ethminer (Ethereum Royal)

it can be seen from the name that ethminer is specially designed for mining Ethereum, and currently supports Linux, MAC and windows. Make sure to download the version corresponding to the device's operating system

in addition to Ethereum, you can also use ethminer to mine all tokens according to ethash algorithm, including expand, elaism, metaverse, musicoin, Pirl, Ethereum classic, etc< Ethminer is a command line software. This means that you can start it from the Linux console or the windows command prompt, or you can use the windows CMD / batch file or the Linux bash script to create a shortcut to the preset command line<

(2-cgminer)

this program was released in 2011. Because it is compatible with three different mining hardware (ASIC, FPGA and GPU), it is still one of the most popular mining software options. CG miner is an open source Ethereum miner written in C language, and provides support and binary files for openwrt router, RPI, etc

the advantages of cgminer include the ability to match your hash rate with zero latency extension, remote interface function and advanced detection of new blocks. The software can be used for Mac, Linux and windows

3 - Claymore (maximum efficiency)

if you are looking for the most efficient Ethereum mining software, please consider using Claymore's al Ethereum mining machine, which can speed up to any hash rate without sacrificing the mining speed

Claymore recently released v12.0 upgrade, which reces the equipment cost of al mining mode from 2% to 1%. The upgrade also offers 3gb and 2GB cards with zero development costs. However, Claymore al miner can't run on Mac. At present, it can only run on Linux and windows. But it supports both NVIDIA and AMD cards

other coins you can mine with this program include siacoin, lbry, decred and Pascal< If you are not familiar with cryptocurrency mining and are looking for the simplest Ethereum mining software, please check wineth

the software is based on the ethminer that we have just evaluated, but wineth provides users with a more simple and easy to understand GUI, combined with "intelligent" algorithm, which will provide the configuration that can ensure the best performance on the new user's hardware

as can be seen from the name, wineth is only compatible with windows devices, and you can find it in the windows 10 app store.
4. If the plaintiff brings civil action in criminal proceedings and the defendant is willing to actively compensate, then the court will rece the sentencing of the defendant. Therefore, it is not important for the defendant to use the money defrauded, but whether he is willing to make compensation and whether he has the ability to make compensation.
5. You can only dig it. If you can't, you can only buy it by auction house. It's a little less than 10 in 2 hours. Where did you dig it? You can go to Huanxing mountain and xilisus. The output is still good. You can also find the transformation master's Alchemy to transform AOJIN ingot, which can be critical hit.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750