How Many Bitcoins Does Satoshi Have? - Cryptocurrency
How Many Bitcoins Does Satoshi Have? - Cryptocurrency
What is a Satoshi? How many Satoshi is one Bitcoin & what ...
Satoshi to bitcoin conversion calculator Finder.com
Satoshi - Definition Binance Academy - Bitcoin Exchange
Satoshi Binance Academy
The Many Facts Pointing to Adam Back Being Satoshi ...
Satoshi to Bitcoin, USD and other currencies converter
Ultimate glossary of crypto currency terms, acronyms and abbreviations
I have been holding crypto and following the ecosystem for a long time, and I believe crypto will revolutionise the financial system and still has much potential to increase in value. However until now my holdings have been mostly handpicked. In traditional investments I am a subscriber to passive investing and usually invest in broad index funds, and I want to apply that investment philosophy to my crypto holdings. With this in mind I looked at some available crypto indices and none of them seemed to fill my needs, but looking at them helped me define some of the criteria for my own index:
Not too broad
I will be reproducing the index manually, so having too many assets will make the extra hassle of trading and storing the small-weighted assets not worth it.
I don't see the point of including stablecoins in a cryptoasset index. If I wanted to invest in the asset the stablecoin tracks I'd be better off holding the followed asset itself.
Exclude centrally managed tokens
All indices I found included assets such as Binance Coin and OKB. I see investing in such assets as investing in the managing entity and not in the crypto ecosystem itself, as those tokens will be much more correlated with the business success of the entity than with the success of the ecosystem.
Require reasonable trading availability
The asset must be available for trading in a reasonable number of exchanges.
Market capitalization weighting
Free-float market cap weighting is the standard method of weighting whole-market indices. I have seen some indices that use square root of market cap weighting in order to not be so Bitcoin-heavy, but I am not convinced that that is a better representation of the market or that it would lead to better returns. With these criteria in mind I evaluated the top coins by market capitalization. I decided to use CoinGecko as my main source, but I do cross check the values with CoinMarketCap and CoinCap.io to avoid some big flaw in CoinGecko's methodology.
Obviously the big guy is in.
I also have no issues with Ethereum.
Ripple is a bit too centrally-controlled for my taste and there's also the worry that the value of the XRP token itself may not be too correlated with the network's success, but I still consider it to be worthy for inclusion.
Tether is excluded due to being a stable coin and being centrally-controlled.
The only thing that worries me about Bitcoin Cash is that the community seems to be too worried about insisting that it is the true Bitcoin instead of developed, but I don't see any reason to exclude it given my criteria.
This is the first asset with which I don't have too much experience. Their website is a bit too heavy on buzzwords, but my research seems to show that it is a real network, there's no big problems with their whitepaper.
I personally have no idea how Bitcoin SV is so high in market capitalization, as I see it as just Craig Steven Wright's tool to strengthen his Satoshi claim, but the point of the index and the criteria is to remove my personal feelings from the decision, so it stays in.
Litecoin is one of the oldest assets around and I have no objection for it.
This is the first one where I am having a hard time deciding if it stays in or not. Its website is full of buzzwords. They have a whitepaper explaining how the network works, but I can't see it as much more than a centrally-managed token with a bunch of apps around it and no real value proposition. The company itself seems shady, having been through a name change, as it was previously called Monaco, the way their cards work smells heavily like a Ponzi scheme, they promise huge interest rates for staking random coins with them and the amount of people that show up speaking well of it in any post about it reeks of paid shills. For some reason it is also not listed on CoinCap.io, although it is listed on CoinGecko and CoinMarketCap. It is also listed on fewer exchanges than other coins we've seen so far. I couldn't find any concrete evidence of it being a scam, but I am excluding it for being a centrally-controlled token.
This is a Binance-controlled token, so it is out.
I also didn't know much about this coin, but my research didn't raise any red flags about it, so it's in.
This one is an ERC20 token, but it is managed by a smart contract and although it seems to be somewhat centrally-controlled by now it does have a governance model to make this control be diluted over time. It is also trying to solve a real problem, so it is in.
I was not too familiar with it, but after researching about it I really like the idea. I see no problem in including it.
Stellar feels to me a bit too much like Ripple 2.0, but I don't have any concrete problems with it.
This is an OKEX-controlled token, so it is out.
Another one of the old kids in town, I have no problems with it.
I have a "too buzzwordy" feeling about TRON, and I feel it is a bit too much connected to its founder, but no concrete problems as well.
This is a bitfinex-controlled token, so it is out.
USD Coin is excluded due to being a stable coin and being centrally-controlled.
This is an asset that I am not too sure I understand completely, and it is not listed from CoinCap.io and its market cap is not computed on CoinMarketCap. From what I can gather a cToken is meant to be a token that identifies that you have deposited in Compound's loan market. The only place where it is really traded is in the Compound exchange itself, and it's value is tied to the interest accrued from the loans in the platform and to the underlying asset, which in this case is DAI, a stablecoin. I find Compound Finance interesting and intend to read more about it, but I don't think cDAI is fit for my index, as it is not freely tradeable and tied to a stablecoin.
This is a Huobi-controlled token, so it is out.
This is one more buzzwordy smart contract platform with no concrete red flags to it.
A fork from the main Ethereum chain that rejects the rescue of stolen funds from a buggy smart contract. I am sympathetic to the idea of rejecting a centrally-proposed hardfork, and I see no red flags with this coin. And with this we are up to my intended 15 assets. This is the composition of the index with current market capitalizations:
This is the portfolio I intend to target from now on, with occasional rebalances of course. I would like to hear what you think about my criteria and my application of them, and where I could improve it.
The Undiscovered Facts Behind Money Laundering, Cryptocurrency, and Banks
A week ago, a lot of documents known as the FinCEN documents were delivered, enumerating how the absolute greatest banks on the globe move trillions of dollars in dubious exchanges for suspected psychological militants, kleptocrats, and drug top dogs. Also, the U.S. government has neglected to stop it. https://preview.redd.it/lme57jyyx1r51.jpg?width=1200&format=pjpg&auto=webp&s=014ead7b7b812b3d6cbaf4a141eeec123589121b The Financial Crimes Enforcement Network ("FinCEN"), an agency inside the Treasury Department, accused of battling tax evasion, psychological militant financing, and other monetary violations. An assortment of "dubious movement reports" offers a window into budgetary debasement, and how governments can't or reluctant to stop it. Benefits from destructive medication wars, fortunes stole from creating nations, and hard-earned investment funds taken in Ponzi plans, all course through money related establishments, in spite of admonitions from bank workers. These reports are available to US law enforcement agencies and other nations’ financial intelligence operations. Although FinCEN is aware of the money laundering activities, it lacks the authority to stop it. Money laundering is more than a financial crime. It is a tool that makes all other crimes possible - from drug trafficking to political crimes. And banks make it all possible. In a detailed expose, BuzzFeedNews named several of the most trusted banks. Current investigations show that even after fines and prosecutions, well-known JPMorgan Chase JPM (+0.9%), HSBC, Standard Chartered, Deutsche Bank, and Bank of New York Mellon BK (+0.8%) are all involved in moving funds for suspected criminals. The current money related framework generally protects the banks and its heads from the indictment, inasmuch as the bank documents a notification with FinCEN that it might be encouraging crime. The dubious movement alert adequately gives the banks a free pass. Thus, unlawful finances keep on moving through banks into different businesses from oil to amusement to land, further isolating the rich from poor people, while the banks we have developed to trust, make everything conceivable. As indicated by the United Nations, the assessed measure of cash laundered universally in one year is 2 to 5% of the worldwide GDP, or $800 billion to $2 trillion, with more than thank 90% of illegal tax avoidance going undetected today. Simultaneously, the cryptocurrency industry has likewise been condemned for being an apparatus for tax evasion, in spite of insights expressing something else. It is assessed that solitary 1.1% of all digital currency exchanges are illegal. During its initial days, Bitcoin was generally connected with the Silk Road, an online dim net commercial center, where clients could buy weapons and unlawful medications namelessly. Be that as it may, with the developing utilization of the Bitcoin organization, 42 million Bitcoin wallets, and checking, it is getting progressively conceivable to follow exchanges on open blockchains, while private financial exchanges stay covered up on display. This week, I had a chance to plunk down with Chanpeng Zhao "CZ", the Founder and CEO of Binance, the biggest cryptographic money trade by volume on the planet, to get his interpretation of illegal tax avoidance both in the customary and the computerized fund universes. Coming up next are a couple of features from our meeting: Much obliged to you for going along with us today, CZ. As you would see it, for what reason is illegal tax avoidance especially destructive to our economy? CZ: As monetary administration suppliers, it is our obligation to battle unlawful action. Everybody shares this duty. Yet, regularly once the principles are set up, individuals will attempt to get around the guidelines. What's more, there are individuals who simply need more business, and knowing or unconsciously will encourage these exchanges. We live in an intricate world, where one nation may see a go about as criminal and the other may not. Many individuals have a high contrast see, yet the world is really dim. Not all banks are honest and not all crypto organizations are terrible. The digital currency industry has experienced harsh criticism for encouraging unlawful exchanges. How would you think conventional money and digital currency businesses analyze in such manner? CZ: If you are utilizing Bitcoin, it is a straightforward record. When you have a couple of exchanges, you can follow the assets right back to where the coins were mined. So along these lines, blockchain really gives a straightforward record to everybody to dissect. In the event that you piece together a couple of information focuses and do a group examination, it isn't that difficult for a calculation to break down the beginning. Security coins are more earnestly to follow, yet their market top isn't unreasonably high, making bigger exchanges more troublesome. So to be completely forthright, it is a lot simpler to make illegal exchanges utilizing fiat than utilizing crypto. How might you analyze the volume of illegal exchanges in crypto versus fiat? CZ:It's likely a thousand times less. Essentially, for any important measure of cash you need to move in the crypto, it is exceptionally difficult to move it namelessly. There are outsider checking devices and information bases that can coordinate a considerable lot of the addresses to known people. The digital currency market top is little to the point, that in the event that you are moving a $100 million dollars, you can't do as such without experiencing an incorporated trade, making it considerably simpler to follow. The cryptographic money space overall was begun by Satoshi Nakomoto as to some degree a campaign against the defilement of banks. Remarkably, the beginning square of Bitcoin contained a commentary tending to the bailouts of banks in 2008 and 2009 ["The Times 3 January 2009 - Chancellor on edge of second bailout for banks."] Is that ethos still alive in the digital currency space today, the drive to bring down the enormous person? CZ: I have even more a fair view here. Some in the crypto space are against banks, fiat, and so forth., while others think digital forms of money are utilized by drug masters. Those are two extraordinary perspectives. My view is that digital money offers opportunities - a further extent of opportunity in exchanges, ventures, property, reserve funds, and so on. We are simply offering another choice for clients who esteem that opportunity and control. I'm not against any bank or any single individual. I think crypto offers a higher opportunity of cash, and thusly we need to give more individuals admittance to crypto… If I don't care for the banks, I simply don't utilize them. Where do you feel the equalization lies between the legislature securing its residents as opposed to encouraging advancement? CZ: I accept governments ought to be public administrations. They ought to give streets and fire departments...Whenever there is government intercession, it is awful for the economy. At whatever point an administration encourages one gathering, it naturally harms another. The administration influences the parity of the economy giving assistance to a gathering that isn't sufficiently serious to remain alive. So at whatever point an administration rescues huge banks, or any business so far as that is concerned, they just appear as though they are making a difference. I have confidence in a free economy, and I buy into that way of thinking unequivocally. Much obliged to you for your understanding, CZ. More information about PrivateX: www.privatex.io PrivateX is a private wallet for sending, receiving, and storing your Bitcoin and Ethereum. If you are interested in services, contact us [[email protected]](mailto:[email protected]) #moneylaundering#privatex#buybitcoin24#binance#huobiglobal#kraken#crypto#bitcoin#consulting24#buybitcoin#buybitcoinnow#blockchain#startacompanyinestonia#companyinestonia#estonia#cryptoexchanges#privatexcoin
How To End The Cryptocurrency Exchange "Wild West" Without Crippling Innovation
In case you haven't noticed the consultation paper, staff notice, and report on Quadriga, regulators are now clamping down on Canadian cryptocurrency exchanges. The OSC and other regulatory bodies are still interested in industry feedback. They have not put forward any official regulation yet. Below are some ideas/insights and a proposed framework.
Typical securities frameworks will cost Canadians millions of dollars (ie Sarbanes-Oxley estimated at $5m USD/yr per firm). Implementation costs of this proposal are significantly cheaper.
Canadians can maintain a diverse set of exchanges, multiple viable business models are still fully supported, and innovation is encouraged while keeping Canadians safe.
Many of you have limited time to read the full proposal, so here are the highlights:
Effective standards to prevent both internal and external theft. Exchange operators are trained and certified, and have a legal responsibility to users.
Regular Transparent Audits
Provides visibility to Canadians that their funds are fully backed on the exchange, while protecting privacy and sensitive platform information.
Establishment of basic insurance standards/strategy, to expand over time. Removing risk to exchange users of any hot wallet theft.
Background and Justifications
Cold Storage Custody/Management After reviewing close to 100 cases, all thefts tend to break down into more or less the same set of problems: • Funds stored online or in a smart contract, • Access controlled by one person or one system, • 51% attacks (rare), • Funds sent to the wrong address (also rare), or • Some combination of the above. For the first two cases, practical solutions exist and are widely implemented on exchanges already. Offline multi-signature solutions are already industry standard. No cases studied found an external theft or exit scam involving an offline multi-signature wallet implementation. Security can be further improved through minimum numbers of signatories, background checks, providing autonomy and legal protections to each signatory, establishing best practices, and a training/certification program. The last two transaction risks occur more rarely, and have never resulted in a loss affecting the actual users of the exchange. In all cases to date where operators made the mistake, they've been fully covered by the exchange platforms. • 51% attacks generally only occur on blockchains with less security. The most prominent cases have been Bitcoin Gold and Ethereum Classic. The simple solution is to enforce deposit limits and block delays such that a 51% attack is not cost-effective. • The risk of transactions to incorrect addresses can be eliminated by a simple test transaction policy on large transactions. By sending a small amount of funds prior to any large withdrawals/transfers as a standard practice, the accuracy of the wallet address can be validated. The proposal covers all loss cases and goes beyond, while avoiding significant additional costs, risks, and limitations which may be associated with other frameworks like SOC II. On The Subject of Third Party Custodians Many Canadian platforms are currently experimenting with third party custody. From the standpoint of the exchange operator, they can liberate themselves from some responsibility of custody, passing that off to someone else. For regulators, it puts crypto in similar categorization to oil, gold, and other commodities, with some common standards. Platform users would likely feel greater confidence if the custodian was a brand they recognized. If the custodian was knowledgeable and had a decent team that employed multi-sig, they could keep assets safe from internal theft. With the right protections in place, this could be a great solution for many exchanges, particularly those that lack the relevant experience or human resources for their own custody systems. However, this system is vulnerable to anyone able to impersonate the exchange operators. You may have a situation where different employees who don't know each other that well are interacting between different companies (both the custodian and all their customers which presumably isn't just one exchange). A case study of what can go wrong in this type of environment might be Bitpay, where the CEO was tricked out of 5000 bitcoins over 3 separate payments by a series of emails sent legitimately from a breached computer of another company CEO. It's also still vulnerable to the platform being compromised, as in the really large $70M Bitfinex hack, where the third party Bitgo held one key in a multi-sig wallet. The hacker simply authorized the withdrawal using the same credentials as Bitfinex (requesting Bitgo to sign multiple withdrawal transactions). This succeeded even with the use of multi-sig and two heavily security-focused companies, due to the lack of human oversight (basically, hot wallet). Of course, you can learn from these cases and improve the security, but so can hackers improve their deception and at the end of the day, both of these would have been stopped by the much simpler solution of a qualified team who knew each other and employed multi-sig with properly protected keys. It's pretty hard to beat a human being who knows the business and the typical customer behaviour (or even knows their customers personally) at spotting fraud, and the proposed multi-sig means any hacker has to get through the scrutiny of 3 (or more) separate people, all of whom would have proper training including historical case studies. There are strong arguments both for and against using use of third party custodians. The proposal sets mandatory minimum custody standards would apply regardless if the cold wallet signatories are exchange operators, independent custodians, or a mix of both. On The Subject Of Insurance ShakePay has taken the first steps into this new realm (congratulations). There is no question that crypto users could be better protected by the right insurance policies, and it certainly feels better to transact with insured platforms. The steps required to obtain insurance generally place attention in valuable security areas, and in this case included a review from CipherTrace. One of the key solutions in traditional finance comes from insurance from entities such as the CDIC. However, historically, there wasn't found any actual insurance payout to any cryptocurrency exchange, and there are notable cases where insurance has not paid. With Bitpay, for example, the insurance agent refused because the issue happened to the third party CEO's computer instead of anything to do with Bitpay itself. With the Youbit exchange in South Korea, their insurance claim was denied, and the exchange ultimately ended up instead going bankrupt with all user's funds lost. To quote Matt Johnson in the original Lloyd's article: “You can create an insurance policy that protects no one – you know there are so many caveats to the policy that it’s not super protective.” ShakePay's insurance was only reported to cover their cold storage, and “physical theft of the media where the private keys are held”. Physical theft has never, in the history of cryptocurrency exchange cases reviewed, been reported as the cause of loss. From the limited information of the article, ShakePay made it clear their funds are in the hands of a single US custodian, and at least part of their security strategy is to "decline to confirm the custodian’s name on the record". While this prevents scrutiny of the custodian, it's pretty silly to speculate that a reasonably competent hacking group couldn't determine who the custodian is. A far more common infiltration strategy historically would be social engineering, which has succeeded repeatedly. A hacker could trick their way into ShakePay's systems and request a fraudulent withdrawal, impersonate ShakePay and request the custodian to move funds, or socially engineer their way into the custodian to initiate the withdrawal of multiple accounts (a payout much larger than ShakePay) exploiting the standard procedures (for example, fraudulently initiating or override the wallet addresses of a real transfer). In each case, nothing was physically stolen and the loss is therefore not covered by insurance. In order for any insurance to be effective, clear policies have to be established about what needs to be covered. Anything short of that gives Canadians false confidence that they are protected when they aren't in any meaningful way. At this time, the third party insurance market does not appear to provide adequate options or coverage, and effort is necessary to standardize custody standards, which is a likely first step in ultimately setting up an insurance framework. A better solution compared to third party insurance providers might be for Canadian exchange operators to create their own collective insurance fund, or a specific federal organization similar to the CDIC. Such an organization would have a greater interest or obligation in paying out actual cases, and that would be it's purpose rather than maximizing it's own profit. This would be similar to the SAFU which Binance has launched, except it would cover multiple exchanges. There is little question whether the SAFU would pay out given a breach of Binance, and a similar argument could be made for a insurance fund managed by a collective of exchange operators or a government organization. While a third party insurance provider has the strong market incentive to provide the absolute minimum coverage and no market incentive to payout, an entity managed by exchange operators would have incentive to protect the reputation of exchange operators/the industry, and the government should have the interest of protecting Canadians. On The Subject of Fractional Reserve There is a long history of fractional reserve failures, from the first banks in ancient times, through the great depression (where hundreds of fractional reserve banks failed), right through to the 2008 banking collapse referenced in the first bitcoin block. The fractional reserve system allows banks to multiply the money supply far beyond the actual cash (or other assets) in existence, backed only by a system of debt obligations of others. Safely supporting a fractional reserve system is a topic of far greater complexity than can be addressed by a simple policy, and when it comes to cryptocurrency, there is presently no entity reasonably able to bail anyone out in the event of failure. Therefore, this framework is addressed around entities that aim to maintain 100% backing of funds. There may be some firms that desire but have failed to maintain 100% backing. In this case, there are multiple solutions, including outside investment, merging with other exchanges, or enforcing a gradual restoration plan. All of these solutions are typically far better than shutting down the exchange, and there are multiple cases where they've been used successfully in the past. Proof of Reserves/Transparency/Accountability Canadians need to have visibility into the backing on an ongoing basis. The best solution for crypto-assets is a Proof of Reserve. Such ideas go back all the way to 2013, before even Mt. Gox. However, no Canadian exchange has yet implemented such a system, and only a few international exchanges (CoinFloor in the UK being an example) have. Many firms like Kraken, BitBuy, and now ShakePay use the Proof of Reserve term to refer to lesser proofs which do not actually cryptographically prove the full backing of all user assets on the blockchain. In order for a Proof of Reserve to be effective, it must actually be a complete proof, and it needs to be understood by the public that is expected to use it. Many firms have expressed reservations about the level of transparency required in a complete Proof of Reserve (for example Kraken here). While a complete Proof of Reserves should be encouraged, and there are some solutions in the works (ie TxQuick), this is unlikely to be suitable universally for all exchange operators and users. Given the limitations, and that firms also manage fiat assets, a more traditional audit process makes more sense. Some Canadian exchanges (CoinSquare, CoinBerry) have already subjected themselves to annual audits. However, these results are not presently shared publicly, and there is no guarantee over the process including all user assets or the integrity and independence of the auditor. The auditor has been typically not known, and in some cases, the identity of the auditor is protected by a NDA. Only in one case (BitBuy) was an actual report generated and publicly shared. There has been no attempt made to validate that user accounts provided during these audits have been complete or accurate. A fraudulent fractional exchange, or one which had suffered a breach they were unwilling to publicly accept (see CoinBene), could easily maintain a second set of books for auditors or simply exclude key accounts to pass an individual audit. The proposed solution would see a reporting standard which includes at a minimum - percentage of backing for each asset relative to account balances and the nature of how those assets are stored, with ownership proven by the auditor. The auditor would also publicly provide a "hash list", which they independently generate from the accounts provided by the exchange. Every exchange user can then check their information against this public "hash list". A hash is a one-way form of encryption, which fully protects the private information, yet allows anyone who knows that information already to validate that it was included. Less experienced users can take advantage of public tools to calculate the hash from their information (provided by the exchange), and thus have certainty that the auditor received their full balance information. Easy instructions can be provided. Auditors should be impartial, their identities and process public, and they should be rotated so that the same auditor is never used twice in a row. Balancing the cost of auditing against the needs for regular updates, a 6 month cycle likely makes the most sense. Hot Wallet Management The best solution for hot wallets is not to use them. CoinBerry reportedly uses multi-sig on all withdrawals, and Bitmex is an international example known for their structure devoid of hot wallets. However, many platforms and customers desire fast withdrawal processes, and human validation has a cost of time and delay in this process. A model of self-insurance or separate funds for hot wallets may be used in these cases. Under this model, a platform still has 100% of their client balance in cold storage and holds additional funds in hot wallets for quick withdrawal. Thus, the risk of those hot wallets is 100% on exchange operators and not affecting the exchange users. Since most platforms typically only have 1%-5% in hot wallets at any given time, it shouldn't be unreasonable to build/maintain these additional reserves over time using exchange fees or additional investment. Larger withdrawals would still be handled at regular intervals from the cold storage. Hot wallet risks have historically posed a large risk and there is no established standard to guarantee secure hot wallets. When the government of South Korea dispatched security inspections to multiple exchanges, the results were still that 3 of them got hacked after the inspections. If standards develop such that an organization in the market is willing to insure the hot wallets, this could provide an acceptable alternative. Another option may be for multiple exchange operators to pool funds aside for a hot wallet insurance fund. Comprehensive coverage standards must be established and maintained for all hot wallet balances to make sure Canadians are adequately protected.
Current Draft Proposal
(1) Proper multi-signature cold wallet storage. (a) Each private key is the personal and legal responsibility of one person - the “signatory”. Signatories have special rights and responsibilities to protect user assets. Signatories are trained and certified through a course covering (1) past hacking and fraud cases, (2) proper and secure key generation, and (3) proper safekeeping of private keys. All private keys must be generated and stored 100% offline by the signatory. If even one private keys is ever breached or suspected to be breached, the wallet must be regenerated and all funds relocated to a new wallet. (b) All signatories must be separate background-checked individuals free of past criminal conviction. Canadians should have a right to know who holds their funds. All signing of transactions must take place with all signatories on Canadian soil or on the soil of a country with a solid legal system which agrees to uphold and support these rules (from an established white-list of countries which expands over time). (c) 3-5 independent signatures are required for any withdrawal. There must be 1-3 spare signatories, and a maximum of 7 total signatories. The following are all valid combinations: 3of4, 3of5, 3of6, 4of5, 4of6, 4of7, 5of6, or 5of7. (d) A security audit should be conducted to validate the cold wallet is set up correctly and provide any additional pertinent information. The primary purpose is to ensure that all signatories are acting independently and using best practices for private key storage. A report summarizing all steps taken and who did the audit will be made public. Canadians must be able to validate the right measures are in place to protect their funds. (e) There is a simple approval process if signatories wish to visit any country outside Canada, with a potential whitelist of exempt countries. At most 2 signatories can be outside of aligned jurisdiction at any given time. All exchanges would be required to keep a compliant cold wallet for Canadian funds and have a Canadian office if they wish to serve Canadian customers. (2) Regular and transparent solvency audits. (a) An audit must be conducted at founding, after 3 months of operation, and at least once every 6 months to compare customer balances against all stored cryptocurrency and fiat balances. The auditor must be known, independent, and never the same twice in a row. (b) An audit report will be published featuring the steps conducted in a readable format. This should be made available to all Canadians on the exchange website and on a government website. The report must include what percentage of each customer asset is backed on the exchange, and how those funds are stored. (c) The auditor will independently produce a hash of each customer's identifying information and balance as they perform the audit. This will be made publicly available on the exchange and government website, along with simplified instructions that each customer can use to verify that their balance was included in the audit process. (d) The audit needs to include a proof of ownership for any cryptocurrency wallets included. A satoshi test (spending a small amount) or partially signed transaction both qualify. (e) Any platform without 100% reserves should be assessed on a regular basis by a government or industry watchdog. This entity should work to prevent any further drop, support any private investor to come in, or facilitate a merger so that 100% backing can be obtained as soon as possible. (3) Protections for hot wallets and transactions. (a) A standardized list of approved coins and procedures will be established to constitute valid cold storage wallets. Where a multi-sig process is not natively available, efforts will be undertaken to establish a suitable and stable smart contract standard. This list will be expanded and improved over time. Coins and procedures not on the list are considered hot wallets. (b) Hot wallets can be backed by additional funds in cold storage or an acceptable third-party insurance provider with a comprehensive coverage policy. (c) Exchanges are required to cover the full balance of all user funds as denominated in the same currency, or double the balance as denominated in bitcoin or CAD using an established trading rate. If the balance is ever insufficient due to market movements, the firm must rectify this within 24 hours by moving assets to cold storage or increasing insurance coverage. (d) Any large transactions (above a set threshold) from cold storage to any new wallet addresses (not previously transacted with) must be tested with a smaller transaction first. Deposits of cryptocurrency must be limited to prevent economic 51% attacks. Any issues are to be covered by the exchange. (e) Exchange platforms must provide suitable authentication for users, including making available approved forms of two-factor authentication. SMS-based authentication is not to be supported. Withdrawals must be blocked for 48 hours in the event of any account password change. Disputes on the negligence of exchanges should be governed by case law.
Continued review of existing OSC feedback is still underway. More feedback and opinions on the framework and ideas as presented here are extremely valuable. The above is a draft and not finalized. The process of further developing and bringing a suitable framework to protect Canadians will require the support of exchange operators, legal experts, and many others in the community. The costs of not doing such are tremendous. A large and convoluted framework, one based on flawed ideas or implementation, or one which fails to properly safeguard Canadians is not just extremely expensive and risky for all Canadians, severely limiting to the credibility and reputation of the industry, but an existential risk to many exchanges. The responsibility falls to all of us to provide our insight and make our opinions heard on this critical matter. Please take the time to give your thoughts.
08-17 08:25 - 'Is Bitcoin a virtual currency?' (self.Bitcoin) by /u/Beneficial-Guitar-77 removed from /r/Bitcoin within 6-16min
''' I believe that you are relatively familiar with the currency, so today I will give you a chat, bitcoin is not a virtual currency? First of all, know about it. Bitcoin is a kind of digital currency in the form of P2P, which was first proposed by Satoshi Nakamoto. Point-to-point transmission means a decentralized payment system. , unlike most of the currency, the currency monetary authorities don't depend on the specific issue, it is according to the specific algorithm, through a lot of calculation, the currency economic use of the P2P network composed of many nodes in a distributed database to identify and record all transactions, and the use of cryptography security currency to ensure that each link of the design. The second is how to buy and invest bitcoin safely. In fact, there are a lot of cheaters, there are also a lot of pits, so still need to see other people's posts, more accumulation of experience, to participate in the discussion. You will make fewer mistakes, because the previous generation did not make fewer mistakes. IXX Exchange is a reliable APP that is the world's first digital asset trading community. It supports Bitcoin, Cardano, OMG, Bitcoin Cash, Ethereum, Binance Coin and hundreds of other cryptocurrencies to meet the needs of all users. Advantages are probably rapid purchase, contract trading, safe clearing, trading efficiency, first-class service; More practical and comfortable. Safe buy is more important, also have a lot of forum can have relevant content, hope to be able to give everybody reference. Because of the innovation and scarcity of Bitcoin, many people are willing to invest a lot of money to dig mines or buy bitcoin directly. ''' Is Bitcoin a virtual currency? Go1dfish undelete link unreddit undelete link Author: Beneficial-Guitar-77
Crypto-Powered: Understanding Bitcoin, Ethereum, and DeFi
Until one understands the basics of this tech, they won’t be able to grasp or appreciate the impact it has on our digital bank, Genesis Block. https://reddit.com/link/ho4bif/video/n0euarkifu951/player This is the second post ofCrypto-Powered— a new series that examines what it means forGenesis Blockto be a digital bank that’s powered by crypto, blockchain, and decentralized protocols. --- Our previous post set the stage for this series. We discussed the state of consumer finance and how the success of today’s high-flying fintech unicorns will be short-lived as long as they’re building on legacy finance — a weak foundation that is ripe for massive disruption. Instead, the future of consumer finance belongs to those who are deeply familiar with blockchain tech & decentralized protocols, build on it as the foundation, and know how to take it to the world. Like Genesis Block. Today we begin our journey down the crypto rabbit hole. This post will be an important introduction for those still learning about Bitcoin, Ethereum, or DeFi (Decentralized Finance). This post (and the next few) will go into greater detail about how this technology gives Genesis Block an edge, a superpower, and an unfair advantage. Let’s dive in… https://preview.redd.it/1ugdxoqjfu951.jpg?width=650&format=pjpg&auto=webp&s=36edde1079c3cff5f6b15b8cd30e6c436626d5d8
Bitcoin: The First Cryptocurrency
There are plenty of online resources to learn about Bitcoin (Coinbase, Binance, Gemini, Naval, Alex Gladstein, Marc Andreessen, Chris Dixon). I don’t wanna spend a lot of time on that here, but let’s do a quick overview for those still getting ramped up. Cryptocurrency is the most popular use-case of blockchain technology today. And Bitcoin was the first cryptocurrency to be invented.
Bitcoin is the most decentralized of all crypto assets today — no government, company, or third party can control or censor it.
Bitcoin has two primary features (as do most other cryptocurrencies):
Send Value You can send value to anyone, anywhere in the world. Nobody can intercept, delay or stop it — not even governments or financial institutions. Unlike with traditional money transfers or bank wires, there are no layers of middlemen. This results in a process that is much more cost-efficient. Some popular use-cases include remittances and cross-border payments.
A few negative moments in Bitcoin’s history include the collapse of Mt. Gox — which resulted in hundreds of millions of customer funds being stolen — as well as Bitcoin’s role in dark markets like Silk Road — where Bitcoin arguably found its initial userbase. However, like most breakthrough technology, Bitcoin is neither good nor bad. It’s neutral. People can use it for good or they can use it for evil. Thankfully, it’s being used less and less for illicit activity. Criminals are starting to understand that transactions on a blockchain are public and traceable — it’s exactly the type of system they usually try to avoid. And it’s true, at this point “a lot more” crimes are actually committed with fiat than crypto. As a result, the perception of bitcoin and cryptocurrency has been changing over the years to a more positive light. Bitcoin has even started to enter the world of media & entertainment. It’s been mentioned in Hollywood films like Spiderman: Into the Spider-Verse and in songs from major artists like Eminem. It’s been mentioned in countless TV shows like Billions, The Simpsons, Big Bang Theory, Gray’s Anatomy, Family Guy, and more. As covid19 has ravaged economies and central banks have been printing money, Bitcoin has caught the attention of many legendary Wall Street investors like Paul Tudor Jones, saying that Bitcoin is a great bet against inflation (reminding him of Gold in the 1970s). Cash App already lets their 25M users buy Bitcoin. It’s rumored that PayPal and Venmo will soon let their 325M users start buying Bitcoin. Bitcoin is by far the most dominant cryptocurrency and is showing no signs of slowing down. For more than a decade it has delivered on its core use-cases — being able to send or store value.
At this point, Bitcoin has very much entered the zeitgeist of modern pop culture — at least in the West.
When Ethereum launched in 2015, it opened up a world of new possibilities and use-cases for crypto. With Ethereum Smart Contracts (i.e. applications), this exciting new digital money (cryptocurrency) became a lot less dumb. Developers could now build applications that go beyond the simple use-cases of “send value” & “store value.” They could program cryptocurrency to have rules, behavior, and logic to respond to different inputs. And always enforced by code. Additional reading on Ethereum fromLinda XieorVitalik Buterin.
Because these applications are built on blockchain technology (Ethereum), they preserve many of the same characteristics as Bitcoin: no one can stop, censor or shut down these apps because they are decentralized.
Just as tokens grew in popularity in 2017–2018, so did online marketplaces where these tokens could be bought, sold, and traded. This was a fledgling asset class — the merchants selling picks, axes, and shovels were finally starting to emerge.
I had a front-row seat — both as an investor and token creator. This was the Wild West with all the frontier drama & scandal that you’d expect.
Binance — now the world’s largest crypto exchange —was launched during this time. They along with many others (especially from Asia) made it really easy for speculators, traders, and degenerate gamblers to participate in these markets. Similar to other financial markets, the goal was straightforward: buy low and sell high. https://preview.redd.it/tytsu5jnfu951.jpg?width=600&format=pjpg&auto=webp&s=fe3425b7e4a71fa953b953f0c7f6eaff6504a0d1 That period left an embarrassing stain on our industry that we’ve still been trying to recover from. It was a period rampant with market manipulation, pump-and-dumps, and scams. To some extent, the crypto industry still suffers from that today, but it’s nothing compared to what it was then.
While the potential of getting filthy rich brought a lot of fly-by-nighters and charlatans into the industry, it also brought a lot of innovators, entrepreneurs, and builders.
The launch and growth of Ethereum has been an incredible technological breakthrough. As with past tech breakthroughs, it has led to a wave of innovation, experimentation, and development. The creativity around tokens, smart contracts, and decentralized applications has been fascinating to witness. Now a few years later, the fruits of those labors are starting to be realized.
I know that for the hardcore crypto people, what we covered today is nothing new. But for those who are still getting up to speed, welcome! I hope this was helpful and that it fuels your interest to learn more. Until you understand the basics of this technology, you won’t be able to fully appreciate the impact that it has on our new digital bank, Genesis Block. You won’t be able to understand the implications, how it relates, or how it helps. After today’s post, some of you probably have a lot more questions. What are specific examples or use-cases of DeFi? Why does it need to be on a blockchain? What benefits does it bring to Genesis Block and our users? In upcoming posts, we answer these questions. Today’s post was just Level 1. It set the foundation for where we’re headed next: even deeper down the crypto rabbit hole. --- Other Ways to Consume Today's Episode:
We have a lot more content coming. Be sure to follow our channels: https://genesisblock.com/follow/ Have you already downloaded the app? We're Genesis Block, a new digital bank that's powered by crypto & decentralized protocols. The app is live in the App Store (iOS & Android). Get the link to download at https://genesisblock.com/download
Spreading Crypto: In Search of the Killer Application
This is the second post of ourSpreading Cryptoseries where we take a deep dive into what it’ll take to help this technology reach broader adoption. Mick exploring the state of apps in crypto Our previous post explored the history of protocols and how they only become widely adopted when a compelling application makes them more accessible and easier to use. Crypto will be no different. Blockchain technology today is mostly all low-level protocols. As with the numerous protocols that came before, these new, decentralized protocols need killer applications. So, how’s that going? Where is crypto’s killer application? What’s the state of application development within our industry? Today we’ll try to answer those questions. We’ll also take a close look at decentralized applications — as that’s where a lot of the developer energy and focus currently is. Let’s dive in.
Beyond the fact that the most popular crypto applications are all used for speculation, another common thread is that they are all centralized.
A centralized application means that ultimate power and control rests with a centralized party (the company who built it). For example, if Coinbase or Binance wants to block you from withdrawing your funds for whatever reason (maybe for suspicious activity or fraud), they can do that. They have control of their servers so they have control of your funds. Most popular applications that we all use daily are centralized (Netflix, Facebook, Youtube, etc). That’s the standard for modern, world-class applications today.
Even though the most popular crypto applications are all centralized, most of the developer energy and focus in our industry is with decentralized applications (dApps) and non-custodial products. These are products where only the user can touch or move funds. Not even the company or developer who built the application can access or control or stop funds from being moved. Only the user has control.
These applications allow users to truly become their own bank and have absolute control of their money.
If the most popular applications tend to be centralized (inside and out of crypto), why is so much of our community focused on building decentralized applications (dApps)? For the casual observer, that’s a reasonable, valid question.
“Not your keys, not your coins.”
This meme is endlessly repeated among longtime crypto hodlers. If you’re not in complete control of your crypto (i.e. using non-custodial wallets or dApps), then it’s not really your crypto. Engrained in the early culture of Bitcoin has always been a strong distrust for centralized authority and power — including the too-big-to-fail government-backed financial system. In the midst of the Financial Crisis, Satoshi Nakamoto included this headline in Bitcoin’s genesis block: “Chancellor on brink of second bailout for banks.” There has always been a close connection between libertarianism & cryptocurrency. So it’s no surprise that much of the crypto developer community is spending their time building applications that are non-custodial or decentralized. It’s part of the DNA, the soul, the essence of our community. https://preview.redd.it/fy33zhkvdh551.png?width=1600&format=png&auto=webp&s=386c741f13e9119ecfcfffe1c781d09ce58704ed
When I was at Mainframe, we built Mainframe OS — a platform that developers use to build and launch decentralized applications (dApps). I’m deeply familiar with what’s possible and what’s not in the world of dApps. I have the battle scars and gray hair to prove it. We’ve hosted panels around the various challenges. We’ve even produced videos poking fun at how complicated it is for end-users to interact with.
After having spent three years in the trenches of this non-custodial world, I no longer believe that decentralized applications are capable of bringing crypto to the masses.
While I totally understand and appreciate the ethos of self-sovereignty, independence, and liberty… I think it’s a terrible mistake that as a community we are spending most of our time in this area of application development. Decentralized applications will not take crypto to the masses. Mainframe OS
The user friction that comes with decentralized applications is just too overwhelming. Let’s go through a few of the bigger points:
Knowledge & Education: Most non-custodial products do not abstract away any of the blockchain complexity. In fact, they often expose more of it because the most loyal users are crypto nerds. Imagine how a normie n00b feels when she starts seeing words like seed phrases, public & private keys, gas limits, transaction fees, blockchain explorers, hex addresses, and confirmation times. There is a lot for a user to learn and become educated on. That’s friction. The learning curve on this is just too damn high.
User Experience: It is currently impossible to create a smooth and performant user experience in non-custodial wallets or decentralized applications. Any interaction that requires a blockchain transaction will feel sluggish and slow. We built a messaging app on Ethereum and presented it at DevCon3 in Cancun. The technical constraints of blockchain technology were crushing to the user experience. We simply couldn’t create the real-time, modern messaging experience that users have come to expect from similar apps like Slack or WhatsApp. Until blockchains are closer in speed to web servers (which will be difficult given their decentralized nature), dApps will never be able to create the smooth user experience that the masses expect.
Loss of Funds Risk: There is no “Forgot Password” functionality when storing your own crypto in a non-custodial wallet. There is no customer support agent you can ping. There is no company behind it that can make you whole if you make a mistake and lose your money. You are on your own. One wrong move and your money is all gone. If you lose your private key, there is no way to recover your funds. This just isn’t the type of customer support experience people want or are used to.
Decentralized applications will always have a place in the market — especially among the most hardcore crypto people and parts of the world where these tools are essential. I’m personally an active user of many non-custodial products. I’m a blockchain early-adopter, I like to hold my own money, and I’m very forgiving of suboptimal UX.
However, I’m not afraid to say the poop stinks. Decentralized applications simply cannot produce the type of product experience that mainstream consumers expect.
If the goal is growth and adoption, as a community I believe we’re barking up the wrong tree. We are trying to make fetch happen. It isn’t gonna happen. Our Netscape Moment is unlikely to arrive as long as we’re focused on decentralized applications. \"Mean Girls\" movie There’s a reason why the most popular consumer applications are centralized (Spotify, Amazon, Instagram, etc). There’s a reason why the most popular crypto applications are centralized (Coinbase, Binance, etc). The frameworks, tooling, infrastructure, and services to support these modern, centralized applications are mature and well-established. It’s easier to build apps that are fast & performant. It’s easier to launch apps that are convenient and on all form-factors (especially mobile). It’s easier to distribute and promote via all the major app store channels (iOS/Android). It’s easier to patch, update, and upgrade. It’s easier to experiment and iterate.
It’s easier to design, build, and launch a world-class application when it is centralized! It is why we’ve chosen this path for Genesis Block.
We have a lot more content coming. Be sure to follow our channels: https://genesisblock.com/follow/ Have you already downloaded the app? We're Genesis Block, a new digital bank that's powered by crypto & decentralized protocols. The app is live in the App Store (iOS & Android). Get the link to download at https://genesisblock.com/download
https://preview.redd.it/ysi74g2vn3251.png?width=1920&format=png&auto=webp&s=63875e316556c41144ad81cf061caf5bb3f4680d We all have heard the term Smart Contract. When Satoshi invented Blockchain, it was meant to perform transactions only. Ethereum smart contracts made it the prime choice to build Dapps over it. Smart contract enhanced Ethereum’s functionality and makes it different from the traditional blockchain (Bitcoin). This functionality was replicated by other newer Blockchains. What are Smart Contracts? Smart contracts can be defined as self-executing applications that run on a blockchain. It is an agreement between two or more parties in the form of a computer code that runs on a decentralized network in a blockchain. It consists of a set of defined rules which are agreed upon by the involved parties. The contract automatically gets activated whenever certain conditions are met. This idea will remove the involvement of any trusted third-party companies (such as banks) and will be controlled by computers on a trusted network. Ethereum is one of the most popular blockchain platforms for creating smart contracts. It supports a feature called Turing-completeness that enables the developers to build customized smart contracts. Solidity, Ethereum’s original coding language is used to develop smart contracts. Ethereum blockchain's ERC-20 and ERC-721 tokens are smart contract standards. Who created it? Nick Szabo, a computer scientist, and cryptographer, first described the idea of Smart contracts in the ‘90s. He worked on the concept of defining contract laws in businesses between parties by maintaining an electronic commerce protocol on the Internet. He further designed Bit Gold, a mechanism for a decentralized digital currency in 1998. Though the idea was never implemented it created a base that led to the popularity of Bitcoin after 10 years. Properties: · Self-verifiable · Self-executable · Tamper Proof Benefits of using Smart Contract · The removal of third-party or middleman leads to direct and transparent communication between involving parties · Helps in maintaining trust as the agreement rules were predefined and agreed by the parties involved · Helps in reducing error and frauds · Time and cost-efficient · No single point of failure or data loss as data is distributed across the network https://preview.redd.it/1e5ahcqxn3251.png?width=1024&format=png&auto=webp&s=f8a1ebb9b3a84dd721fb32f96fc1950899bc3015 Different objects of Smart contracts There are three essential and main objects of Smart Contracts · Signatories- The parties who use the smart contract. · Agreement subject · Terms and Condition-. Details like rules, obligations, and associated punishments, etc are mentioned as terms and conditions as appropriate. How Smart Contract works Ethereum has 2 types of accounts · External accounts (user account) - Controlled by public-private key pairs · Contract accounts - Controlled by the code stored together with the account These accounts contain four fields: · The nonce, which ensures that each transaction can only be processed once · The current ether balance of the account · The contract code of the account · The storage of the account Model steps
External account executes a function:
a. The user initiates the process by signing the transaction using his private key corresponding to the account. b. Local validation of the transaction happens. It is broadcasted to the network. c. The transaction is added to the transaction pool. The mines maintains such pools.
Generate EVM bytecode through compiling
a. EVM is a powerful, virtual sandbox embedded within each full Ethereum node b. The job of the EVM is to update the Ethereum state by computing valid state transitions as a result of smart contact code execution c. The EVM should not run into any exceptions during the execution
Get contract address from that transaction's receipt
Trigger contract address to invoke methods of that deployed smart contract
Upon receiving a newly created block, the local node executes all the transactions in the block.
The accuracy and quality of a smart contract depends on the following things · Open and decentralized database · The environment needs to support the use of public-key cryptography · Quality programming is crucial. · Data should be reliable. · Robust rules should be used while automating the process. Features Smart contracts automatically support the features of underlying blockchain technology. · Autonomy – Complete control of the involving parties. No need of middleman as in the case of traditional contractual system · Speed – Automated computer code runs as soon as the input criteria fulfill, thereby eliminating the delays caused by manual paperwork activity · Safety – Network encryption guarantees safety against data theft or hacking · Savings – No doubt that the removal of middleman saves a lot of overall cost and time · Accuracy – Since these smart contracts are automated software codes so they ensure accurate output as long as the data fed into the system as input is accurate · Trust – Helps in building trust as the documents are encrypted in a shared ledger · Backup – Since in Blockchain network, each node has a complete backup of data which ensures protection over data loss Potential Use cases Smart contracts can be used to exchange money, property, shares, or anything without any intervention of middleman. They are now gaining popularity and adaption in various sectors. Some of the main sectors are as follows:- · Insurance Companies · Health Systems · Government’s administrative work. · Business Management I will cover each of the potential use cases in detail in my future articles separately. Conclusion Smart Contract is the greatest innovation built on Blockchain technology. We can say it as a cherry over the pie. It has given a new dimension to technology and is one of the biggest reasons behind the popularity of Ethereum. We can say without any second thought that very soon we will be entering into the era where there will be no intervention of any third party. In this way, it can help us in saving a lot of money, time, and effort. Also, we don’t need to be dependent or trust anyone while taking any crucial transactions. This will surely help in reducing fraud, unnecessary delays, and the overall cost of transactions. Smart Contracts will make many transactional jobs redundant. We can be hopeful that further development in technology will open sources for many other new jobs. Read More: Understanding Hard Fork Register in Crypto.com and get $ 50. Linkhere. Create a Binance account using my referrallink.
A double-spend occurs when the same funds are spent more than once. The term is used almost exclusively in the context of digital money — after all, you’d have a hard time spending the same physical cash twice. When you pay for a coffee today, you hand cash over to a cashier who probably locks it in a register. You can’t go to the coffee shop across the road and pay for another coffee with the same bill. In digital cash schemes, there’s the possibility that you could. You’ve surely duplicated a computer file before — you just copy and paste it. You can email the same file to ten, twenty, fifty people. Since digital money is just data, you need to prevent people from copying and spending the same units in different places. Otherwise, your currency will collapse in no time. For a more in-depth look at double-spending, check out Double Spending Explained.
Why is Proof of Work necessary?
If you’ve read our guide to blockchain technology, you’ll know that users broadcast transactions to the network. Those transactions aren’t immediately considered valid, though. That only happens when they get added to the blockchain. The blockchain is a big database that every user can see, so they can check if funds have been spent before. Picture it like this: you and three friends have a notepad. Anytime one of you wants to make a transfer of whatever units you’re using, you write it down — Alice pays Bob five units, Bob pays Carol two units, etc. There’s another intricacy here — each time you make a transaction, you refer to the transaction where the funds came from. So, if Bob was paying Carol with two units, the entry would actually look like the following: Bob pays Carol two units from this earlier transaction with Alice. Now, we have a way to track the units. If Bob tries to make another transaction using the same units he just sent to Carol, everyone will know immediately. The group won’t allow the transaction to be added to the notepad. Now, this might work well in a small group. Everyone knows each other, so they’ll probably agree on which of the friends should add transactions to the notepad. What if we want a group of 10,000 participants? The notepad idea doesn’t scale well, because nobody wants to trust a stranger to manage it. This is where Proof of Work comes in. It ensures that users aren’t spending money that they don’t have the right to spend. By using a combination of game theory and cryptography, a PoW algorithm enables anyone to update the blockchain according to the rules of the system.
How does PoW work?
Our notepad above is the blockchain. But we don’t add transactions one by one — instead, we lump them into blocks. We announce the transactions to the network, then users creating a block will include them in a candidate block. The transactions will only be considered valid once their candidate block becomes a confirmed block, meaning that it has been added to the blockchain. Appending a block isn’t cheap, however. Proof of Work requires that a miner (the user creating the block) uses up some of their own resources for the privilege. That resource is computing power, which is used to hash the block’s data until a solution to a puzzle is found. Hashing the block’s data means that you pass it through a hashing function to generate a block hash. The block hash works like a “fingerprint” — it’s an identity for your input data and is unique to each block. It’s virtually impossible to reverse a block hash to get the input data. Knowing an input, however, it’s trivial for you to confirm that the hash is correct. You just have to submit the input through the function and check if the output is the same. In Proof of Work, you must provide data whose hash matches certain conditions. But you don’t know how to get there. Your only option is to pass your data through a hash function and to check if it matches the conditions. If it doesn’t, you’ll have to change your data slightly to get a different hash. Changing even one character in your data will result in a totally different result, so there’s no way of predicting what an output might be. As a result, if you want to create a block, you’re playing a guessing game. You typically take information on all of the transactions that you want to add and some other important data, then hash it all together. But since your dataset won’t change, you need to add a piece of information that is variable. Otherwise, you would always get the same hash as output. This variable data is what we call a nonce. It’s a number that you’ll change with every attempt, so you’re getting a different hash every time. And this is what we call mining. Summing up, mining is the process of gathering blockchain data and hashing it along with a nonce until you find a particular hash. If you find a hash that satisfies the conditions set out by the protocol, you get the right to broadcast the new block to the network. At this point, the other participants of the network update their blockchains to include the new block. For major cryptocurrencies today, the conditions are incredibly challenging to satisfy. The higher the hash rate on the network, the more difficult it is to find a valid hash. This is done to ensure that blocks aren’t found too quickly. As you can imagine, trying to guess massive amounts of hashes can be costly on your computer. You’re wasting computational cycles and electricity. But the protocol will reward you with cryptocurrency if you find a valid hash. Let’s recap what we know so far:
It’s expensive for you to mine.
You’re rewarded if you produce a valid block.
Knowing an input, a user can easily check its hash — non-mining users can verify that a block is valid without expending much computational power.
So far, so good. But what if you try to cheat? What’s to stop you from putting a bunch of fraudulent transactions into the block and producing a valid hash? That’s where public-key cryptography comes in. We won’t go into depth in this article, but check out What is Public-Key Cryptography? for a comprehensive look at it. In short, we use some neat cryptographic tricks that allow any user to verify whether someone has a right to move the funds they’re attempting to spend. When you create a transaction, you sign it. Anyone on the network can compare your signature with your public key, and check whether they match. They’ll also check if you can actually spend your funds and that the sum of your inputs is higher than the sum of your outputs (i.e., that you’re not spending more than you have). Any block that includes an invalid transaction will be automatically rejected by the network. It’s expensive for you to even attempt to cheat. You’ll waste your own resources without any reward. Therein lies the beauty of Proof of Work: it makes it expensive to cheat, but profitable to act honestly. Any rational miner will be seeking ROI, so they can be expected to behave in a way that guarantees revenue.
Proof of Work vs. Proof of Stake
There are many consensus algorithms, but one of the most highly-anticipated ones is Proof of Stake (PoS). The concept dates back to 2011, and has been implemented in some smaller protocols. But it has yet to see adoption in any of the big blockchains. In Proof of Stake systems, miners are replaced with validators. There’s no mining involved and no race to guess hashes. Instead, users are randomly selected — if they’re picked, they must propose (or “forge”) a block. If the block is valid, they’ll receive a reward made up of the fees from the block’s transactions. Not just any user can be selected, though — the protocol chooses them based on a number of factors. To be eligible, participants must lock up a stake, which is a predetermined amount of the blockchain’s native currency. The stake works like bail: just as defendants put up a large sum of money to disincentivize them from skipping trial, validators lock up a stake to disincentivize cheating. If they act dishonestly, their stake (or a portion of it) will be taken. Proof of Stake does have some benefits over Proof of Work. The most notable one is the smaller carbon footprint — since there’s no need for high-powered mining farms in PoS, the electricity consumed is only a fraction of that consumed in PoW. That said, it has nowhere near the track record of PoW. Although it could be perceived as wasteful, mining is the only consensus algorithm that’s proven itself at scale. In just over a decade, it has secured trillions of dollars worth of transactions. To say with certainty whether PoS can rival its security, staking needs to be properly tested in the wild.
Proof of Work was the original solution to the double-spend problem and has proven to be reliable and secure. Bitcoin proved that we don’t need centralized entities to prevent the same funds from being spent twice. With clever use of cryptography, hash functions, and game theory, participants in a decentralized environment can agree on the state of a financial database.
White Paper, Miner, Pizza … | "Old Objects" in the Cryptocurrency Museum
https://preview.redd.it/giu1ssilga151.jpg?width=900&format=pjpg&auto=webp&s=41510785ccdc0d99544ec74229f62427d1c0ce3e Museum has played the role of a time recorder. Talking about bitcoin, more than ten years has passed since the creation of it. Although it is uncomparable to the stock market with a hundred years of history, during the ten years, in the different stages of the development of bitcoin and blockchain have continuously poured in geeks, miners, speculators, newbies, leaving keywords such as sudden rich, myth, scam, belief, revolution, etc. There are also many “old objects” with stories in the “Museum” of the cryptocurrency realm. On Museum Day, let ’s review the stories brought by these “old objects”. The First Digital Currency White Paper — Bitcoin White Paper On Oct. 31, 2008, Satoshi Nakamoto released the Bitcoin white paper — A Peer-to-Peer Electronic Cash System in the cryptographic mail group where he belongs, and Bitcoin was born since then. A white paper is a document that explains the purpose and technology used in cryptocurrency. Usually a cryptocurrency uses the white paper to help people understand what it provides, and it is also an important information channel for investors to understand a project. Therefore, the level of the white paper affects people’s confidence towards the coin. In a word, in the cryptocurrency and blockchain industry, the value of a white paper is equivalent to that of a standard financing speech. The white paper plays a vital role in this emerging market. The First Public Bitcoin-Physical Transaction — Pizza Since Satoshi Nakamoto mined the Bitcoin genesis block on January 3, 2009, Bitcoin has only been spread among the small crowd and has not realized its value. Not until May 22, 2010, Bitcoin enthusiast “Laszlo Hanyecz” bought a pizza coupon worth $25 with 10,000 bitcoins. This is the first public bitcoin-physical transaction. Bitcoin has its price with 0.3 cents per bitcoin. This day has also become the famous “Bitcoin Pizza Day” in Bitcoin history. Bitcoin as the imagination of the financial system has more practical significance. The tenth anniversary is coming. How will you commemorate it? Will you buy a pizza? The First Digital Asset Exchange — Bitcoinmarket.com After the birth of Bitcoin, in addition to mining, the only way to get Bitcoin in the early days was to conduct transactions on forums or IRC (commonly known as Internet Relay Chat). However, this method involves both long transaction time and great security risk. In March 2010, the first digital asset exchange — Bitcoinmarket.com launched. However, due to lack of liquidity and transaction depth, it disappeared soon after its establishment, but Bitcoinmarket.com opened the era of the operation of the cryptocurrency realm exchange 1.0. On June 9, 2011, China’s first Bitcoin exchange — Bitcoin China (BTCChina) launched. Its founder, Yang Linke, translated Bitcoin into Chinese “比特币” for the first time. In 2013, China’s bitcoin trading entered the golden age, and exchanges sprung up. China monopolized more than 90% of the world’s bitcoin transactions. Now, if the top three exchanges Binance, Huobi Global, OKEx are the Exchange 2.0, then the index exchange represented by 58COIN called the 3.0 version, leading the trend. The First Generation of High-Performance Miner — ASIC Miner When Satoshi Nakamoto created Bitcoin, the only way to get it is to use computers (including home computers) to mine, mainly relying on the CPU to calculate. However, as the value of digital currencies such as Bitcoin has become higher and higher, mining has become an industry with the competition is getting fiercer, accompanied by increasing difficulty of mining. Therefore, hardware performance competition starts. In July 2012, the genius Jiang Xinyu (Internet nickname is “Friedcat”) from the junior class of the University of Science and Technology declared at the forum that he could make ASIC miners (chips). As far as mining computing power is concerned, ASICs can be tens of thousands or more higher than the same-generation CPUs and GPUs. At the beginning of 2013, Zhang Nanqian (Pumpkin Zhang), a suspended doctoral student from the Beijing University of Aeronautics and Astronautics, developed the ASIC miner and named it “Avalon”. In June 2013, the Friedcat’s miner USB was finally released, and it maintained 20% of the computing power of the entire network. At the end of 2013, Wu Jihan, used the tens of millions yuan earned from Friedcat through investment, worked together with Jenke group, to develop the Antminer S1. Since then, the miner manufacturer Bitmain began to enter the stage of history. It is no exaggeration to say that Friedcat and Zhang Nangeng have opened the domestic “mining” era. The Birthplace of China’s Bitcoin — Garage Coffee It is not only the “old objects” that record history, but also a place that everyone in the cryptocurrency realm aspires to. Guo Hongcai once said, “Without no The Garage Café, there will be no cryptocurrency realm today. Since it is a very mysterious place that all waves of people from the café joint together to create today’s digital asset industry. ▲ In March 2013, American student Jake Smith successfully purchased a cup of coffee at The Garage Café with 0.131 bitcoins. This move attracted the attention of CCTV, and it conducted an interview. Indeed, The Garage Café is the world ’s first entrepreneurial-themed coffee shop. It has been legendary since its establishment in 2011. The Garage Cafét is not only the core coordinate on China’s Bitcoin map, but also the birthplace of the Chinese cryptocurrency circle, where digital asset realm tycoons including Guo Hongcai, Zhao Dong, Li Xiaolai, Li Lin have made their ways. The development of digital currency is only 11 years old. Through these “old objects”, we review the various stories of this wave of technology together, hoping to help you understand the development process of the digital currency field. Meanwhile, I also remind all practitioners to use history as a mirror and forge ahead. Website: https://www.58ex.com/ Twitter: https://twitter.com/58_coin Facebook: https://www.facebook.com/coin.58COIN Telegram: https://t.me/official58 Medium: https://medium.com/@58coin_blog/
Bitcoin (BTC) is a peer-to-peer cryptocurrency that aims to function as a means of exchange that is independent of any central authority. BTC can be transferred electronically in a secure, verifiable, and immutable way.
Launched in 2009, BTC is the first virtual currency to solve the double-spending issue by timestamping transactions before broadcasting them to all of the nodes in the Bitcoin network. The Bitcoin Protocol offered a solution to the Byzantine Generals’ Problem with ablockchainnetwork structure, a notion first created byStuart Haber and W. Scott Stornetta in 1991.
Bitcoin’s whitepaper was published pseudonymously in 2008 by an individual, or a group, with the pseudonym “Satoshi Nakamoto”, whose underlying identity has still not been verified.
The Bitcoin protocol uses an SHA-256d-based Proof-of-Work (PoW) algorithm to reach network consensus. Its network has a target block time of 10 minutes and a maximum supply of 21 million tokens, with a decaying token emission rate. To prevent fluctuation of the block time, the network’s block difficulty is re-adjusted through an algorithm based on the past 2016 block times.
With a block size limit capped at 1 megabyte, the Bitcoin Protocol has supported both the Lightning Network, a second-layer infrastructure for payment channels, and Segregated Witness, a soft-fork to increase the number of transactions on a block, as solutions to network scalability.
Bitcoin is a peer-to-peer cryptocurrency that aims to function as a means of exchange and is independent of any central authority. Bitcoins are transferred electronically in a secure, verifiable, and immutable way.
Network validators, whom are often referred to as miners, participate in the SHA-256d-based Proof-of-Work consensus mechanism to determine the next global state of the blockchain.
The Bitcoin protocol has a target block time of 10 minutes, and a maximum supply of 21 million tokens. The only way new bitcoins can be produced is when a block producer generates a new valid block.
The protocol has a token emission rate that halves every 210,000 blocks, or approximately every 4 years.
Unlike public blockchain infrastructures supporting the development of decentralized applications (Ethereum), the Bitcoin protocol is primarily used only for payments, and has only very limited support for smart contract-like functionalities (Bitcoin “Script” is mostly used to create certain conditions before bitcoins are used to be spent).
In the Bitcoin network, anyone can join the network and become a bookkeeping service provider i.e., a validator. All validators are allowed in the race to become the block producer for the next block, yet only the first to complete a computationally heavy task will win. This feature is called Proof of Work (PoW). The probability of any single validator to finish the task first is equal to the percentage of the total network computation power, or hash power, the validator has. For instance, a validator with 5% of the total network computation power will have a 5% chance of completing the task first, and therefore becoming the next block producer. Since anyone can join the race, competition is prone to increase. In the early days, Bitcoin mining was mostly done by personal computer CPUs. As of today, Bitcoin validators, or miners, have opted for dedicated and more powerful devices such as machines based on Application-Specific Integrated Circuit (“ASIC”). Proof of Work secures the network as block producers must have spent resources external to the network (i.e., money to pay electricity), and can provide proof to other participants that they did so. With various miners competing for block rewards, it becomes difficult for one single malicious party to gain network majority (defined as more than 51% of the network’s hash power in the Nakamoto consensus mechanism). The ability to rearrange transactions via 51% attacks indicates another feature of the Nakamoto consensus: the finality of transactions is only probabilistic. Once a block is produced, it is then propagated by the block producer to all other validators to check on the validity of all transactions in that block. The block producer will receive rewards in the network’s native currency (i.e., bitcoin) as all validators approve the block and update their ledgers.
The Bitcoin protocol utilizes the Merkle tree data structure in order to organize hashes of numerous individual transactions into each block. This concept is named after Ralph Merkle, who patented it in 1979. With the use of a Merkle tree, though each block might contain thousands of transactions, it will have the ability to combine all of their hashes and condense them into one, allowing efficient and secure verification of this group of transactions. This single hash called is a Merkle root, which is stored in the Block Header of a block. The Block Header also stores other meta information of a block, such as a hash of the previous Block Header, which enables blocks to be associated in a chain-like structure (hence the name “blockchain”). An illustration of block production in the Bitcoin Protocol is demonstrated below. https://preview.redd.it/m6texxicf3151.png?width=1591&format=png&auto=webp&s=f4253304912ed8370948b9c524e08fef28f1c78d
Block time and mining difficulty
Block time is the period required to create the next block in a network. As mentioned above, the node who solves the computationally intensive task will be allowed to produce the next block. Therefore, block time is directly correlated to the amount of time it takes for a node to find a solution to the task. The Bitcoin protocol sets a target block time of 10 minutes, and attempts to achieve this by introducing a variable named mining difficulty. Mining difficulty refers to how difficult it is for the node to solve the computationally intensive task. If the network sets a high difficulty for the task, while miners have low computational power, which is often referred to as “hashrate”, it would statistically take longer for the nodes to get an answer for the task. If the difficulty is low, but miners have rather strong computational power, statistically, some nodes will be able to solve the task quickly. Therefore, the 10 minute target block time is achieved by constantly and automatically adjusting the mining difficulty according to how much computational power there is amongst the nodes. The average block time of the network is evaluated after a certain number of blocks, and if it is greater than the expected block time, the difficulty level will decrease; if it is less than the expected block time, the difficulty level will increase.
What are orphan blocks?
In a PoW blockchain network, if the block time is too low, it would increase the likelihood of nodes producingorphan blocks, for which they would receive no reward. Orphan blocks are produced by nodes who solved the task but did not broadcast their results to the whole network the quickest due to network latency. It takes time for a message to travel through a network, and it is entirely possible for 2 nodes to complete the task and start to broadcast their results to the network at roughly the same time, while one’s messages are received by all other nodes earlier as the node has low latency. Imagine there is a network latency of 1 minute and a target block time of 2 minutes. A node could solve the task in around 1 minute but his message would take 1 minute to reach the rest of the nodes that are still working on the solution. While his message travels through the network, all the work done by all other nodes during that 1 minute, even if these nodes also complete the task, would go to waste. In this case, 50% of the computational power contributed to the network is wasted. The percentage of wasted computational power would proportionally decrease if the mining difficulty were higher, as it would statistically take longer for miners to complete the task. In other words, if the mining difficulty, and therefore targeted block time is low, miners with powerful and often centralized mining facilities would get a higher chance of becoming the block producer, while the participation of weaker miners would become in vain. This introduces possible centralization and weakens the overall security of the network. However, given a limited amount of transactions that can be stored in a block, making the block time too longwould decrease the number of transactions the network can process per second, negatively affecting network scalability.
3. Bitcoin’s additional features
Segregated Witness (SegWit)
Segregated Witness, often abbreviated as SegWit, is a protocol upgrade proposal that went live in August 2017. SegWit separates witness signatures from transaction-related data. Witness signatures in legacy Bitcoin blocks often take more than 50% of the block size. By removing witness signatures from the transaction block, this protocol upgrade effectively increases the number of transactions that can be stored in a single block, enabling the network to handle more transactions per second. As a result, SegWit increases the scalability of Nakamoto consensus-based blockchain networks like Bitcoin and Litecoin. SegWit also makes transactions cheaper. Since transaction fees are derived from how much data is being processed by the block producer, the more transactions that can be stored in a 1MB block, the cheaper individual transactions become. https://preview.redd.it/depya70mf3151.png?width=1601&format=png&auto=webp&s=a6499aa2131fbf347f8ffd812930b2f7d66be48e The legacy Bitcoin block has a block size limit of 1 megabyte, and any change on the block size would require a network hard-fork. On August 1st 2017, the first hard-fork occurred, leading to the creation of Bitcoin Cash (“BCH”), which introduced an 8 megabyte block size limit. Conversely, Segregated Witness was a soft-fork: it never changed the transaction block size limit of the network. Instead, it added an extended block with an upper limit of 3 megabytes, which contains solely witness signatures, to the 1 megabyte block that contains only transaction data. This new block type can be processed even by nodes that have not completed the SegWit protocol upgrade. Furthermore, the separation of witness signatures from transaction data solves the malleability issue with the original Bitcoin protocol. Without Segregated Witness, these signatures could be altered before the block is validated by miners. Indeed, alterations can be done in such a way that if the system does a mathematical check, the signature would still be valid. However, since the values in the signature are changed, the two signatures would create vastly different hash values. For instance, if a witness signature states “6,” it has a mathematical value of 6, and would create a hash value of 12345. However, if the witness signature were changed to “06”, it would maintain a mathematical value of 6 while creating a (faulty) hash value of 67890. Since the mathematical values are the same, the altered signature remains a valid signature. This would create a bookkeeping issue, as transactions in Nakamoto consensus-based blockchain networks are documented with these hash values, or transaction IDs. Effectively, one can alter a transaction ID to a new one, and the new ID can still be valid. This can create many issues, as illustrated in the below example:
Alice sends Bob 1 BTC, and Bob sends Merchant Carol this 1 BTC for some goods.
Bob sends Carols this 1 BTC, while the transaction from Alice to Bob is not yet validated. Carol sees this incoming transaction of 1 BTC to him, and immediately ships goods to B.
At the moment, the transaction from Alice to Bob is still not confirmed by the network, and Bob can change the witness signature, therefore changing this transaction ID from 12345 to 67890.
Now Carol will not receive his 1 BTC, as the network looks for transaction 12345 to ensure that Bob’s wallet balance is valid.
As this particular transaction ID changed from 12345 to 67890, the transaction from Bob to Carol will fail, and Bob will get his goods while still holding his BTC.
With the Segregated Witness upgrade, such instances can not happen again. This is because the witness signatures are moved outside of the transaction block into an extended block, and altering the witness signature won’t affect the transaction ID. Since the transaction malleability issue is fixed, Segregated Witness also enables the proper functioning of second-layer scalability solutions on the Bitcoin protocol, such as the Lightning Network.
Lightning Network is a second-layer micropayment solution for scalability. Specifically, Lightning Network aims to enable near-instant and low-cost payments between merchants and customers that wish to use bitcoins. Lightning Network was conceptualized in a whitepaper by Joseph Poon and Thaddeus Dryja in 2015. Since then, it has been implemented by multiple companies. The most prominent of them include Blockstream, Lightning Labs, and ACINQ. A list of curated resources relevant to Lightning Network can be found here. In the Lightning Network, if a customer wishes to transact with a merchant, both of them need to open a payment channel, which operates off the Bitcoin blockchain (i.e., off-chain vs. on-chain). None of the transaction details from this payment channel are recorded on the blockchain, and only when the channel is closed will the end result of both party’s wallet balances be updated to the blockchain. The blockchain only serves as a settlement layer for Lightning transactions. Since all transactions done via the payment channel are conducted independently of the Nakamoto consensus, both parties involved in transactions do not need to wait for network confirmation on transactions. Instead, transacting parties would pay transaction fees to Bitcoin miners only when they decide to close the channel. https://preview.redd.it/cy56icarf3151.png?width=1601&format=png&auto=webp&s=b239a63c6a87ec6cc1b18ce2cbd0355f8831c3a8 One limitation to the Lightning Network is that it requires a person to be online to receive transactions attributing towards him. Another limitation in user experience could be that one needs to lock up some funds every time he wishes to open a payment channel, and is only able to use that fund within the channel. However, this does not mean he needs to create new channels every time he wishes to transact with a different person on the Lightning Network. If Alice wants to send money to Carol, but they do not have a payment channel open, they can ask Bob, who has payment channels open to both Alice and Carol, to help make that transaction. Alice will be able to send funds to Bob, and Bob to Carol. Hence, the number of “payment hubs” (i.e., Bob in the previous example) correlates with both the convenience and the usability of the Lightning Network for real-world applications.
Schnorr Signature upgrade proposal
Elliptic Curve Digital Signature Algorithm (“ECDSA”) signatures are used to sign transactions on the Bitcoin blockchain. https://preview.redd.it/hjeqe4l7g3151.png?width=1601&format=png&auto=webp&s=8014fb08fe62ac4d91645499bc0c7e1c04c5d7c4 However, many developers now advocate for replacing ECDSA with Schnorr Signature. Once Schnorr Signatures are implemented, multiple parties can collaborate in producing a signature that is valid for the sum of their public keys. This would primarily be beneficial for network scalability. When multiple addresses were to conduct transactions to a single address, each transaction would require their own signature. With Schnorr Signature, all these signatures would be combined into one. As a result, the network would be able to store more transactions in a single block. https://preview.redd.it/axg3wayag3151.png?width=1601&format=png&auto=webp&s=93d958fa6b0e623caa82ca71fe457b4daa88c71e The reduced size in signatures implies a reduced cost on transaction fees. The group of senders can split the transaction fees for that one group signature, instead of paying for one personal signature individually. Schnorr Signature also improves network privacy and token fungibility. A third-party observer will not be able to detect if a user is sending a multi-signature transaction, since the signature will be in the same format as a single-signature transaction.
4. Economics and supply distribution
The Bitcoin protocol utilizes the Nakamoto consensus, and nodes validate blocks via Proof-of-Work mining. The bitcoin token was not pre-mined, and has a maximum supply of 21 million. The initial reward for a block was 50 BTC per block. Block mining rewards halve every 210,000 blocks. Since the average time for block production on the blockchain is 10 minutes, it implies that the block reward halving events will approximately take place every 4 years. As of May 12th 2020, the block mining rewards are 6.25 BTC per block. Transaction fees also represent a minor revenue stream for miners.
Technical: A Brief History of Payment Channels: from Satoshi to Lightning Network
Who cares about political tweets from some random country's president when payment channels are a much more interesting and are actually capable of carrying value? So let's have a short history of various payment channel techs!
Generation 0: Satoshi's Broken nSequence Channels
Because Satoshi's Vision included payment channels, except his implementation sucked so hard we had to go fix it and added RBF as a by-product. Originally, the plan for nSequence was that mempools would replace any transaction spending certain inputs with another transaction spending the same inputs, but only if the nSequence field of the replacement was larger. Since 0xFFFFFFFF was the highest value that nSequence could get, this would mark a transaction as "final" and not replaceable on the mempool anymore. In fact, this "nSequence channel" I will describe is the reason why we have this weird rule about nLockTime and nSequence. nLockTime actually only works if nSequence is not 0xFFFFFFFF i.e. final. If nSequence is 0xFFFFFFFF then nLockTime is ignored, because this if the "final" version of the transaction. So what you'd do would be something like this:
You go to a bar and promise the bartender to pay by the time the bar closes. Because this is the Bitcoin universe, time is measured in blockheight, so the closing time of the bar is indicated as some future blockheight.
For your first drink, you'd make a transaction paying to the bartender for that drink, paying from some coins you have. The transaction has an nLockTime equal to the closing time of the bar, and a starting nSequence of 0. You hand over the transaction and the bartender hands you your drink.
For your succeeding drink, you'd remake the same transaction, adding the payment for that drink to the transaction output that goes to the bartender (so that output keeps getting larger, by the amount of payment), and having an nSequence that is one higher than the previous one.
Eventually you have to stop drinking. It comes down to one of two possibilities:
You drink until the bar closes. Since it is now the nLockTime indicated in the transaction, the bartender is able to broadcast the latest transaction and tells the bouncers to kick you out of the bar.
You wisely consider the state of your liver. So you re-sign the last transaction with a "final" nSequence of 0xFFFFFFFF i.e. the maximum possible value it can have. This allows the bartender to get his or her funds immediately (nLockTime is ignored if nSequence is 0xFFFFFFFF), so he or she tells the bouncers to let you out of the bar.
Now that of course is a payment channel. Individual payments (purchases of alcohol, so I guess buying coffee is not in scope for payment channels). Closing is done by creating a "final" transaction that is the sum of the individual payments. Sure there's no routing and channels are unidirectional and channels have a maximum lifetime but give Satoshi a break, he was also busy inventing Bitcoin at the time. Now if you noticed I called this kind of payment channel "broken". This is because the mempool rules are not consensus rules, and cannot be validated (nothing about the mempool can be validated onchain: I sigh every time somebody proposes "let's make block size dependent on mempool size", mempool state cannot be validated by onchain data). Fullnodes can't see all of the transactions you signed, and then validate that the final one with the maximum nSequence is the one that actually is used onchain. So you can do the below:
Become friends with Jihan Wu, because he owns >51% of the mining hashrate (he totally reorged Bitcoin to reverse the Binance hack right?).
Slip Jihan Wu some of the more interesting drinks you're ordering as an incentive to cooperate with you. So say you end up ordering 100 drinks, you split it with Jihan Wu and give him 50 of the drinks.
When the bar closes, Jihan Wu quickly calls his mining rig and tells them to mine the version of your transaction with nSequence 0. You know, that first one where you pay for only one drink.
Because fullnodes cannot validate nSequence, they'll accept even the nSequence=0 version and confirm it, immutably adding you paying for a single alcoholic drink to the blockchain.
The bartender, pissed at being cheated, takes out a shotgun from under the bar and shoots at you and Jihan Wu.
Jihan Wu uses his mystical chi powers (actually the combined exhaust from all of his mining rigs) to slow down the shotgun pellets, making them hit you as softly as petals drifting in the wind.
The bartender mutters some words, clothes ripping apart as he or she (hard to believe it could be a she but hey) turns into a bear, ready to maul you for cheating him or her of the payment for all the 100 drinks you ordered from him or her.
Steely-eyed, you stand in front of the bartender-turned-bear, daring him to touch you. You've watched Revenant, you know Leonardo di Caprio could survive a bear mauling, and if some posh actor can survive that, you know you can too. You make a pose. "Drunken troll logic attack!"
I think I got sidetracked here.
Bears are bad news.
You can't reasonably invoke "Satoshi's Vision" and simultaneously reject the Lightning Network because it's not onchain. Satoshi's Vision included a half-assed implementation of payment channels with nSequence, where the onchain transaction represented multiple logical payments, exactly what modern offchain techniques do (except modern offchain techniques actually work). nSequence (the field, but not its modern meaning) has been in Bitcoin since BitCoin For Windows Alpha 0.1.0. And its original intent was payment channels. You can't get nearer to Satoshi's Vision than being a field that Satoshi personally added to transactions on the very first public release of the BitCoin software, like srsly.
Miners can totally bypass mempool rules. In fact, the reason why nSequence has been repurposed to indicate "optional" replace-by-fee is because miners are already incentivized by the nSequence system to always follow replace-by-fee anyway. I mean, what do you think those drinks you passed to Jihan Wu are, other than the fee you pay him to mine a specific version of your transaction?
Satoshi made mistakes. The original design for nSequence is one of them. Today, we no longer use nSequence in this way. So diverging from Satoshi's original design is part and parcel of Bitcoin development, because over time, we learn new lessons that Satoshi never knew about. Satoshi was an important landmark in this technology. He will not be the last, or most important, that we will remember in the future: he will only be the first.
Incentive-compatible time-limited unidirectional channel; or, Satoshi's Vision, Fixed (if transaction malleability hadn't been a problem, that is). Now, we know the bartender will turn into a bear and maul you if you try to cheat the payment channel, and now that we've revealed you're good friends with Jihan Wu, the bartender will no longer accept a payment channel scheme that lets one you cooperate with a miner to cheat the bartender. Fortunately, Jeremy Spilman proposed a better way that would not let you cheat the bartender. First, you and the bartender perform this ritual:
You get some funds and create a transaction that pays to a 2-of-2 multisig between you and the bartender. You don't broadcast this yet: you just sign it and get its txid.
You create another transaction that spends the above transaction. This transaction (the "backoff") has an nLockTime equal to the closing time of the bar, plus one block. You sign it and give this backoff transaction (but not the above transaction) to the bartender.
The bartender signs the backoff and gives it back to you. It is now valid since it's spending a 2-of-2 of you and the bartender, and both of you have signed the backoff transaction.
Now you broadcast the first transaction onchain. You and the bartender wait for it to be deeply confirmed, then you can start ordering.
The above is probably vaguely familiar to LN users. It's the funding process of payment channels! The first transaction, the one that pays to a 2-of-2 multisig, is the funding transaction that backs the payment channel funds. So now you start ordering in this way:
For your first drink, you create a transaction spending the funding transaction output and sending the price of the drink to the bartender, with the rest returning to you.
You sign the transaction and pass it to the bartender, who serves your first drink.
For your succeeding drinks, you recreate the same transaction, adding the price of the new drink to the sum that goes to the bartender and reducing the money returned to you. You sign the transaction and give it to the bartender, who serves you your next drink.
At the end:
If the bar closing time is reached, the bartender signs the latest transaction, completing the needed 2-of-2 signatures and broadcasting this to the Bitcoin network. Since the backoff transaction is the closing time + 1, it can't get used at closing time.
If you decide you want to leave early because your liver is crying, you just tell the bartender to go ahead and close the channel (which the bartender can do at any time by just signing and broadcasting the latest transaction: the bartender won't do that because he or she is hoping you'll stay and drink more).
If you ended up just hanging around the bar and never ordering, then at closing time + 1 you broadcast the backoff transaction and get your funds back in full.
Now, even if you pass 50 drinks to Jihan Wu, you can't give him the first transaction (the one which pays for only one drink) and ask him to mine it: it's spending a 2-of-2 and the copy you have only contains your own signature. You need the bartender's signature to make it valid, but he or she sure as hell isn't going to cooperate in something that would lose him or her money, so a signature from the bartender validating old state where he or she gets paid less isn't going to happen. So, problem solved, right? Right? Okay, let's try it. So you get your funds, put them in a funding tx, get the backoff tx, confirm the funding tx... Once the funding transaction confirms deeply, the bartender laughs uproariously. He or she summons the bouncers, who surround you menacingly. "I'm refusing service to you," the bartender says. "Fine," you say. "I was leaving anyway;" You smirk. "I'll get back my money with the backoff transaction, and posting about your poor service on reddit so you get negative karma, so there!" "Not so fast," the bartender says. His or her voice chills your bones. It looks like your exploitation of the Satoshi nSequence payment channel is still fresh in his or her mind. "Look at the txid of the funding transaction that got confirmed." "What about it?" you ask nonchalantly, as you flip open your desktop computer and open a reputable blockchain explorer. What you see shocks you. "What the --- the txid is different! You--- you changed my signature?? But how? I put the only copy of my private key in a sealed envelope in a cast-iron box inside a safe buried in the Gobi desert protected by a clan of nomads who have dedicated their lives and their childrens' lives to keeping my private key safe in perpetuity!" "Didn't you know?" the bartender asks. "The components of the signature are just very large numbers. The sign of one of the signature components can be changed, from positive to negative, or negative to positive, and the signature will remain valid. Anyone can do that, even if they don't know the private key. But because Bitcoin includes the signatures in the transaction when it's generating the txid, this little change also changes the txid." He or she chuckles. "They say they'll fix it by separating the signatures from the transaction body. They're saying that these kinds of signature malleability won't affect transaction ids anymore after they do this, but I bet I can get my good friend Jihan Wu to delay this 'SepSig' plan for a good while yet. Friendly guy, this Jihan Wu, it turns out all I had to do was slip him 51 drinks and he was willing to mine a tx with the signature signs flipped." His or her grin widens. "I'm afraid your backoff transaction won't work anymore, since it spends a txid that is not existent and will never be confirmed. So here's the deal. You pay me 99% of the funds in the funding transaction, in exchange for me signing the transaction that spends with the txid that you see onchain. Refuse, and you lose 100% of the funds and every other HODLer, including me, benefits from the reduction in coin supply. Accept, and you get to keep 1%. I lose nothing if you refuse, so I won't care if you do, but consider the difference of getting zilch vs. getting 1% of your funds." His or her eyes glow. "GENUFLECT RIGHT NOW." Lesson learned?
Payback's a bitch.
Transaction malleability is a bitchier bitch. It's why we needed to fix the bug in SegWit. Sure, MtGox claimed they were attacked this way because someone kept messing with their transaction signatures and thus they lost track of where their funds went, but really, the bigger impetus for fixing transaction malleability was to support payment channels.
Yes, including the signatures in the hash that ultimately defines the txid was a mistake. Satoshi made a lot of those. So we're just reiterating the lesson "Satoshi was not an infinite being of infinite wisdom" here. Satoshi just gets a pass because of how awesome Bitcoin is.
CLTV-protected Spilman Channels
Using CLTV for the backoff branch. This variation is simply Spilman channels, but with the backoff transaction replaced with a backoff branch in the SCRIPT you pay to. It only became possible after OP_CHECKLOCKTIMEVERIFY (CLTV) was enabled in 2015. Now as we saw in the Spilman Channels discussion, transaction malleability means that any pre-signed offchain transaction can easily be invalidated by flipping the sign of the signature of the funding transaction while the funding transaction is not yet confirmed. This can be avoided by simply putting any special requirements into an explicit branch of the Bitcoin SCRIPT. Now, the backoff branch is supposed to create a maximum lifetime for the payment channel, and prior to the introduction of OP_CHECKLOCKTIMEVERIFY this could only be done by having a pre-signed nLockTime transaction. With CLTV, however, we can now make the branches explicit in the SCRIPT that the funding transaction pays to. Instead of paying to a 2-of-2 in order to set up the funding transaction, you pay to a SCRIPT which is basically "2-of-2, OR this singlesig after a specified lock time". With this, there is no backoff transaction that is pre-signed and which refers to a specific txid. Instead, you can create the backoff transaction later, using whatever txid the funding transaction ends up being confirmed under. Since the funding transaction is immutable once confirmed, it is no longer possible to change the txid afterwards.
Todd Micropayment Networks
The old hub-spoke model (that isn't how LN today actually works). One of the more direct predecessors of the Lightning Network was the hub-spoke model discussed by Peter Todd. In this model, instead of payers directly having channels to payees, payers and payees connect to a central hub server. This allows any payer to pay any payee, using the same channel for every payee on the hub. Similarly, this allows any payee to receive from any payer, using the same channel. Remember from the above Spilman example? When you open a channel to the bartender, you have to wait around for the funding tx to confirm. This will take an hour at best. Now consider that you have to make channels for everyone you want to pay to. That's not very scalable. So the Todd hub-spoke model has a central "clearing house" that transport money from payers to payees. The "Moonbeam" project takes this model. Of course, this reveals to the hub who the payer and payee are, and thus the hub can potentially censor transactions. Generally, though, it was considered that a hub would more efficiently censor by just not maintaining a channel with the payer or payee that it wants to censor (since the money it owned in the channel would just be locked uselessly if the hub won't process payments to/from the censored user). In any case, the ability of the central hub to monitor payments means that it can surveill the payer and payee, and then sell this private transactional data to third parties. This loss of privacy would be intolerable today. Peter Todd also proposed that there might be multiple hubs that could transport funds to each other on behalf of their users, providing somewhat better privacy. Another point of note is that at the time such networks were proposed, only unidirectional (Spilman) channels were available. Thus, while one could be a payer, or payee, you would have to use separate channels for your income versus for your spending. Worse, if you wanted to transfer money from your income channel to your spending channel, you had to close both and reshuffle the money between them, both onchain activities.
Poon-Dryja Lightning Network
Bidirectional two-participant channels. The Poon-Dryja channel mechanism has two important properties:
No time limit.
Both the original Satoshi and the two Spilman variants are unidirectional: there is a payer and a payee, and if the payee wants to do a refund, or wants to pay for a different service or product the payer is providing, then they can't use the same unidirectional channel. The Poon-Dryjam mechanism allows channels, however, to be bidirectional instead: you are not a payer or a payee on the channel, you can receive or send at any time as long as both you and the channel counterparty are online. Further, unlike either of the Spilman variants, there is no time limit for the lifetime of a channel. Instead, you can keep the channel open for as long as you want. Both properties, together, form a very powerful scaling property that I believe most people have not appreciated. With unidirectional channels, as mentioned before, if you both earn and spend over the same network of payment channels, you would have separate channels for earning and spending. You would then need to perform onchain operations to "reverse" the directions of your channels periodically. Secondly, since Spilman channels have a fixed lifetime, even if you never used either channel, you would have to periodically "refresh" it by closing it and reopening. With bidirectional, indefinite-lifetime channels, you may instead open some channels when you first begin managing your own money, then close them only after your lawyers have executed your last will and testament on how the money in your channels get divided up to your heirs: that's just two onchain transactions in your entire lifetime. That is the potentially very powerful scaling property that bidirectional, indefinite-lifetime channels allow. I won't discuss the transaction structure needed for Poon-Dryja bidirectional channels --- it's complicated and you can easily get explanations with cute graphics elsewhere. There is a weakness of Poon-Dryja that people tend to gloss over (because it was fixed very well by RustyReddit):
You have to store all the revocation keys of a channel. This implies you are storing 1 revocation key for every channel update, so if you perform millions of updates over your entire lifetime, you'd be storing several megabytes of keys, for only a single channel. RustyReddit fixed this by requiring that the revocation keys be generated from a "Seed" revocation key, and every key is just the application of SHA256 on that key, repeatedly. For example, suppose I tell you that my first revocation key is SHA256(SHA256(seed)). You can store that in O(1) space. Then for the next revocation, I tell you SHA256(seed). From SHA256(key), you yourself can compute SHA256(SHA256(seed)) (i.e. the previous revocation key). So you can remember just the most recent revocation key, and from there you'd be able to compute every previous revocation key. When you start a channel, you perform SHA256 on your seed for several million times, then use the result as the first revocation key, removing one layer of SHA256 for every revocation key you need to generate. RustyReddit not only came up with this, but also suggested an efficient O(log n) storage structure, the shachain, so that you can quickly look up any revocation key in the past in case of a breach. People no longer really talk about this O(n) revocation storage problem anymore because it was solved very very well by this mechanism.
Another thing I want to emphasize is that while the Lightning Network paper and many of the earlier presentations developed from the old Peter Todd hub-and-spoke model, the modern Lightning Network takes the logical conclusion of removing a strict separation between "hubs" and "spokes". Any node on the Lightning Network can very well work as a hub for any other node. Thus, while you might operate as "mostly a payer", "mostly a forwarding node", "mostly a payee", you still end up being at least partially a forwarding node ("hub") on the network, at least part of the time. This greatly reduces the problems of privacy inherent in having only a few hub nodes: forwarding nodes cannot get significantly useful data from the payments passing through them, because the distance between the payer and the payee can be so large that it would be likely that the ultimate payer and the ultimate payee could be anyone on the Lightning Network. Lessons learned?
We can decentralize if we try hard enough!
"Hubs bad" can be made "hubs good" if everybody is a hub.
Smart people can solve problems. It's kinda why they're smart.
After LN, there's also the Decker-Wattenhofer Duplex Micropayment Channels (DMC). This post is long enough as-is, LOL. But for now, it uses a novel "decrementing nSequence channel", using the new relative-timelock semantics of nSequence (not the broken one originally by Satoshi). It actually uses multiple such "decrementing nSequence" constructs, terminating in a pair of Spilman channels, one in both directions (thus "duplex"). Maybe I'll discuss it some other time. The realization that channel constructions could actually hold more channel constructions inside them (the way the Decker-Wattenhofer puts a pair of Spilman channels inside a series of "decrementing nSequence channels") lead to the further thought behind Burchert-Decker-Wattenhofer channel factories. Basically, you could host multiple two-participant channel constructs inside a larger multiparticipant "channel" construct (i.e. host multiple channels inside a factory). Further, we have the Decker-Russell-Osuntokun or "eltoo" construction. I'd argue that this is "nSequence done right". I'll write more about this later, because this post is long enough. Lessons learned?
Bitcoin offchain scaling is more powerful than you ever thought.
If you’ve been wondering how many bitcoins Satoshi Nakamoto, the mysterious creator of Bitcoin, himself owns, you're not alone - a new research by the BitMEX exchange has attempted to answer exactly this question. Despite they recognize ... During the last year, news.Bitcoin.com created a series that shows the many facts that point to certain individuals who might just be Satoshi Nakamoto and it’s been a popular run so far. Each bitcoin (1 BTC) can have a fractional part of up to 8 digits so 1 bitcoin can be divided into 100 000 000 units. Each of these bitcoin units (0.00000001 BTC) is called a satoshi. A satoshi is the smallest unit in a bitcoin. This unit is named after Satoshi Nakamoto – the alias of the bitcoin creator. There are also intermediate measurement units (microbitcoins, millibitcoins, bitcents ... 1 satoshi = 0.00000001 BTC. It’s necessary for a currency to be able to be divided into smaller subdivisions if it aims to act as a global medium of exchange. Fiat currencies can be divided into smaller denominations, such as the penny for the British pound or the cent for the US dollar. Bitcoin, as a digital currency, can also be divided into smaller denominations. As defined by the Bitcoin ... According to Binance, the current price of bitcoin is $.. How many Satoshis are in a bitcoin, exactly? Each bitcoin is equal to 100 million Satoshis, making a Satoshi the smallest unit of bitcoin currently recorded on the blockchain.. Think of the Satoshi as the “cents” part of bitcoin. But unlike a penny that represents 0.01 USD, Satoshi represents roughly 0.00000001 BTC — or bitcoin to ... 1 satoshi = 0.00000001 BTC. It’s necessary for a currency to be able to be divided into smaller subdivisions if it aims to act as a global medium of exchange. Fiat currencies can be divided into smaller denominations, such as the penny for the British pound or the cent for the US dollar. Bitcoin, as a digital currency, can also be divided into smaller denominations. As defined by the Bitcoin ... There are also many other popular exchanges which lets you to buy or sell Bitcoin as little as $1. At current Bitcoin rate, 1 Euro is worth approximately 17,717 satoshi and 1 USD is worth 15,373 satoshi. If 1 Bitcoin is valued at 1 Million USD then the price of 1 satoshi will be equivalent to 0.01 USD. For 1 satoshi to equal 1 USD the price of ...
In today's video, we take a look at the binance expected acquisition of coinmarketcap and whether or not this is good for crypto. If you would like to be highlighted on my channel please reach out ... Close. This video is unavailable. Crypto Mom Leaving SEC - Ichimoku Cloud is Bitcoin Bullish - Crypto News Crypto Crow 185 watching Live now How to Buy Cryptocurrency for Beginners (Ultimate Step-by-Step Guide) Pt 1 - Duration: 29:14. Open An Account With Binance! https://www.binance.com/?ref=22170588 ----- Have A Ques... Steve Wozniak interview: Blockchain technology, AI, Crypto, Bitcoin BTC Halving 2020 Steve Foundation 100,484 watching Live now BITCOIN MONTHLY SYMMETRICAL TRIANGLE TARGET NEAR $1,00,000 ... Donatii: BTC- 1JXeDjPWrihhYCgqHYDrGsNNuPgFhyeNQG ETH- 0x9d96ca29ae563e4eba4ba9dd71f9e6ca136f2586 ETN ...