The top student must be diligent.

Chapter 130 Mining Software

Chapter 130 Mining Software
What is the use of prime factorization?

Well, of course it is used to attack the RSA encryption system.

Of course, this kind of thing is illegal, and Xiao Yi would definitely not do it.

However, this method has another use, which is in mining Bitcoin.

As the first blockchain cryptocurrency on earth, Bitcoin uses a very simple mining method, which is to decompose prime factors.

The mining process has a [mining area]. A mining area has a certain number of bitcoins. Miners dig and dig in this mining area. Then if a miner digs out a key value, which is the factor they want to find, then this miner can get the reward of this block. Of course, this kind of miner belongs to solo mining. If he is lucky, he may dig one accurately every time - but the price is that the probability of winning is lower than winning the first prize in the lottery.

Another mining method is a mining pool, where everyone mines together and finally rewards a certain amount of bitcoins based on the contribution each miner provides during the process.

As for their contribution, it is evaluated based on the computing power they provide.

Naturally, the greater the computing power provided, the greater the contribution, and the more bitcoins you will get in the end.

The technical term is proof of work (poW).

So the mining machines of those miners are equipped with rows of graphics cards plugged in.

As for why we need to use a graphics card, it is because the computing power of the graphics card is very strong, much higher than that of the CPU.

In addition to the fact that the higher the computing power, the greater the contribution to mining, there is another point, which is the algorithm advantage.

By continuously optimizing the mining algorithm, you can continuously improve the mining efficiency, that is, increase your workload in the process of mining a block, and thus get more Bitcoin rewards in the end.

And right now...

"After combining the circle method with Xiao's expansion, it seems to have a very powerful efficiency in factoring prime factors..."

"The main thing is that it is very simple to decompose."

Xiao Yi narrowed his eyes.

The circle method itself can be used to decompose prime factors, but it is less efficient than the sieve method. However, his Xiao expansion already contains the principle of classification sieve.

Therefore, by combining the two, he accidentally came up with a particularly convenient method of prime factorization.

As for why it is convenient?
That's because the process of factoring is very simple. In other words, if it is converted into a computer program, the computing power it occupies during its operation will be quite small, at least compared to other prime factor decomposition programs.

Therefore, it is possible to increase the workload in mining in disguise, thereby increasing the speed of mining.

Thinking of this, Xiao Yi couldn't help but raise his eyebrows.

Previously, in addition to planning to build a blockchain, he also planned to develop a mining software to practice.

Mining software does not require the establishment of a mining farm, it only needs to earn transaction fees from the miners.

This was exactly what Xiao Yi wanted. After all, he didn't have time to set up a bunch of hosts for mining, and he also had to maintain them. The power supply bureau might find out that his electricity consumption was too high and shut down his mine directly.

I heard that many mine owners in China have gradually moved their mines abroad because of this kind of thing.

Of course, mining is not completely banned in China, it mainly depends on the regulations of different regions.

In short, being a mine boss yourself is definitely not feasible, so the best way is to develop an algorithm and let other miners mine for you, and you earn commissions. This will obviously be much more comfortable.

And you can also make money from all the mine owners in the world.

Ok……

"Done!"

Xiao Yi fixed his gaze and began to write the program.

After so many days of research and study, he has a deep understanding of programming, and writing a mining software is not difficult.

The most core part is the mining algorithm.

Of course, now that the mathematical principles have been figured out, it is not difficult for Xiao Yi to come up with the algorithm.

However, as this algorithm is the core part of his software, in order to avoid the leakage of the algorithm, he also had to write a protection program to prevent it from being copied by others.

Algorithms cannot be patented, they can only be well protected.

In addition to the core algorithm system, there must also be a user system.

This is very simple, it is just an account management. You can just copy and paste one on hithub. Of course, Xiao Yi decided to write one by himself to exercise his ability.

Well... apart from the above parts, the most important thing is to have a charging system.

After referring to the charging methods of various mining software, Xiao Yi finally decided to charge two fees. The first is the software usage fee, which is 50 yuan for each mining machine.

It is said that the largest mining farm in China is the Bitmain mining farm in Sichuan Province, which has hundreds of thousands of mining machines. This means that if all of the mining farms use his algorithms, it will be able to bring him tens of millions in revenue.

There may be tens of millions of mining machines around the world, which means hundreds of millions or even billions of dollars in revenue.
hiss……

Thinking of this, Xiao Yi couldn't help but have an idea similar to the one Yuri had at the beginning of the movie "Lord of War": The question is, how can I get all the mining owners to use my software to mine?
Ahem, stop dreaming for now.
In addition to the software usage fee, there is the mining commission, which is the same as other software, charging one percent of the mining income.
Finally, there is the server system. After all, since it involves accounts, the system naturally needs to use the server.

This can also ensure the security of his algorithm to the greatest extent to prevent it from being leaked.

Finally, there is distributed computing power scheduling. When the mine owners log in to his software and start mining, he can call on the computing power of the mine owners' mining machines and then start mining using his algorithm.

"Well...it's actually quite complicated."

After thinking about the various functional parts required by this software, Xiao Yi couldn't help but sigh that nothing is simple.

And there is another key question: after the software is written, how should he promote it to the outside world?
This problem is really difficult to deal with.

Ok……

He can’t just use his own account on Weibo to say: [I have developed a mining software, everyone come and use it].

Forget it, this may seem like advertising on Weibo.

He still takes care of his reputation.

Forget it, don’t think too much about it, everything will work out when the time comes.

Let’s write the software first.

So, in the following time, Xiao Yi began to spend his time on this mining software, trying to write it before returning to China.

Time passed quickly, until about a week later. …

"Xiao Yi, I have finished organizing my paper. Please take a look. Do you have any questions?"

Xiao Yi came to Zhang Yitang's office, and the latter picked up a printed paper on the desk and handed it to Xiao Yi.

Xiao Yi took the paper and began to read it.

Ok……

I have to say that different mathematicians write papers in somewhat different ways. Zhang Yitang, for example, likes to lay out all the conditions and complete proof ideas first, and then deduce and prove the rest step by step.

Tao's ideas gradually unfold as the proof progresses.

Different writing styles will also provide different reading experiences for readers.

But...

It made no difference to Xiao Yi, he could understand it anyway.

Just like that, reading it step by step, Xiao Yi finally found some typos and some citation errors.

When Zhang Yitang discovered that there were still these errors in his paper, he couldn't help feeling embarrassed. Finally, with the help of Xiao Yi, he corrected the paper.

"It really has to be you young people."

After correcting the paper, Zhang Yitang couldn't help but sigh.

I am even having trouble organizing my thesis.

In contrast, Xiao Yi not only reads the paper quickly, but also finds errors very accurately.

I heard that Xiao Yi's papers submitted to journals had never been returned by the editor to require revisions for typos or unclear parts in the process. Just based on this point, he felt ashamed of himself.

Xiao Yi didn't know what to say, he just smiled and said, "I will get older too."

Zhang Yitang shook his head, "I probably won't see that day."

"Okay, let's not talk too much, let's upload the paper now."

He then logged into arxiv and started uploading papers.

Of course, because they are jointly publishing, there is also an option to add authors during the paper publishing process.

They are listed in the same order, and since Xiao Yi's first letter is before Zhang Yitang's first letter, Xiao Yi's name is also ranked first.

But since they are all the same, there is no difference.

Finally, click OK, and the paper will enter the system for automatic review, and it will probably be sent out soon.

"It's finally done."

Zhang Yitang let out a long sigh, then smiled and said to Xiao Yi: "Basically there will be nothing to do next... Well, maybe the mathematics community will be a little lively for a while."

However, it is estimated that it will not be as exciting as the paper on Xiao Yi's polynomial expansion published some time ago.

After all, after the expansion of Shaw polynomials, the proof of the Landau-Siegel zero-point conjecture was basically a countdown, and they were just advancing the countdown.

"In addition, we may need to make some reports or something. Do you want to come with us then?" Zhang Yitang asked.

Xiao Yi was stunned. Report again?
He immediately waved his hands repeatedly: "No, no, I've already given two reports last month, let me take a break, you can go."

Zhang Yitang burst out laughing. Giving a report is indeed a tiring task. However, if the report is about the proof of the Landau-Siegel zero-point conjecture, then it can be considered an honor.
This kid is still unwilling?
But suddenly Zhang Yitang was startled and remembered what the two reports Xiao Yi gave last month were.

Twin prime conjecture, Xiao polynomial expansion...

Sorry for disturbing you.

The Landau-Siegel zero-point conjecture is really nothing, especially since it was completed based on the Shaw expansion...

Feeling a bit awkward, Zhang Yitang decided to change the subject: "What have you been researching these days? Combining the Yuan Method with the Xiao Method?"

"Uh..." Xiao Yi thought for a moment and said, "I'm writing a Bitcoin mining software."

"Write...what to write?" Zhang Yitang was stunned and didn't react.

Xiao Yi had no choice but to repeat it.

Now Zhang Yitang finally understood.

He looked at the young man in front of him with a bit of disbelief.

Not only is he so proficient in mathematics, but now he is also interested in developing his career in computers?
"Could it be that your software was written using classification screening?" he couldn't help but ask.

Xiao Yi replied: "Well... there is also a certain principle of classification and screening in it. It can be regarded as a by-product of my research over the past few days. It is quite effective when used in prime factorization."

Byproducts...

Zhang Yitang's eyes twitched.

He didn't ask any more questions. After all, he knew that this so-called "by-product" should be the core mathematical principle of the software.

After thinking for a while, he asked, "How is the software written? Have you encountered any problems?"

"Not really." Xiao Yi waved his hand.

He may not be very skilled at the beginning, but as he writes, he gradually gets into the state.

"It's just... I'm now thinking about how to promote this software. It feels a bit troublesome."

Xiao Yi was still a little worried about this problem.

However, Zhang Yitang said, "If this is the problem... I happen to know a Chinese boss who specializes in mining. His mine seems to have more than 30,000 mining machines, which is also a large-scale mine in China."

"I can introduce you to it."

Hearing this, Xiao Yi was stunned.

Is there such a thing?

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like