Peercoin mining calculator - SHA-256 ⛏️ | minerstat

Proof Of Stake

Proof Of Stake
https://preview.redd.it/7nfccptuway41.png?width=1200&format=png&auto=webp&s=0103130266549ba8ae21e63d837b67528e39f59c
In my previous article, I have covered one of the most famous consensus mechanism i.e Proof of Work. But like any technology, that protocol also has a certain drawback, and to overcome these issues another protocol has been developed i.e Proof Of Stake.
Proof Of Stake, as the name implies depends upon the stake of a validator. Like Miners in PoW, PoS consists of a group of validators. These validators use a pseudo-random algorithm to select a node that will act as a validator for the next block. The validator was decided based on a combination of different factors which includes the staking age and the node’s wealth. This means that the more coin one has, the more mining power he or she will have. Thus unlike PoW which is quite a power extensive because it depends upon solving a complex computational puzzle to decide the next block, the validation and generation of next block in PoS solely depend on the owner's stake. In Proof of Stake systems, the blocks that were mined are termed as ‘forged’.
This algorithm was introduced in 2011 with the idea to solve the problems with Proof of Work. Though both these algorithm is used to achieve consensus in the blockchain network, the underlying process to reach the final goal is different.
Some of the crypto coins like Nxt (NXT), Blackcoin, ShadowCoin, and Peercoin (PPC) uses the PoS method. Ethereum (ETH) is also planning to switch to a PoS system.
How do PoS works?
The blockchain network consists of a series of a node which acts as a miner (Forge in this case). Any network user who wants to participate in the forging activity needs to stake a certain amount of coin into the network. One can do this by sending a special transaction that will lock up their base cryptocurrency(in Ethereum's case, ether). The stake size determines the chances of a node to be selected as the next validator who will forge the next block. The bigger the stake, the higher the chances.
The newly created node which got selected to forge the next block checks the validity of the transactions in the block. If the transactions are valid, it then signs the block and adds it to the blockchain network. The node receives the transaction fees that are associated with the transactions in the block as a reward.
In the case when the node doesn’t want to serve as a forger, it can withdraw its stake along with the rewards earned. The network verifies and releases the node once it successfully checks that the node has not been involved in any malicious activity.
Advantages of using PoS:-
o Enhanced security.
o Energy-efficient.
o Reduced risk of centralization.
Forge selection method:-
Two unique methods are being used in case there is a requirement of not selecting the node with the maximum stake. These are:-
o Randomized Block Selection
In this method, a node gets selected as the validators which are having a combination of the lowest hash value and the highest stake. The account which will receive the right to forge a block can be easily predicted by each node because the stakes are public
o Coin Age Selection method
In this method, a node gets selected as the validators who have kept their stake for a longer period. The Coin age is calculated by multiplying the number of days the coins have been reserved as stake by the number of coins that are available as stake.
Coin age=no.of days coined staked *total no of coins staked
The coin age of a node has been reset to zero once it forged a block. To forge another block, the node has to wait for a certain period. Hence this method prevents the large stake nodes from dominating the blockchain network.
Different types of PoS
Proof Of Stake can be categorized into two parts:-
o Chain-based proof of stake
This algorithm randomly selects a validator during the time slot (e.g. every period of 10 seconds might be a time slot) available to create a block, and then assign it an authority to create a block with the constraint that the block must point to some previous block. Generally, it points to the last block of the longest chain. Hence over time, the blocks converge into one growing chain.
Blockchain projects that implemented this model are Nxt, Peercoin, Ardor.
o BFT-style proof of stake
This model offers ‘consistency’. Here the randomly chosen validators decide whether a particular block can be included in the chain or not at the end of each round. This type could be favored for a more “permission” approach. In this case, the consensus on a block does not depend on the length or size of the chain.
Blockchain projects that implemented this model are Neo, Tendermint, Polkadot, Hyperledge Fabric.
How it reduces the risk of a Network attack?
Since this model works on the concept of the stake owned by the validator, thus to effectively control the network and approve fraudulent transactions, a node has to own a majority stake in the network (also known as the 51% attack) which is quite impractical because if a hacker tries to purchase 51% of the total number of coins, the market reacts by the fast price appreciation.
Also, wherever the network detects any fraudulent transaction, not only the forger node loses a part of its stake but is also restricted from participating in future activities. Till the time the cost of staking is higher than the reward, the validator is at a loss in case of attempting fraud.
With the “Casper” upgrade underway for Ethereum, Proof-of-Stake (POS) model is gaining more popularity among other Blockchain consensus designs. With this upgrade, the protocols will set certain criteria that will identify a bad validator. The bad validator would lose their deposit if proven, thus making this model more secure.
Read more: Understanding different Consensus Mechanisms, Proof Of Work Explained
#bitcoin #ethereum #consensus #pos #blockchain
submitted by RumaDas to u/RumaDas [link] [comments]

Bitcoin, dogecoin. How I tried to make my fortune in 2014 with the sweat of my computer.

Bitcoin, dogecoin. How I tried to make my fortune in 2014 with the sweat of my computer.

https://preview.redd.it/mv21lvsa3do31.jpg?width=1280&format=pjpg&auto=webp&s=51bf5296a06eedc178079cf0b3ab4c3cfc44f271
Make money just by working on your computer: the rise of electronic currencies, in the wake of bitcoin, can be a little dream, especially in times of crisis. We tried the experiment. Wealth at your fingertips? Not for everybody.
Reading time: 6 min.
We have known at least since March 2013, with the soaring Bitcoin (BTC) price during the closing of Cypriot banks: electronic currencies, it has not much virtual. Since the creation of the enigmatic Satoshi Nakamoto serves as a safe haven, a playground for speculators, interests the States and even makes it possible to pay for his trip to the space where his beer, bigger world would dare to pretend that it only serves to buy prohibited substances on SilkRoad - if it ever was.
At the end of November, James Howells was mocked a lot, this Brit, caught in a household frenzy, inadvertently threw a hard disk containing 7,500 bitcoins, the equivalent of 4.8 million euros. A small fortune now lost in the depths of the Docksway dump near Newport. Nevertheless, before causing the consternation of the global Internet, Jamie still had the nose to undermine the BTC at a time when the experience mobilized a handful of hardcore geeks.
Since the rise (sawtooth) bitcoin, each unit currently weighs more than 800 dollars, nearly thirty cryptocurrencies have emerged. Is it possible, this year again, to let this promising, volatile and risky train pass, or to fall into
  1. Choose your electronic motto.
  2. All are based on the same principle: to summarize (very) big features [1], the issuance of money is governed by an algorithm, and the new corners put in circulation reward the resolution, by participants in a network of peer and mathematical problems, including the validation and archiving of transactions, which are public [2]. Mining a cryptocurrency is like putting the computing power of your computer in the service of the network.
  3. Since the program is decreasing [3], the mining becomes more and more difficult with time (and with the increase of the number of participants): to hope to make his pelote via the only computational activity, one must either have to at its disposal a large fleet of machines, to be a miner from the first hour. Exit the bitcoin, long since out of the reach of a personal computer.
  4. I similarly gave up the litecoin and peercoin, already well launched (they date respectively 2011 and 2012), to set my heart on one of the most recent currencies - and certainly the hippest of the moment: the dogecoin.
  5. As its name suggests, the cryptocurrency favorite Shiba Inus from around the world is a tribute to the Doge, one of the most famous memes of 2013, with its captions in Comic Sans, the font most sorry for the web. A geek joke, therefore, except that - the unfathomable mysteries of the Internet - its value jumped 900% in the third week of December, and she suffered a Christmas robbery online.
  6. Admittedly, at the time when these lines are written, the dogecoin caps at 0.00023 dollars [4] - its quite ridiculous (and quite depressing), but even if you bet on the future, so much to go frankly.
  7. 2. The hands in the engine the billboard.
  8. From there, things get tough (a little). Installing an electronic purse on ones computer is not very complicated (the software is available for Windows, MacOS, Android or, for the more adventurous, on a repository to compile under Linux). It is also possible to use an online wallet, but it is more risky (except, perhaps, when one is called James Howells). When opened for the first time, the purse automatically synchronizes with the Dogecoin network (be careful, it can be long), which gives you a payment address (we can generate more later).
  9. The two most common ways to undermine electronic money are to use the computing power of the computers microprocessor (CPU) or, more efficiently, that of the graphics card processor (GPU). In the first case, the program is simple to install; in the second, it is necessary to choose the most adapted to its material [5]. There are, thankfully, a lot of online tutorials. Still, to operate the corner board requires in all cases to trade the comfort of the GUI for aridity, so confusing to the layman, command lines - we have nothing for nothing.
  10. Finally, at work alone, we prefer collaboration. Mining is best done in groups, or rather in pool: it distributes the gains, of course, but also the difficulty. For the dogecoin as for all the crypto-currencies, the pools are numerous. A quick tour of a dedicated section of the Reddit community site can help you make your choice.
  11. 3. Extension of the field of struggle.
  12. And after? After, we can rest, since it is the machine that works. But the truth of a cryptocurrency - even at the exceptionally high LOL and LOL rates of the Shiba Inu - is cruel and brutal: not all computers are equal. Or rather, some are more equal than others. For while you heat your CPU or your graphics card to grapple some unfortunate corners, others will sweep the game thanks to specialized integrated circuits, computing capabilities much higher.
  13. If the game of buying and reselling corners is basically just another stock exchange mechanism, less the intervention of the central banks - what is at stake, and the big political question they ask: are we certain to prefer speculation pure and perfect to monetary policies, however questionable they may be? -, production, it is the law of the strongest (in calculation). There are even lethal weapons at $ 10,000 each, with which your processors are like mosquitoes in front of an A bomb.
  14. And if you think it does not matter because after all, it does not cost you anything, think again: the components, like humans, wear out faster when they work at full speed, and the bill of electricity can quickly grow. The profitability of the case is anything but certain, as evidenced by the results of online calculators. (Needless to say, our laughing dogecoin does not stand up to this kind of simulation.)
  15. Much more boring, from a collective point of view: the carbon footprint, current and above all expected, of electronic currencies worries more and more. Last spring, Bloomberg estimated that the energy consumption of the Bitcoin network was equivalent to that of 31,000 US households. Not sure, according to the site, that their emission is less damaging to the environment than have been some physical currencies.
  16. For exciting to analyze that is the emergence of cryptocurrencies, it is better to ask now about their cost, economic and ecological. To see it as a potential source of income, except for being a very early adopter with a hollow nose, an individual with a lot of computational capital or a clever trader, you have to make a point.
  17. If the recurrent comparison with the famous Ponzi pyramid [6] is discussed (after all, the decentralized currencies do not make promises), remains that, as long as the value does not collapse, the system benefits mainly to the first entrants - except James Howells.
  18. As the Bitcoin.fr site aptly states: all this is just an experiment, invest only the time and money you can afford to lose. LOLs love was not a worse reason than another to experiment, so I finally submitted my laptop to four days and three nights of intense activity, which makes me happy. owner of a good half a thousand dogecoins. Either the equivalent of 0.115 dollar, or 0.08 euro. It is obviously not worth the electricity consumed to generate them, it increases my carbon footprint, but it amuses my entourage. But laughter is, as everyone knows, a safe bet in times of crisis, less volatile than a real bitcoin.
  19. And then, after all, you never know.
  20. Amaelle Guiton.
  21. 1. For explanations more provided (the case is quite complex), refer, for example, to the series of very detailed notes devoted to blogger Turblog.
  22. 2. And as such, searchable by everyone. It is the identity of the users that is not known, unless they reveal it, hence the reputation of anonymity (relative, therefore) cryptocurrencies.
  23. 3. In the case of bitcoin, the maximum of 21 million units should be reached around 2140.
  24. 4. For a day-to-day follow-up, see the CoinMarketCap site which lists the exchange rates of crypto-currencies, based on the dollar value of bitcoin.
  25. 5. We discover then, unfortunately, that some graphics cards do not allow the mining. This is the case for the author of these lines, reduced to working in conditions of extreme computer deprivation.
  26. 6. Comparison which is at the heart of a hilarious note on the ponzicoin, signed by the economic journalist Matthew OBrien, on The Atlantic (to read if you intend seriously to invest in the dogecoin).
submitted by Mejbah411 to u/Mejbah411 [link] [comments]

Staking — The New Way to Earn Crypto for Free

Staking — The New Way to Earn Crypto for Free

https://preview.redd.it/jpadsinyz3c41.png?width=616&format=png&auto=webp&s=c0dc410484430b863b0488727f92135f218edff2
Airdrops are so 2017, free money was fun while it lasted but now when someone says free money in crypto, the first thoughts are scams and ponzi schemes. But in 2020, there is a way to earn free money, in a legitimate, common practice, and logical manner — staking.
Staking is the core concept behind the Proof-of-Stake (PoS) consensus protocol that is quickly becoming an industry standard throughout blockchain projects. PoS allows blockchains to scale effectively without compromising on security and resource efficiency. Projects that incorporate staking include aelf, Dash, EOS, Cosmos, Cardano, Dfinity and many others.

https://preview.redd.it/luczupo004c41.png?width=616&format=png&auto=webp&s=2a2aba11c35c9962e42d1ea56b9e4f33532750ef

PoW — Why change

First, let’s look at some of the issues facing Proof-of-Work (PoW) consensus that led to the development of PoS.
  1. Excessive energy consumption — In 2017, many concerns were raised over the amount of electricity used by the bitcoin network (Largest PoW blockchain). Since then the energy consumption has increased by over 400%, to the point where 1 single transaction on this network has the same carbon footprint of 736,722 Visa transactions or consumes the same amount of electricity as over 20 U.S. households.
  2. Varying Electricity Costs — The profit of any miner on the network is tied to two costs, the initial startup cost to obtain the hardware and infrastructure, and more critically, the running cost of said equipment in relation to electricity usage. Electricity costs can vary from fractions of a cent per kWh to over 50 cents (USD) and in some cases it is free. When a user may only be earning $0.40 USD per hour then this will clearly rule out certain demographics based purely on electricity costs, reducing the potential for complete decentralization.
  3. Reduced decentralization — Due to the high cost of the mining equipment, those with large financial bases setup mining farms, either for others to rent out individual miners or entirely for personal gains. This results in large demographic hotspots on the network reducing the decentralized aspect to a point where it no longer accomplishes this aspect.
  4. Conflicted interests — The requirements of running miners on the network are purely based on having possession of the hardware, electricity and internet connection. There are no limits to the amount a miner can earn, nor do they need to hold any stake in the network, and thus there is very little incentive for them to vote on upgrades that may benefit the network but reduce their rewards.
I want to take this moment to mention a potential benefit to PoW that I have not seen anyone mention previously. It is a very loose argument so don’t take this to heart too strongly.
Consistent Fiat Injection — The majority of miners will be paying for their electricity in fiat currency. At a conservative rate of $0.1 USD per kWh, the network currently uses 73.12 TWh per year. This equates to an average daily cost of over $20 million USD. This means every day around $20 million of fiat currency is effectively being injected into the bitcoin network. Although this concept is somewhat flawed in the sense that the same amount of bitcoin will be released each day regardless of how much is spent on electricity, I’m looking at this from the eyes of the miners, they are reducing their fiat bags and increasing their bitcoin bags. This change of bags is the essence of this point which will inevitably encourage crypto spending. If the bitcoin bags were increased but fiat bags did not decrease, then there would be less incentive to spend the bitcoin, as would see in a staking ecosystem.

https://preview.redd.it/8dtqt6e204c41.png?width=631&format=png&auto=webp&s=065aedde87b55f0768968307e59e62a35eac949d

PoS Variations

Different approaches have been taken to tackle different issues the PoS protocol faces. Will Little has an excellent article explaining this and more in PoS, but let me take an excerpt from his piece to go through them:
  • Coin-age selection — Blockchains like Peercoin (the first PoS chain), start out with PoW to distribute the coins, use coin age to help prevent monopolization and 51% attacks (by setting a time range when the probability of being selected as a node is greatest), and implement checkpoints initially to prevent NoS problems.
  • Randomized block selection — Chains like NXT and Blackcoin also use checkpoints, but believe that coin-age discourages staking. After an initial distribution period (either via PoW or otherwise), these chains use algorithms to randomly select nodes that can create blocks.
  • Ethereum’s Casper protocol(s) — Being already widely distributed, Ethereum doesn’t have to worry about the initial distribution problem when/if it switches to PoS. Casper takes a more Byzantine Fault Tolerant (BFT) approach and will punish nodes by taking away (“slashing”) their stake if they do devious things. In addition, consensus is formed by a multi-round process where every randomly assigned node votes for a specific block during a round.
  • Delegated Proof-of-Stake (DPoS) — Invented by Dan Larimer and first used in Bitshares (and then in [aelf,] Steem, EOS, and many others), DPoS tackles potential PoS problems by having the community “elect” delegates that will run nodes to create and validate blocks. Bad behavior is then punished by the community simply out-voting the delegated nodes.
  • Delegated Byzantine Fault Tolerance (DBFT) — Similar to DPoS, the NEO community votes for (delegates) nodes, but instead of each node producing blocks and agreeing on consensus, only 2 out of 3 nodes need to agree on what goes in every block (acting more like bookkeepers than validators).
  • Tendermint — As a more sophisticated form of DBFT and a precursor to Casper, Jae Kwon introduced tendermint in 2014, which leverages dynamic validator sets, rotating leader elections, and voting power (i.e. weight) that is proportional to the self-funding and community allocation of tokens to a node (i.e. a “validator”).
  • Masternodes — First introduced by DASH, a masternode PoS system requires nodes to stake a minimum threshold of coins in order to qualify as a node. Often this comes with requirements to provide “service” to a network in the form of governance, special payment protocols, etc…
  • Proof of Importance (POI)NEM takes a slightly different approach by granting an “importance calculation” to masternodes staking at least 10,000 XEM. This POI system then rewards active nodes that act in a positive way over time to impact the community.
  • “Proof-of-X” — And finally, there is no lack of activity in the PoS world to come up with clever approaches and variants of staking (some are more elaborate than others). In addition to BFT protocols such as Honeybadger, Ouroboros, and Tezos, for further reading, also check out “Proof-of-”: Stake Anonymous, Storage, Stake Time, Stake Velocity, Activity, Burn, and Capacity.
https://preview.redd.it/n28a8n5404c41.png?width=604&format=png&auto=webp&s=0ea8827fd0458e768d4eb3a0a1fa88c984ba0a82

Earning Your Stake

In order to understand how one can earn money from these networks, I’ll break them down into 3 categories: Simple staking, Running nodes, and Voting.
Simple Staking - This is the simplest of the 3 methods and requires almost no action by the user. Certain networks will reward users by simply holding tokens in a specified wallet. These rewards are generally minimal but are the easiest way to earn.
Running a node - This method provides the greatest rewards but also requires the greatest action by the user and most likely will require ongoing maintenance. Generally speaking, networks will require nodes to stake a certain amount of tokens often amounting to thousands of dollars. In DPoS systems, these nodes must be voted in by other users on the network and must continue to provide confidence to their supporters. Some companies will setup nodes and allow users to participate by contributing to the minimum staking amount, with a similar concept to PoW mining pools.
Voting - This mechanism works hand in hand with running nodes in relation to DPoS networks. Users are encouraged to vote for their preferred nodes by staking tokens as votes. Each vote will unlock a small amount of rewards for each voter, the nodes are normally the ones to provide these rewards as a portion of their own reward for running a node.

Aelf’s DPoS system

The aelf consensus protocol utilizes a form of DPoS. There are two versions of nodes on the network, active nodes & backup nodes (official names yet to be announced). Active nodes run the network and produce the blocks, while the backup nodes complete minor tasks and are on standby should any active nodes go offline or act maliciously. These nodes are selected based upon their number of votes received. Initially the top 17 nodes will be selected as active nodes, while the next 100 will stand as the backup ones, each voting period each node may change position should they receive more or less votes than the previous period. In order to be considered as a node, one must stake a minimum amount of ELF tokens (yet to be announced).

https://preview.redd.it/47d3wqe604c41.png?width=618&format=png&auto=webp&s=062a6aa6186b826d400a0015d4c91fd1a4ed0b65
In order to participate as a voter, there is no minimum amount of tokens to be staked. When one stakes, their tokens will be locked for a designated amount of time, selected by the voter from the preset periods. If users pull their tokens out before this locked period has expired no rewards are received, but if they leave them locked for the entire time frame they will receive the set reward, and the tokens will be automatically rolled over into the next locked period. As a result, should a voter decide, once their votes are cast, they can continue to receive rewards without any further action needed.
Many projects have tackled with node rewards in order to make them fair, well incentivized but sustainable for everyone involved. Aelf has come up with a reward structure based on multiple variables with a basic income guaranteed for every node. Variables may include the number of re-elections, number of votes received, or other elements.
As the system matures, the number of active nodes will be increased, resulting in a more diverse and secure network.
Staking as a solution is a win-win-win for network creators, users and investors. It is a much more resource efficient and scalable protocol to secure blockchain networks while reducing the entry point for users to earn from the system.
submitted by Floris-Jan to aelfofficial [link] [comments]

If you think you missed out on the internet craze then give Cryptocurrency a shot!

If You Idea You Missed Out On The Web Earnings Transformation Attempt CryptoCurrency
When the majority of people consider cryptocurrency they may too be considering puzzling currency. Really couple of individuals appear to understand what it is and for some factor everybody appears to be speaking about it as if they do. This report will ideally debunk all the elements of cryptocurrency so that by the time you're ended up reading you will have a respectable concept of what it is and what it's everything about.
You might discover that cryptocurrency is for you or you might not however a minimum of you'll have the ability to talk with a degree of certainty and understanding that others will not have.
There are lots of people who have actually currently reached millionaire status by handling cryptocurrency. Plainly there's a great deal of cash in this brand name brand-new market.
Cryptocurrency is electronic currency, brief and easy. Nevertheless, what's not so brief and basic is precisely how it comes to have worth. Check out our guide on how to sell btc to figure out how you can turn that beloved coin into cold hard cash.
Cryptocurrency is a digitized, virtual, decentralized currency produced by the application of cryptography, which, according to Merriam Webster dictionary, is the "digital encoding and decoding of info". Cryptography is the structure that makes debit cards, computer system banking and eCommerce systems possible.
Cryptocurrency isn't backed by banks; it's not backed by a federal government, however by an exceptionally complex plan of algorithms. Cryptocurrency is electrical power which is encoded into complicated strings of algorithms. What provides financial worth is their complexity and their security from hackers. The manner in which crypto currency is made is merely too hard to replicate.
Cryptocurrency remains in direct opposition to what is called fiat cash. Fiat cash is currency that gets its worth from federal government judgment or law. The dollar, the yen, and the Euro are all examples. Any currency that is specified as legal tender is fiat cash.
Unlike fiat cash, another part of what makes crypto currency important is that, like a product such as silver and gold, there's just a limited quantity of it. Just 21,000,000 of these very complicated algorithms were produced. No more, no less. It can't be changed by printing more of it, like a federal government printing more cash to pump up the system without support. Or by a bank changing a digital journal, something the Federal Reserve will advise banks to do to change for inflation.
Cryptocurrency is a method to acquire, offer, and invest that totally prevents both federal government oversight and banking systems tracking the motion of your cash. In a world economy that is destabilized, this system can end up being a steady force.
Cryptocurrency likewise offers you a good deal of privacy. Regrettably this can result in abuse by a criminal aspect utilizing crypto currency to their own ends simply as routine cash can be misused. Nevertheless, it can likewise keep the federal government from tracking your every purchase and attacking your individual privacy.
Cryptocurrency can be found in many kinds. Bitcoin was the very first and is the requirement from which all other cryptocurrencies pattern themselves. All are produced by careful alpha-numerical calculations from a complex coding tool. Some other cryptocurrencies are Litecoin, Namecoin, Peercoin, Dogecoin, and Worldcoin, among others. These are called altcoins as a generalized name. The costs of each are controlled by the supply of the particular cryptocurrency and the need that the marketplace has for that currency.
The method cryptocurrency is brought into presence is rather interesting. Unlike gold, which needs to be mined from the ground, cryptocurrency is simply an entry in a virtual journal which is saved in different computer systems all over the world. These entries need to be 'mined' utilizing mathematical algorithms. Private users or, most likely, a group of users run computational analysis to discover specific series of information, called blocks. The 'miners' discover information that produces a specific pattern to the cryptographic algorithm. At that point, it's used to the series, and they have actually discovered a block. After a comparable information series on the block compares with the algorithm, the block of information has actually been unencrypted. The miner gets a benefit of a particular quantity of cryptocurrency. As time goes on, the quantity of the benefit reduces as the cryptocurrency ends up being scarcer. Contributing to that, the intricacy of the algorithms in the look for brand-new blocks is likewise increased. Computationally, it ends up being more difficult to discover a coordinating series. Both of these circumstances come together to reduce the speed in which cryptocurrency is produced. This mimics the trouble and deficiency of mining a product like gold.
Now, anybody can be a miner. The pioneers of Bitcoin made the mining tool open source, so it's totally free to anybody. Nevertheless, the computer systems they utilize run 24 hr a day, 7 days a week. The algorithms are exceptionally intricate and the CPU is running complete tilt. Numerous users have actually specialized computer systems made particularly for mining cryptocurrency. Both the user and the specialized computer system are called miners.
Miners (the human ones) likewise keep journals of deals and serve as auditors, so that a coin isn't replicated in any method. This keeps the system from being hacked and from running amok. They're spent for this work by getting brand-new cryptocurrency weekly that they preserve their operation. They keep their cryptocurrency in specialized files on their computer systems or other individual gadgets. These files are called wallets.
submitted by AccomplishedWelder4 to cryptochat [link] [comments]

Start Here for Much Wallet WOW!

EDIT 2017-02-10: A word about Nodes

There is a discussion about nodes that came up today, where it seems I'm discouraging people from running the full QT/Core client. Yes and No. What I'm trying to make sure people understand is how things work, and that it is NOT mandatory to run a client in order to use Dogecoins (and yes, I realise that browser-based tools like coinb.in and wallet sweepers are 'clients' by strict definition).
That said, more nodes is absolutely a good thing for the network. Preferrably full nodes. How do you run a full node? Just run Core/QT and open up Port 22556 on your router so it can connect to more than 8 peers. What will it cost you? You need your machine to be on 24/7/365, you need enough storage for the full blockchain (currently about 20Gb. Bitcoin is over 120Gb) and enough bandwidth to keep it in sync and share blocks with peers. A couple of Gb a month, most likely. This is best done with a desktop on a wired broadband link. Or maybe a hosted VM in the cloud. :)

EDIT 2017-01-09: Wallets WITHOUT Clients

Since I started helping people on /BitcoinBeginners, I'm getting a lot of questions about how to use wallets without running clients or trusting third parties. So here are a couple of resources that will make that possible, and not just for Dogecoin:
Multi-Coin Wallet Generator Now supporting 129 currencies! Coinb.in Start by setting the currency, found in the gear wheel in the Broadcast tab. Dogecoin Wallet Sweeper Redeem 'paper' wallets containing up to about 100 UTXOs. Bitinfo Charts My favourite block explorer, handles a bunch of cryptos.
Using these resources, it is possible to hold, receive and spend coins in various currencies, without having to run QT or a 'lite' client. You can also download and run the pages on your own device.

EDIT 2016-11-23: SEMANTICS about MINING! :P

Even though there is already a section on mining below, it has been suggested given the huge number of posts on the subject that this needs to be made clearer. Since people get their panties in a twist over the word 'dead', lets change that...

MINING IS DEAD!

MINING DOGECOIN IS UNPROFITABLE!

Put simply, there is no way to mine Dogecoin and make a profit because of the massive hashpower provided by industrial-scale Litecoin miners. Mining Doge directly stopped being viable when our hashrate exploded with the introduction of AuxPoW. Mining with CPU's and GPU's died when ASICs were introduced. And mining with a laptop WILL kill your laptop and cost you a fortune to repair or replace. Mining Litecoin with an exchange that also mines Doge and others will earn less than the electricity consumed, and you won't recover your costs. Probably ever, but certainly not in any reasonable time.
Mining other currencies may be a thing, but that's beyond our scope here. This is /Dogecoin, not /GetRichMiningCryptos after all. If you want to mine the newest scamcoin for fun and profit, look elsewhere for advice. :/
Oh, and most important:

READ BEFORE YOU POST!

At any given time, there are half a dozen posts on the frontpage just like the one you're about to write, where the answers have already been given. Read them. Don't make people waste their time repeating themselves because you were too lazy to bother reading stuff. :P
So there I was, having a quiet Sundy arvo bludge, as you do, when 42points turned up on Facebook and asked me to write a new sticky post for /dogecoin. Why would he do this, when he should be having a bludge himself, I hear you ask? Well, seems he was doing exactly that, and wanted to fob off the work he’s too slack to do himself. ;) Ah well, being a sucker for punishment, I’ll grudgingly oblige I guess.
OK, first things first.

The Clients:

Dogecoin Core 1.10.0 2015-Nov-01
Bootstrap file for Core to save some download time.
Dogecoin Core Guide Wiki
MultiDoge v0.1.7 2016-Jan-31
Android Dogecoin Wallet 2.0.8 2016-Jan-18
Android Coinomi Wallet
Java Cate 0.14 alpha 2 Multicoin wallet 2016-Feb-14
Exodus multicoin wallet
iOS Doughwallet

Do you REALLY need a client?

Wallet ELI5
UTXO ELI5
Paper Wallet Generator
Sample HTML Wallet List
Dogetipbot subreddit and website
Dogechain Wallet
Block.io Wallet
Exchanges
BTC38
Poloniex
CoinSpot
ShapeShift - Not really an exchange, rather a currency trader.

Mining

Litecoinpool
Prohashing
Zpool

Explorers

BitInfoCharts - My favourite, has charts!
chain.so
dogechain.info
/dogecoindev where the devs hang out

More Info

Dogeducation
Technical Wiki
Preev currency value calculator

EDITS:

From peoplma
I was wondering if you could add just a couple things. A link to the coinomi android wallet, it's probably the best one out there. And a sentence somewhere along the lines of "if you need help with any dogecoin software you are welcome to make a post, but PLEASE include your OS, version number of the client, and any relevant transaction IDs that you are willing to share" if you can fit that in somewhere.
Also, if you want to link to Prohashing, I'm pretty sure it's the only Scrypt mining pool that will actually pay out in doge. The others I know of pay out in litecoin or bitcoin. And it's a profit switching multipool, so gives a better return than just mining ltc/doge.
And there's these two wiki articles I thought would be helpful to link /dogecoin/wiki/technical for those technically minded newbies or intermediate users who want to dig a little deeper. And maybe a link to /dogecoin/wiki/dogecoincoreguide next to the link for dogecoin core.
From pts2002
Finally a proper sticky post! Here's some other stuff you could add:
zpool.ca mining pool - You can get paid in pretty much any coin, and you can mine in multiple algos (currently mining lyra2v2 with my GPU). Doing about 500Ð/day
shapeshift.io exchange - My favourite exchange, quick and easy. No registration required!
Also, you should add some blockchain explorers!
chain.so - Support for bitcoin, litecoin and doge.
dogechain.info - Official blockchain explorer. Includes a wallet (already mentioned). Live update currently not working (?)
EDIT: Here's another thing I found!
preev.com currency value calculator - Easy way to check the value of your dogecoins (or bitcoins, or litecoins, or peercoins)!
submitted by Fulvio55 to dogecoin [link] [comments]

An extensive list of blockchain courses, resources and articles to help you get a job working with blockchain.

u/Maximus_no and me spent some time at work collecting and analyzing learning material for blockchain development. The list contains resources for developers, as well as business analysts/consultants looking to learn more about blockchain use-cases and solutions.

Certifications and Courses

IIB Council
Link to course: IIB council : Certified Blockchain Professional
C|BP is an In-Depth, Industry Agnostic, Hands-On Training and Certification Course specifically tailored for Industry Professionals and Developers interested in implementing emerging technologies in the Data-Driven Markets and Digitized Economies.
The IIB Council Certified Blockchain Professional (C|BP) Course was developed to help respective aspiring professionals gain excessive knowledge in Blockchain technology and its implication on businesses.
WHO IS IT FOR:

Professionals

C|BP is developed in line with the latest industry trends to help current and aspiring Professionals evolve in their career by implementing the latest knowledge in blockchain technology. This course will help professionals understand the foundation of Blockchain technology and the opportunities this emerging technology is offering.

Developers

If you are a Developer and you are willing to learn blockchain technology this course is for you. You will learn to build and model Blockchain solutions and Blockchain-based applications for enterprises and businesses in multiple Blockchain Technologies.

Certified Blockchain Business Foundations (CBBF)

This exam is designed for non-technical business professionals who require basic knowledge about Blockchain and how it will be executed within an organization. This exam is NOT appropriate for technology professionals seeking to gain deeper understanding of Blockchain technology implementation or programming.

A person who holds this certification demonstrates their knowledge of:

· What is Blockchain? (What exactly is it?)
· Non-Technical Technology Overview (How does it work?)
· Benefits of Blockchain (Why should anyone consider this?)
· Use Cases (Where and for what apps is it appropriate?)
· Adoption (Who is using it and for what?)
· Future of Blockchain (What is the future?)

Certified Blockchain Solution Architect (CBSA)

A person who holds this certification demonstrates their ability to:

· Architect blockchain solutions
· Work effectively with blockchain engineers and technical leaders
· Choose appropriate blockchain systems for various use cases
· Work effectively with both public and permissioned blockchain systems

This exam will prove that a student completely understands:

· The difference between proof of work, proof of stake, and other proof systems and why they exist
· Why cryptocurrency is needed on certain types of blockchains
· The difference between public, private, and permissioned blockchains
· How blocks are written to the blockchain
· Where cryptography fits into blockchain and the most commonly used systems
· Common use cases for public blockchains
· Common use cases for private & permissioned blockchains
· What is needed to launch your own blockchain
· Common problems & considerations in working with public blockchains
· Awareness of the tech behind common blockchains
· When is mining needed and when it is not
· Byzantine Fault Tolerance
· Consensus among blockchains
· What is hashing
· How addresses, public keys, and private keys work
· What is a smart contract
· Security in blockchain
· Brief history of blockchain
· The programming languages of the most common blockchains
· Common testing and deployment practices for blockchains and blockchain-based apps

Certified Blockchain Developer - Ethereum (CBDE)

A person who holds this certification demonstrates their ability to:

· Plan and prepare production ready applications for the Ethereum blockchain
· Write, test, and deploy secure Solidity smart contracts
· Understand and work with Ethereum fees
· Work within the bounds and limitations of the Ethereum blockchain
· Use the essential tooling and systems needed to work with the Ethereum ecosystem

This exam will prove that a student completely understands how to:

· Implement web3.js
· Write and compile Solidity smart contracts
· Create secure smart contracts
· Deploy smart contracts both the live and test Ethereum networks
· Calculate Ethereum gas costs
· Unit test smart contracts
· Run an Ethereum node on development machines

Princeton: Sixty free lectures from Princeton on bitcoin and cryptocurrencies. Avg length ~15 mins

Basic course with focus on Bitcoin. After this course, you’ll know everything you need to be able to separate fact from fiction when reading claims about Bitcoin and other cryptocurrencies. You’ll have the conceptual foundations you need to engineer secure software that interacts with the Bitcoin network. And you’ll be able to integrate ideas from Bitcoin in your own projects.

MIT : BLOCKCHAIN TECHNOLOGIES: BUSINESS INNOVATION AND APPLICATION

· A mid / basic understanding of blockchain technology and its long-term implications for business, coupled with knowledge of its relationship to other emerging technologies such as AI and IoT
· An economic framework for identifying blockchain-based solutions to challenges within your own context, guided by the knowledge of cryptoeconomics expert Christian Catalini
· Recognition of your newfound blockchain knowledge in the form of a certificate of completion from the MIT Sloan School of Management — one of the world’s leading business schools
Orientation Module: Welcome to Your Online Campus
Module 1: An introduction to blockchain technology
Module 2: Bitcoin and the curse of the double-spending problem
Module 3: Costless verification: Blockchain technology and the last mile problem
Module 4: Bootstrapping network effects through blockchain technology and cryptoeconomics
Module 5: Using tokens to design new types of digital platforms
Module 6: The future of blockchain technology, AI, and digital privacy

Oxford Blockchain Strategy Programme

· A mid / basic understanding of what blockchain is and how it works, as well as insights into how it will affect the future of industry and of your organization.
· The ability to make better strategic business decisions by utilizing the Oxford Blockchain Strategic framework, the Oxford Blockchain Regulation framework, the Oxford Blockchain Ecosystem map, and drawing on your knowledge of blockchain and affiliated industries and technologies.
· A certificate of attendance from Oxford Saïd as validation of your newfound blockchain knowledge and skills, as well as access to a global network of like-minded business leaders and innovators.
Module 1: Understanding blockchain
Module 2: The blockchain ecosystem
Module 3: Innovations in value transfer
Module 4: Decentralized apps and smart contracts
Module 5: Transforming enterprise business models
Module 6: Blockchain frontiers

Resources and Articles

Introduction to Distributed Ledger Technologies (DLT) https://www.ibm.com/developerworks/cloud/library/cl-blockchain-basics-intro-bluemix-trs/
Tomas’s Personal Favourite: 150+ Resources for going from web-dev to blockchain engineer https://github.com/benstew/blockchain-for-software-engineers
Hyperledger Frameworks Hyperledger is widely regarded as the most mature open-source framework for building private & permissioned blockchains.
Tutorials: https://www.hyperledger.org/resources/training
R3 Corda Open-source developer frameworks for building private, permissioned blockchains. A little better than Hyperledger on features like privacy and secure channels. Used mostly in financial applications.
Ethereum, Solidity, dApps and Smart-Contracts
Ethereum & Solidity Course (favourite): https://www.udemy.com/ethereum-and-solidity-the-complete-developers-guide/
An Introduction to Ethereum’s Token Standards: https://medium.com/coinmonks/anatomy-of-an-erc-an-exhaustive-survey-8bc1a323b541
How To Create Your First ERC20 Token: https://medium.com/bitfwd/how-to-do-an-ico-on-ethereum-in-less-than-20-minutes-a0062219374
Ethereum Developer Tools [Comprehensive List]: https://github.com/ConsenSys/ethereum-developer-tools-list/blob/masteREADME.md
CryptoZombies – Learn to code dApps through game-development: https://cryptozombies.io/
Intro to Ethereum Development: https://hackernoon.com/ethereum-development-walkthrough-part-1-smart-contracts-b3979e6e573e
Notes from Consensys Academy Participant (free): https://github.com/ScottWorks/ConsenSys-Academy-Notes
AWS Ethereum Templates: https://aws.amazon.com/blogs/aws/get-started-with-blockchain-using-the-new-aws-blockchain-templates/
Create dApps with better user-experience: https://blog.hellobloom.io/how-to-make-a-user-friendly-ethereum-dapp-5a7e5ea6df22
Solidity YouTube Course: https://www.youtube.com/channel/UCaWes1eWQ9TbzA695gl_PtA
[UX &UI] Designing a decentralized profile dApp: https://uxdesign.cc/designing-a-decentralized-profile-dapp-ab12ead4ab56
Scaling Solutions on Ethereum: https://media.consensys.net/the-state-of-scaling-ethereum-b4d095dbafae
Different Platforms for dApps and Smart-Contracts
While Ethereum is the most mature dApp framework with both the best developer tools, resources and community, there are other public blockchain platforms. Third generation blockchains are trying to solve Ethereum’s scaling and performance issues. Here is an overview of dApp platforms that can be worth looking into:
NEO - https://neo.org/ The second most mature dApp platform. NEO has better scalability and performance than Ethereum and has 1’000 TPS to ETH’s 15 by utilizing a dBFT consensus algorithm. While better infrastructure, NEO does not have the maturity of Ethereum’s developer tools, documentation and community.
A writeup on why a company chose to develop on NEO and not Ethereum: https://medium.com/orbismesh/why-we-chose-neo-over-ethereum-37fc9208ffa0
Cardano - https://www.cardano.org/en/home/ While still in alpha with a long and ambitious roadmap ahead of it, Cardano is one of the most anticipated dApp platforms out there. IOHK, the research and engineering company that maintains Cardano, has listed a lot of great resources and scientific papers that is worth looking into.
An Intro to Cardano: https://hackernoon.com/cardano-ethereum-and-neo-killer-or-overhyped-and-overpriced-8fcd5f8abcdf
IOHK Scientific Papers - https://iohk.io/research/papers/
Stellar - https://www.stellar.org/ If moving value fast from one party to another by using smart-contracts is the goal, Stellar Lumens is your platform. Initially as an open-source fork from Ripple, Stellar has become one of the mature frameworks for financial applications. Stellar’s focus lies in interoperability with legacy financial systems and cheap/fast value transfer. It’s smart-contract capability is rather limited in comparison to Ethereum and HyperLedger, so take that in consideration.
Ripplewww.ripple.com Ripple and its close cousin, Stellar, is two of the most well-known cryptocurrencies and DLT frameworks meant for the financial sector. Ripple enables instant settlement between banks for international transactions.

Consensus Algorithms

[Proof of Work] - very short, cuz it's well-known.
[1] Bitcoin - to generate a new block miner must generate hash of the new block header that is in line with given requirements.
Others: Ethereum, Litecoin etc.
[Hybrid of PoW and PoS]
[2] Decred - hybrid of “proof of work” and “proof of stake”. Blocks are created about every 5 minutes. Nodes in the network looking for a solution with a known difficulty to create a block (PoW). Once the solution is found it is broadcast to the network. The network then verifies the solution. Stakeholders who have locked some DCR in return for a ticket* now have the chance to vote on the block (PoS). 5 tickets are chosen pseudo-randomly from the ticket pool and if at least 3 of 5 vote ‘yes’ the block is permanently added to the blockchain. Both miners and voters are compensated with DCR : PoS - 30% and PoW - 60% of about 30 new Decred issued with a block. * 1 ticket = ability to cast 1 vote. Stakeholders must wait an average of 28 days (8,192 blocks) to vote their tickets.
[Proof of Stake]
[3] Nxt - The more tokens are held by account, the greater chance that account will earn the right to generate a block. The total reward received as a result of block generation is the sum of the transaction fees located within the block. Three values are key to determining which account is eligible to generate a block, which account earns the right to generate a block, and which block is taken to be the authoritative one in times of conflict: base target value, target value and cumulative difficulty. Each block on the chain has a generation signature parameter. To participate in the block's forging process, an active account digitally signs the generation signature of the previous block with its own public key. This creates a 64-byte signature, which is then hashed using SHA256. The first 8 bytes of the resulting hash are converted to a number, referred to as the account hit. The hit is compared to the current target value(active balance). If the computed hit is lower than the target, then the next block can be generated.
[4] Peercoin (chain-based proof of stake) - coin age parameter. Hybrid PoW and PoS algorithm. The longer your Peercoins have been stationary in your account (to a maximum of 90 days), the more power (coin age) they have to mint a block. The act of minting a block requires the consumption of coin age value, and the network determines consensus by selecting the chain with the largest total consumed coin age. Reward - minting + 1% yearly.
[5] Reddcoin (Proof of stake Velocity) - quite similar to Peercoin, difference: not linear coin-aging function (new coins gain weight quickly, and old coins gain weight increasingly slowly) to encourage Nodes Activity. Node with most coin age weight have a bigger chance to create block. To create block Node should calculate right hash. Block reward - interest on the weighted age of coins/ 5% annual interest in PoSV phase.
[6] Ethereum (Casper) - uses modified BFT consensus. Blocks will be created using PoW. In the Casper Phase 1 implementation for Ethereum, the “proposal mechanism" is the existing proof of work chain, modified to have a greatly reduced block reward. Blocks will be validated by set of Validators. Block is finalised when 2/3 of validators voted for it (not the number of validators is counted, but their deposit size). Block creator rewarded with Block Reward + Transaction FEES.
[7] Lisk (Delegated Proof-of-stake) - Lisk stakeholders vote with vote transaction (the weight of the vote depends on the amount of Lisk the stakeholder possess) and choose 101 Delegates, who create all blocks in the blockchain. One delegate creates 1 block within 1 round (1 round contains 101 blocks) -> At the beginning of each round, each delegate is assigned a slot indicating their position in the block generation process -> Delegate includes up to 25 transactions into the block, signs it and broadcasts it to the network -> As >51% of available peers agreed that this block is acceptable to be created (Broadhash consensus), a new block is added to the blockchain. *Any account may become a delegate, but only accounts with the required stake (no info how much) are allowed to generate blocks. Block reward - minted Lisks and transaction fees (fees for all 101 blocks are collected firstly and then are divided between delegates). Blocks appears every 10 sec.
[8] Cardano (Ouroboros Proof of Stake) - Blocks(slots) are created by Slot Leaders. Slot Leaders for N Epoch are chosen during n-1 Epoch. Slot Leaders are elected from the group of ADA stakeholders who have enough stake. Election process consist of 3 phases: Commitment phase: each elector generates a random value (secret), signs it and commit as message to network (other electors) saved in to block. -> Reveal phase: Each elector sends special value to open a commitment, all this values (opening) are put into the block. -> Recovery phase: each elector verifies that commitments and openings match and extracts the secrets and forms a SEED (randomly generated bytes string based on secrets). All electors get the same SEED. -> Follow the Satoshi algorithm : Elector who have coin which corresponded to SEED become a SLOT LEADER and get a right to create a block. Slot Leader is rewarded with minted ADA and transactions Fee.
[9] Tezos (Proof Of Stake) - generic and self-amending crypto-ledger. At the beginning of each cycle (2048 blocks), a random seed is derived from numbers that block miners chose and committed to in the penultimate cycle, and revealed in the last. -> Using this random seed, a follow the coin strategy (similar to Follow The Satoshi) is used to allocate mining rights and signing rights to stakeholders for the next cycle*. -> Blocks are mined by a random stakeholder (the miner) and includes multiple signatures of the previous block provided by random stakeholders (the signers). Mining and signing both offer a small reward but also require making a one cycle safety deposit to be forfeited in the event of a double mining or double signing.
· the more coins (rolls) you have - the more your chance to be a minesigner.
[10] Tendermint (Byzantine Fault Tolerance) - A proposal is signed and published by the designated proposer at each round. The proposer is chosen by a deterministic and non-choking round robin selection algorithm that selects proposers in proportion to their voting power. The proposer create the block, that should be validated by >2/3 of Validators, as follow: Propose -> Prevote -> Precommit -> Commit. Proposer rewarded with Transaction FEES.
[11] Tron (Byzantine Fault Tolerance) - This blockhain is still on development stage. Consensus algorithm = PoS + BFT (similar to Tendermint): PoS algorithm chooses a node as Proposer, this node has the power to generate a block. -> Proposer broadcasts a block that it want to release. -> Block enters the Prevote stage. It takes >2/3 of nodes' confirmations to enter the next stage. -> As the block is prevoted, it enters Precommit stage and needs >2/3 of node's confirmation to go further. -> As >2/3 of nodes have precommited the block it's commited to the blockchain with height +1. New blocks appears every 15 sec.
[12] NEO (Delegated Byzantine Fault Tolerance) - Consensus nodes* are elected by NEO holders -> The Speaker is identified (based on algorithm) -> He broadcasts proposal to create block -> Each Delegate (other consensus nodes) validates proposal -> Each Delegate sends response to other Delegates -> Delegate reaches consensus after receiving 2/3 positive responses -> Each Delegate signs the block and publishes it-> Each Delegate receives a full block. Block reward 6 GAS distributed proportionally in accordance with the NEO holding ratio among NEO holders. Speaker rewarded with transaction fees (mostly 0). * Stake 1000 GAS to nominate yourself for Bookkeeping(Consensus Node)
[13] EOS (Delegated Proof of Stake) - those who hold tokens on a blockchain adopting the EOS.IO software may select* block producers through a continuous approval voting system and anyone may choose to participate in block production and will be given an opportunity to produce blocks proportional to the total votes they have received relative to all other producers. At the start of each round 21 unique block producers are chosen. The top 20 by total approval are automatically chosen every round and the last producer is chosen proportional to their number of votes relative to other producers. Block should be confirmed by 2/3 or more of elected Block producers. Block Producer rewarded with Block rewards. *the more EOS tokens a stakeholder owns, the greater their voting power
[The XRP Ledger Consensus Process]
[14] Ripple - Each node receives transaction from external applications -> Each Node forms public list of all valid (not included into last ledger (=block)) transactions aka (Candidate Set) -> Nodes merge its candidate set with UNLs(Unique Node List) candidate sets and vote on the veracity of all transactions (1st round of consensus) -> all transactions that received at least 50% votes are passed on the next round (many rounds may take place) -> final round of consensus requires that min 80% of Nodes UNL agreeing on transactions. It means that at least 80% of Validating nodes should have same Candidate SET of transactions -> after that each Validating node computes a new ledger (=block) with all transactions (with 80% UNL agreement) and calculate ledger hash, signs and broadcasts -> All Validating nodes compare their ledgers hash -> Nodes of the network recognize a ledger instance as validated when a 80% of the peers have signed and broadcast the same validation hash. -> Process repeats. Ledger creation process lasts 5 sec(?). Each transaction includes transaction fee (min 0,00001 XRP) which is destroyed. No block rewards.
[The Stellar consensus protocol]
[15] Stellar (Federated Byzantine Agreement) - quite similar to Ripple. Key difference - quorum slice.
[Proof of Burn]
[16] Slimcoin - to get the right to write blocks Node should “burn” amount of coins. The more coins Node “burns” more chances it has to create blocks (for long period) -> Nodes address gets a score called Effective Burnt Coins that determines chance to find blocks. Block creator rewarded with block rewards.
[Proof of Importance]
[17] NEM - Only accounts that have min 10k vested coins are eligible to harvest (create a block). Accounts with higher importance scores have higher probabilities of harvesting a block. The higher amount of vested coins, the higher the account’s Importance score. And the higher amount of transactions that satisfy following conditions: - transactions sum min 1k coins, - transactions made within last 30 days, - recipient have 10k vested coins too, - the higher account’s Important score. Harvester is rewarded with fees for the transactions in the block. A new block is created approx. every 65 sec.
[Proof of Devotion]
[18] Nebulas (Proof of Devotion + BFT) - quite similar to POI, the PoD selects the accounts with high influence. All accounts are ranked according to their liquidity and propagation (Nebulas Rank) -> Top-ranked accounts are selected -> Chosen accounts pay deposit and are qualified as the blocks Validators* -> Algorithm pseudo-randomly chooses block Proposer -> After a new block is proposed, Validators Set (each Validator is charged a deposit) participate in a round of BFT-Style voting to verify block (1. Prepare stage -> 2. Commit Stage. Validators should have > 2/3 of total deposits to validate Block) -> Block is added. Block rewards : each Validator rewarded with 1 NAS. *Validators Set is dynamic, changes in Set may occur after Epoch change.
[IOTA Algorithm]
[19] IOTA - uses DAG (Directed Acyclic Graph) instead of blockchain (TANGLE equal to Ledger). Graph consist of transactions (not blocks). To issue a new transaction Node must approve 2 random other Transactions (not confirmed). Each transaction should be validate n(?) times. By validating PAST(2) transactions whole Network achieves Consensus. in Order to issue transaction Node: 1. Sign transaction with private key 2. choose two other Transactions to validate based on MCMC(Markov chain Monte Carlo) algorithm, check if 2 transactions are valid (node will never approve conflicting transactions) 3. make some PoW(similar to HashCash). -> New Transaction broadcasted to Network. Node don’t receive reward or fee.
[PBFT + PoW]
[20] Yobicash - uses PBFT and also PoW. Nodes reach consensus on transactions by querying other nodes. A node asks its peers about the state of a transaction: if it is known or not, and if it is a doublespending transaction or not. As follow : Node receives new transaction -> Checks if valid -> queries all known nodes for missing transactions (check if already in DAG ) -> queries 2/3 nodes for doublepsending and possibility -> if everything is ok add to DAG. Reward - nodes receive transaction fees + minting coins.
[Proof of Space/Proof of Capacity]
[21] Filecoin (Power Fault Tolerance) - the probability that the network elects a miner(Leader) to create a new block (it is referred to as the voting power of the miner) is proportional to storage currently in use in relation to the rest of the network. Each node has Power - storage in use verified with Proof of Spacetime by nodes. Leaders extend the chain by creating a block and propagating it to the network. There can be an empty block (when no leader). A block is committed if the majority of the participants add their weight on the chain where the block belongs to, by extending the chain or by signing blocks. Block creator rewarded with Block reward + transaction fees.
[Proof of Elapsed Time (POET)]
[22] Hyperledger Sawtooth - Goal - to solve BFT Validating Nodes limitation. Works only with intel’s SGX. PoET uses a random leader election model or a lottery based election model based on SGX, where the protocol randomly selects the next leader to finalize the block. Every validator requests a wait time from an enclave (a trusted function). -> The validator with the shortest wait time for a particular transaction block is elected the leader. -> The BlockPublisher is responsible for creating candidate blocks to extend the current chain. He takes direction from the consensus algorithm for when to create a block and when to publish a block. He creates, Finalizes, Signs Block and broadcast it -> Block Validators check block -> Block is created on top of blockchain.
[23] Byteball (Delegated Byzantine Fault Tolerance) - only verified nodes are allowed to be Validation nodes (list of requirements https://github.com/byteball/byteball-witness). Users choose in transaction set of 12 Validating nodes. Validating nodes(Witnesses) receive transaction fees.
[24] Nano - uses DAG, PoW (HashCash). Nano uses a block-lattice structure. Each account has its own blockchain (account-chain) equivalent to the account’s transaction/balance history. To add transaction user should make some HashCash PoW -> When user creates transaction Send Block appears on his blockchain and Receive block appears on Recipients blockchain. -> Peers in View receive Block -> Peers verify block (Double spending and check if already in the ledger) -> Peers achieve consensus and add block. In case of Fork (when 2 or more signed blocks reference the same previous block): Nano network resolves forks via a balance-weighted voting system where representative nodes vote for the block they observe, as >50% of weighted votes received, consensus achieved and block is retained in the Node’s ledger (block that lose the vote is discarded).
[25] Holochain - uses distributed hash table (DHT). Instead of trying to manage global consensus for every change to a huge blockchain ledger, every participant has their own signed hash chain. In case of multi-party transaction, it is signed to each party's chain. Each party signs the exact same transaction with links to each of their previous chain entries. After data is signed to local chains, it is shared to a DHT where every neighbor node validate it. Any consensus algorithms can be built on top of Holochain.
[26] Komodo ('Delegated' Delayed Proof of Work (dPoW)) - end-to-end blockchain solutions. DPoW consensus mechanism does not recognize The Longest Chain Rule to resolve a conflict in the network, instead the dPoW looks to backups it inserted previously into the chosen PoW blockchain. The process of inserting backups of Komodo transactions into a secure PoW is “notarization.” Notarisation is performed by the elected Notary nodes. Roughly every ten minutes, the Notary nodes perform a special block hash mined on the Komodo blockchain and take note of the overall Komodo blockchain “height”. The notary nodes process this specifc block so that their signatures are cryptographically included within the content of the notarized data. There are sixty-four “Notary nodes” elected by a stake-weighted vote, where ownership of KMD represents stake in the election. They are a special type of blockchain miner, having certain features in their underlying code that enable them to maintain an effective and cost-efcient blockchain and they periodically receives the privilege to mine a block on “easy difculty.”
Source: https://www.reddit.com/CryptoTechnology/comments/7znnq8/my_brief_observation_of_most_common_consensus/
Whitepapers Worth Looking Into:
IOTA -http://iotatoken.com/IOTA_Whitepaper.pdf
NANO -https://nano.org/en/whitepaper
Bitcoin -https://bitcoin.org/bitcoin.pdf
Ethereum: https://github.com/ethereum/wiki/wiki/White-Paper
Ethereum Plasma (Omise-GO) -https://plasma.io/plasma.pdf
Cardano - https://eprint.iacr.org/2016/889.pdf
submitted by heart_mind_body to CryptoCurrency [link] [comments]

My brief observation of most common Consensus Algorithms

I have studied most common consensus algorithms. Here is the summary, maybe for someone it will be helpful. My goal is to describe every specific consensus briefly so everyone can easily understand it. *Please let me know if I have wrote something wrong, or maybe you are aware of interesting algorithm, I have missed.
[Proof of Work] - very short, cuz it's well-known.
[1] Bitcoin - to generate a new block miner must generate hash of the new block header that is in line with given requirements.
Others: Ethereum, Litecoin etc.
[Hybrid of PoW and PoS]
[2] Decred - hybrid of “proof of work” and “proof of stake”. Blocks are created about every 5 minutes. Nodes in the network looking for a solution with a known difficulty to create a block (PoW). Once the solution is found it is broadcast to the network. The network then verifies the solution. Stakeholders who have locked some DCR in return for a ticket* now have the chance to vote on the block (PoS). 5 tickets are chosen pseudo-randomly from the ticket pool and if at least 3 of 5 vote ‘yes’ the block is permanently added to the blockchain. Both miners and voters are compensated with DCR : PoS - 30% and PoW - 60% of about 30 new Decred issued with a block. * 1 ticket = ability to cast 1 vote. Stakeholders must wait an average of 28 days (8,192 blocks) to vote their tickets.
[Proof of Stake]
[3] Nxt - The more tokens are held by account, the greater chance that account will earn the right to generate a block. The total reward received as a result of block generation is the sum of the transaction fees located within the block. Three values are key to determining which account is eligible to generate a block, which account earns the right to generate a block, and which block is taken to be the authoritative one in times of conflict: base target value, target value and cumulative difficulty. Each block on the chain has a generation signature parameter. To participate in the block's forging process, an active account digitally signs the generation signature of the previous block with its own public key. This creates a 64-byte signature, which is then hashed using SHA256. The first 8 bytes of the resulting hash are converted to a number, referred to as the account hit. The hit is compared to the current target value(active balance). If the computed hit is lower than the target, then the next block can be generated.
[4] Peercoin (chain-based proof of stake) - coin age parameter. Hybrid PoW and PoS algorithm. The longer your Peercoins have been stationary in your account (to a maximum of 90 days), the more power (coin age) they have to mint a block. The act of minting a block requires the consumption of coin age value, and the network determines consensus by selecting the chain with the largest total consumed coin age. Reward - minting + 1% yearly.
[5] Reddcoin (Proof of stake Velocity) - quite similar to Peercoin, difference: not linear coin-aging function (new coins gain weight quickly, and old coins gain weight increasingly slowly) to encourage Nodes Activity. Node with most coin age weight have a bigger chance to create block. To create block Node should calculate right hash. Block reward - interest on the weighted age of coins/ 5% annual interest in PoSV phase.
[6] Ethereum (Casper) - uses modified BFT consensus. Blocks will be created using PoW. In the Casper Phase 1 implementation for Ethereum, the “proposal mechanism" is the existing proof of work chain, modified to have a greatly reduced block reward. Blocks will be validated by set of Validators. Block is finalised when 2/3 of validators voted for it (not the number of validators is counted, but their deposit size). Block creator rewarded with Block Reward + Transaction FEES.
[7] Lisk (Delegated Proof-of-stake) - Lisk stakeholders vote with vote transaction (the weight of the vote depends on the amount of Lisk the stakeholder possess) and choose 101 Delegates, who create all blocks in the blockchain. One delegate creates 1 block within 1 round (1 round contains 101 blocks) -> At the beginning of each round, each delegate is assigned a slot indicating their position in the block generation process -> Delegate includes up to 25 transactions into the block, signs it and broadcasts it to the network -> As >51% of available peers agreed that this block is acceptable to be created (Broadhash consensus), a new block is added to the blockchain. *Any account may become a delegate, but only accounts with the required stake (no info how much) are allowed to generate blocks. Block reward - minted Lisks and transaction fees (fees for all 101 blocks are collected firstly and then are divided between delegates). Blocks appears every 10 sec.
[8] Cardano (Ouroboros Proof of Stake) - Blocks(slots) are created by Slot Leaders. Slot Leaders for N Epoch are chosen during n-1 Epoch. Slot Leaders are elected from the group of ADA stakeholders who have enough stake. Election process consist of 3 phases: Commitment phase: each elector generates a random value (secret), signs it and commit as message to network (other electors) saved in to block. -> Reveal phase: Each elector sends special value to open a commitment, all this values (opening) are put into the block. -> Recovery phase: each elector verifies that commitments and openings match and extracts the secrets and forms a SEED (randomly generated bytes string based on secrets). All electors get the same SEED. -> Follow the Satoshi algorithm : Elector who have coin which corresponded to SEED become a SLOT LEADER and get a right to create a block. Slot Leader is rewarded with minted ADA and transactions Fee.
[9] Tezos (Proof Of Stake) - generic and self-amending crypto-ledger. At the beginning of each cycle (2048 blocks), a random seed is derived from numbers that block miners chose and committed to in the penultimate cycle, and revealed in the last. -> Using this random seed, a follow the coin strategy (similar to Follow The Satoshi) is used to allocate mining rights and signing rights to stakeholders for the next cycle*. -> Blocks are mined by a random stakeholder (the miner) and includes multiple signatures of the previous block provided by random stakeholders (the signers). Mining and signing both offer a small reward but also require making a one cycle safety deposit to be forfeited in the event of a double mining or double signing. * the more coins (rolls) you have - the more your chance to be a minesigner.
[10] Tendermint (Byzantine Fault Tolerance) - A proposal is signed and published by the designated proposer at each round. The proposer is chosen by a deterministic and non-choking round robin selection algorithm that selects proposers in proportion to their voting power. The proposer create the block, that should be validated by >2/3 of Validators, as follow: Propose -> Prevote -> Precommit -> Commit. Proposer rewarded with Transaction FEES.
[11] Tron (Byzantine Fault Tolerance) - This blockhain is still on development stage. Consensus algorithm = PoS + BFT (similar to Tendermint): PoS algorithm chooses a node as Proposer, this node has the power to generate a block. -> Proposer broadcasts a block that it want to release. -> Block enters the Prevote stage. It takes >2/3 of nodes' confirmations to enter the next stage. -> As the block is prevoted, it enters Precommit stage and needs >2/3 of node's confirmation to go further. -> As >2/3 of nodes have precommited the block it's commited to the blockchain with height +1. New blocks appears every 15 sec.
[12] NEO (Delegated Byzantine Fault Tolerance) - Consensus nodes* are elected by NEO holders -> The Speaker is identified (based on algorithm) -> He broadcasts proposal to create block -> Each Delegate (other consensus nodes) validates proposal -> Each Delegate sends response to other Delegates -> Delegate reaches consensus after receiving 2/3 positive responses -> Each Delegate signs the block and publishes it-> Each Delegate receives a full block. Block reward 6 GAS distributed proportionally in accordance with the NEO holding ratio among NEO holders. Speaker rewarded with transaction fees (mostly 0). * Stake 1000 GAS to nominate yourself for Bookkeeping(Consensus Node)
[13] EOS (Delegated Proof of Stake) - those who hold tokens on a blockchain adopting the EOS.IO software may select* block producers through a continuous approval voting system and anyone may choose to participate in block production and will be given an opportunity to produce blocks proportional to the total votes they have received relative to all other producers. At the start of each round 21 unique block producers are chosen. The top 20 by total approval are automatically chosen every round and the last producer is chosen proportional to their number of votes relative to other producers. Block should be confirmed by 2/3 or more of elected Block producers. Block Producer rewarded with Block rewards. *the more EOS tokens a stakeholder owns, the greater their voting power
[The XRP Ledger Consensus Process]
[14] Ripple - Each node receives transaction from external applications -> Each Node forms public list of all valid (not included into last ledger (=block)) transactions aka (Candidate Set) -> Nodes merge its candidate set with UNLs(Unique Node List) candidate sets and vote on the veracity of all transactions (1st round of consensus) -> all transactions that received at least 50% votes are passed on the next round (many rounds may take place) -> final round of consensus requires that min 80% of Nodes UNL agreeing on transactions. It means that at least 80% of Validating nodes should have same Candidate SET of transactions -> after that each Validating node computes a new ledger (=block) with all transactions (with 80% UNL agreement) and calculate ledger hash, signs and broadcasts -> All Validating nodes compare their ledgers hash -> Nodes of the network recognize a ledger instance as validated when a 80% of the peers have signed and broadcast the same validation hash. -> Process repeats. Ledger creation process lasts 5 sec(?). Each transaction includes transaction fee (min 0,00001 XRP) which is destroyed. No block rewards.
[The Stellar consensus protocol]
[15] Stellar (Federated Byzantine Agreement) - quit similar to Ripple. Key difference - quorum slice.
[Proof of Burn]
[16] Slimcoin - to get the right to write blocks Node should “burn” amount of coins. The more coins Node “burns” more chances it has to create blocks (for long period) -> Nodes address gets a score called Effective Burnt Coins that determines chance to find blocks. Block creator rewarded with block rewards.
[Proof of Importance]
[17] NEM - Only accounts that have min 10k vested coins are eligible to harvest (create a block). Accounts with higher importance scores have higher probabilities of harvesting a block. The higher amount of vested coins, the higher the account’s Importance score. And the higher amount of transactions that satisfy following conditions: - transactions sum min 1k coins, - transactions made within last 30 days, - recipient have 10k vested coins too, - the higher account’s Important score. Harvester is rewarded with fees for the transactions in the block. A new block is created approx. every 65 sec.
[Proof of Devotion]
[18] Nebulas (Proof of Devotion + BFT) - quite similar to POI, the PoD selects the accounts with high influence. All accounts are ranked according to their liquidity and propagation (Nebulas Rank) -> Top-ranked accounts are selected -> Chosen accounts pay deposit and are qualified as the blocks Validators* -> Algorithm pseudo-randomly chooses block Proposer -> After a new block is proposed, Validators Set (each Validator is charged a deposit) participate in a round of BFT-Style voting to verify block (1. Prepare stage -> 2. Commit Stage. Validators should have > 2/3 of total deposits to validate Block) -> Block is added. Block rewards : each Validator rewarded with 1 NAS. *Validators Set is dynamic, changes in Set may occur after Epoch change.
[IOTA Algorithm]
[19] IOTA - uses DAG (Directed Acyclic Graph) instead of blockchain (TANGLE equal to Ledger). Graph consist of transactions (not blocks). To issue a new transaction Node must approve 2 random other Transactions (not confirmed). Each transaction should be validate n(?) times. By validating PAST(2) transactions whole Network achieves Consensus. in Order to issue transaction Node: 1. Sign transaction with private key 2. choose two other Transactions to validate based on MCMC(Markov chain Monte Carlo) algorithm, check if 2 transactions are valid (node will never approve conflicting transactions) 3. make some PoW(similar to HashCash). -> New Transaction broadcasted to Network. Node don’t receive reward or fee.
[PBFT + PoW]
[20] Yobicash - uses PBFT and also PoW. Nodes reach consensus on transactions by querying other nodes. A node asks its peers about the state of a transaction: if it is known or not, and if it is a doublespending transaction or not. As follow : Node receives new transaction -> Checks if valid -> queries all known nodes for missing transactions (check if already in DAG ) -> queries 2/3 nodes for doublepsending and possibility -> if everything is ok add to DAG. Reward - nodes receive transaction fees + minting coins.
[Proof of Space/Proof of Capacity]
[21] Filecoin (Power Fault Tolerance) - the probability that the network elects a miner(Leader) to create a new block (it is referred to as the voting power of the miner) is proportional to storage currently in use in relation to the rest of the network. Each node has Power - storage in use verified with Proof of Spacetime by nodes. Leaders extend the chain by creating a block and propagating it to the network. There can be an empty block (when no leader). A block is committed if the majority of the participants add their weight on the chain where the block belongs to, by extending the chain or by signing blocks. Block creator rewarded with Block reward + transaction fees.
[Proof of Elapsed Time]
[22] Hyperledger Sawtooth - Goal - to solve BFT Validating Nodes limitation. Works only with intel’s SGX. PoET uses a random leader election model or a lottery based election model based on SGX, where the protocol randomly selects the next leader to finalize the block. Every validator requests a wait time from an enclave (a trusted function). -> The validator with the shortest wait time for a particular transaction block is elected the leader. -> The BlockPublisher is responsible for creating candidate blocks to extend the current chain. He takes direction from the consensus algorithm for when to create a block and when to publish a block. He creates, Finalizes, Signs Block and broadcast it -> Block Validators check block -> Block is created on top of blockchain.
[Other]
[23] Byteball (Delegated Byzantine Fault Tolerance) - only verified nodes are allowed to be Validation nodes (list of requirements https://github.com/byteball/byteball-witness). Users choose in transaction set of 12 Validating nodes. Validating nodes(Witnesses) receive transaction fees.
[24] Nano - uses DAG, PoW (HashCash). Nano uses a block-lattice structure. Each account has its own blockchain (account-chain) equivalent to the account’s transaction/balance history. To add transaction user should make some HashCash PoW -> When user creates transaction Send Block appears on his blockchain and Receive block appears on Recipients blockchain. -> Peers in View receive Block -> Peers verify block (Double spending and check if already in the ledger) -> Peers achieve consensus and add block. In case of Fork (when 2 or more signed blocks reference the same previous block): Nano network resolves forks via a balance-weighted voting system where representative nodes vote for the block they observe, as >50% of weighted votes received, consensus achieved and block is retained in the Node’s ledger (block that lose the vote is discarded).
[25] Holochain - uses distributed hash table (DHT). Instead of trying to manage global consensus for every change to a huge blockchain ledger, every participant has their own signed hash chain. In case of multi-party transaction, it is signed to each party's chain. Each party signs the exact same transaction with links to each of their previous chain entries. After data is signed to local chains, it is shared to a DHT where every neighbor node validate it. Any consensus algorithms can be built on top of Holochain.
[26] Komodo ('Delegated' Delayed Proof of Work (dPoW)) - end-to-end blockchain solutions. DPoW consensus mechanism does not recognize The Longest Chain Rule to resolve a conflict in the network, instead the dPoW looks to backups it inserted previously into the chosen PoW blockchain. The process of inserting backups of Komodo transactions into a secure PoW is “notarization.” Notarisation is performed by the elected Notary nodes. Roughly every ten minutes, the Notary nodes perform a special block hash mined on the Komodo blockchain and take note of the overall Komodo blockchain “height”. The notary nodes process this specifc block so that their signatures are cryptographically included within the content of the notarized data. There are sixty-four “Notary nodes” elected by a stake-weighted vote, where ownership of KMD represents stake in the election. They are a special type of blockchain miner, having certain features in their underlying code that enable them to maintain an effective and cost-efcient blockchain and they periodically receives the privilege to mine a block on “easy difculty.”
post with references you can find here: https://bitcointalk.org/index.php?topic=2936428.msg30170673#msg30170673
submitted by tracyspacygo to CryptoTechnology [link] [comments]

Questions and analysis of Peercoin.

Question 1: When people refer to Peercoin's potential as a backbone currency, are they implying it will be used by escrow services where high volume transactions will be off the blockchain and on a separate database instead? This would make more sense to me since Peercoin has high transaction fees to mitigate its blockchain size. In that case, it seems there won't be very much use for Bitcoin or Litecoin transaction wise unless a person doesn't want the transaction to be recorded by a third party. Peercoin definitely appears more useful for savings.
Question 2: If Bitcoin relies heavily on escrow services to move transactions off the blockchain in the future, how will its miners stay in business since they won't be making much money off of scarce transaction fees? Bitcoin can have its transactions on the blockchain but i doubt average PCs will be able to handle the blockchain size or the transaction processing if Bitcoin adoption goes parabolic. It seems to me Bitcoin will have to rely on supernodes to maintain the network and sacrifice decentralization at the same time. Peercoin is better setup for this contingency since regular users will be collecting 1% interest from minting/maintaining the network while escrow services or supernodes handle off blockchain transactions. Peercoin might become the equivalent of gold reserves.
Fundamental Analysis:
Market Analysis:
Critical Analysis:
As i said in one of my prior posts, Peercoin looks like it's the most differentiated and undervalued altcoin available. If there was only one altcoin you were allowed to bet on or just diversify with, which would it be? I would choose Peercoin hands down in the long run. In the short run, i might choose Litecoin because it's attracting more hype and it's expected to soon be implemented on any major exchanges as well. Litecoin has the silver analogy and Peercoin has the Aesop's fable analogy. Litecoin is the hare and Peercoin is the tortoise while it makes sure and steady gains against Litecoin. Litecoin is the gut feeling play while Peercoin is the smart play if you do your homework. It's the same when you compare the gold and silver as investments. When making investments, you have to be able to see 2 steps ahead of everyone else and i think all of use here understand the future. The recent 1600% gain in PPC reflects the validity of our vision.
Am i right in my assessments? I have to admit Peercoin looks better and better every day i research it. Peercoin seems too good to be true yet I've known about Peercoin for almost 9 months and i haven't given it the attention it deserves until the past few days. If Bitcoin is a radical innovation which strikes at the core of humanity, what do we call Peercoin? I'll disclose that I've accumulated nearly 40% of my crypto portfolio(EDIT: now it's around 70%!) in Peercoin so I'm ever more motivated to learn about Peercoin AND MIGHT BE BIASED! LOL, I apologize for spamming this sub with so many posts lately but Peercoin's definitely caught my attention. This will be my last post...hopefully :) I would love to read your feedback whether positive or negative(preferable). Thank you in advance.
submitted by CryptoChief to peercoin [link] [comments]

Proof of Stake (PoS)

Proof of Stake (PoS)
Source https://coinscapture.com/blog/proof-of-stake-pos-explained

https://preview.redd.it/5z3n0jtw1p031.jpg?width=5002&format=pjpg&auto=webp&s=dc5ca29cfbab03055de174b11faee9ca2875c49d
The validation of transactions through Proof of work (PoW) consumes a lot of computational energy and time for solving a complex cryptographic puzzle in mining, so as an alternative to this Proof of Stake (PoS) was developed. Proof of Stake (PoS) is a consensus algorithm that was initially suggested in 2011 on the Bitcointalk forum and the first cryptocurrency to implement it was Peercoin in 2012.
What is Proof of Stake (PoS)?
It is a consensus algorithm having the same work purpose as PoW of achieving distributed consensus - a system giving incentives for validating people’s transactions and maintaining integrity but the way to reach this goal is quite different. In PoS, the users who validate transactions and create new blocks are referred as Forgers and the blocks are referred as “forged” or “minted”. The selection is done on the basis of two elements. Let’s check each of them.
Forger’s Stake:
The first element considered is the user’s stake. Forgers (validator) in order to get a chance to verify transactions have to stake some portion of their coins or tokens. Thus, the forger holding the highest amount of coins has the highest chance of being chosen. During the transaction validation, the forger stakes his own coins which are held securely in the system. If the forger mistakenly validates a fraudulent transaction, he may lose the stake amount along with the right to participate in the forging process. However, to resume participation in the forging process, the forger has to again stake some coins. In the PoS algorithm, the incentive is always given in the form of transaction fees.
Selection Methods:
The second element is the selection method that depends on the blockchain type. The two selection methods are Randomised Block Selection and Coin Age Selection.
1. Randomized Block Selection:
The next forger is selected on the basis of a formula i.e. the combination of the lowest hash value and the highest stake. Each node in the system can predict the next forger on the basis of stake as it is public. Nxt and BlackCoin are two cryptocurrencies that use the randomized block selection method.
2. Coin Age Selection:
In this method, the forger is selected on the “coin age” of the stake amount. The coin age is calculated by multiplying the number of coins with the number of days of coins that are held as a stake. The coins should be held for a minimum of 30 days before they compete. The chance to become the next forger turns brighter when the coins are stalked for a longer time and more amount of coins. Once the user has forged the block, the coin age is reset to zero and waiting period of 30-90 days is applied. This prevents users dominance on the blockchain. Peercoin uses coin age selection process combined with a randomized selection method.
Advantages:
1. Energy efficient:
As PoS involves no mining process that consumes a lot of electricity.
2. No 51% attack:
It is an attack that includes a group of entities that control the maximum hashing power of a blockchain which is used for personal gains. In PoS, this attack is avoided because it an expensive process to accumulate 51% of the coin.
Disadvantages:
1. Nothing at stake issue:It is a situation which can occur due to consensus failure due to which there is fork generation (i.e. splitting of blockchain in two) and validator is left with no option but has to support both the chains and validate the block. Due to this issue, the stake would be duplicated on both chains meaning the validators can claim twice the amount of rewards.
Proof of Stake is a protocol that determines the creator of the new block in a deterministic way depending on the wealth, effectively and efficiently fulfilling the intended purpose of achieving and maintaining a decentralised system.
submitted by coinscapturecom to u/coinscapturecom [link] [comments]

Bitcoin Mining - A Development That Involves a Bit More Than Number Crunching

The attractive cryptocurrency and therefore the varied thoughts that occur within the minds of the onlookers usually surround few obvious queries - however, will it inherit being and what about its circulation? the solution, however, is simple. Bitcoins must be deep-mined, so as to form the cryptocurrency exist within the Bitcoin market. The mysterious creator of Bitcoin, Satoshi Nakamoto, visualized a way to exchange the dear cryptocurrencies on-line, by doing away with the need for any centralized establishment. For Bitcoins, there are an alternate thanks to holding the required records of the group action history of the complete circulation, and everyone this can be managed via a suburbanized manner.
The ledger that facilitates the method is thought because of the "blockchain". The essence of this ledger would possibly need heaps of newspaper for showing frequently in any respect common Bitcoin news. Blockchain expands each minute, existing on the machines concerned within the large Bitcoin network. Individuals could question the validity, even legitimacy, of those transactions and their recordings into Blockchain. This too is but even, through the method of Bitcoin mining. https://www.bitcoin24mining.com/ Mining allows the creation of latest Bitcoin and collecting transactions to the ledger. Mining basically entails finding of advanced mathematical calculations, and therefore the miners use huge computing power to resolve it. The individual or 'pool' that solves the puzzle, place the following block and wins a bequest too. And, however, mining will avoid double-spending? virtually every ten minutes, outstanding transactions are deep-mined into a block. So, any inconsistency or illegitimacy is totally dominated out.
For Bitcoins, mining isn't spoken of during an ancient sense of the term. Bitcoins are deep-mined by utilizing cryptography. A hash operate termed as "double SHA-256" is utilized. However troublesome is it to mine Bitcoins? this may be another question. This relies lots on the hassle and computing power being utilized into mining. Another issue value mentioning is that the packaging protocol. For every 2016 blocks, issue entailed in the mining of Bitcoins is adjusted by itself merely to take care of the protocol. In turn, the pace of block generation is unbroken consistent. A Bitcoin issue chart may be an excellent live to demonstrate the mining issue over time. The issue level adjusts itself to travel up or down during a directly proportional manner, looking at the processing power, whether or not it's being fuelled or set out. because the range of miners rises, the share of profits merited by the participants diminish, everybody finishes up with smaller slices of the profits.
Having individual economies and communities, cryptocurrencies like Dogecoin, Namecoin or Peercoin, are known as Altcoins. These are alternatives to Bitcoin. Virtually like Bitcoins, these 'cousins' do have a large fan-following and aficionados WHO are keen to require a deep plunge into the massive ocean and start to mine it. Algorithms utilized for Altcoin mining are either SHA-256 or Scrypt. Many alternative innovative algorithms exist too. Ease, affordability, and ease will render it possible to mine Altcoins on a computer or by using special mining package. Altcoins are a touch 'down to earth' compared to Bitcoins, nonetheless remodeling them into pile may be a very little troublesome. Cryptocurrency buffs will simply hope, if a number of them may witness the equivalent astronomical fame!
submitted by heiwhiteSEO to u/heiwhiteSEO [link] [comments]

[General Discussion] Coming Into the Crypto Game

My friends and I are all investing into a mining setup and we will have
We have been using coinwarz "SHA-256 Calculator" to find coins that we should mine to get a better return rather than just mining straight bitcoins, which told us that namecoin, peercoin, and eMark are the best to look into. Does anyone here have any insight they could give as well? One of the friends that I am going in with mined back a couple years ago so the market has definitely changed since then. Any response is appreciated thanks.
-Kay
submitted by KayWhyElEe to CryptoCurrency [link] [comments]

Start Here for Much Wallet WOW!

Copied from /dogecoin

https://www.reddit.com/dogecoin/comments/4yts6h/start_here_for_much_wallet_wow/
So there I was, having a quiet Sundy arvo bludge, as you do, when 42points turned up on Facebook and asked me to write a new sticky post for /dogecoin. Why would he do this, when he should be having a bludge himself, I hear you ask? Well, seems he was doing exactly that, and wanted to fob off the work he’s too slack to do himself. ;) Ah well, being a sucker for punishment, I’ll grudgingly oblige I guess.
OK, first things first.

The Clients:

Dogecoin Core 1.10.0 2015-Nov-01
Bootstrap file for Core to save some download time.
Dogecoin Core Guide Wiki
MultiDoge v0.1.7 2016-Jan-31
Android Dogecoin Wallet 2.0.8 2016-Jan-18
Android Coinomi Wallet
Java Cate 0.14 alpha 2 Multicoin wallet 2016-Feb-14
iOS Doughwallet

Do you REALLY need a client?

Wallet ELI5
UTXO ELI5
Paper Wallet Generator
Sample HTML Wallet List
Dogetipbot subreddit and website
Dogechain Wallet
Block.io Wallet
Exchanges
BTC38
Poloniex
CoinSpot
ShapeShift - Not really an exchange, rather a currency trader.

Mining

Litecoinpool
Prohashing
Zpool

Explorers

BitInfoCharts - My favourite, has charts!
chain.so
dogechain.info
/dogecoindev where the devs hang out

More Info

Dogeducation
Technical Wiki
Preev currency value calculator

EDITS:

From peoplma
I was wondering if you could add just a couple things. A link to the coinomi android wallet, it's probably the best one out there. And a sentence somewhere along the lines of "if you need help with any dogecoin software you are welcome to make a post, but PLEASE include your OS, version number of the client, and any relevant transaction IDs that you are willing to share" if you can fit that in somewhere.
Also, if you want to link to Prohashing, I'm pretty sure it's the only Scrypt mining pool that will actually pay out in doge. The others I know of pay out in litecoin or bitcoin. And it's a profit switching multipool, so gives a better return than just mining ltc/doge.
And there's these two wiki articles I thought would be helpful to link /dogecoin/wiki/technical for those technically minded newbies or intermediate users who want to dig a little deeper. And maybe a link to /dogecoin/wiki/dogecoincoreguide next to the link for dogecoin core.
From pts2002
Finally a proper sticky post! Here's some other stuff you could add:
zpool.ca mining pool - You can get paid in pretty much any coin, and you can mine in multiple algos (currently mining lyra2v2 with my GPU). Doing about 500Ð/day
shapeshift.io exchange - My favourite exchange, quick and easy. No registration required!
Also, you should add some blockchain explorers!
chain.so - Support for bitcoin, litecoin and doge.
dogechain.info - Official blockchain explorer. Includes a wallet (already mentioned). Live update currently not working (?)
EDIT: Here's another thing I found!
preev.com currency value calculator - Easy way to check the value of your dogecoins (or bitcoins, or litecoins, or peercoins)!
submitted by Fulvio55 to dogeducation [link] [comments]

"POS stands for the future? Qtum brings deep analysis"

Each cryptocurrency will adopt some kind of consensus mechanism so that the entire distributed network can maintain synchronization. Bitcoin adopted the Proof of Work (PoW) consensus mechanism from the very beginning of its birth to achieve proof of workload through continuous digital cryptographic hash operations. Since the hashing algorithm is unidirectional, even a small change in the input data will make the output hash value completely different. If the calculated hash value satisfies certain conditions (referred to as "mining difficulty"), participants in the bitcoin network identify the workload proof. Mining difficulty is an ever-changing hash target. When the speed of network-generated blocks becomes faster, the difficulty is automatically increased to maintain the average of the entire network every 10 minutes.
 
Definition
For those who are not very familiar with the blockchain, here are some basic definitions to help understand the post:
 
PoW and Blockchain Consensus System
Through 8 years of development of Bitcoin, the security of the PoW mechanism has been confirmed. However, PoW has the following problems:
 
  1. PoW has wasted a lot of power resources and is not friendly to the environment;
  2. PoW is only economically advantageous for big people who have a lot of power (normal users can hardly mine into mines);
  3. PoW lacks incentives for users to hold or use coins;
  4. PoW has a certain risk of centralization, because miners tend to join large pools, which makes large pools have a greater influence on the network;
 
The right to benefit prove mechanism (Proof of Stake, hereinafter referred to as PoS) can solve a lot of problems among this, because it enables any user with tokens in your wallet can have the opportunity to dig mine (of course, will get mining reward). The PoS was originally proposed by Sunny King in Peercoin. It was later refined and adopted in a variety of cryptocurrencies. Among these are PoS Vasin's PoS 2.0, Larry Ren's PoS Velocity, and the recent CASPER proposed by Vlad Zamfir, as well as various other relatively unknown projects.
 
The consensus mechanism adopted by Qtum is based on PoS3.0. PoS3.0 is an upgraded version of PoS2.0, also proposed and implemented by Pavel Vasin. This article will focus on this version of the PoS implementation. Qtum made some changes based on PoS3.0, but the core consensus mechanism is basically the same.
 
For general community members and even some developers, PoS is not particularly easy to understand because there are currently fewer documents detailing how to ensure network security in networks that use only token ownership to achieve consensus. This article will elaborate on how to generate, verify, and secure the PoS blockchain in PoS3.0. The article may involve some technical knowledge, but I will try to describe it with some of the basic definitions provided in this article. But at least the reader needs to have a basic idea of ​​a UTXO-based blockchain.
 
Before introducing PoS, let me briefly introduce PoW's working mechanism, which can help the following understanding of PoS. The PoW mining process can be represented by the following pseudocode:  
While(blockhash > difficulty) { Block.nonce = block.nonce + 1 Blockhash = sha256(sha256(block)) } 
 
The hash operation used here I explained earlier, that is, to use arbitrary length data as input, after a series of operations, get a fixed-length information digest as an output, but only know the information digest but it is impossible to reverse the corresponding input data . The whole process is a lot like the lottery winning mechanism. You can create a “voucher” by hashing the data and compare it with the target hash range to determine if you “win”. If you don't win, you can create a new "voucher" again by slightly changing some of the data. The random number nonce in Bitcoin is used to adjust the input data. Once the required hash is found, the block is legitimate and can be broadcast to a distributed network. Once the other miners in the network receive this new block message and pass the verification, they will add the block to the chain and continue to build the block after the new block.
 
PoS protocol structure and rules
 
Now we begin to introduce PoS. PoS has the following goals :
  1. Cannot fake blocks;
  2. "Large households" will not receive much disproportionately large rewards;
  3. Having strong computing power does not help create blocks;
  4. No one or several members of the network can control the entire blockchain;
The basic concept of PoS is very similar to PoW, and it is like a lottery. The only difference is that PoS can't get new "lotteries" just by fine-tuning the input data, PoW uses "block hash" as lottery ticket, and PoS introduces the concept of "kernel hash".
The Kernel hash takes as input multiple unmodifiable data in the current block. So, because the miners can't find a simple way to modify the kernal hash, they can't get legal through a lot of traversal of the possible hash.New block.
 
In order to achieve this goal, PoS added many additional consensus rules.
First, unlike PoW, the PoS's coinbase transaction (that is, the first transaction in the block) has zero output. At the same time, in order to reward Staker, a staking transaction was introduced as the second transaction of the block. The staking transaction has the following features:
  1. There are at least 1 legal vin
  2. The first vout must be empty script
  3. The second vout must not be empty
 
In addition, staking transactions must also obey the following rules :
  1. The second vout must be a pubkey script (note that it is not pubkeyhash) or an OP_RETURN script that cannot be used to save data on the chain;
  2. The timestamp in the transaction must be consistent with the block timestamp;
  3. The total output value of the staking transaction must be less than or equal to the sum of all input values, PoS block awards, and transaction fees (ie output <= (input + block_reward + tx_fees));
  4. The output corresponding to the first vin must pass the confirmation of at least 500 blocks (that is, the currency spent needs at least 500 blocks to confirm);
  5. Although the staking transaction can have multiple input vins, only the first vin is used for the consensus mechanism;
 
These rules make it easy to identify the staking transaction, thus ensuring that it can provide enough information to verify the block. It should be noted here that the first vout is not the only way to identify the staking transaction, but since the PoS3.0 designer Sunny King started using this method, and proved its reliability in long-term practice, so we have also adopted this method to identify staking transactions.
 
Now that we know the definition of the staking transaction and we understand the rules that it must follow, let's introduce the rules of the PoS block :
 
The most important of these rules for PoS is the "kernal hash". The role of the kernel hash is similar to that of the block hash in PoW. That is, if the hash value matches the condition, the block is considered valid. However, kernal hash cannot be obtained by directly modifying part of the current block. Next, I will first introduce the structure and operating mechanism of kernal hash, and then further explain the purpose of this design, and if you change the unforeseen consequences of this design will bring.
 
Kernel Hash in PoS
The kernal hash consists of the following data in order as input:
 
The "skate modifier" of a block refers to the hash value of the following data:
There are only two ways to change the current kernel hash (for mining), either change "prevout" or change the current block time.
 
In general, a wallet will contain multiple UTXOs. The balance of the wallet is actually the sum of all available UTXOs in the current wallet. This is also applicable in PoS wallets and is even more important because arbitrary output may be used for staking. One of these outputs will be the prevout in the staking transaction, which will be used to generate a valid block.
 
In addition, there is one more important change in the PoS block mining process (compared to PoW), which is that the difficulty of mining is inversely proportional to the number of coins owned (rather than the number of UTXOs). For example, a wallet with 2 coins is only half the difficulty of mining. If it is not designed this way, users will be encouraged to generate many UTXOs with small micro-regulations, which will cause the block size to become larger and may cause some security problems.
 
The calculation of kernal hash can be expressed in pseudo-code as:
While(true){ Foreach(utxo in wallet){ blockTime = currentTime - currentTime % 16 posDifficulty = difficulty * utxo.value Hash = hash(previousStakeModifier << utxo.time << utxo.hash << utxo.n << blockTime) If(hash < posDifficulty){ Done } } Wait 16s -- wait 16 seconds, until the block time can be changed } 
 
Through the above process, we find that one of the UTXOs can be used to generate a staking transaction. This staking transaction has 1 vin, the UTXO we found. At the same time this staking transaction has at least two vouts, the first one is empty, which is used to identify the blockchain, the second vout is an OP_RETURN transaction containing only one public key, or contains the pay-to-pub-key script. The role of the latter is relatively pure (payment), and data transactions can have more uses (such as an independent block signature machine) without destroying the original UTXO model.
 
Finally, all transactions in the mempool will be added to the block. What we need to do next is generate the signature. This signature must use the public key corresponding to the second vout of the staking transaction. The actual transaction data is calculated by block hash. After signing, we can broadcast this block to the network. Other nodes in the network will verify the block. If the block is valid, the node will accept the block and connect it to its own blockchain while broadcasting the new block to other nodes it connects to.
 
Through the above steps, we can get a complete and secure PoS3.0 blockchain. PoS3.0 is considered to be the best consensus mechanism against malicious attacks in a fully decentralized consensus system. Why is this conclusion? We can understand the history of PoS development.
 
The development of PoS
PoS has a long history. Here is a brief description:
 
PoS1.0 — Applied in Peercoin , heavily dependent on coin age (ie, the time elapsed since UTXO was spent), the higher the coin age, the lower the difficulty of mining. This has the side effect that the user will choose to open a wallet for a long period of time (for example, one month or longer), so that the UTXO of the wallet will have a relatively large currency and the user can quickly find a new block. This will lead to double-spend attacks more easily. Peercoin itself is not affected by this, because it uses PoW and PoS mixing mechanisms, and PoW can reduce this negative effect.
 
PoS2.0 — The coin age was removed from the consensus mechanism and a different stake modifier was used than PoS1.0. The contents of the amendments are relatively numerous, but basically they are all about how to remove the coin age and realize the security consensus mechanism without using the PoW/PoS hybrid mode.
 
PoS3.0 — PoS3.0 can actually be said to be an upgraded version of PoS2.0. In PoS2.0, the snapshot modifier also contains the block time of the previous block, which was removed in 3.0, mainly to prevent the so-called "short-range" attack, that is, it is possible to change the previous area by traversing. Block time to traverse mining. PoS2.0 uses block time and transaction time to determine the age of UTXO, which is slightly different from the previous coinage age. It indicates that a UTXO can be used for the minimum number of confirmations required by staking. The UTXO age in PoS 3.0 becomes simpler, it is determined by the height of the block. This avoids the introduction of a less accurate timestamp in the blockchain and can effectively immunize the "timewarp" attack. PoS3.0 also adds OP_RETURN support for staking transactions, making voutYou can include only the public key, not necessarily the full pay-to-pubkey script.
 
Original:https://mp.weixin.qq.com/s/BRPuRn7iOoqeWbMiqXI11g
submitted by thisthingismud to Qtum [link] [comments]

Coming into the Crypto Game

My friends and I are all investing into a mining setup and we will have
We have been using coinwarz "SHA-256 Calculator" to find coins that we should mine to get a better return rather than just mining straight bitcoins, which told us that namecoin, peercoin, and eMark are the best to look into. Does anyone here have any insight they could give as well? One of the friends that I am going in with mined back a couple years ago so the market has definitely changed since then. Any response is appreciated thanks. -Kay
submitted by KayWhyElEe to BitcoinMining [link] [comments]

The missing explanation of Proof of Stake Version 3 - Article by earlz.net

The missing explanation of Proof of Stake Version 3

In every cryptocurrency there must be some consensus mechanism which keeps the entire distributed network in sync. When Bitcoin first came out, it introduced the Proof of Work (PoW) system. PoW is done by cryptographically hashing a piece of data (the block header) over and over. Because of how one-way hashing works. One tiny change in the data can cause an extremely different hash to come of it. Participants in the network determine if the PoW is valid complete by judging if the final hash meets a certain condition, called difficulty. The difficulty is an ever changing "target" which the hash must meet or exceed. Whenever the network is creating more blocks than scheduled, this target is changed automatically by the network so that the target becomes more and more difficult to meet. And thus, requires more and more computing power to find a hash that matches the target within the target time of 10 minutes.

Definitions

Some basic definitions might be unfamiliar to some people not familiar with the blockchain code, these are:

Proof of Work and Blockchain Consensus Systems

Proof of Work is a proven consensus mechanism that has made Bitcoin secure and trustworthy for 8 years now. However, it is not without it's fair share of problems. PoW's major drawbacks are:
  1. PoW wastes a lot of electricity, harming the environment.
  2. PoW benefits greatly from economies of scale, so it tends to benefit big players the most, rather than small participants in the network.
  3. PoW provides no incentive to use or keep the tokens.
  4. PoW has some centralization risks, because it tends to encourage miners to participate in the biggest mining pool (a group of miners who share the block reward), thus the biggest mining pool operator holds a lot of control over the network.
Proof of Stake was invented to solve many of these problems by allowing participants to create and mine new blocks (and thus also get a block reward), simply by holding onto coins in their wallet and allowing their wallet to do automatic "staking". Proof Of Stake was originally invented by Sunny King and implemented in Peercoin. It has since been improved and adapted by many other people. This includes "Proof of Stake Version 2" by Pavel Vasin, "Proof of Stake Velocity" by Larry Ren, and most recently CASPER by Vlad Zamfir, as well as countless other experiments and lesser known projects.
For Qtum we have decided to build upon "Proof of Stake Version 3", an improvement over version 2 that was also made by Pavel Vasin and implemented in the Blackcoin project. This version of PoS as implemented in Blackcoin is what we will be describing here. Some minor details of it has been modified in Qtum, but the core consensus model is identical.
For many community members and developers alike, proof of stake is a difficult topic, because there has been very little written on how it manages to accomplish keeping the network safe using only proof of ownership of tokens on the network. This blog post will go into fine detail about Proof of Stake Version 3 and how it's blocks are created, validated, and ultimately how a pure Proof of Stake blockchain is possible to secure. This will assume some technical knowledge, but I will try to explain things so that most of the knowledge can be gathered from context. You should at least be familiar with the concept of the UTXO-based blockchain.
Before we talk about PoS, it helps to understand how the much simpler PoW consensus mechanism works. It's mining process can be described in just a few lines of pseudo-code:
while(blockhash > difficulty) { block.nonce = block.nonce + 1 blockhash = sha256(sha256(block)) } 
A hash is a cryptographic algorithm which takes an arbritrary amount of input data, does a lot of processing of it, and outputs a fixed-size "digest" of that data. It is impossible to figure out the input data with just the digest. So, PoW tends to function like a lottery, where you find out if you won by creating the hash and checking it against the target, and you create another ticket by changing some piece of data in the block. In Bitcoin's case, nonce is used for this, as well as some other fields (usually called "extraNonce"). Once a blockhash is found which is less than the difficulty target, the block is valid, and can be broadcast to the rest of the distributed network. Miners will then see it and start building the next block on top of this block.

Proof of Stake's Protocol Structures and Rules

Now enter Proof of Stake. We have these goals for PoS:
  1. Impossible to counterfeit a block
  2. Big players do not get disproportionally bigger rewards
  3. More computing power is not useful for creating blocks
  4. No one member of the network can control the entire blockchain
The core concept of PoS is very similar to PoW, a lottery. However, the big difference is that it is not possible to "get more tickets" to the lottery by simply changing some data in the block. Instead of the "block hash" being the lottery ticket to judge against a target, PoS invents the notion of a "kernel hash".
The kernel hash is composed of several pieces of data that are not readily modifiable in the current block. And so, because the miners do not have an easy way to modify the kernel hash, they can not simply iterate through a large amount of hashes like in PoW.
Proof of Stake blocks add many additional consensus rules in order to realize it's goals. First, unlike in PoW, the coinbase transaction (the first transaction in the block) must be empty and reward 0 tokens. Instead, to reward stakers, there is a special "stake transaction" which must be the 2nd transaction in the block. A stake transaction is defined as any transaction that:
  1. Has at least 1 valid vin
  2. It's first vout must be an empty script
  3. It's second vout must not be empty
Furthermore, staking transactions must abide by these rules to be valid in a block:
  1. The second vout must be either a pubkey (not pubkeyhash!) script, or an OP_RETURN script that is unspendable (data-only) but stores data for a public key
  2. The timestamp in the transaction must be equal to the block timestamp
  3. the total output value of a stake transaction must be less than or equal to the total inputs plus the PoS block reward plus the block's total transaction fees. output <= (input + block_reward + tx_fees)
  4. The first spent vin's output must be confirmed by at least 500 blocks (in otherwords, the coins being spent must be at least 500 blocks old)
  5. Though more vins can used and spent in a staking transaction, the first vin is the only one used for consensus parameters.
These rules ensure that the stake transaction is easy to identify, and ensures that it gives enough info to the blockchain to validate the block. The empty vout method is not the only way staking transactions could have been identified, but this was the original design from Sunny King and has worked well enough.
Now that we understand what a staking transaction is, and what rules they must abide by, the next piece is to cover the rules for PoS blocks:
There are a lot of details here that we'll cover in a bit. The most important part that really makes PoS effective lies in the "kernel hash". The kernel hash is used similar to PoW (if hash meets difficulty, then block is valid). However, the kernel hash is not directly modifiable in the context of the current block. We will first cover exactly what goes into these structures and mechanisms, and later explain why this design is exactly this way, and what unexpected consequences can come from minor changes to it.

The Proof of Stake Kernel Hash

The kernel hash specifically consists of the following exact pieces of data (in order):
The stake modifier of a block is a hash of exactly:
The only way to change the current kernel hash (in order to mine a block), is thus to either change your "prevout", or to change the current block time.
A single wallet typically contains many UTXOs. The balance of the wallet is basically the total amount of all the UTXOs that can be spent by the wallet. This is of course the same in a PoS wallet. This is important though, because any output can be used for staking. One of these outputs are what can become the "prevout" in a staking transaction to form a valid PoS block.
Finally, there is one more aspect that is changed in the mining process of a PoS block. The difficulty is weighted against the number of coins in the staking transaction. The PoS difficulty ends up being twice as easy to achieve when staking 2 coins, compared to staking just 1 coin. If this were not the case, then it would encourage creating many tiny UTXOs for staking, which would bloat the size of the blockchain and ultimately cause the entire network to require more resources to maintain, as well as potentially compromise the blockchain's overall security.
So, if we were to show some pseudo-code for finding a valid kernel hash now, it would look like:
while(true){ foreach(utxo in wallet){ blockTime = currentTime - currentTime % 16 posDifficulty = difficulty * utxo.value hash = hash(previousStakeModifier << utxo.time << utxo.hash << utxo.n << blockTime) if(hash < posDifficulty){ done } } wait 16s -- wait 16 seconds, until the block time can be changed } 
This code isn't so easy to understand as our PoW example, so I'll attempt to explain it in plain english:
Do the following over and over for infinity: Calculate the blockTime to be the current time minus itself modulus 16 (modulus is like dividing by 16, but then only instead of taking the result, taking the remainder) Calculate the posDifficulty as the network difficulty, multiplied by the number of coins held by the UTXO. Cycle through each UTXO in the wallet. With each UTXO, calculate a SHA256 hash using the previous block's stake modifier, as well as some data from the the UTXO, and finally the blockTime. Compare this hash to the posDifficulty. If the hash is less than the posDifficulty, then the kernel hash is valid and you can create a new block. After going through all UTXOs, if no hash produced is less than the posDifficulty, then wait 16 seconds and do it all over again. 
Now that we have found a valid kernel hash using one of the UTXOs we can spend, we can create a staking transaction. This staking transaction will have 1 vin, which spends the UTXO we found that has a valid kernel hash. It will have (at least) 2 vouts. The first vout will be empty, identifying to the blockchain that it is a staking transaction. The second vout will either contain an OP_RETURN data transaction that contains a single public key, or it will contain a pay-to-pubkey script. The latter is usually used for simplicity, but using a data transaction for this allows for some advanced use cases (such as a separate block signing machine) without needlessly cluttering the UTXO set.
Finally, any transactions from the mempool are added to the block. The only thing left to do now is to create a signature, proving that we have approved the otherwise valid PoS block. The signature must use the public key that is encoded (either as pay-pubkey script, or as a data OP_RETURN script) in the second vout of the staking transaction. The actual data signed in the block hash. After the signature is applied, the block can be broadcast to the network. Nodes in the network will then validate the block and if it finds it valid and there is no better blockchain then it will accept it into it's own blockchain and broadcast the block to all the nodes it has connection to.
Now we have a fully functional and secure PoSv3 blockchain. PoSv3 is what we determined to be most resistant to attack while maintaining a pure decentralized consensus system (ie, without master nodes or currators). To understand why we approached this conclusion however, we must understand it's history.

PoSv3's History

Proof of Stake has a fairly long history. I won't cover every detail, but cover broadly what was changed between each version to arrive at PoSv3 for historical purposes:
PoSv1 - This version is implemented in Peercoin. It relied heavily on the notion of "coin age", or how long a UTXO has not been spent on the blockchain. It's implementation would basically make it so that the higher the coin age, the more the difficulty is reduced. This had the bad side-effect however of encouraging people to only open their wallet every month or longer for staking. Assuming the coins were all relatively old, they would almost instantaneously produce new staking blocks. This however makes double-spend attacks extremely easy to execute. Peercoin itself is not affected by this because it is a hybrid PoW and PoS blockchain, so the PoW blocks mitigated this effect.
PoSv2 - This version removes coin age completely from consensus, as well as using a completely different stake modifier mechanism from v1. The number of changes are too numerous to list here. All of this was done to remove coin age from consensus and make it a safe consensus mechanism without requiring a PoW/PoS hybrid blockchain to mitigate various attacks.
PoSv3 - PoSv3 is really more of an incremental improvement over PoSv2. In PoSv2 the stake modifier also included the previous block time. This was removed to prevent a "short-range" attack where it was possible to iteratively mine an alternative blockchain by iterating through previous block times. PoSv2 used block and transaction times to determine the age of a UTXO; this is not the same as coin age, but rather is the "minimum confirmations required" before a UTXO can be used for staking. This was changed to a much simpler mechanism where the age of a UTXO is determined by it's depth in the blockchain. This thus doesn't incentivize inaccurate timestamps to be used on the blockchain, and is also more immune to "timewarp" attacks. PoSv3 also added support for OP_RETURN coinstake transactions which allows for a vout to contain the public key for signing the block without requiring a full pay-to-pubkey script.

References:

  1. https://peercoin.net/assets/papepeercoin-paper.pdf
  2. https://blackcoin.co/blackcoin-pos-protocol-v2-whitepaper.pdf
  3. https://www.reddcoin.com/papers/PoSV.pdf
  4. https://blog.ethereum.org/2015/08/01/introducing-casper-friendly-ghost/
  5. https://github.com/JohnDolittle/blackcoin-old/blob/mastesrc/kernel.h#L11
  6. https://github.com/JohnDolittle/blackcoin-old/blob/mastesrc/main.cpp#L2032
  7. https://github.com/JohnDolittle/blackcoin-old/blob/mastesrc/main.h#L279
  8. http://earlz.net/view/2017/07/27/1820/what-is-a-utxo-and-how-does-it
  9. https://en.bitcoin.it/wiki/Script#Obsolete_pay-to-pubkey_transaction
  10. https://en.bitcoin.it/wiki/Script#Standard_Transaction_to_Bitcoin_address_.28pay-to-pubkey-hash.29
  11. https://en.bitcoin.it/wiki/Script#Provably_Unspendable.2FPrunable_Outputs
Article by earlz.net
http://earlz.net/view/2017/07/27/1904/the-missing-explanation-of-proof-of-stake-version
submitted by B3TeC to Moin [link] [comments]

Bitcoin Generator 2020 - Mining Pool Inject + Payment Proof Live Most Profitable Cloud Mining Website By Uniexcompany Free Cloud Mining Bitcoin, Litecoin, Dogecoin, Dash, Ethereum, Namecoin, Zcash, Peercoin Mining Peercoins Peercoin Mining Overview

How does a Bitcoin node verify a transaction? What are Mining Rewards in Ethereum? How to Identify a Bitcoin or Ethereum Cloud Mining Scam? What is a Merkle Tree? How to buy a Cloud Mining Contract from NuVoo; How to install and use the PandaPool miner; What is Money – a brief history? What is Scrypt? What is Peercoin? Mining Pools and How Calculate Peercoin (PPC) mining profitability in realtime based on hashrate, power consumption and electricity cost. PPC exchange rates, mining pools. $9,600.32 $63.47 $274.96 $72.91 $6.44 $73.37 $44.93 Follow @WhatToMine dark mode Accurate Peercoin mining calculator trusted by millions of cryptocurrency miners. Updated in 2020, the newest version of the Peercoin profit calculator makes it simple and easy to quickly calculate mining profitability for your Peercoin mining hardware. Peercoin Mining Profitability Calculator. Wondering how profitable Peercoin can be? It works for both mining rigs at home as well as cloud mining services. Input your mining information, like hash rate and any pool fees you many incur. If you're using a mining rig at home, fill out the price of the hardware, your power usage in watts and the List of known Peercoin pools (PPC) SHA-256 PoW algorithm. Live network hashrate distribution, pool fees & minimum payment comparison. Mining Pools & Block Explorer

[index] [30435] [1127] [13381] [12350] [21364] [19972] [27422] [13157] [14787] [4920]

Bitcoin Generator 2020 - Mining Pool Inject + Payment Proof Live

Earn BTC every 5min, New Free Bitcoin Earning Site, Watch Ads earn Free BTC, New BTC Mining Site - Duration: 10:00. Technical Zeeshan 623 views Free Cloud Mining Bitcoin, Litecoin, Dogecoin, Dash, Ethereum, Namecoin, Zcash, Peercoin 2017 Step1: https://goo.gl/GeSJxg Step2: Type your information and register ... S9 Bitcoin Miners Install Techniques from Ebay ... Crypto Mining 1,080 views. 7:19. Peercoin Technical Analysis and why you should buy! - Duration: 9:29. We discuss some of the key differences between mining on the Bitcoin and Peercoin networks. UNIEXCOMPANY CLICK THE LINK BELOW TO JOIN NOW https://bit.ly/394n4Xs Cloud mining bitcoin price what is bitcoin mining and how does it work what's cryptocurrency most profitable altcoin cryptocoin ...

Flag Counter