Build the private chain of Ubuntu Ethereum
Publish: 2021-05-27 05:29:32
1. Minerhub's wondermole system is a "diskless" mining system based on Linux kernel, which is deeply customized for miners' friends
solve the problem in an all-round way
1. Miracle Moore's Linux kernel has been deeply optimized for more than 200 times to avoid the problem that some hardware failures will directly lead to system crash
2. In view of the situation that many mining software in the market can't connect to the mining pool after restart, miracle Moore perfectly solves the problem by using the function of resetting the image after each restart of the mining machine
3. After testing, the average computing power error and delay share of miracle Moore system in each mine pool are not more than 1.5%, which significantly improves the mining revenue of users
4. After numerous experiments, miracle Moore development team has obtained the optimized VBIOS overclocking setting of graphics card. Compared with the traditional overclocking method, it can further improve the computing power of graphics card by 5% and rece the power consumption by 15%!
solve the problem in an all-round way
1. Miracle Moore's Linux kernel has been deeply optimized for more than 200 times to avoid the problem that some hardware failures will directly lead to system crash
2. In view of the situation that many mining software in the market can't connect to the mining pool after restart, miracle Moore perfectly solves the problem by using the function of resetting the image after each restart of the mining machine
3. After testing, the average computing power error and delay share of miracle Moore system in each mine pool are not more than 1.5%, which significantly improves the mining revenue of users
4. After numerous experiments, miracle Moore development team has obtained the optimized VBIOS overclocking setting of graphics card. Compared with the traditional overclocking method, it can further improve the computing power of graphics card by 5% and rece the power consumption by 15%!
2. This needs to be recharged, but we must pay attention to the risk. This chain is not particularly mainstream. It may be the capital disk or counterfeit currency.
3. The first part: build your own blockchain directory from 0 to 1:
1.1 start with imitation, First knowledge of blockchain
1.2 basis of blockchain: analysis of consensus mechanism
1.3 design principle and method of consensus mechanism
1.4 how to quickly clone a blockchain
1.5 how to turn bitcoin into its own private chain - bifurcated bitcoin
1.6 how to turn Ethereum into its own private chain - bifurcated Ethereum
1.7 how to turn ripple into its own private chain - bifurcated Ripple
1.8 how to turn stellar into a private chain of its own, How to develop your own blockchain wallet (windows and MAC) 1.11 how to develop your own blockchain wallet (Android and IOS) 1.12 how to develop an online wallet similar to blockchain.info 1.13 how to increase the security and robustness of your own blockchain network 1.14 how to use coin to handle recharge withdrawal business
1.15 How to use the fund pool to build a mixed currency service
1.16 how to design a new mining algorithm
this process is generally used, but it is also very difficult for ordinary people to complete. The mature projects of blockchain include Ethereum, decent, bitcoin and so on.
1.1 start with imitation, First knowledge of blockchain
1.2 basis of blockchain: analysis of consensus mechanism
1.3 design principle and method of consensus mechanism
1.4 how to quickly clone a blockchain
1.5 how to turn bitcoin into its own private chain - bifurcated bitcoin
1.6 how to turn Ethereum into its own private chain - bifurcated Ethereum
1.7 how to turn ripple into its own private chain - bifurcated Ripple
1.8 how to turn stellar into a private chain of its own, How to develop your own blockchain wallet (windows and MAC) 1.11 how to develop your own blockchain wallet (Android and IOS) 1.12 how to develop an online wallet similar to blockchain.info 1.13 how to increase the security and robustness of your own blockchain network 1.14 how to use coin to handle recharge withdrawal business
1.15 How to use the fund pool to build a mixed currency service
1.16 how to design a new mining algorithm
this process is generally used, but it is also very difficult for ordinary people to complete. The mature projects of blockchain include Ethereum, decent, bitcoin and so on.
4. Wait, Ethereum is a public chain. Do you mean the token issued above? You can set the total amount
5. Build / env.sh go run build / ci.go install. / CMD / geth
make: * * [geth] error 1
there is no such directory, or the directory has insufficient permissions
make: * * [geth] error 1
there is no such directory, or the directory has insufficient permissions
6. Yes, but it is better to use overseas servers. In addition, the server configuration should be medium or above.
7. 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
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
8. Unknown_Error
9. Article 12 when accepting an appraisal entrustment, a judicial appraisal institution shall require the consignor to issue an appraisal entrustment letter, provide the identity certificate of the consignor, and provide the appraisal materials required for the matters entrusted by the judicial appraisal. Where the principal entrusts another person to act as agent, it shall require a power of attorney
the identification materials referred to in this general rule include inspection materials and identification data. Test materials refer to biological test materials and non biological test materials related to identification matters; Identification data refer to the records related to identification items on various carriers
the power of attorney shall specify the name of the client, the name of the judicial appraisal institution to be entrusted, the matters entrusted for appraisal, the purpose of appraisal and the appraisal requirements
if the entrusted appraisal item belongs to re appraisal, it should be indicated in the power of attorney
Article 13 the client shall provide authentic, complete and sufficient appraisal materials to the judicial appraisal institution, and shall be responsible for the authenticity and legality of the appraisal materials
the client shall not require or imply that the forensic appraisal institution and the forensic appraiser provide expert opinions according to their intention or specific purpose
Article 14 after receiving the entrustment, a judicial appraisal institution shall review the entrusted appraisal matters, and accept the appraisal entrustment that belongs to the scope of its judicial appraisal business, the purpose of the entrusted appraisal matters and the appraisal requirements are legal, and the appraisal materials provided are true, complete and sufficient
if the appraisal materials provided are incomplete or insufficient, the judicial appraisal institution may require the client to supplement them; If the client has completed the supplement, it may accept it.
the identification materials referred to in this general rule include inspection materials and identification data. Test materials refer to biological test materials and non biological test materials related to identification matters; Identification data refer to the records related to identification items on various carriers
the power of attorney shall specify the name of the client, the name of the judicial appraisal institution to be entrusted, the matters entrusted for appraisal, the purpose of appraisal and the appraisal requirements
if the entrusted appraisal item belongs to re appraisal, it should be indicated in the power of attorney
Article 13 the client shall provide authentic, complete and sufficient appraisal materials to the judicial appraisal institution, and shall be responsible for the authenticity and legality of the appraisal materials
the client shall not require or imply that the forensic appraisal institution and the forensic appraiser provide expert opinions according to their intention or specific purpose
Article 14 after receiving the entrustment, a judicial appraisal institution shall review the entrusted appraisal matters, and accept the appraisal entrustment that belongs to the scope of its judicial appraisal business, the purpose of the entrusted appraisal matters and the appraisal requirements are legal, and the appraisal materials provided are true, complete and sufficient
if the appraisal materials provided are incomplete or insufficient, the judicial appraisal institution may require the client to supplement them; If the client has completed the supplement, it may accept it.
Hot content