How many nodes does Ethereum private chain need at least
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%!
public chain: open to all, anyone can participate
private chain: open to indivial indivials or entities
alliance chain: open to specific organizations
the first stage: the basic theory of blockchain technology is suitable for students who have various needs for blockchain technology. It is the most comprehensive and up-to-date curriculum system at present. With the rapid appreciation of bitcoin, blockchain technology has become more and more sought after and studied by people from all walks of life, Or from the perspective of technology research and development, this set of courses are very suitable for you to download and learn. Schele: Lesson 1 ICO & amp; EOS understands the risks of ICO and ICO projects, How to judge whether an ICO is reliable lesson 2 the past and present of bitcoin blockchain understand the origin and related background knowledge of bitcoin and blockchain lesson 3 cryptography master the necessary knowledge of blockchain related cryptography lesson 4 bitcoin transaction in-depth discussion of what happened behind bitcoin transaction lesson 5 block generation and link in-depth discussion of how blockchain is generated Lesson 6 bifurcation principle of blockchain and how to operate the coins in hand before and after the bifurcation Lesson 7 how does the wallet know how much money I have and how to hold the coins in hand more safely Lesson 8 mining understanding the history and principle of mining, Experience mining in bitcoin regression test environment Lesson 9 blockchain security, understand the security problems of blockchain, how to "steal" other people's money Lesson 10 smart contract learn the principle of blockchain 2.0 smart contract, understand how the smart contract is written and run
2
stage 2: introction to blockchain technology research and development, Blockchain technology is a very popular new technology at present, which is highly praised by large IT companies and experts all over the world. Not long ago, the blockchain technology platform enterprise Ethereum Alliance (EEA) announced its formal establishment, and nearly 30 giants including JPMorgan Chase, Microsoft and Intel joined in. Extremely optimistic about the future of Ethereum. At present, the term blockchain is very popular, but few people really understand blockchain technology. If you no longer want to be a onlooker, you are welcome to learn this course. After learning this course, you can master the following contents: deeply master the blockchain technology, understand what mining is, learn how to build your own blockchain network, how to publish your own applications on your own blockchain network or enterprise Ethernet network, and how to write smart contracts, Blockchain technology applications. This course is based on practical teaching, mainly teaching front-line practical skills, to ensure that students can quickly learn to apply! Timetable: 1. Introction to blockchain 1.1 introction to blockchain technology 1.2 blockchain platform, Ethereum, an open source blockchain technology platform 1.3 Ethereum working principle, Ethereum virtual machine, account 1.4 what can Ethereum do, Blockchain technology application appreciation 1.5 Ethereum white paper 2. Client installation and operation 2.1 client installation 2.2 Ethereum account creation and management 2.3 multi signature account 2.4 Ethereum 3. Ethereum network 3.1 Ethernet network type 3.2 building local private network, User defined Genesis block 3.3 mining on local private network 4. Introction to smart contract programming 4.1 Ethereum multiple private nodes networking 4.2 multiple nodes, Introction to writing, deploying and using smart contracts 4.3 introction to development language solidy 4.4 introction to building development environment 4.5 basic variable types 5.solidy complex variable types 5.1 enumeration 5.2 structure 5.3 mapping 5.4 delete 5.5 common attributes and methods of block and transaction 6.solidy method 6.1 anonymous method 6.2 modifier 7.solidy inheritance and event 8.solidid Y programming practice 8.1 smart contract -- "vote" 9.solidy programming practice 9.1 smart contract -- "create your own token" 9.2 smart contract -- "public auction" 10.decentralized application DAPP project practice 10.1 Ethereum Web3 interface 10.2 building Ethereum online wallet 10.3 building the development framework of truss on Windows
3
Level 3 In addition to video tutorials, we have also collected a number of classic e-books for students to learn and understand the knowledge of blockchain technology. These e-books are expensive, and published relatively new, reading format is very rich, not just PDF kind, suitable for mobile phone installation of common reading software. Lesson schele: 1. How blockchain will redefine the world; 2. Blockchain Society: decoding global application and investment cases of blockchain; 3. Blockchain Revolution: how bitcoin underlying technology changes currency, technology and technology Business and the world 4. Blockchain: from digital currency to credit society 5. Blockchain: technology driven finance 6. Blockchain: Reshaping economy and the world 7. Illustrated blockchain 8. The age of artificial intelligence, A book reads block chain finance "(Internet plus era enterprise management real battle Series) 9." block chain technology guide "10." block chain: define the new pattern of future finance and economy "11." business block chain: open a new era of encryption economy "12." Accenture ":" block chain + "13." bitcoin "
The public chain is open to all, the private chain is open to indivials who meet specific conditions, and the alliance chain is open to authorized organizations or institutions
public chain, also known as public blockchains, refers to a consensus blockchain that can be read by anyone in the world, sent by anyone, and effectively confirmed
private chain, also known as fully private blockchains, refers to the blockchain in which the write permission is completely in the hands of an organization, and all nodes participating in the blockchain will be strictly controlled
alliance chain, or alliance blockchains, refers to a blockchain that is managed by several organizations or institutions. Each organization or institution controls one or more nodes and records transaction data together. Only these organizations and institutions can read, write and send transaction data in the alliance chain
blockchain has three types: public chain, private chain and alliance chain
blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies
blockchain is an important concept of bitcoin. It is essentially a disintermediated database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains the information of a bitcoin network transaction, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
< H2 > reference: blockchain networkfirst, 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
A: generally, there is only one account address, otherwise there will be an error! Blockchain itself is unique. If there are multiple account addresses on one node, it violates the fundamental principle of blockchain!
