How to mine sec public chain
BCC mining and bitcoin mining are the same, the only difference is the dynamic mining strategy
when BCC was just born, it continued the mining difficulty of BTC. The miners lost money for mining out of belief. At the beginning of bitcoin's birth, they even proced a block within 12 hours. In order to ensure the stable development of BCC network, BCC adopted the strategy of dynamic adjustment of mining difficulty, which can ensure that the block speed of BCC can well adapt to the decline of computing power
BTC is a difficulty adjustment for every 2016 blocks, while BCC adds a rule of "if the MTP interval of the past six blocks is greater than 12 hours, the next difficulty will be reced by 20%". At present, the mining difficulty of BCC has been reced a lot, which is about 13% of that of BTC. BCC's current block speed is close to an average of 10 minutes out of a block
< H2 > extended data:
mining principle of BCC:
the previous life of BCC was bitcoin. Before the bifurcation, the data stored in the blockchain and the running software were compatible with all bitcoin nodes. After the moment of bifurcation, it began to execute new code and package large blocks, thus forming a hard bifurcation on the chain. At present, BCC is still a futures, which will be officially split into a new currency on August 1
security problems faced by bitcoin:
the first security threat of users comes from the user activated hard fork or uahf - all BTC holders who control their private key get an equal number of BCCs at the time of fork
that's the problem: there are many domestic trading platforms designed for bitcoin, but it should be noted that many investors use third-party transactions or unsupported software wallets, but the investors themselves do not control their private keys, so it is the third-party trading platform that finally receives the new currency. Some platforms will inform customers, while others will not
many investors have transferred their assets to the supported bitcoin wallet a few hours before the hard fork, while investors without independent wallets have to wait
there are many opportunities for phishing attacks or other malicious attacks, especially considering that most successful malicious attacks against bitcoin are focused on controlling private key or hacker exchange, rather than directly attacking currency. About the security of bitcoin, you can also add your own wechat seciot to communicate
BCC is very similar to BTC in technology, adding greater blocking and transaction replay protection, and the latter is in a new form of signature. Bitcoin cash transactions use a new sight_ Fork ID, which prevents bitcoin cash transactions from being replayed on bitcoin blocks
the new hash signature also brings additional benefits, such as the input value signature improves the security of hardware wallet and eliminates the second hash problem. In short, it is theoretically safer than BTC, and its purpose is to start and use faster and more convenient
However, BCC does face a major threat, that is, most attacks, that is, the security risk of a single entity acquiring more than 51% of the network processing power. At the same time, the common enemy shared by the two blockchains is interrupt attack. Most attackers use network interrupt to split the network to improve the probability of successat the same time, partition network and network delay attack are threats. According to the latest research paper, for the so-called distributed network, it is easier than assumed, and 20% of bitcoin nodes are hosted in less than 100 IP prefixes
however, some Shanzhai coins are purely tools for developers and users to earn money. There are two main ways to make money by using virtual coins: one is mining. For example, if you want to obtain bitcoin, you must use a professional ASIC miner to mine (Avalon miner), and the bitcoin obtained from mining can be traded on the trading platform; The other is trading on the trading platform and making money by using the price difference
first of all, mining is the main way to obtain bitcoin, but the current threshold of mining is relatively high. If you choose to mine by yourself, first you need to understand certain technology, then download the bitcoin client and mine by yourself according to the online bitcoin mining tutorial
however, in theory, bitcoin can still be mined with computers or graphics cards. However, e to the development of mining instry in recent years, the whole network computing power of bitcoin is extremely terrible (more than supercomputers), so if you want to mine with computers or graphics cards, you can't find bitcoin, If you want to dig bitcoin, you still need to buy mining machines. Now the better mainstream mining machines in the market have to be tens of thousands. Of course, there are cheap second-hand mining machines, but these second-hand mining machines are all obsolete ones, and the electricity cost of mining is relatively high
in addition to the second way of direct purchase, the digital currency exchange is a special place for bitcoin trading. If you want to own a bitcoin, you can buy it directly with money. However, it should be noted that there are many digital currency exchanges in the market at present. Many small exchanges are specialized in cutting users and eating customer losses for a living. Therefore, when choosing an exchange, it is better to focus on the head exchange. For example, Hufu, one of the head exchanges in China, I have been using it for nearly two years, and it is very stable and safe.
many new users believe that the sole purpose of mining is to generate ether in a way that does not require a central issuer (see our guide "what is ether?"). It's true. The token of Ethereum is proced in the process of mining, with a mining rate of 5 Ethereum coins per piece. But mining is at least as important. Usually, banks are responsible for keeping accurate records of transactions. They make sure that money is not created out of thin air and that users don't cheat and spend money many times. However, blockchain introces a new way to keep records, the whole network instead of intermediary, to verify transactions and add them to the public ledger
Ethereum mining
although "no trust" or "trust minimization" monetary system is the goal, there are still people who need to ensure the security of financial records and ensure that no one cheats. Mining is one of the innovations that makes decentralized records possible. Miners have reached a consensus on the history of transactions in terms of preventing fraud (especially double spending on ether) - an interesting issue that hasn't been addressed before the decentralized currency works on the blockchain. While Ethereum is looking at other ways to reach a consensus on the effectiveness of the deal, mining currently keeps the platform together
how mining works
today, the mining process of Ethereum is almost the same as that of bitcoin. For each transaction, the miner can use the computer to guess the answer repeatedly and quickly until one of them wins. More specifically, the miner will run the unique header metadata (including time stamp and software version) of the block through the hash function (which will return a fixed length, unordered string of numbers and letters, which appears to be random), changing only the 'nonce value', which will affect the hash value of the result
if the miner finds a hash that matches the current target, the miner will be granted ether and broadcast the block across the network for each node to verify and add to their own ledger . If miner B finds the hash, miner a stops working on the current block and repeats the process for the next block. It's hard for miners to cheat in this game. There is no way to fake the work and come up with the right answer to the puzzle. That's why solving puzzles is called "proof of work."
on the other hand, others have little time to verify whether the hash value is correct, which is exactly what each node does. About every 12-15 seconds, a miner finds a stone. If the miner starts to solve the puzzle faster or slower than this, the algorithm will automatically re adjust the difficulty of the problem so that the miner can rebound to about 12 seconds of solution time
miners earn these ethers randomly, and their profitability depends on their luck and the computing power they put in. The specific workload verification algorithm used by Ethereum is called "ethash", which aims to require more memory, making it difficult to mine with expensive ASIC. Special mining chips are now the only profitable way to mine bitcoin
in a sense, ethash may have achieved this goal successfully, because dedicated ASIC is not available for Ethereum (at least not yet). In addition, as Ethereum aims to shift from proof of work mining to "proof of equity" (which we will discuss below), buying ASIC may not be a wise choice because it may not prove useful for a long time< However, Ethereum may never need miners. Developers plan to abandon proof of work, the algorithm currently used by the network to determine which transactions are valid and protect them from tampering to support proof of equity, which is guaranteed by token owners. If and when the algorithm is launched, proof of equity can become a means to achieve distributed consensus, and the consensus uses less resources.
new transactions need to be included in a block with mathematical workload proof before they can be confirmed. This kind of proof is hard to generate because it can only be generated by trying billions of calculations per second. Miners need to run these calculations before their blocks are accepted and rewarded. As more people start mining, the difficulty of finding effective blocks will be automatically increased by the network to ensure that the average time to find a block remains at 10 minutes. Therefore, the competition for mining is very fierce, and no indivial miner can control the content contained in the block chain
workload proof is also designed to rely on previous blocks, which forces the time sequence of block chain. This design makes it extremely difficult to cancel previous transactions, because the workload proof of all subsequent blocks needs to be recalculated. When two blocks are found at the same time, the miner will process the first block received, and once the next block is found, it will be transferred to the longest block chain. This ensures that the mining process maintains a global consistency based on processing capacity
bitcoin miners can neither increase their rewards by cheating, nor deal with the fraulent transactions that destroy the bitcoin network, because all bitcoin nodes will reject the blocks containing invalid data that violate the bitcoin protocol rules. Therefore, even if not all bitcoin miners can be trusted, the bitcoin network is still secure.