Bitcoin Difficulty Chart CoinWarz

What does /r/Bitcoin think of the mining calculator I just made? It calculates changes in difficulty for more accurate revenue estimates.

What does /Bitcoin think of the mining calculator I just made? It calculates changes in difficulty for more accurate revenue estimates. submitted by top_bottom_top to Bitcoin [link] [comments]

It's Good Friday, and a millionaire is about to rise from the ashes (figuratively)! Comment to enter! [Drawing Thread #41]

Praise thy!

TL;DR of the TL;DR:
In Case You Missed It:
  • So I'm going to be unavailable for the next few hours. Quick notes, this thread will close at 0:00 UTC (8 PM ET) due to me being late by thirteen minutes. As a side effect, comment retrieval will occur, centered at 3:00 UTC (11 PM ET). Not good enough, I was not able to get online before that. 4:00 UTC (12 AM ET) it is! 5:00 UTC (1 AM). Apparently, Pydroid need a repository plug-in, whatever that means. Hope I stay up for that long.
  • The /millionairemakersmeta discussion thread is up, and be welcome to donate to the past winner.
  • UNDER CONSTRUCTION, though can't guarantee it'll get repaired.
TL;DR:
Leave a comment on this thread, replies won't count. A random user will be chosen, and everyone donates a dollar to make a millionaire. You are welcome to spread this thread via upvoting, telling friends and family, and sharing on social media!
  • [If you'd like to be reminded to donate to the winner through PM via the RemindMeBot, click here!](UNAVAILABLE)
What is this, anyway?
Three years ago, a Redditor posted an idea in /Showerthoughts that speculated the fact, if a million people picked a certain Redditor and all donated just $1, they would have the power to make someone a millionaire.
This subreddit is an embodiment of that showerthought, and the monthly drawings are the attempts to make it happen.
We need your help to keep this running, which amounts to only $1 a month to make someone's day. In the long term, that’s $120 every decade, which is much more affordable than other expenses. How does it work? Below, you will find an explanation on entering, rules to keep in mind, the selection, and other important things to note.
How to enter:
  • REQUIRED: Leave only one (1) top level comment in reply to this thread! Replying to other comments will not count. It is highly recommended to comment "RemindMe! 3 days Donation for /millionairemakers", which will remind you via PM to donate. That's it!
Important Rules:
  • Only ONE top level comment per person (replies and subsequent-level comments aren't included), but feel free to reply to other comments. Making duplicate top level comments may result in exclusion from entering. Go to me to ensure you don't accidentally double comment.
  • If, by any chance, you do double comment, delete any extra duplicates ASAP, ideally before the thread is locked, as any chosen draws found to violate this will not be eligible to win, and will be banned from the subreddit.
  • Your account must be older than 30 days with some amount of activity. Throwaway accounts with very minimal activity will also not be eligible. This is to prevent multiple entries from the same person.
How will the winner be picked and how can you donate?
  • After 24 hours, this thread will close, and the method of selection will begin.
  • While attempts to make the selection method similar to 2017’s have been performed, it still varies from the original. For an example from a prior drawing, see [Draw #36]. For archival purposes, please click here for the original selection method.
  • Method's TL;DR: Your number is assigned by sorting the comments by old, resulting in the first commenter being 1. The list of comments will be publicly released for the community to verify per their own accord. The subreddit then waits for a randomly generated block (a string of numbers) from Bitcoin's blockchain, after a preselected date and time, and calculates the winner using a formula described in the posts mentioned above.
  • Comment IDs are downloaded at 2:00 UTC, three hours following the thread being locked. There will be an official run at the time listed. If it is shown that there are any technical difficulties, the retrieval of the comments will be delayed by an hour, following the same procedures.
  • While not necessary, to determine if you are on the list, please go to your comment and save it. The comment ID is what gets recorded and selected, which looks like this: e3yxpj4.
  • The Draw is held at 16:00 UTC the Sunday after comments have been downloaded, unless stated otherwise. Using the Bitcoin blockchain, the third block yet to be mined will be used to select a winner.
  • The user who created the winning comment will be informed of their luck and will provide any information necessary for their chosen payment methods (mods will help set this up if needed).
  • The generous Reddit community donates to this lucky person, hopefully making some worthy soul a millionaire! A donation table will be stickied to the winner’s post, giving users the freedom in how they donate.
  • The lucky Redditor follows up with a thank you within the next days, revealing to the community exactly how much was raised and thanking their generosity.
Reminders
  • Take the time you have available now to setup your PayPal, Square Cash, and Google Wallet account, and/or cryptocurrency wallets. (Note: Some services may not be available depending on where you reside.)
  • To buy any cryptocurrencies, you may use Coinbase for purchases using your bank account.
  • To store cryptocurrencies, there are many accessible wallets, and if you win, you will be guided on which ones to download. For Bitcoin and Bitcoin Cash, it’s recommended to use the Electrum and Electron Cash wallet for Mac, Linux, and PC.
  • Please try your best to donate a $1, no matter who wins. Every single dollar, cent, anything really counts, so please take the effort to remember and go through with it.
  • If you want to be reminded to donate, please comment "RemindMe! 3 days Donation for /millionairemakers".
  • Spread the word! The more people who participate, the better this gets for everyone! There has been a correlation between this subreddit making it in /all and an increase in donations.
  • Try to cross-post to relevant subs, and upvote. There is a correlation between reaching /all and the amount of donations for the winner. (Please don't spam other subs though. We're not trying to make any enemies here.)
  • If you are under 18, please talk to your parents to get their consent to participate and use their help to setup a PayPal account.
MOST IMPORTANTLY
Remember, this is about generosity, making history, and coming together to make someone's life better. It takes three minutes to donate a bit to the winner, whether you're well off and want to donate a couple bucks, or going through tough times and can only donate a few pennies. Every cent counts.
Note about legality: This is NOT a lottery. You don't have to pay to enter. No prizes are given away directly by the moderators of this subreddit (the moderators will never even touch your donations; this is done voluntarily). As for gift taxes, according to the IRS, they're paid by the donor, and any donations under $15,000 is not taxable.
If a lone $1 can get you stuff, imagine the possibilities with $1,000,000. You can get stuff, stuff, and stuff!
One million dollars can help do things. Spread the word: have your friends and family comment, post the link to your friendly-neighborhood social media network, and share it to anyone interested.
Let's make an egg-cellent millionaire!
haiku
(This is an altered generic template thread.)
submitted by lilfruini to millionairemakers [link] [comments]

Bull market is back… Another wave of hacker attacks starts again?

Bull market is back… Another wave of hacker attacks starts again?

The picture from COINDESK related reports
On Aug. 2, Ethereum Classic Labs (ETC Labs) made an important announcement on ETC blockchain. ETC Labs said due to network attack, Ethereum Classic suffered a reorganization on August 1st. This has been the second attack on the Ethereum Classic Network this year.
Did renting-power cause the problem again?
In this ETC incident, one of the miners mined a large number of blocks offline. When the miner went online, due to its high computing power, and some versions of mining software did not support large-scale blockchain mergers, the consensus failed. Therefore, the entire network was out of sync, which produced an effect similar to a 51% attack. Finally, it caused the reorganization of 3693 blocks, starting at 10904147. The deposit and withdrawal between the exchanges and mining pools had to be suspended for troubleshooting during this period.
Media report shows that the blockchain reorganization may be caused by a miner (or a mining pool) disconnected during mining. Although it has been restored to normal after 15 hours of repair, it does reflect the vulnerability of the Proof of Work (PoW) network: once the computing power of the network is insufficient, the performance of one single mining pool can affect the entire network, which is neither distributed nor secure for the blockchain. Neither does it have efficiency.
At present, most consensus algorithms of blockchains are using PoW, which has been adopted over 10 years. In PoW, each miner solves a hashing problem. The probability to solve the problem successfully is proportional to the ratio of the miner’s hash power to the total hash power of mainnet.
Although PoW has been running for a long time, the attack model against PoW is very straightforward to understand, and has attracted people’s attention for a long time: such an attack, also known as double-spending attack, may happen when an attacker possesses 51% of the overall network hash power. The attacker can roll back any blocks in the blockchain by creating a longer and more difficult chain and as a result, modify the transaction information.
Since hash power can be rented to launch attacks, some top 30 projects have suffered from such attacks. In addition to this interference, the main attack method is through the computing power market such as Nice Hash. Hackers can rent hashpower to facilitate their attacks, which allows the computing power to rise rapidly in a short time and rewrite information. In January of this year, the Ethereum Classic was attacked once, and it was also the case that hackers can migrate computing power from the fiercely competitive Bitcoin and Ethereum, and use it to attack smaller projects, such as ETH Classic.

The picture shows the cost of attacking ETH Classic. It can be seen that it costs only $6,634 to attack ETH Classic for one hour.
The security of one network is no longer limited by whether miners within the main net take more than 51% of the total hash power, rather it is determined by whether the benevolent (non-hackers) miners take more than 51% of the total hash power from the pool of projects that use similar consensus algorithm. For example, the hash power of Ethereum is 176 TH/s and that of Ethereum Classic is 9 TH/s. In this way, if one diverts some hash power from Ethereum (176 TH/s) to Ethereum Classic, then one can easily launch a double-spending attack to Ethereum Classic. The hash power ratio for this attack between the two projects is 9/176 = 5.2%, which is a tiny number.

https://preview.redd.it/qj57vgmgb9f51.png?width=699&format=png&auto=webp&s=39c1efc3645f268dbf1c73e1b373d532d5461006
As one of the top 30 blockchain projects, Ethereum Classic has been attacked several times. Therefore, those small and medium-sized projects with low hash power and up-and-coming future projects are facing great potential risks. This is the reason that many emerging public chain projects abandon PoW and adopt PoS.
Proof of Stake (PoS) can prevent 51% attack but has problems of its own
In addition to PoW consensus, another well-adopted consensus algorithm is Proof of Stake (PoS). The fundamental concept is that the one who holds more tokens has the right to create the blocks. This is similar to shareholders in the stock market. The token holders also have the opportunities to get rewards. The advantages of PoS are: (i) the algorithm avoids wasting energy like that in PoW calculation; and (ii) its design determines that the PoS will not be subjected to 51% hash power attack since the algorithm requires the miner to possess tokens in order to modify the ledger. In this way, 51% attack becomes costly and meaningless.

https://preview.redd.it/rf65o1vhb9f51.png?width=685&format=png&auto=webp&s=9d7a9f9dab6ce823a224e91afa9d116310cf27e1
In terms of disadvantages, nodes face the problem of accessibility. PoS requires a permission to enter the network and nodes cannot enter and exit freely and thus lacks openness. It can easily be forked. In the long run, the algorithm is short of decentralization, and leads to the Matthew effect of accumulated advantages whereby miners with more tokens will receive more rewards and perpetuate the cycle.
More importantly, the current PoS consensus has not been verified for long-term reliability. Whether it can be as stable as the PoW system is yet to be verified. For some of the PoW public chains that are already launched, if they want to switch consensus, they need to do hard fork, which divides communities and carries out a long consensus upgrade and through which Ethereum is undergoing. Is there a safer and better solution?
QuarkChain Provide THE Solution: High TPS Protection + PoSW Consensus
For new-born projects, and some small or medium-sized projects, they all are facing the problem of power attack. For PoW-based chains, there are always some chains with lower hash power than others (ETC vs. ETH, BCH vs BTC), and thus the risk of attack is increased. In addition, the interoperability among the chains, such as cross-chain operation, is also a problem. In response, QuarkChain has designed a series of mechanisms to solve this problem. This can be summed up as a two-layer structure with a calculation power allocation and Proof of Staked Work (PoSW) consensus.
First of all, there is a layer of sharding, which can be considered as some parallel chains. Each sharding chain handles the transactions relatively independently. Such design forms the basis to ensure the performance of the entire system. To avoid security issues caused by the dilution of the hash power, we also have a root chain. The blocks of the root chain do not contain transactions, but are responsible for verifying the transactions of each shard. Relying on the hash power distribution algorithm, the hash power of the root chain will always account for 51% of the net. Each shard, on the other hand, packages their transactions according to their own consensus and transaction models.
Moreover, QuarkChain relies on flexibility that allows each shard to have different consensus and transaction models. Someone who wants to launch a double-spending attack on a shard that is already contained in the root chain must attack the block on the root chain, which requires calling the 51% hash power of the root chain. That is, if there are vertical field projects that open new shards on QuarkChain, even with insufficient hash power, an attacker must first attack the root chain if he or she wants to attack a new shard. The root chain has maintained more than 51% of the network’s hash power, which makes the attack very difficult.

https://preview.redd.it/rxpohs7jb9f51.png?width=674&format=png&auto=webp&s=e2df1307a1753542472f2b6da88e7a4022b30884

As illustrated in the diagram, if the attacker wants to attack the QuarkChain network, one would need to attack the shard and the root chain simultaneously.
PoW has achieved a high level of decentralization and has been verified for its stability for a long time. Combining PoW with the staking capability for PoS would make use of the advantages of both consensus mechanisms. That is what QuarkChain’s PoSW achieves exactly.
PoSW, which is Proof of Staked Work, is exclusively developed by QuarkChain and runs on shards. PoSW allows miners to enjoy the benefits of lower mining difficulty by staking original tokens (currently it’s 20 times lower). Conversely, if someone malicious with a high hash power and does not stake tokens on QuarkChain, he will be punishable by receiving 20 times the difficulty of the hash power, which increases the cost of attack. If the attacker stakes tokens in order to reduce the cost of attack, he/she needs to stake the corresponding amount of tokens, which may cost even more. Thus, the whole network is more secure.
Taking Ethereum Classics (ETC) as an example, if ETC uses the PoSW consensus, if there was another double-spending attack similar to the one in January, the attacker will need at least 110Th/s hash power or 650320 ETC (worth $3.2 million, and 8 TH/s hash power) to create this attack, which is far greater than the cost of the current attack on the network (8Th/s hash power) and revenue (219500 ETC).
Relying on multiple sets of security mechanisms, QuarkChain ensures its own security, while providing security for new shards and small and medium-sized projects. Its high level of flexibility also allows the projects to support different types of ledger models, transaction models, virtual machines, and token economics. Such great degrees of security and flexibility will facilitate the blockchain ecosystem to accelerate growth of innovative blockchain applications.
Learn more about QuarkChain
Website https://www.quarkchain.io
Telegram https://t.me/quarkchainio
Twitter https://twitter.com/Quark_Chain
Medium https://medium.com/quarkchain-official
Reddit https://www.reddit.com/quarkchainio/
Community https://community.quarkchain.io/
submitted by QuarkChain to quarkchainio [link] [comments]

Cryptocurrency Mining Today

Cryptocurrency Mining Today
Mining is one of the key concepts in the crypto world. Everyone who comes into contact with this sphere somehow wonders about the mining of coins. How profitable is mining in 2020, and what are the current trends?
by StealthEX
Crypto mining is a process during which a computer solves mathematical problems, resulting in the release of new blocks of information. This gives its owners a certain amount of coins, which is deposited in the total pot and registered in the public “ledger”, so-called blockchain. Machines in the network are also checking transactions with existing coins, adding this information to the blockchain as well.
As for the issue itself, the most well-known algorithm of mining is Proof-of-Work (PoW), used in the networks of Bitcoin, Litecoin, Ethereum and many others.
During the mining process, the latest transactions are verified and compiled into blocks. It is usually a series of calculations with an iteration of parameters to find a hash with the specified properties. The node which first solves this problem receives a reward. This approach was specifically designed to encourage those who provide the computing power of their mining machines to maintain the network and mine new coins.
It is usually no need for a newcomer to know and understand all the complicated details of the mining process, just how much they can earn with certain equipment and electricity costs.
Everything is designed in such a way that the complexity of calculations is steadily increasing, which then requires a constant increase in the computing power of the network. In 2009-2010, for mining bitcoin, miners only had to download and run the software on their personal computers, but very soon the network became so complicated that even with best PCs with a powerful processor, mining became unprofitable. That’s why miners started to use more effective video cards (graphics processing units or GPUs) and join them in so-called “farms”.
In most systems, the number of coins is determined in advance. Also, many networks are gradually reducing rewards for miners. Such emission restrictions were built into the algorithm to prevent inflation.
Thus, the cost of mining for smaller participants no longer pays off, which makes them turn off their hardware or switch to another coin where they can still make their profit.
In particular, on the evening of May 11, 2020, a halving took place in the bitcoin network, the reward for mining was halved, from 12.5 to 6.25 BTC. In June, the revenue of bitcoin miners decreased by 23%, to the lowest since March 2019.
However, in mid-June, the difficulty of bitcoin mining showed a record growth over the past 2.5 years. Mining the first cryptocurrency has become 15% more difficult. Although, by the beginning of July, the complexity had stabilized. The growing difficulty of mining the first cryptocurrency indicates that new miners have joined its network. Previously, some of them turned off the equipment, as it became less profitable to mine the coin due to a decrease in its cost and halving.
Now the absolute majority of new coins are generated by industrial mining. This is done by large data centers equipped with specialized computers based on the ASIC architecture. ASICs are integrated circuits that were initially optimized for a specific task, namely the mining of cryptocurrencies. They are much more productive than CPUs and video cards, and at the same time consume much less electricity. ASIC computers are the main type of equipment for the industrial production of crypto.
So now, after the halving, BTC coin mining has become even less profitable. For beginners, mining the first cryptocurrency is unlikely to be suitable. It is more often earned by large companies that have all the necessary equipment, access to cheap rental conditions, electricity and maintenance.
Hence newbies are better off starting with mining altcoins. It is even more profitable to work in a pool, that is, together with other miners. This can help to place farms in one place and negotiate a favourable price for electricity, so you can get a small but stable income dux to the total capacity of the pool.
Therefore, it has become much more difficult for regular users who have only non-specialized equipment at their disposal to generate virtual money. However, GPU developers have significantly increased the performance of their devices in recent years, so mining on a video card is still common.
Another important event that changes the situation in the mining sphere will be the hardfork of the Ethereum network with the turn to the Proof-of-Stake algorithm. For now, Ethereum is the most popular altcoin for GPU mining, but Ethereum 2.0 will not require using such powerful equipment, so then it switches to PoS, GPU owners will have to look for alternative coins to mine.
At the moment the most popular altcoins for mining on GPUs are Ethereum (ETH), Ethereum Classic (ETC), Grin (GRIN), Zcoin (XZC), Dogecoin and Ravencoin (RVN). There are actually a lot of mining programs that automatically determine which coin is more profitable to mine at the moment.
In the coming years, the market is waiting for a race of technologies. Manufacturers are investing in finding ways to increase hashing speed and reduce power consumption. Mining pools will play an increasing role. The market will also be affected by applications for mining cryptocurrencies on smartphones that require low computing power, such as Dash or Litecoin.
And remember StealthEX supports more than 250 coins and constantly updating the list, so you can easily swap your crypto haul to more popular altcoins. Our service does not require registration and allows you to remain anonymous. Why don’t you check it out? Just go to StealthEX and follow these easy steps:
✔ Choose the pair and the amount for your exchange. For example ETH to BTC.
✔ Press the “Start exchange” button.
✔ Provide the recipient address to which the coins will be transferred.
✔ Move your cryptocurrency for the exchange.
✔ Receive your coins.
Follow us on Medium, Twitter, and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [email protected].
The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Original article was posted on https://stealthex.io/blog/2020/07/28/mining-today/
submitted by Stealthex_io to StealthEX [link] [comments]

Exam week is almost over, and with it comes making a millionaire! Comment to enter! [Drawing Thread #42]

I forgot to change the leading title.

Overslept. Comment collection will be performed on 10 AM ET (14:00 UTC), following standard procedure. Someone deleted their comment, there will be a second attempt at 11 AM ET (15:00 UTC), again via standard procedures. A trial will be performed a few minutes before the set time, right at the set time, and thirty minutes after. Drawing the winner will begin at 16:00 UTC.
TL;DR of the TL;DR:
  • To enter, comment only once to this post. Replies to other comments will not count. Good luck!
In Case You Missed It:
  • The /millionairemakersmeta discussion thread is up, and be welcome to donate to the past winner.
  • UNDER CONSTRUCTION, please wait!
TL;DR:
Leave a comment on this thread, replies won't count. A random user will be chosen, and everyone donates a dollar to make a millionaire. You are welcome to spread this thread via upvoting, telling friends and family, and sharing on social media!
What is this, anyway?
Three years ago, a Redditor posted an idea in /Showerthoughts that speculated the fact, if a million people picked a certain Redditor and all donated just $1, they would have the power to make someone a millionaire.
This subreddit is an embodiment of that showerthought, and the monthly drawings are the attempts to make it happen.
We need your help to keep this running, which amounts to only $1 a month to make someone's day. In the long term, that’s $120 every decade, which is much more affordable than other expenses. How does it work? Below, you will find an explanation on entering, rules to keep in mind, the selection, and other important things to note.
How to enter:
  • REQUIRED: Leave only one (1) top level comment in reply to this thread! Replying to other comments will not count. It is highly recommended to comment "RemindMe! 3 days Donation for /millionairemakers", which will remind you via PM to donate. That's it!
Important Rules:
  • Only ONE top level comment per person (replies and subsequent-level comments aren't included), but feel free to reply to other comments. Making duplicate top level comments may result in exclusion from entering. Go to me to ensure you don't accidentally double comment.
  • If, by any chance, you do double comment, delete any extra duplicates ASAP, ideally before the thread is locked, as any chosen draws found to violate this will not be eligible to win, and will be banned from the subreddit.
  • Your account must be older than 30 days with some amount of activity. Throwaway accounts with very minimal activity will also not be eligible. This is to prevent multiple entries from the same person.
How will the winner be picked and how can you donate?
  • After 24 hours, this thread will close, and the method of selection will begin.
  • While attempts to make the selection method similar to 2017’s have been performed, it still varies from the original. For an example from a prior drawing, see [Draw #36]. For archival purposes, please click here for the original selection method.
  • Method's TL;DR: Your number is assigned by sorting the comments by old, resulting in the first commenter being 1. The list of comments will be publicly released for the community to verify per their own accord. The subreddit then waits for a randomly generated block (a string of numbers) from Bitcoin's blockchain, after a preselected date and time, and calculates the winner using a formula described in the posts mentioned above.
  • Comment IDs are downloaded at 2:00 UTC, three hours following the thread being locked. (See addendum above.) There will be an official run at the time listed. If it is shown that there are any technical difficulties, the retrieval of the comments will be delayed by an hour, following the same procedures.
  • While not necessary, to determine if you are on the list, please go to your comment and save it. The comment ID is what gets recorded and selected, which looks like this: e3yxpj4.
  • The Draw is held at 16:00 UTC the Sunday after comments have been downloaded, unless stated otherwise. Using the Bitcoin blockchain, the third block yet to be mined will be used to select a winner.
  • The user who created the winning comment will be informed of their luck and will provide any information necessary for their chosen payment methods (mods will help set this up if needed).
  • The generous Reddit community donates to this lucky person, hopefully making some worthy soul a millionaire! A donation table will be stickied to the winner’s post, giving users the freedom in how they donate.
  • The lucky Redditor follows up with a thank you within the next days, revealing to the community exactly how much was raised and thanking their generosity.
Reminders
  • Take the time you have available now to setup your PayPal, Square Cash, and Google Wallet account, and/or cryptocurrency wallets. (Note: Some services may not be available depending on where you reside.)
  • To buy any cryptocurrencies, you may use Coinbase for purchases using your bank account.
  • To store cryptocurrencies, there are many accessible wallets, and if you win, you will be guided on which ones to download. For Bitcoin and Bitcoin Cash, it’s recommended to use the Electrum and Electron Cash wallet for Mac, Linux, and PC.
  • Please try your best to donate a $1, no matter who wins. Every single dollar, cent, anything really counts, so please take the effort to remember and go through with it.
  • If you want to be reminded to donate, please comment "RemindMe! 3 days Donation for /millionairemakers".
  • Spread the word! The more people who participate, the better this gets for everyone! There has been a correlation between this subreddit making it in /all and an increase in donations.
  • Try to cross-post to relevant subs, and upvote. There is a correlation between reaching /all and the amount of donations for the winner. (Please don't spam other subs though. We're not trying to make any enemies here.)
  • If you are under 18, please talk to your parents to get their consent to participate and use their help to setup a PayPal account.
MOST IMPORTANTLY
Remember, this is about generosity, making history, and coming together to make someone's life better. It takes three minutes to donate a bit to the winner, whether you're well off and want to donate a couple bucks, or going through tough times and can only donate a few pennies. Every cent counts.
Note about legality: This is NOT a lottery. You don't have to pay to enter. No prizes are given away directly by the moderators of this subreddit (the moderators will never even touch your donations; this is done voluntarily). As for gift taxes, according to the IRS, they're paid by the donor, and any donations under $15,000 is not taxable.
If a lone $1 can get you a pencil, imagine the possibilities with $1,000,000. You can get preparation books, prepare for college, or even raise money for a graduation party!
One million dollars can help do things. Spread the word: have your friends and family comment, post the link to your friendly-neighborhood social media network, and share it to anyone interested.
Let's make a millionaire!
submitted by lilfruini to millionairemakers [link] [comments]

Where is Bitcoin Going and When?

Where is Bitcoin Going and When?

The Federal Reserve and the United States government are pumping extreme amounts of money into the economy, already totaling over $484 billion. They are doing so because it already had a goal to inflate the United States Dollar (USD) so that the market can continue to all-time highs. It has always had this goal. They do not care how much inflation goes up by now as we are going into a depression with the potential to totally crash the US economy forever. They believe the only way to save the market from going to zero or negative values is to inflate it so much that it cannot possibly crash that low. Even if the market does not dip that low, inflation serves the interest of powerful people.
The impending crash of the stock market has ramifications for Bitcoin, as, though there is no direct ongoing-correlation between the two, major movements in traditional markets will necessarily affect Bitcoin. According to the Blockchain Center’s Cryptocurrency Correlation Tool, Bitcoin is not correlated with the stock market. However, when major market movements occur, they send ripples throughout the financial ecosystem which necessary affect even ordinarily uncorrelated assets.
Therefore, Bitcoin will reach X price on X date after crashing to a price of X by X date.

Stock Market Crash

The Federal Reserve has caused some serious consternation with their release of ridiculous amounts of money in an attempt to buoy the economy. At face value, it does not seem to have any rationale or logic behind it other than keeping the economy afloat long enough for individuals to profit financially and politically. However, there is an underlying basis to what is going on which is important to understand in order to profit financially.
All markets are functionally price probing systems. They constantly undergo a price-discovery process. In a fiat system, money is an illusory and a fundamentally synthetic instrument with no intrinsic value – similar to Bitcoin. The primary difference between Bitcoin is the underlying technology which provides a slew of benefits that fiat does not. Fiat, however, has an advantage in being able to have the support of powerful nation-states which can use their might to insure the currency’s prosperity.
Traditional stock markets are composed of indices (pl. of index). Indices are non-trading market instruments which are essentially summaries of business values which comprise them. They are continuously recalculated throughout a trading day, and sometimes reflected through tradable instruments such as Exchange Traded Funds or Futures. Indices are weighted by market capitalizations of various businesses.
Price theory essentially states that when a market fails to take out a new low in a given range, it will have an objective to take out the high. When a market fails to take out a new high, it has an objective to make a new low. This is why price-time charts go up and down, as it does this on a second-by-second, minute-by-minute, day-by-day, and even century-by-century basis. Therefore, market indices will always return to some type of bull market as, once a true low is formed, the market will have a price objective to take out a new high outside of its’ given range – which is an all-time high. Instruments can only functionally fall to zero, whereas they can grow infinitely.
So, why inflate the economy so much?
Deflation is disastrous for central banks and markets as it raises the possibility of producing an overall price objective of zero or negative values. Therefore, under a fractional reserve system with a fiat currency managed by a central bank – the goal of the central bank is to depreciate the currency. The dollar is manipulated constantly with the intention of depreciating its’ value.
Central banks have a goal of continued inflated fiat values. They tend to ordinarily contain it at less than ten percent (10%) per annum in order for the psyche of the general populace to slowly adjust price increases. As such, the markets are divorced from any other logic. Economic policy is the maintenance of human egos, not catering to fundamental analysis. Gross Domestic Product (GDP) growth is well-known not to be a measure of actual growth or output. It is a measure of increase in dollars processed. Banks seek to produce raising numbers which make society feel like it is growing economically, making people optimistic. To do so, the currency is inflated, though inflation itself does not actually increase growth. When society is optimistic, it spends and engages in business – resulting in actual growth. It also encourages people to take on credit and debts, creating more fictional fiat.
Inflation is necessary for markets to continue to reach new heights, generating positive emotional responses from the populace, encouraging spending, encouraging debt intake, further inflating the currency, and increasing the sale of government bonds. The fiat system only survives by generating more imaginary money on a regular basis.
Bitcoin investors may profit from this by realizing that stock investors as a whole always stand to profit from the market so long as it is managed by a central bank and does not collapse entirely. If those elements are filled, it has an unending price objective to raise to new heights. It also allows us to realize that this response indicates that the higher-ups believe that the economy could crash in entirety, and it may be wise for investors to have multiple well-thought-out exit strategies.

Economic Analysis of Bitcoin

The reason why the Fed is so aggressively inflating the economy is due to fears that it will collapse forever or never rebound. As such, coupled with a global depression, a huge demand will appear for a reserve currency which is fundamentally different than the previous system. Bitcoin, though a currency or asset, is also a market. It also undergoes a constant price-probing process. Unlike traditional markets, Bitcoin has the exact opposite goal. Bitcoin seeks to appreciate in value and not depreciate. This has a quite different affect in that Bitcoin could potentially become worthless and have a price objective of zero.
Bitcoin was created in 2008 by a now famous mysterious figure known as Satoshi Nakamoto and its’ open source code was released in 2009. It was the first decentralized cryptocurrency to utilize a novel protocol known as the blockchain. Up to one megabyte of data may be sent with each transaction. It is decentralized, anonymous, transparent, easy to set-up, and provides myriad other benefits. Bitcoin is not backed up by anything other than its’ own technology.
Bitcoin is can never be expected to collapse as a framework, even were it to become worthless. The stock market has the potential to collapse in entirety, whereas, as long as the internet exists, Bitcoin will be a functional system with a self-authenticating framework. That capacity to persist regardless of the actual price of Bitcoin and the deflationary nature of Bitcoin means that it has something which fiat does not – inherent value.
Bitcoin is based on a distributed database known as the “blockchain.” Blockchains are essentially decentralized virtual ledger books, replete with pages known as “blocks.” Each page in a ledger is composed of paragraph entries, which are the actual transactions in the block.
Blockchains store information in the form of numerical transactions, which are just numbers. We can consider these numbers digital assets, such as Bitcoin. The data in a blockchain is immutable and recorded only by consensus-based algorithms. Bitcoin is cryptographic and all transactions are direct, without intermediary, peer-to-peer.
Bitcoin does not require trust in a central bank. It requires trust on the technology behind it, which is open-source and may be evaluated by anyone at any time. Furthermore, it is impossible to manipulate as doing so would require all of the nodes in the network to be hacked at once – unlike the stock market which is manipulated by the government and “Market Makers”. Bitcoin is also private in that, though the ledge is openly distributed, it is encrypted. Bitcoin’s blockchain has one of the greatest redundancy and information disaster recovery systems ever developed.
Bitcoin has a distributed governance model in that it is controlled by its’ users. There is no need to trust a payment processor or bank, or even to pay fees to such entities. There are also no third-party fees for transaction processing. As the ledge is immutable and transparent it is never possible to change it – the data on the blockchain is permanent. The system is not easily susceptible to attacks as it is widely distributed. Furthermore, as users of Bitcoin have their private keys assigned to their transactions, they are virtually impossible to fake. No lengthy verification, reconciliation, nor clearing process exists with Bitcoin.
Bitcoin is based on a proof-of-work algorithm. Every transaction on the network has an associated mathetical “puzzle”. Computers known as miners compete to solve the complex cryptographic hash algorithm that comprises that puzzle. The solution is proof that the miner engaged in sufficient work. The puzzle is known as a nonce, a number used only once. There is only one major nonce at a time and it issues 12.5 Bitcoin. Once it is solved, the fact that the nonce has been solved is made public.
A block is mined on average of once every ten minutes. However, the blockchain checks every 2,016,000 minutes (approximately four years) if 201,600 blocks were mined. If it was faster, it increases difficulty by half, thereby deflating Bitcoin. If it was slower, it decreases, thereby inflating Bitcoin. It will continue to do this until zero Bitcoin are issued, projected at the year 2140. On the twelfth of May, 2020, the blockchain will halve the amount of Bitcoin issued when each nonce is guessed. When Bitcoin was first created, fifty were issued per block as a reward to miners. 6.25 BTC will be issued from that point on once each nonce is solved.
Unlike fiat, Bitcoin is a deflationary currency. As BTC becomes scarcer, demand for it will increase, also raising the price. In this, BTC is similar to gold. It is predictable in its’ output, unlike the USD, as it is based on a programmed supply. We can predict BTC’s deflation and inflation almost exactly, if not exactly. Only 21 million BTC will ever be produced, unless the entire network concedes to change the protocol – which is highly unlikely.
Some of the drawbacks to BTC include congestion. At peak congestion, it may take an entire day to process a Bitcoin transaction as only three to five transactions may be processed per second. Receiving priority on a payment may cost up to the equivalent of twenty dollars ($20). Bitcoin mining consumes enough energy in one day to power a single-family home for an entire week.

Trading or Investing?

The fundamental divide in trading revolves around the question of market structure. Many feel that the market operates totally randomly and its’ behavior cannot be predicted. For the purposes of this article, we will assume that the market has a structure, but that that structure is not perfect. That market structure naturally generates chart patterns as the market records prices in time. In order to determine when the stock market will crash, causing a major decline in BTC price, we will analyze an instrument, an exchange traded fund, which represents an index, as opposed to a particular stock. The price patterns of the various stocks in an index are effectively smoothed out. In doing so, a more technical picture arises. Perhaps the most popular of these is the SPDR S&P Standard and Poor 500 Exchange Traded Fund ($SPY).
In trading, little to no concern is given about value of underlying asset. We are concerned primarily about liquidity and trading ranges, which are the amount of value fluctuating on a short-term basis, as measured by volatility-implied trading ranges. Fundamental analysis plays a role, however markets often do not react to real-world factors in a logical fashion. Therefore, fundamental analysis is more appropriate for long-term investing.
The fundamental derivatives of a chart are time (x-axis) and price (y-axis). The primary technical indicator is price, as everything else is lagging in the past. Price represents current asking price and incorrectly implementing positions based on price is one of the biggest trading errors.
Markets and currencies ordinarily have noise, their tendency to back-and-fill, which must be filtered out for true pattern recognition. That noise does have a utility, however, in allowing traders second chances to enter favorable positions at slightly less favorable entry points. When you have any market with enough liquidity for historical data to record a pattern, then a structure can be divined. The market probes prices as part of an ongoing price-discovery process. Market technicians must sometimes look outside of the technical realm and use visual inspection to ascertain the relevance of certain patterns, using a qualitative eye that recognizes the underlying quantitative nature
Markets and instruments rise slower than they correct, however they rise much more than they fall. In the same vein, instruments can only fall to having no worth, whereas they could theoretically grow infinitely and have continued to grow over time. Money in a fiat system is illusory. It is a fundamentally synthetic instrument which has no intrinsic value. Hence, the recent seemingly illogical fluctuations in the market.
According to trade theory, the unending purpose of a market or instrument is to create and break price ranges according to the laws of supply and demand. We must determine when to trade based on each market inflection point as defined in price and in time as opposed to abandoning the trend (as the contrarian trading in this sub often does). Time and Price symmetry must be used to be in accordance with the trend. When coupled with a favorable risk to reward ratio, the ability to stay in the market for most of the defined time period, and adherence to risk management rules; the trader has a solid methodology for achieving considerable gains.
We will engage in a longer term market-oriented analysis to avoid any time-focused pressure. The Bitcoin market is open twenty-four-hours a day, so trading may be done when the individual is ready, without any pressing need to be constantly alert. Let alone, we can safely project months in advance with relatively high accuracy. Bitcoin is an asset which an individual can both trade and invest, however this article will be focused on trading due to the wide volatility in BTC prices over the short-term.

Technical Indicator Analysis of Bitcoin

Technical indicators are often considered self-fulfilling prophecies due to mass-market psychology gravitating towards certain common numbers yielded from them. They are also often discounted when it comes to BTC. That means a trader must be especially aware of these numbers as they can prognosticate market movements. Often, they are meaningless in the larger picture of things.
  • Volume – derived from the market itself, it is mostly irrelevant. The major problem with volume for stocks is that the US market open causes tremendous volume surges eradicating any intrinsic volume analysis. This does not occur with BTC, as it is open twenty-four-seven. At major highs and lows, the market is typically anemic. Most traders are not active at terminal discretes (peaks and troughs) because of levels of fear. Volume allows us confidence in time and price symmetry market inflection points, if we observe low volume at a foretold range of values. We can rationalize that an absolute discrete is usually only discovered and anticipated by very few traders. As the general market realizes it, a herd mentality will push the market in the direction favorable to defending it. Volume is also useful for swing trading, as chances for swing’s validity increases if an increase in volume is seen on and after the swing’s activation. Volume is steadily decreasing. Lows and highs are reached when volume is lower.
Therefore, due to the relatively high volume on the 12th of March, we can safely determine that a low for BTC was not reached.
  • VIX – Volatility Index, this technical indicator indicates level of fear by the amount of options-based “insurance” in portfolios. A low VIX environment, less than 20 for the S&P index, indicates a stable market with a possible uptrend. A high VIX, over 20, indicates a possible downtrend. VIX is essentially useless for BTC as BTC-based options do not exist. It allows us to predict the market low for $SPY, which will have an indirect impact on BTC in the short term, likely leading to the yearly low. However, it is equally important to see how VIX is changing over time, if it is decreasing or increasing, as that indicates increasing or decreasing fear. Low volatility allows high leverage without risk or rest. Occasionally, markets do rise with high VIX.
As VIX is unusually high, in the forties, we can be confident that a downtrend for the S&P 500 is imminent.
  • RSI (Relative Strength Index): The most important technical indicator, useful for determining highs and lows when time symmetry is not availing itself. Sometimes analysis of RSI can conflict in different time frames, easiest way to use it is when it is at extremes – either under 30 or over 70. Extremes can be used for filtering highs or lows based on time-and-price window calculations. Highly instructive as to major corrective clues and indicative of continued directional movement. Must determine if longer-term RSI values find support at same values as before. It is currently at 73.56.
  • Secondly, RSI may be used as a high or low filter, to observe the level that short-term RSI reaches in counter-trend corrections. Repetitions based on market movements based on RSI determine how long a trade should be held onto. Once a short term RSI reaches an extreme and stay there, the other RSI’s should gradually reach the same extremes. Once all RSI’s are at extreme highs, a trend confirmation should occur and RSI’s should drop to their midpoint.

Trend Definition Analysis of Bitcoin

Trend definition is highly powerful, cannot be understated. Knowledge of trend logic is enough to be a profitable trader, yet defining a trend is an arduous process. Multiple trends coexist across multiple time frames and across multiple market sectors. Like time structure, it makes the underlying price of the instrument irrelevant. Trend definitions cannot determine the validity of newly formed discretes. Trend becomes apparent when trades based in counter-trend inflection points continue to fail.
Downtrends are defined as an instrument making lower lows and lower highs that are recurrent, additive, qualified swing setups. Downtrends for all instruments are similar, except forex. They are fast and complete much quicker than uptrends. An average downtrend is 18 months, something which we will return to. An uptrend inception occurs when an instrument reaches a point where it fails to make a new low, then that low will be tested. After that, the instrument will either have a deep range retracement or it may take out the low slightly, resulting in a double-bottom. A swing must eventually form.
A simple way to roughly determine trend is to attempt to draw a line from three tops going upwards (uptrend) or a line from three bottoms going downwards (downtrend). It is not possible to correctly draw a downtrend line on the BTC chart, but it is possible to correctly draw an uptrend – indicating that the overall trend is downwards. The only mitigating factor is the impending stock market crash.

Time Symmetry Analysis of Bitcoin

Time is the movement from the past through the present into the future. It is a measurement in quantified intervals. In many ways, our perception of it is a human construct. It is more powerful than price as time may be utilized for a trade regardless of the market inflection point’s price. Were it possible to perfectly understand time, price would be totally irrelevant due to the predictive certainty time affords. Time structure is easier to learn than price, but much more difficult to apply with any accuracy. It is the hardest aspect of trading to learn, but also the most rewarding.
Humans do not have the ability to recognize every time window, however the ability to define market inflection points in terms of time is the single most powerful trading edge. Regardless, price should not be abandoned for time alone. Time structure analysis It is inherently flawed, as such the markets have a fail-safe, which is Price Structure. Even though Time is much more powerful, Price Structure should never be completely ignored. Time is the qualifier for Price and vice versa. Time can fail by tricking traders into counter-trend trading.
Time is a predestined trade quantifier, a filter to slow trades down, as it allows a trader to specifically focus on specific time windows and rest at others. It allows for quantitative measurements to reach deterministic values and is the primary qualifier for trends. Time structure should be utilized before price structure, and it is the primary trade criterion which requires support from price. We can see price structure on a chart, as areas of mathematical support or resistance, but we cannot see time structure.
Time may be used to tell us an exact point in the future where the market will inflect, after Price Theory has been fulfilled. In the present, price objectives based on price theory added to possible future times for market inflection points give us the exact time of market inflection points and price.
Time Structure is repetitions of time or inherent cycles of time, occurring in a methodical way to provide time windows which may be utilized for inflection points. They are not easily recognized and not easily defined by a price chart as measuring and observing time is very exact. Time structure is not a science, yet it does require precise measurements. Nothing is certain or definite. The critical question must be if a particular approach to time structure is currently lucrative or not.
We will measure it in intervals of 180 bars. Our goal is to determine time windows, when the market will react and when we should pay the most attention. By using time repetitions, the fact that market inflection points occurred at some point in the past and should, therefore, reoccur at some point in the future, we should obtain confidence as to when SPY will reach a market inflection point. Time repetitions are essentially the market’s memory. However, simply measuring the time between two points then trying to extrapolate into the future does not work. Measuring time is not the same as defining time repetitions. We will evaluate past sessions for market inflection points, whether discretes, qualified swings, or intra-range. Then records the times that the market has made highs or lows in a comparable time period to the future one seeks to trade in.
What follows is a time Histogram – A grouping of times which appear close together, then segregated based on that closeness. Time is aligned into combined histogram of repetitions and cycles, however cycles are irrelevant on a daily basis. If trading on an hourly basis, do not use hours.
  • Yearly Lows (last seven years): 1/1/13, 4/10/14, 1/15/15, 1/17/16, 1/1/17, 12/15/18, 2/6/19
  • Monthly Mode: 1, 1, 1, 1, 2, 4, 12
  • Daily Mode: 1, 1, 6, 10, 15, 15, 17
  • Monthly Lows (for the last year): 3/12/20 (10:00pm), 2/28/20 (7:09am), 1/2/20 (8:09pm), 12/18/19 (8:00am), 11/25/19 (1:00am), 10/24/19 (2:59am), 9/30/19 (2:59am), 8/29,19 (4:00am), 7/17/19 (7:59am), 6/4/19 (5:59pm), 5/1/19 (12:00am), 4/1/19 (12:00am)
  • Daily Lows Mode for those Months: 1, 1, 2, 4, 12, 17, 18, 24, 25, 28, 29, 30
  • Hourly Lows Mode for those Months (Military time): 0100, 0200, 0200, 0400, 0700, 0700, 0800, 1200, 1200, 1700, 2000, 2200
  • Minute Lows Mode for those Months: 00, 00, 00, 00, 00, 00, 09, 09, 59, 59, 59, 59
  • Day of the Week Lows (last twenty-six weeks):
Weighted Times are repetitions which appears multiple times within the same list, observed and accentuated once divided into relevant sections of the histogram. They are important in the presently defined trading time period and are similar to a mathematical mode with respect to a series. Phased times are essentially periodical patterns in histograms, though they do not guarantee inflection points
Evaluating the yearly lows, we see that BTC tends to have its lows primarily at the beginning of every year, with a possibility of it being at the end of the year. Following the same methodology, we get the middle of the month as the likeliest day. However, evaluating the monthly lows for the past year, the beginning and end of the month are more likely for lows.
Therefore, we have two primary dates from our histogram.
1/1/21, 1/15/21, and 1/29/21
2:00am, 8:00am, 12:00pm, or 10:00pm
In fact, the high for this year was February the 14th, only thirty days off from our histogram calculations.
The 8.6-Year Armstrong-Princeton Global Economic Confidence model states that 2.15 year intervals occur between corrections, relevant highs and lows. 2.15 years from the all-time peak discrete is February 9, 2020 – a reasonably accurate depiction of the low for this year (which was on 3/12/20). (Taking only the Armstrong model into account, the next high should be Saturday, April 23, 2022). Therefore, the Armstrong model indicates that we have actually bottomed out for the year!
Bear markets cannot exist in perpetuity whereas bull markets can. Bear markets will eventually have price objectives of zero, whereas bull markets can increase to infinity. It can occur for individual market instruments, but not markets as a whole. Since bull markets are defined by low volatility, they also last longer. Once a bull market is indicated, the trader can remain in a long position until a new high is reached, then switch to shorts. The average bear market is eighteen months long, giving us a date of August 19th, 2021 for the end of this bear market – roughly speaking. They cannot be shorter than fifteen months for a central-bank controlled market, which does not apply to Bitcoin. (Otherwise, it would continue until Sunday, September 12, 2021.) However, we should expect Bitcoin to experience its’ exponential growth after the stock market re-enters a bull market.
Terry Laundy’s T-Theory implemented by measuring the time of an indicator from peak to trough, then using that to define a future time window. It is similar to an head-and-shoulders pattern in that it is the process of forming the right side from a synthetic technical indicator. If the indicator is making continued lows, then time is recalculated for defining the right side of the T. The date of the market inflection point may be a price or indicator inflection date, so it is not always exactly useful. It is better to make us aware of possible market inflection points, clustered with other data. It gives us an RSI low of May, 9th 2020.
The Bradley Cycle is coupled with volatility allows start dates for campaigns or put options as insurance in portfolios for stocks. However, it is also useful for predicting market moves instead of terminal dates for discretes. Using dates which correspond to discretes, we can see how those dates correspond with changes in VIX.
Therefore, our timeline looks like:
  • 2/14/20 – yearly high ($10372 USD)
  • 3/12/20 – yearly low thus far ($3858 USD)
  • 5/9/20 – T-Theory true yearly low (BTC between 4863 and 3569)
  • 5/26/20 – hashrate difficulty halvening
  • 11/14/20 – stock market low
  • 1/15/21 – yearly low for BTC, around $8528
  • 8/19/21 – end of stock bear market
  • 11/26/21 – eighteen months from halvening, average peak from halvenings (BTC begins rising from $3000 area to above $23,312)
  • 4/23/22 – all-time high
Taken from my blog: http://aliamin.info/2020/
submitted by aibnsamin1 to Bitcoin [link] [comments]

We're springing into a new season, and with it, a chance to be made a millionaire! Comment to enter! [Drawing Thread #40]

March onwards!

Updates (all of which are edited in):
These retrievals will start at 3:45 UTC, 4:00 UTC, and 4:30 UTC respectively.
TL;DR of the TL;DR:
  • To enter, comment only once to this post. Replies to other comments can be posted, but will not count as an entry. Good luck!
In Case You Missed It:
TL;DR:
What is this, anyway?
Three years ago, a Redditor posted an idea in /Showerthoughts that speculated the fact, if a million people picked a certain Redditor and all donated just $1, they would have the power to make someone a millionaire.
This subreddit is an embodiment of that showerthought, and the monthly drawings are the attempts to make it happen.
We need your help to keep this running, which amounts to only $1 a month to make someone's day. In the long term, that’s $120 every decade, which is much more affordable than other expenses. How does it work? Below, you will find an explanation on entering, rules to keep in mind, the selection, and other important things to note.
How to enter:
  • REQUIRED: Leave only one (1) top level comment in reply to this thread! Replying to other comments will not count. It is highly recommended to comment "RemindMe! 3 days Donation for /millionairemakers", which will remind you via PM to donate. That's it!
Important Rules:
  • Only ONE top level comment per person (replies and subsequent-level comments aren't included), but feel free to reply to other comments. Making duplicate top level comments may result in exclusion from entering. Go to me to ensure you don't accidentally double comment.
  • If, by any chance, you do double comment, delete any extra duplicates ASAP, ideally before the thread is locked, as any chosen draws found to violate this will not be eligible to win, and will be banned from the subreddit.
  • Your account must be older than 30 days with some amount of activity. Throwaway accounts with very minimal activity will also not be eligible. This is to prevent multiple entries from the same person.
How will the winner be picked and how can you donate?
  • After 24 hours, this thread will close, and the method of selection will begin.
  • While attempts to make the selection method similar to 2017’s have been performed, it still varies from the original. For an example from a prior drawing, see [Draw #36]. For archival purposes, please click here for the original selection method.
  • Method's TL;DR: Your number is assigned by sorting the comments by old, resulting in the first commenter being 1. The list of comments will be publicly released for the community to verify per their own accord. The subreddit then waits for a randomly generated block (a string of numbers) from Bitcoin's blockchain, after a preselected date and time, and calculates the winner using a formula described in the posts mentioned above.
  • Comment IDs are downloaded at 2:00 UTC, three hours following the thread being locked. There will be an official run at the time listed. If it is shown that there are any technical difficulties, the retrieval of the comments will be delayed by an hour, following the same procedures.
  • While not necessary, to determine if you are on the list, please go to your comment and save it. The comment ID is what gets recorded and selected, which looks like this: e3yxpj4.
  • The Draw is held at 16:00 UTC the Sunday after comments have been downloaded, unless stated otherwise. Using the Bitcoin blockchain, the third block yet to be mined will be used to select a winner.
  • The user who created the winning comment will be informed of their luck and will provide any information necessary for their chosen payment methods (mods will help set this up if needed).
  • The generous Reddit community donates to this lucky person, hopefully making some worthy soul a millionaire! A donation table will be stickied to the winner’s post, giving users the freedom in how they donate.
  • The lucky Redditor follows up with a thank you within the next days, revealing to the community exactly how much was raised and thanking their generosity.
Reminders
  • Take the time you have available now to setup your PayPal, Square Cash, and Google Wallet account, and/or cryptocurrency wallets. (Note: Some services may not be available depending on where you reside.)
  • To buy any cryptocurrencies, you may use Coinbase for purchases using your bank account.
  • To store cryptocurrencies, there are many accessible wallets, and if you win, you will be guided on which ones to download. For Bitcoin and Bitcoin Cash, it’s recommended to use the Electrum and Electron Cash wallet for Mac, Linux, and PC.
  • Please try your best to donate a $1, no matter who wins. Every single dollar, cent, anything really counts, so please take the effort to remember and go through with it.
  • If you want to be reminded to donate, please comment "RemindMe! 3 days Donation for /millionairemakers".
  • Spread the word! The more people who participate, the better this gets for everyone! There has been a correlation between this subreddit making it in /all and an increase in donations.
  • Try to cross-post to relevant subs, and upvote. There is a correlation between reaching /all and the amount of donations for the winner. (Please don't spam other subs though. We're not trying to make any enemies here.)
  • If you are under 18, please talk to your parents to get their consent to participate and use their help to setup a PayPal account.
MOST IMPORTANTLY
Remember, this is about generosity, making history, and coming together to make someone's life better. It takes three minutes to donate a bit to the winner, whether you're well off and want to donate a couple bucks, or going through tough times and can only donate a few pennies. Every cent counts.
Note about legality: This is NOT a lottery. You don't have to pay to enter. No prizes are given away directly by the moderators of this subreddit (the moderators will never even touch your donations; this is done voluntarily). As for gift taxes, according to the IRS, they're paid by the donor, and any donations under $15,000 is not taxable.
If a lone $1 can get you seeds (I'm running out of ideas), imagine the possibilities with $1,000,000. You can rake, bake, or skate freely (there aren't many stand-out features in March)!
One million dollars can help give relief to some debts. Spread the word: have your friends and family comment, post the link to your friendly-neighborhood social media network, and share it to anyone interested.
Let's spring up/grow a millionaire!
Pollen has fallen.
Here comes a sneeze and a wheeze.
The winner's calling.
Edits are for reclarification and updates.
submitted by lilfruini to millionairemakers [link] [comments]

Questions Regarding BTC Mining

I have been wondering about some of the details related to bitcoin mining bit couldn't find an answer, I would bet the answer can be found was I capable of looking up the mining algorithms but I'm not that savvy (not yet at least) so here it goes.
I understand that during mining, the miners take the hash calculated from a given block then appends a nonce to it and calculate SHA256 for the whole expression, if the hash value is larger than the limit set by mining difficulty, the miner must attempt again the SHA256 calculation again by appending a different nonce and repeat until a hash smaller than the limit is found.
What I wanted to ask is the following:
1) Is my understanding above correct? If not then please disregard the below questions since they would be garbage most likely (correcting the fault lines in my understanding would more than enough).
2) How are these nonces to be appended chosen? Are they chosen randomly at every attempt or changed sequentially by adding 1 for example?
3) Does the bitcoin blockchain enforces the use of a specific algorithm for generating nonces or is it left to the miners to concoct their own algorithms as they see fit? (If enforced by the bitcoin block chain, I'd appreciate an explanation why)
4) If the choice is left to miners to generate nonces as they see fit, what is the best approach to generating these nonces available?
5) In a mining pools where many ASICs are hashing together, is there any coordination at the pool or at least at individual ASIC miner level to ensure no two ASIC chips are calculating the hash for the same nonce while trying to find the block? If not, what are the difficulties preventing such an implementation?
Thanks in advance and if there are any useful resources addressing these questions please share them especially ones describing the mining algorithm generating nonces.
submitted by BitcoinAsks to BitcoinMining [link] [comments]

Ethereum 2.0: Why, How And Then?

Ethereum 2.0: Why, How And Then?
Why update Ethereum? One problem of the Ethereum network that the update should solve is scalability. At the moment, its blockchain can perform to 15 transactions per second, which is over two times more than that of bitcoin. However, this speed is still not enough for a large number of users. For example, the Visa payment system can perform up to 24 thousand transactions per second.
Adding an Optimistic Rollup technology will help to solve the scalability problem. According to Vitalik Buterin, the creator of Ethereum, its implementation will occur after the network’s update and will increase its throughput to 1000 transactions per second.
by StealthEX
Another solution to this problem is a change in the algorithm. Currently, Ethereum runs on the same protocol as Bitcoin, Proof-of-Work, confirmation of transactions in the cryptocurrency network occurs using the computing power of processors.
Using the Proof-of-Work algorithm limits the growth of the Ethereum network bandwidth. To withstand a large load, more miners are needed, but the growth of their number slows down since it becomes more difficult to mine cryptocurrency and, consequently, less profitable.
This is the reason the Ethereum development team is planning to switch to the Proof-of-Stake algorithm. Unlike the PoW, it does not require the use of computing power to confirm blocks. Instead of miners, transactions will be confirmed by validators. To become a validator, the user should have 32 ETH and install a special client. From a technical point of view, this is easier than buying mining devices and maintaining their functionality, as well as looking for access to cheap electricity. Thus, the system will no longer need expensive hardware.
The main solution to the scalability problem will be to implement sharding. Current Ethereum network is a unified database. After the update, the blockchain will be divided into autonomous, interacting blocks — shards, each of which will process particular transactions and smart contracts, which, however, will be recognized by the entire Ethereum blockchain. Nodes that form the shard process information separately, this allows maintaining the principle of decentralization. This is important since the risk of centralization is another big problem of the old algorithm.
Since the complexity of mining has increased over time, and now this process requires having expensive equipment and access to cheap electricity, small participants can not afford to stay in the game. In such conditions, big pools of miners that can provide higher productivity have a decisive advantage. For example, in April, more than 50% of the computing power of the Ethereum network was provided by only two mining pools. This creates a significant risk of centralization and “51% attacks”.
Validators will confirm transactions and get rewards in the form of passive income. According to the project’s roadmap, this amount will vary from 1.81% to 18.1%. The profitability of the stacking will depend on the number of validators. The more of them, the smaller the amount they get. However, there will be some costs. In the same Ethereum 2.0 roadmap, developers mentioned that the cost of validating transactions, based on rough calculations, will be about $180 per year. One of the developers of the project, Justin Drake, predicts that on average the validator will receive an income of 5% per year.

What is the estimated Ethereum 2.0 release date?

The launch of Ethereum 2.0 will take place gradually, in six stages, the “zero” of which is expected this summer. However, it is worth noting that due to finding vulnerabilities, the dates have already been shifted several times–initially, the transition to the new version was planned in 2019.
One of the developers of the project, Afri Schoedon, said that the launch could be postponed to 2021. According to him, under favourable circumstances, the main network can be presented in November of this year, but there are certain difficulties in this.
Schoedon explained that before launching ETH 2.0, all of its clients must be brought to the same specifications. After that, the developer’s team needs to open a unified deposit contract so that users can transfer their assets from the old chain to the new one. Between these stages, developers also need additional time, so they could test all aspects of the new system.
As it usually happens, there’s going to be two parallel blockchains as a result of the hard fork. The first one, ETH1, will continue to work using an old protocol, while the update will be implemented on ETH2. Users will be able to transfer their coins from the old blockchain to the new one, but not vice versa. The appearance of sharding will allow developers to move to phase 1.5 — during this phase, ETH1 will merge with ETH2, becoming one of the 64 “shards” of the updated blockchain. In the second phase, smart contracts become available on ETH2, which can be considered the full start of its economic activity.

And what are expectations?

Updating the Ethereum network will increase its technical capabilities, namely, it will speed up and reduce the cost of transactions, as well as make the blockchain less vulnerable for centralization process.
Currently, the absolute majority of decentralized finance projects are developed using the Ethereum platform. The Ethereum 2.0 release will probably attract even more partners who will use the blockchain for their projects.
Ryan Watkins, Messari Analysis company’s researcher, highly values the importance of updating.
“ETH 2.0 is a much stronger catalyst than the Bitcoin halving simply because it’s an uncertain and fundamental change.” — Ryan Watkins wrote on his Twitter account
And the part about uncertainty is hard to disagree with. Of course, there are some concerns about the bright Ethereum future. The coming hard fork carries with it potential negative consequences. For example, after switching to the PoS algorithm, the US Securities and Exchange Commission (SEC) may well admit Ethereum as a security, which will lead to legal complications similar to those faced by Pavel Durov when trying to launch his TON blockchain platform.
For now, ETH is the most popular coin for mining at home, and most of these miners will probably just leave the network.
There is also a risk that the price of Ethereum may fall. To receive passive income for storing ETH, the user will not only need to have 32 coins but also block them through a special transaction. They will not be able to withdraw these blocked funds immediately. As stated in the project roadmap, the cryptocurrency withdrawal process will take at least 18 hours. This could take even more time if many users request the return of tokens at the same time. Thus, if ETH falls in price, it will be impossible to sell it immediately, and there is a risk of losing some capital and all the income received from stacking.
Nevertheless, investors are mostly optimistic — the volume of Ethereum options on the Deribit exchange has grown to a historical high, which indicates confidence in the future of Ethereum project. The ETH price is also growing, having overcome the consequences of the March collapse of cryptocurrencies.
Most experts agree that Ethereum price will grow after the update. On the one hand, the altcoin will become more expensive, as it will become a more attractive investment. On the other hand, the offer will decrease, as users will start transferring coins from the first version of the network to the second, to block them for passive income.
If you want to participate in the future fate of the ETH project, you can buy Ethereum using our service. We provide fast, anonymous and limitless swaps between over 250 cryptocurrencies. Just go to StealthEX and follow these easy steps:
✔ Choose the pair and the amount for your exchange. For example BTC to ETH.
✔ Press the “Start exchange” button.
✔ Provide the recipient address to which the coins will be transferred.
✔ Move your cryptocurrency for the exchange.
✔ Receive your coins.
Follow us on Medium, Twitter, Facebook, and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [[email protected]](mailto:[email protected]).
The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Original article was posted on https://stealthex.io/blog/2020/06/30/ethereum-2-0-why-how-and-then/.
submitted by Stealthex_io to StealthEX [link] [comments]

TradeOptionGains bitcoin site?

Got this weird DM on reddit idk what this guy is up to have any of you ever heard of this https://tradeoptiongains.com Site?
u/mikerobin25

Mikerobin2501:52 AM
Hello there
IDEKMyUsername09:34 AM
Howdy
Mikerobin2509:47 AM
How's it going?
IDEKMyUsername12:13 PM
Not bad.
What's up
Mikerobin2512:36 PM
I'm doing quite alright, How about you?
IDEKMyUsername12:53 PM
Not bad
Mikerobin2501:39 PM
Well, I don't mean to intrude but are you familiar with the term "cryptocurrency", Bitcoin to be precise?
IDEKMyUsername03:10 PM
Yes
Aye
Mikerobin2503:25 PM
Well, I'm at the moment engaging in an outreach aimed at expanding the clientele of my platform and enlightening the populace on the monetary potential of bitcoin trading and mining. Would you be interested in this?
IDEKMyUsername03:26 PM
Uh yeah sure I can look into it.
What does it include?
Mikerobin2503:28 PM
Are you familiar with the term "Bitcoin trading"?
IDEKMyUsername03:29 PM
Yeah somewhat
Like selling and buying it?
Mikerobin2503:33 PM
Well, Bitcoin trading is the process of making profits by buying Bitcoin at a low cost and selling it when the price goes up, This method is referred to as Dollar Cost Averaging(DCA). The Bitcoin trade is volatile, and price move by a significant margin. This activity is done on trading platforms.
Are you following?
IDEKMyUsername04:07 PM
Yep gotcha so far
Sorry had to pickup a call
Mikerobin2506:51 PM
No problem mate. Every platform has an investment procedure and ROI method. Unlike other platforms that engage in day trading (profiting from the volatility of bitcoin which is inefficient), My platform is registered with S9 ant miners that mine the bitcoin you invest to increase exponentially and that’s how you earn profits.
Have you heard of the term "Bitcoin mining"?
IDEKMyUsername06:52 PM
Yes I have
Mikerobin2506:57 PM
Good. For clarification, Bitcoin mining primarily involves generating and earning off the confirmation of blocks of transaction on the network such as the Blockchain network.
This is made possible with the use of special and sophisticated devices called the Bit main devices, Such as the AntMiner S9 and ASIC hardware. These devices are extremely expensive to maintain and require a lot of electricity generation and technical expertise which makes it rarely an option for private individuals who are interested in going into Bitcoin mining. But my platform has been able to provide for this disability.
Are you following?
IDEKMyUsername06:57 PM
I feel ya
Yes
Mikerobin2507:01 PM
Moving on, My platform operates a full S9 Antminer farm. The Antminer s9 has a hash rate of 12.93TH/s which is -+ 7%, Which could generate a ROI of 0.5 BTC within an investment period depending on the investment capital. Note: ROI stands for return of investment while hash rates a measure of how many times the network can attempt to complete this puzzle every second. This means that hash rate is a good indicator of the Bitcoin network's health.
Do i still have your attention?
IDEKMyUsername07:02 PM
Yes
Mikerobin2507:05 PM
Finally, All investments are made and monitored by the client (you) on the platform's website as you earn profits daily and you can contact me a "Broker" on the platform whenever you need assistance or more information.
https://tradeoptiongains.com
IDEKMyUsername07:05 PM
Hm
U have a history of wise investments?
I mean don't really know you so not like your a "professional" of any means
Mikerobin2507:06 PM
Certainly
We've been running for a span of 4 years now with optimum services provided
IDEKMyUsername07:38 PM
oh wow
gimmie some more deets?
how much money would I expect if i put a quick g bar in?
IDEKMyUsername07:53 PM
hm?
Mikerobin2507:54 PM
An investment of $1000 amounts up to the standard ROI stated above which is 50% of 1 bitcoin.
Apologies for the late reply, Was attending to a client of mine.
IDEKMyUsername07:55 PM
so invest of about $1000 would give ruffly 5?
nah ur good fam
like how I go about that tho u know
cause isn't bitcoin like kind of high right now?
Mikerobin2507:57 PM
Yeah though it would have been more profitable if you had started earlier when it was cheaper but you should be expecting more returns due to the halving coming up.
https://www.bitcoinblockhalf.com/
IDEKMyUsername07:58 PM
how high you think its going to get?
Mikerobin2507:59 PM
Its a highly speculative asset but from my experience and following it's previous halving events, Probably 15-18k.
IDEKMyUsername08:01 PM
oh jeez thats like as big as the big boom right?
how you know its gonna do that?
and what if it doesn't lol?
do I just l;ose it all
Mikerobin2508:05 PM
Exactly. If it doesn't, It would remain at its breaking point of 9k or peak point of 10k but i highly doubt it doesn't pump(rise) based on past halving events. You can simply get started by creating your personal account on the platform by which you can start by purchasing bitcoin and you can do this by clicking on the "Register" icon to get started.
IDEKMyUsername08:05 PM
hmmm idk
Kinda need some more security u know what I mean?
Mikerobin2508:08 PM
I understand. Loses are only made when you sell off, You money remains intact whether it rises or falls as long as you don't sell but your ROI is fully attained on your account on the platform.
IDEKMyUsername08:09 PM
o
Mikerobin2508:10 PM
Indeed
Mikerobin2508:20 PM
Any more questions?
IDEKMyUsername08:20 PM
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
no
Mikerobin2508:22 PM
Okay then, I'm available here if you're interested and need my assistance
Enjoy the rest of your day.
IDEKMyUsername08:25 PM
o
ok
Yesterday
Mikerobin2501:48 PM
https://www.fxstreet.com/cryptocurrencies/news/breaking-bitcoin-price-takes-down-9-000-as-10-000-beckons-202004300334
https://www.independent.co.uk/life-style/gadgets-and-tech/news/bitcoin-price-gold-oil-2020-best-performing-assets-a9492641.html
IDEKMyUsername01:51 PM
O
I bought it
Mikerobin2501:51 PM
Pardon?
IDEKMyUsername01:52 PM
I bought one
Mikerobin2501:52 PM
On what platform?
IDEKMyUsername01:54 PM
I'm idk the one u sent me
Um*
Mikerobin2501:55 PM
Really? When did you do this and why wasn't i informed?
Today
IDEKMyUsername10:19 AM
Oh like last last night
I thought it was expected
U sent me the link and everything
;(
Mikerobin2510:22 AM
You would have informed me so i can enlighten you more on the procedure. Are you aware that it's a mining platform and you earn profits as an investor?
IDEKMyUsername10:23 AM
Yah so what would profit be ya reckon?
For let's say $1000 over liek a year
Mikerobin2510:24 AM
What name did you use in registering the account?
IDEKMyUsername10:24 AM
Uh I'd have to look it up
But how much profit did u say it would be about?
Mikerobin2510:27 AM
0.5 BTC a month depending on your investment capital that is, I would need the name of your account to register it under my personal database so i can provide you with information and assistance when needed.
IDEKMyUsername10:28 AM
O damn that's some big bucks right there
.5 btc like what 4g?
4 times 11 that's $44,000 a month
Mikerobin2510:30 AM
How much did you invest and what is the name of your account?
Your profit is calculated in respect of your investment capital
IDEKMyUsername10:31 AM
Like 11grand
Mikerobin2510:31 AM
And the name?
IDEKMyUsername10:31 AM
Mmmm
How do I find it?
Is there a way on the site
Mikerobin2510:31 AM
What name did you use in creating the account?
Didn't you register?
IDEKMyUsername10:32 AM
Oh like my irl name
I thought u meant like a username
Mikerobin2510:32 AM
Username is what i mean
IDEKMyUsername10:33 AM
It's gonna be under Jeffery Henderson
Jeffery L. Henderson
Mikerobin2510:35 AM
Okay, Give me a second to record it and ascertain your expected profit.
IDEKMyUsername10:35 AM
Sick
Did u find my account?
Mikerobin2510:41 AM
I can't find your records on the platform, Maybe a technical difficulty. Could you please sign in and send me a screenshot of your funds deposited through discord please?
IDEKMyUsername10:41 AM
So tell me mike
Where's the cash?
Mikerobin2510:41 AM
Pardon?
IDEKMyUsername10:41 AM
You lost it, oh you misplaced it.
Now mike you know I don't like to be lied to right?
Mikerobin2510:43 AM
Since i can't find your account on the platform, I guess that's the ending of our conversation.
Good day.
IDEKMyUsername10:43 AM
So why
THE FUCK
ARE YOU LIEING TO ME
Mikerobin2510:44 AM
Prove that you have an account on the platform by sending a screenshot
IDEKMyUsername10:44 AM
I cannot
I did it on
Computer
Mikerobin2510:45 AM
The sign in through your phone, Do i seem like a fool to you?
I have a lot of clients to attend to and i don't have time for games
IDEKMyUsername10:45 AM
I ain't the I one that took another man's money and now can't find it
You don't have other clients
Let's not play games here
How do I get my money out of this depreciating asset?
You better help me get my money out of this or were going to have a major issue
Mike...
IDEKMyUsername11:16 AM
U serious rn bro?
Ur gonna scam me out of my 💰
?
A day will come when you think yourself safe and happy,.
But suddenly your joy will turn to ashes in your mouth.
and you'll know the debt is paid
IDEKMyUsername08:01 PM
Br
You still my 11 grand
Stole
What's your name
Tell me
Or I'll find you
submitted by IDEKMyUsername to Scams [link] [comments]

The One Thing EVERYONE Must Know About the Dev Funding Plan: IT'S COMPLETELY FREE.

sigh I get so tired of having to stop working to put out a post explaining issues. If anyone else wants to join in I could use help. (actually I've seen Jonald F. do this before too, so thanks JF!)
Things are bad when even developers don't understand what's going on. So I'll try to clearly explain an important point on the Dev Funding Plan (DFP from now on) for the community: it's completely free. Yet we still get panicked posts saying Please Save Us from the TAX!!! Somebody Help!
You may be for or against the DFP, but either way please at least understand what you're forming an opinion on.
Let's start from the beginning. We know Bitcoin works on blocks and block coin rewards. The block reward, which started at 50 coins per block, and cuts in half approximately every 4 years, serves two purposes: it's a fair way to bring coins into circulation, but more importantly it provides security for the network.
For simplicity, please think of "security" as being measured in power bars. When the network first started, with just Satoshi and Hal Finney, there was 1 power bar. This power bar was made up of the electricity their combined computer hardware used to find blocks. They were the first miners. Bitcoin uses a difficulty level to adjust how hard or easy it is to find blocks. This level is important for a key reason: we want the inflation rate of coins (how fast they come into circulation) to stay about the same, regardless how many miners (computing power) suddenly comes online. If the difficulty is set at super easy, but suddenly a super computer comes online that computer can gobble up thousands of coins in minutes if not seconds, creating massive rapid inflation. So the first thing to understand is that due to the Difficulty Level Adjustment the rate of coins coming into circulation will always stay about the same, regardless how many miners join or leave the network.
Getting back to power bars. So the point of Bitcoin is there is no center, no fixed authority. The problem is we still need a decision made about which chain is valid. This is where proof-of-work comes in. Satoshi's fairly brilliant solution to a consensus decision, with no leader, was to simply look for the longest chain (technically the chain with most hashing work). The reasoning was: as there are far more ordinary people than there are governments and dictators a Bitcoin supported by the all the world's people should always be able to muster more hashrate than even rich governments.
So Bitcoin began and people saw the brilliance: even with a weak power bar level of 1 (a couple computers), Bitcoin was safe from 51% attacks and attacking govs competing for control of the chain because a super low hashrate meant Bitcoin wasn't popular and govs wouldn't bother paying attention. By the time Bitcoin was big enough for govs to worry about attacking it should also have so many participants the power bar level would be far higher, providing strong defense.
Let's say the ideal power bar level is 50,000. At this level no government on earth has enough resources to beat the grassroots network. We hear people brag about how much security BTC has. However, the marketcap for all of BTC is about $160B. Countries like the U.S. and China have GDP measured in many trillions; a trillion is 1,000 billion. Does 160B really seem untouchable? For numeric comparison the main U.S. federal food assistance program cost the government $70B in 2016, representing about 2% of the budget. So the entirety of the BTC market cap is about twice the size of one welfare program, representing 2% of the overall budget. Where should we place the current security power bars if we want guaranteed safety from a determined U.S. gov? If 50,000 is guaranteed safe we're far from it. I'd say BTC is more like 5,000. That's still pretty decent.
Of course, BCH split from BTC... and didn't carry over all the miners and accompanying security. That's not an immediate concern because if BTC isn't on government's radar yet BCH sure isn't. However, that doesn't mean BCH doesn't need security from hostile forces. It's still a valuable network and needs defenses. Where would we put power bars for BCH? If BTC is 5,000 and BCH only has 3% of that hashrate then BCH has just 150. That's it.
How the Developer Funding Plan Works
Back to the DFP. What this says is as a community we agree to break off a piece of the block reward and instead of giving 100% to miners we give a small percent to developers. If each block is 10 coins and the price is $300 then winning a block means winning $3,000. Of course that's not all profit because miners have electricity and other expenses to pay before calculating profit. So if we reduce the portion of the miner reward by 10% so they get just 9 coins per block yet the price stays the same what happens? It means miners receive $2,700 for the same effort. We've just made it more expensive to mine BCH from the point of view of miners. What would any miner then rationally do? Seek profitability elsewhere if available. Suddenly BTC SHA256 hashing looks slightly more attractive so they'll go there. Hashrate leaves BCH and goes to BTC, but the key important point is BOTH chains have a difficulty adjustment algorithm which adjusts to account for rising or lowering miners overall, which keeps the coin inflation rate steady. This means BTC total hashrate rises (more miners compete for BTC) and its Difficulty Level rises accordingly, so the same rate of BTC pumps out; on BCH total hashrate falls (less miners compete for BCH) and its Difficulty falls, so the same rate of BCH pumps out. Inflation remains about the same on both coins so the price of both coins doesn't change any, beyond what it normally does based on news/events etc.
So what difference is there? The difference is total network security. Hashrate totals have changed. BTC gains more miner securing hashrate while BCH loses it. So BTC goes from 5,000 to say 5,100 power bars. BCH goes from about 150 to 140.
Does any of that matter in the grand scheme of things? Not in the slightest. Part of the reason is due to our emergency circumstances with BCH we had to rework our security model. Our primary defense is an idea I came up with, which BitcoinABC implemented, saying it's not sheer hashpower that dictates what chain we follow. We won't replace a chain we're working on if a new one suddenly appears if it means changing more than 10 blocks deep of history. This prevents all the threatening hashrate hanging over our heads from mining a secret chain and creating havoc unleashing it causing 10+ confimed txs to be undone, while exchanges, gambling sites etc. have long since paid out real world money.
Switching $6M worth of block rewards from mining to devs just means we lose a bit of hashrate security, while we gain those funds for development. Nothing more. Nobody holding BCH pays in the form of inflation or any other way. It costs literally NOTHING BECAUSE The block reward is ALREADY ALLOCATED. It will EITHER go 100% to mining security if we do nothing, or go to both miners and devs if the plan is put into effect. Hopefully this helps.
:)
TL;DR: we switch security which we don't really need, for developer funding which we do.
submitted by cryptos4pz to btc [link] [comments]

Ethereum 2.0: Why, How And Then?

Ethereum 2.0: Why, How And Then?
Why update Ethereum? One problem of the Ethereum network that the update should solve is scalability. At the moment, its blockchain can perform to 15 transactions per second, which is over two times more than that of bitcoin. However, this speed is still not enough for a large number of users. For example, the Visa payment system can perform up to 24 thousand transactions per second.
Adding an Optimistic Rollup technology will help to solve the scalability problem. According to Vitalik Buterin, the creator of Ethereum, its implementation will occur after the network’s update and will increase its throughput to 1000 transactions per second.
by StealthEX
Another solution to this problem is a change in the algorithm. Currently, Ethereum runs on the same protocol as Bitcoin, Proof-of-Work, confirmation of transactions in the cryptocurrency network occurs using the computing power of processors.
Using the Proof-of-Work algorithm limits the growth of the Ethereum network bandwidth. To withstand a large load, more miners are needed, but the growth of their number slows down since it becomes more difficult to mine cryptocurrency and, consequently, less profitable.
This is the reason the Ethereum development team is planning to switch to the Proof-of-Stake algorithm. Unlike the PoW, it does not require the use of computing power to confirm blocks. Instead of miners, transactions will be confirmed by validators. To become a validator, the user should have 32 ETH and install a special client. From a technical point of view, this is easier than buying mining devices and maintaining their functionality, as well as looking for access to cheap electricity. Thus, the system will no longer need expensive hardware.
The main solution to the scalability problem will be to implement sharding. Current Ethereum network is a unified database. After the update, the blockchain will be divided into autonomous, interacting blocks — shards, each of which will process particular transactions and smart contracts, which, however, will be recognized by the entire Ethereum blockchain. Nodes that form the shard process information separately, this allows maintaining the principle of decentralization. This is important since the risk of centralization is another big problem of the old algorithm.
Since the complexity of mining has increased over time, and now this process requires having expensive equipment and access to cheap electricity, small participants can not afford to stay in the game. In such conditions, big pools of miners that can provide higher productivity have a decisive advantage. For example, in April, more than 50% of the computing power of the Ethereum network was provided by only two mining pools. This creates a significant risk of centralization and “51% attacks”.
Validators will confirm transactions and get rewards in the form of passive income. According to the project’s roadmap, this amount will vary from 1.81% to 18.1%. The profitability of the stacking will depend on the number of validators. The more of them, the smaller the amount they get. However, there will be some costs. In the same Ethereum 2.0 roadmap, developers mentioned that the cost of validating transactions, based on rough calculations, will be about $180 per year. One of the developers of the project, Justin Drake, predicts that on average the validator will receive an income of 5% per year.

What is the estimated Ethereum 2.0 release date?

The launch of Ethereum 2.0 will take place gradually, in six stages, the “zero” of which is expected this summer. However, it is worth noting that due to finding vulnerabilities, the dates have already been shifted several times–initially, the transition to the new version was planned in 2019.
One of the developers of the project, Afri Schoedon, said that the launch could be postponed to 2021. According to him, under favourable circumstances, the main network can be presented in November of this year, but there are certain difficulties in this.
Schoedon explained that before launching ETH 2.0, all of its clients must be brought to the same specifications. After that, the developer’s team needs to open a unified deposit contract so that users can transfer their assets from the old chain to the new one. Between these stages, developers also need additional time, so they could test all aspects of the new system.
As it usually happens, there’s going to be two parallel blockchains as a result of the hard fork. The first one, ETH1, will continue to work using an old protocol, while the update will be implemented on ETH2. Users will be able to transfer their coins from the old blockchain to the new one, but not vice versa. The appearance of sharding will allow developers to move to phase 1.5 — during this phase, ETH1 will merge with ETH2, becoming one of the 64 “shards” of the updated blockchain. In the second phase, smart contracts become available on ETH2, which can be considered the full start of its economic activity.

And what are expectations?

Updating the Ethereum network will increase its technical capabilities, namely, it will speed up and reduce the cost of transactions, as well as make the blockchain less vulnerable for centralization process.
Currently, the absolute majority of decentralized finance projects are developed using the Ethereum platform. The Ethereum 2.0 release will probably attract even more partners who will use the blockchain for their projects.
Ryan Watkins, Messari Analysis company’s researcher, highly values the importance of updating.
“ETH 2.0 is a much stronger catalyst than the Bitcoin halving simply because it’s an uncertain and fundamental change.” — Ryan Watkins wrote on his Twitter account
And the part about uncertainty is hard to disagree with. Of course, there are some concerns about the bright Ethereum future. The coming hard fork carries with it potential negative consequences. For example, after switching to the PoS algorithm, the US Securities and Exchange Commission (SEC) may well admit Ethereum as a security, which will lead to legal complications similar to those faced by Pavel Durov when trying to launch his TON blockchain platform.
For now, ETH is the most popular coin for mining at home, and most of these miners will probably just leave the network.
There is also a risk that the price of Ethereum may fall. To receive passive income for storing ETH, the user will not only need to have 32 coins but also block them through a special transaction. They will not be able to withdraw these blocked funds immediately. As stated in the project roadmap, the cryptocurrency withdrawal process will take at least 18 hours. This could take even more time if many users request the return of tokens at the same time. Thus, if ETH falls in price, it will be impossible to sell it immediately, and there is a risk of losing some capital and all the income received from stacking.
Nevertheless, investors are mostly optimistic — the volume of Ethereum options on the Deribit exchange has grown to a historical high, which indicates confidence in the future of Ethereum project. The ETH price is also growing, having overcome the consequences of the March collapse of cryptocurrencies.
Most experts agree that Ethereum price will grow after the update. On the one hand, the altcoin will become more expensive, as it will become a more attractive investment. On the other hand, the offer will decrease, as users will start transferring coins from the first version of the network to the second, to block them for passive income.
If you want to participate in the future fate of the ETH project, you can buy Ethereum using our service. We provide fast, anonymous and limitless swaps between over 250 cryptocurrencies. Just go to StealthEX and follow these easy steps:
✔ Choose the pair and the amount for your exchange. For example BTC to ETH.
✔ Press the “Start exchange” button.
✔ Provide the recipient address to which the coins will be transferred.
✔ Move your cryptocurrency for the exchange.
✔ Receive your coins.
Follow us on Medium, Twitter and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [[email protected]](mailto:[email protected]).
The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Original article was posted on https://stealthex.io/blog/2020/06/30/ethereum-2-0-why-how-and-then/.
submitted by Stealthex_io to conspiracy [link] [comments]

Forbes solves the "Impossible Triangle" problem

Forbes solves the

https://preview.redd.it/crbhgda6c0651.png?width=640&format=png&auto=webp&s=522357d06b1f3c893f996dbd3b79aab5461e4dfb
Blockchain has been described as an omnipotent technology since its inception. It is expected to affect all walks of life and even reshape production relations. However, blockchain itself has a technical bottleneck called "Impossible Triangle", which is still far from its potential. The so-called "Impossible Triangle" of blockchain, also known as the "ternary paradox", means that no matter which consensus mechanism is adopted by blockchain network to determine the generation mode of new blocks, it cannot take into account the three requirements of throughput, security and decentralization at the same time.
For example, bitcoin can theoretically guarantee security and decentralization on the basis of large amount of computing power. But the disadvantage is that it is difficult to improve throughput, slow speed and high cost. EOS, which is said to take improving throughput as an important technological breakthrough, adopts the consensus mechanism of dpos, greatly reducing the number of nodes and being criticized for sacrificing the essence of decentralization. Although the "king of ten thousand chains" Ethereum has the partition technology as the solution of capacity expansion, it can't fall down because of the technical difficulty.
Forbes uses "zero knowledge proof" technology, greatly improves throughput without sacrificing decentralization, and solves the "Impossible Triangle" problem that has plagued the blockchain industry for many years.
1、 Zero knowledge proof
First, we introduce the concept of lower zero knowledge proof. Zero knowledge proof, as the name implies, is not only to fully prove that they are the legitimate owners of certain rights and interests, but also not to disclose relevant information - that is to say, the "knowledge" to the outside world is "zero". The certifier proves to the verifier and makes him believe that he knows or has some information, but the proving process cannot disclose any information to the verifier.
Case 1: a wants to prove to B that he has the key of a room. Suppose that the room can only open the lock with the key, and no other method can open it. There are two ways:
① A shows the key to B, and B uses the key to open the lock of the room, so as to prove that a has the correct key of the room.
② B. make sure that there is an object in the room. A opens the door of the room with his own key, and then takes the object out and shows it to B, so as to prove that he does have the key of the room.
The second method belongs to zero knowledge proof. Its advantage is that in the whole process of proof, B can never see the appearance of the key, thus avoiding the leakage of the key.
Case 2: there is a circular corridor. The exit and the entrance are the same, but there is a door that can only be opened with a key somewhere in the middle of the corridor. A needs to prove to B that he has the key to the door. With zero knowledge proof, B looks at a entering the corridor from the entrance and then going out of the corridor from the exit. At this time, B does not get any information about the key, but it can completely prove that a has the key.
https://preview.redd.it/psbzg9ylc0651.png?width=571&format=png&auto=webp&s=6d58835a211e4d391112cf39720f4aaecda869f6
A large number of facts prove that zero knowledge proof is very useful in cryptography. If zero knowledge proof can be used for verification, many problems will be solved effectively. So how does Forbes use zero knowledge proof to improve TPS?
2、 Second floor expansion
It is difficult to solve the "Impossible Triangle" problem if you directly modify the blockchain architecture itself to improve the throughput. After all, the more nodes, it is very difficult to improve the TPS technology on the premise of decentralization. But Forbes thought of the "curve saving the nation" scheme, that is, without changing the blockchain itself, to improve the TPS by setting the second layer architecture.
Here is a case in life:
If the Forbes public chain is regarded as a real-life bank, and the transfer operation is carried out on the Forbes public chain, it is like handling the transfer business in the bank's counter, but the difference is that the bank is centralized and the blockchain is decentralized.
In the case of few people, it's easy for users to handle the transfer business in the bank, but once there are more people, it's easy to form a long queue, which makes the users in the back have a long wait. Blockchain is like a bank. When there are more people in the transfer queue, there will be a block. So to improve the throughput of blockchain is how to improve the speed of bank transfer business.
But the bank is so big. There are so many bank staff (you can compare the bank staff to the nodes of the blockchain). It is very difficult for the bank to improve the speed of handling the transfer business. This makes the people behind the line angry, but they have no choice.
https://preview.redd.it/euxut33zc0651.png?width=658&format=png&auto=webp&s=899292e272be66b1ead3113db0d21fd9d8985dca
Finally, one of the people at the back of the line couldn't bear to wait. He stood up and said, "we can't wait. We have to find ways to improve our efficiency." And they said to him, you are not a banker. What can you do. So, the man said confidently, "let's see my operation and cooperate with me.".
Only the person pulls out a book for bookkeeping, starts from the fifth person in line, records the balance of each person's account after transfer in detail, and then asks each person to confirm that the note book is authorized by hand print. Then after the last person records, he gets an account book for recording the final balance of the owner's account. Although there is no specific transfer record in this account book, it is recorded accurately Record the balance of each person's transfer. Although some people transfer to each other many times, no matter how many times they transfer, people only care about the balance of their final account
After that person's statistics, just in time, the fourth person in line finished the transfer at the bank. Then he walked into the bank with this account book and said that this was the account balance after the fifth person started the transfer of all the people. The bank only needs to change the account balance of these people in the system.
At the first sight of the bank, it's not easy. The staff swiped it and changed all the balances of these accounts at once, so that the bank's handling of transfer business increased by several hundred times.
This is how Forbes is implemented. By setting the second level node, which is called relay, let relay collect the account transfer information of queued users and verify the user's signature. After calculation, integrate the token balance information of the final address into the Merkel tree and submit it to the chain, and then process it at one time.
We call this method of improving the block chain TPS "the second layer expansion".
At first glance, this scheme is perfect, but there are various problems in practical operation. For example:
  1. How can the bank believe that the person with the final account book actually counts the transfer requests of all the queuers?
  2. What if this person, because of personal grudges, intentionally misses the statistics for those who don't like it?
  3. What if this person secretly changes the account balance on the way to the bank?
At this time, zero knowledge proof will be of great use.

https://preview.redd.it/25p5vrb9d0651.png?width=599&format=png&auto=webp&s=9d07cb226d1f6f318703c76c5f4d9000b370145a
3、 Zero knowledge proof + second layer expansion + smart contract
To solve the above problems is actually to solve the problem of trust. The bank is not stupid. It's OK to let the bank send its own staff. Each staff sent by the bank will issue a "work permit" and an open box with a lock before departure. When you count transfers for people in line, the account book is safe, because people will supervise him. When you count the last person, the staff will put the account book into a locked box and close it. In this way, on the way to the bank, the staff can't do evil and modify the account data. After arriving at the bank, the bank only recognizes the "work permit" and confirms that it is its own staff. Without opening the locked box, it can be determined that this person is indeed trustworthy.
It can be seen that in the whole process, the bank gets ZERO account information, but believes that the transfer data counted by this person is safe and reliable, which is zero knowledge proof.
The principle of Forbes technology is exactly the same. The main chain will use the zero knowledge circuit to generate the certificate called proof. When relay counts the transfer information of users, it will finally package and submit the general ledger Merkel tree, and use proof to encrypt. After the main chain sees the encrypted package, it will use proof to decrypt, perform the calculation of modifying the address token balance, and then broadcast to the whole node.
But there is still a problem that hasn't been solved, that is, what should staff do if they intentionally miss the bookkeeping of people who don't look good? Or the staff ask for a tip from the user. If they don't tip, they don't charge. What should we do?
In fact, it's also easy to handle. People who miss the account or are asked for tips will definitely complain to the bank angrily. After the bank checks, they only need to deduct the balance of the staff's account.
Here Forbes will arrange smart contracts on the main chain, and require the added relay to mortgage a sufficient number of GFS on the main chain. If relay misses the user transfer request or intentionally increases the transfer fee, the main chain will deduct the pledge GFS of relay through the smart contract to compensate the user's loss.
See here, congratulations on finally understanding the technical solution of Forbes to improve TPS. Under the support of huge distributed mining pool, Forbes not only has a large number of nodes to provide ultra-high security and decentralization, but also uses zero knowledge proof + second expansion + smart contract to easily increase TPS to more than 10000, which solves the "Impossible Triangle" problem of blockchain.
I think you must have noticed the details of the pledge of GFS by relay. If smart people don't explain, they can predict the future value of GFS from the details.
submitted by forbeschain to u/forbeschain [link] [comments]

Proof Of Work Explained

Proof Of Work Explained
https://preview.redd.it/hl80wdx61j451.png?width=1200&format=png&auto=webp&s=c80b21c53ae45c6f7d618f097bc705a1d8aaa88f
A proof-of-work (PoW) system (or protocol, or function) is a consensus mechanism that was first invented by Cynthia Dwork and Moni Naor as presented in a 1993 journal article. In 1999, it was officially adopted in a paper by Markus Jakobsson and Ari Juels and they named it as "proof of work".
It was developed as a way to prevent denial of service attacks and other service abuse (such as spam on a network). This is the most widely used consensus algorithm being used by many cryptocurrencies such as Bitcoin and Ethereum.
How does it work?
In this method, a group of users competes against each other to find the solution to a complex mathematical puzzle. Any user who successfully finds the solution would then broadcast the block to the network for verifications. Once the users verified the solution, the block then moves to confirm the state.
The blockchain network consists of numerous sets of decentralized nodes. These nodes act as admin or miners which are responsible for adding new blocks into the blockchain. The miner instantly and randomly selects a number which is combined with the data present in the block. To find a correct solution, the miners need to select a valid random number so that the newly generated block can be added to the main chain. It pays a reward to the miner node for finding the solution.
The block then passed through a hash function to generate output which matches all input/output criteria. Once the result is found, other nodes in the network verify and validate the outcome. Every new block holds the hash of the preceding block. This forms a chain of blocks. Together, they store information within the network. Changing a block requires a new block containing the same predecessor. It is almost impossible to regenerate all successors and change their data. This protects the blockchain from tampering.
What is Hash Function?
A hash function is a function that is used to map data of any length to some fixed-size values. The result or outcome of a hash function is known as hash values, hash codes, digests, or simply hashes.
https://preview.redd.it/011tfl8c1j451.png?width=851&format=png&auto=webp&s=ca9c2adecbc0b14129a9b2eea3c2f0fd596edd29
The hash method is quite secure, any slight change in input will result in a different output, which further results in discarded by network participants. The hash function generates the same length of output data to that of input data. It is a one-way function i.e the function cannot be reversed to get the original data back. One can only perform checks to validate the output data with the original data.
Implementations
Nowadays, Proof-of-Work is been used in a lot of cryptocurrencies. But it was first implemented in Bitcoin after which it becomes so popular that it was adopted by several other cryptocurrencies. Bitcoin uses the puzzle Hashcash, the complexity of a puzzle is based upon the total power of the network. On average, it took approximately 10 min to block formation. Litecoin, a Bitcoin-based cryptocurrency is having a similar system. Ethereum also implemented this same protocol.
Types of PoW
Proof-of-work protocols can be categorized into two parts:-
· Challenge-response
This protocol creates a direct link between the requester (client) and the provider (server).
In this method, the requester needs to find the solution to a challenge that the server has given. The solution is then validated by the provider for authentication.
The provider chooses the challenge on the spot. Hence, its difficulty can be adapted to its current load. If the challenge-response protocol has a known solution or is known to exist within a bounded search space, then the work on the requester side may be bounded.
https://preview.redd.it/ij967dof1j451.png?width=737&format=png&auto=webp&s=12670c2124fc27b0f988bb4a1daa66baf99b4e27
Source-wiki
· Solution–verification
These protocols do not have any such prior link between the sender and the receiver. The client, self-imposed a problem and solve it. It then sends the solution to the server to check both the problem choice and the outcome. Like Hashcash these schemes are also based on unbounded probabilistic iterative procedures.
https://preview.redd.it/gfobj9xg1j451.png?width=740&format=png&auto=webp&s=2291fd6b87e84395f8a4364267f16f577b5f1832
Source-wiki
These two methods generally based on the following three techniques:-
CPU-bound
This technique depends upon the speed of the processor. The higher the processor power greater will be the computation.
Memory-bound
This technique utilizes the main memory accesses (either latency or bandwidth) in computation speed.
Network-bound
In this technique, the client must perform a few computations and wait to receive some tokens from remote servers.
List of proof-of-work functions
Here is a list of known proof-of-work functions:-
o Integer square root modulo a large prime
o Weaken Fiat–Shamir signatures`2
o Ong–Schnorr–Shamir signature is broken by Pollard
o Partial hash inversion
o Hash sequences
o Puzzles
o Diffie–Hellman–based puzzle
o Moderate
o Mbound
o Hokkaido
o Cuckoo Cycle
o Merkle tree-based
o Guided tour puzzle protocol
A successful attack on a blockchain network requires a lot of computational power and a lot of time to do the calculations. Proof of Work makes hacks inefficient since the cost incurred would be greater than the potential rewards for attacking the network. Miners are also incentivized not to cheat.
It is still considered as one of the most popular methods of reaching consensus in blockchains. Though it may not be the most efficient solution due to high energy extensive usage. But this is why it guarantees the security of the network.
Due to Proof of work, it is quite impossible to alter any aspect of the blockchain, since any such changes would require re-mining all those subsequent blocks. It is also difficult for a user to take control over the network computing power since the process requires high energy thus making these hash functions expensive.
submitted by RumaDas to u/RumaDas [link] [comments]

How to Create Your Own Cryptocurrency Using Python 2020

A blockchain is a public database that irreversibly documents and authenticates the possession and transmission of digital assets. Digital currencies, like Bitcoin and Ethereum, are based on this concept. Blockchain is an exciting technology that you can use to transform the capabilities of your applications.
Of late, we’ve been seeing governments, organizations, and individuals using the blockchain technology to create their own cryptocurrencies—and avoid being left behind. Notably, when Facebook proposed its own cryptocurrency, called Libra, the announcement stirred many waters across the world.

What if you could also follow suit and create your own version of a cryptocurrency?

I thought about this and decided to develop an algorithm that creates a crypto.
I decided to call the cryptocurrency fccCoin.
In this tutorial, I’m going to illustrate the step-by-step process I used to build the digital currency (I used the object-oriented concepts of the Python programming language).
Here is the basic blueprint of the blockchain algorithm for creating the fccCoin:
class Block: def __init__(): #first block class pass def calculate_hash(): #calculates the cryptographic hash of every block class BlockChain: def __init__(self): # constructor method pass def construct_genesis(self): # constructs the initial block pass def construct_block(self, proof_no, prev_hash): # constructs a new block and adds it to the chain pass u/staticmethod def check_validity(): # checks whether the blockchain is valid pass def new_data(self, sender, recipient, quantity): # adds a new transaction to the data of the transactions pass u/staticmethod def construct_proof_of_work(prev_proof): # protects the blockchain from attack pass u/property def last_block(self): # returns the last block in the chain return self.chain[-1]
Now, let me explain what is taking place…
1. Building the first Block class A blockchain comprises of several blocks that are joined to each other (that sounds familiar, right?).
The chaining of blocks takes place such that if one block is tampered with, the rest of the chain becomes invalid.
In applying the above concept, I created the following initial block class
import hashlib import time class Block: def __init__(self, index, proof_no, prev_hash, data, timestamp=None): self.index = index self.proof_no = proof_no self.prev_hash = prev_hash self.data = data self.timestamp = timestamp or time.time() u/property def calculate_hash(self): block_of_string = “{}{}{}{}{}”.format(self.index, self.proof_no, self.prev_hash, self.data, self.timestamp) return hashlib.sha256(block_of_string.encode()).hexdigest() def __repr__(self): return “{} – {} – {} – {} – {}”.format(self.index, self.proof_no, self.prev_hash, self.data, self.timestamp)
As you can see from the code above, I defined the __init__() function, which will be executed when the Block class is being initiated, just like in any other Python class.
I provided the following parameters to the initiation function:
self—this refers to the instance of the Block class, making it possible to access the methods and attributes associated with the class; index—this keeps track of the position of the block within the blockchain; proof_no—this is the number produced during the creation of a new block (called mining); prev_hash—this refers to the hash of the previous block within the chain; data—this gives a record of all transactions completed, such as the quantity bought; timestamp—this places a timestamp for the transactions. The second method in the class, calculate_hash, will generate the hash of the blocks using the above values. The SHA-256 module is imported into the project to assist in obtaining the hashes of the blocks.
After the values have been inputted into the cryptographic hash algorithm, the function will return a 256-bit string representing the contents of the block.
This is how security is achieved in blockchains—every block will have a hash and that hash will rely on the hash of the previous block.
As such, if someone tries to compromise any block in the chain, the other blocks will have invalid hashes, leading to disruption of the entire blockchain network.
Ultimately, a block will look like this:
{ “index”: 2, “proof”: 21, “prev_hash”: “6e27587e8a27d6fe376d4fd9b4edc96c8890346579e5cbf558252b24a8257823”, “transactions”: [ {‘sender’: ‘0’, ‘recipient’: ‘Quincy Larson’, ‘quantity’: 1} ], “timestamp”: 1521646442.4096143 }
2. Building the Blockchain class The main idea of a blockchain, just as the name implies, involves “chaining” several blocks to one another.
Therefore, I’m going to construct a Blockchain class that will be useful in managing the workings of the whole chain. This is where most of the action is going to take place.
The Blockchain class will have various helper methods for completing various tasks in the blockchain.
Let me explain the role of each of the methods in the class.
a. Constructor method This method ensures the blockchain is instantiated.
class BlockChain: def __init__(self): self.chain = [] self.current_data = [] self.nodes = set() self.construct_genesis()
Here are the roles of its attributes:
b. Constructing the genesis block The blockchain requires a construct_genesis method to build the initial block in the chain. In the blockchain convention, this block is special because it symbolizes the start of the blockchain.
In this case, let’s construct it by simply passing some default values to the construct_block method.
I gave both proof_no and prev_hash a value of zero, although you can provide any value you want.
def construct_genesis(self): self.construct_block(proof_no=0, prev_hash=0) def construct_block(self, proof_no, prev_hash): block = Block( index=len(self.chain), proof_no=proof_no, prev_hash=prev_hash, data=self.current_data) self.current_data = [] self.chain.append(block) return block
c. Constructing new blocks
The construct_block method is used for creating new blocks in the blockchain.
Here is what is taking place with the various attributes of this method:
d. Checking validity
The check_validity method is important in assessing the integrity of the blockchain and ensuring anomalies are absent.
As mentioned earlier, hashes are essential for the security of the blockchain as even the slightest change in the object will lead to the generation of a completely new hash.
Therefore, this check_validity method uses if statements to check whether the hash of every block is correct.
It also verifies if every block points to the right previous block, through comparing the value of their hashes. If everything is correct, it returns true; otherwise, it returns false.
u/staticmethod def check_validity(block, prev_block): if prev_block.index + 1 != block.index: return False elif prev_block.calculate_hash != block.prev_hash: return False elif not BlockChain.verifying_proof(block.proof_no, prev_block.proof_no): return False elif block.timestamp <= prev_block.timestamp: return False return True
e. Adding data of transactions
The new_data method is used for adding the data of transactions to a block. It’s a very simple method: it accepts three parameters (sender’s details, receiver’s details, and quantity) and append the transaction data to self.current_data list.
Anytime a new block is created, this list is allocated to that block and reset once more as explained in the construct_block method.
Once the transaction data has been added to the list, the index of the next block to be created is returned.
This index is calculated by adding 1 to the index of the current block (which is the last in the blockchain). The data will assist a user in submitting the transaction in future.
def new_data(self, sender, recipient, quantity): self.current_data.append({ ‘sender’: sender, ‘recipient’: recipient, ‘quantity’: quantity }) return True
f. Adding proof of work
Proof of work is a concept that prevents the blockchain from abuse. Simply, its objective is to identify a number that solves a problem after a certain amount of computing work is done.
If the difficulty level of identifying the number is high, it discourages spamming and tampering with the blockchain.
In this case, we’ll use a simple algorithm that discourages people from mining blocks or creating blocks easily.
u/staticmethod def proof_of_work(last_proof): ”’this simple algorithm identifies a number f’ such that hash(ff’) contain 4 leading zeroes f is the previous f’ f’ is the new proof ”’ proof_no = 0 while BlockChain.verifying_proof(proof_no, last_proof) is False: proof_no += 1 return proof_no u/staticmethod def verifying_proof(last_proof, proof): #verifying the proof: does hash(last_proof, proof) contain 4 leading zeroes? guess = f'{last_proof}{proof}’.encode() guess_hash = hashlib.sha256(guess).hexdigest() return guess_hash[:4] == “0000”
g. Getting the last block
Lastly, the latest_block method is a helper method that assists in obtaining the last block in the blockchain. Remember that the last block is actually the current block in the chain.
u/property def latest_block(self): return self.chain[-1]
Let’s sum everything together
Here is the entire code for creating the fccCoin cryptocurrency.
You can also get the code on this GitHub repository.
import hashlib import time class Block: def __init__(self, index, proof_no, prev_hash, data, timestamp=None): self.index = index self.proof_no = proof_no self.prev_hash = prev_hash self.data = data self.timestamp = timestamp or time.time() u/property def calculate_hash(self): block_of_string = “{}{}{}{}{}”.format(self.index, self.proof_no, self.prev_hash, self.data, self.timestamp) return hashlib.sha256(block_of_string.encode()).hexdigest() def __repr__(self): return “{} – {} – {} – {} – {}”.format(self.index, self.proof_no, self.prev_hash, self.data, self.timestamp) class BlockChain: def __init__(self): self.chain = [] self.current_data = [] self.nodes = set() self.construct_genesis() def construct_genesis(self): self.construct_block(proof_no=0, prev_hash=0) def construct_block(self, proof_no, prev_hash): block = Block( index=len(self.chain), proof_no=proof_no, prev_hash=prev_hash, data=self.current_data) self.current_data = [] self.chain.append(block) return block u/staticmethod def check_validity(block, prev_block): if prev_block.index + 1 != block.index: return False elif prev_block.calculate_hash != block.prev_hash: return False elif not BlockChain.verifying_proof(block.proof_no, prev_block.proof_no): return False elif block.timestamp <= prev_block.timestamp: return False return True def new_data(self, sender, recipient, quantity): self.current_data.append({ ‘sender’: sender, ‘recipient’: recipient, ‘quantity’: quantity }) return True u/staticmethod def proof_of_work(last_proof): ”’this simple algorithm identifies a number f’ such that hash(ff’) contain 4 leading zeroes f is the previous f’ f’ is the new proof ”’ proof_no = 0 while BlockChain.verifying_proof(proof_no, last_proof) is False: proof_no += 1 return proof_no u/staticmethod def verifying_proof(last_proof, proof): #verifying the proof: does hash(last_proof, proof) contain 4 leading zeroes? guess = f'{last_proof}{proof}’.encode() guess_hash = hashlib.sha256(guess).hexdigest() return guess_hash[:4] == “0000” u/property def latest_block(self): return self.chain[-1] def block_mining(self, details_miner): self.new_data( sender=”0″, #it implies that this node has created a new block receiver=details_miner, quantity= 1, #creating a new block (or identifying the proof number) is awarded with 1 ) last_block = self.latest_block last_proof_no = last_block.proof_no proof_no = self.proof_of_work(last_proof_no) last_hash = last_block.calculate_hash block = self.construct_block(proof_no, last_hash) return vars(block) def create_node(self, address): self.nodes.add(address) return True u/staticmethod def obtain_block_object(block_data): #obtains block object from the block data return Block( block_data[‘index’], block_data[‘proof_no’], block_data[‘prev_hash’], block_data[‘data’], timestamp=block_data[‘timestamp’])
Now, let’s test our code to see if it works.
blockchain = BlockChain() print(“***Mining fccCoin about to start***”) print(blockchain.chain) last_block = blockchain.latest_block last_proof_no = last_block.proof_no proof_no = blockchain.proof_of_work(last_proof_no) blockchain.new_data( sender=”0″, #it implies that this node has created a new block recipient=”Quincy Larson”, #let’s send Quincy some coins! quantity= 1, #creating a new block (or identifying the proof number) is awarded with 1 ) last_hash = last_block.calculate_hash block = blockchain.construct_block(proof_no, last_hash) print(“***Mining fccCoin has been successful***”) print(blockchain.chain)
It worked!
Here is the output of the mining process:
***Mining fccCoin about to start*** [0 – 0 – 0 – [] – 1566930640.2707076] ***Mining fccCoin has been successful*** [0 – 0 – 0 – [] – 1566930640.2707076, 1 – 88914 – a8d45cb77cddeac750a9439d629f394da442672e56edfe05827b5e41f4ba0138 – [{‘sender’: ‘0’, ‘recipient’: ‘Quincy Larson’, ‘quantity’: 1}] – 1566930640.5363243]
Conclusion
There you have it!
That’s how you could create your own blockchain using Python.
Let me say that this tutorial just demonstrates the basic concepts for getting your feet wet in the innovative blockchain technology.
If this coin were deployed as-is, it could not meet the present market demands for a stable, secure, and easy-to-use cryptocurrency.
Therefore, it can still be improved by adding additional features to enhance its capabilities for mining and sending financial transactions.
Nonetheless, it’s a good starting point if you decide to make your name known in the amazing world of cryptos.
If you have any comments or questions, please post them below.
Happy (crypto) coding!
Source: Cryptoors
submitted by djkloud to CryptoTechnology [link] [comments]

Bitcoin basics: What is the difficulty target and how does it adjust itself? How to Calculate Bitcoin Difficulty Crypto Mining Difficulty 101 - Everything You Need to Know Bitcoin Q&A: Why Can't Bitcoin Mining Difficulty Adjust a Little Quicker? Bitcoin mining difficulty example. THIS IS CRAZY!!

Difficulty is a measure of how difficult it is to find a hash below a given target. The Bitcoin network has a global block difficulty. Valid blocks must have a hash below this target. Mining pools also have a pool-specific share difficulty setting a lower limit for shares. How often does the network difficulty change? Every 2016 blocks. The Bitcoin Network Difficulty Metric The Bitcoin network difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. It is recalculated every 2016 blocks to a value such that the previous 2016 blocks would have been generated in exactly two weeks had everyone been mining at this difficulty. This will yield, on average, one block every ten ... Difficulty is a value used to show how hard is it to find a hash that will be lower than target defined by system.. The Bitcoin network has a global block difficulty. Valid blocks must have a hash below this target. Mining pools also have a pool-specific share difficulty setting a lower limit for shares. Bitcoin mining calculator for SHA-256: Price 12,977.79$, 19.9973T difficulty, 144.1406 EH/s network hashrate, 6.2500 BTC block reward. Bitcoin mining pools list and list of best mining software. Accurate Bitcoin mining calculator trusted by millions of cryptocurrency miners since May 2013 - developed by an OG Bitcoin miner looking to maximize on mining profits and calculate ROI for new ASIC miners. Updated in 2020, the newest version of the Bitcoin mining calculator makes it simple and easy to quickly calculate mining profitability for your Bitcoin mining hardware.

[index] [29455] [37869] [16266] [18609] [33525] [42908] [4904] [40216] [20662] [34408]

Bitcoin basics: What is the difficulty target and how does it adjust itself?

What is crypto mining difficulty, how is it adjusted, what is the point of a block time? Vosk explains how the difficulty for mining a block reward is adjusted when mining Bitcoin on sha-256 or ... In this video, I attempt to describe how crypto mining difficulty works and how it affects profitability. I also crunch some numbers to show alternative methods for determining profits based on ... This usually relates to the difficulty of generating a new hash address, also known as mining. This is a variable that the Bitcoin system is using to keep the growth of new Bitcoins on a... Watch in 360 the inside of a nuclear reactor from the size of an atom with virtual reality - Duration: 3:42. EDF in the UK Recommended for you. 360° Bitcoin mining difficulty example. THIS IS CRAZY!! This is a great example of how fast the bitcoin community is upgrading their hardware and leaving my micro rig in the past.

#