<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by L.M. Goodman on Medium]]></title>
        <description><![CDATA[Stories by L.M. Goodman on Medium]]></description>
        <link>https://medium.com/@lmgoodman?source=rss-870c932ace9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*13h6SDk1OKJTdS0Y.png</url>
            <title>Stories by L.M. Goodman on Medium</title>
            <link>https://medium.com/@lmgoodman?source=rss-870c932ace9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:25:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lmgoodman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[“Decentralized”, you keep using that word but I don’t think it means what you think it means…]]></title>
            <link>https://medium.com/@lmgoodman/decentralized-you-keep-using-that-word-but-i-dont-think-it-means-what-you-think-it-means-d5662771d257?source=rss-870c932ace9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5662771d257</guid>
            <dc:creator><![CDATA[L.M. Goodman]]></dc:creator>
            <pubDate>Mon, 21 Jul 2014 23:39:27 GMT</pubDate>
            <atom:updated>2014-07-22T15:33:45.974Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bitcoin is decentralized, but it probably doesn‘t mean what you think it means.</h4><p>When discussing crypto-currencies, what most people mean by “decentralized” is a system in which power is extremely diluted. They picture a flat organization with an egalitarian power structure. Such a system is robust to power grabs since power belongs in the hands of the many, not the few. In common parlance “decentralization” refers to an <em>outcome</em> of the protocol.</p><p>This is a perfectly reasonable and intuitive definition of “decentralized”, but it isn’t the technical definition used in the context of systems theory.</p><p>In this lingo, a decentralized system is one where participants act on local information and no participant is given an explicit role. For instance, specifying a trusted third party in a protocol is centralized because this party is given a distinctive role.</p><p>Superficially, this may seem very similar to the common parlance definition. It’s not. In particular, there are no guarantees that a decentralized protocol produces the expected flat power structure. Conversely, a centralized systems may very well end up producing a flatter structure than a decentralized one.</p><p>Embryo-genesis — the formation of complex organisms from a single zygote is a great example of a decentralized system producing a highly hierarchical outcome.</p><p>Indeed, in a forming embryo, every cell runs the same DNA code and responds only to local signals. This is a purely decentralized system. Yet, those local signals end up activating certain genes and deactivating others, causing the cells to differentiate. A human body is a hierarchical system: most of sensory perception, decision making and most motor control happen in the brain. Yet, it was created through a completely decentralized procedure.</p><p>Bitcoin is decentralized in the sense that no participant or set of participants is <em>explicitly</em> given a specific role in the protocol.</p><p>However, the distribution of power within Bitcoin is currently extremely unbalanced! A handful of miners represent the vast majority of the hashing power. It would suffice that 2 or 3 miners be compromised (or decide to collude) to deal a devastating blow to the security of the network.</p><p>A coalition of 100, reputable, non profit organizations located all around the world would certainly be less likely to collude or become compromised than two or three mining pool operators. This “centralized” solution would actually have a much safer distribution of power than Bitcoin currently has. Yet, it would carry the stigma of being “centralized”.</p><p>Why this stigma? One possible explanation is psychological. As a species, we are naturally suspicious of privilege. It is generally a healthy instinct as most people who proclaim they are subject to different rules generally do so to justify oppressing others. By definition, a centralized protocol explicitly gives some authority to specific parties. This feels like a privileged class, like nobility, this feels wrong.</p><p>However one should look at the amount of power that is effectively granted to these parties. In the case of a centralized ledger maintained by multiple trusted party, that <em>de jure</em> power can be incredibly tiny, much smaller than the <em>de facto</em> power held by Bitcoin miners.</p><p>Should we just learn to stop worrying and love centralized protocols? Perhaps not.</p><p>There are two other reasons, beside psychological biases, to avoid centralized protocols.</p><p>First, a centralized protocol which relies on public reputation can be attacked through legislation. If it becomes illegal to participate in a protocol, a public entity can be prevented from fulfilling its role in the protocol, or worse, subverted.[1]</p><p>Second, hard coding a particular role for specific participants isn’t future proof. Institutions evolve, alliances shift but more importantly, a fixed set of institutions is a sitting duck for infiltration and subversion.</p><p>What are we left with? I think there is a middle road: decentralized protocols in which holders of the currency are able to dynamically delegate power towards parties they deem reliable. What if Bitcoin holders could simply vote out <a href="http://ghash.io/">ghash.io</a>? We might have a decentralized systems in which participants are given the opportunity to enforce a flat power structure.</p><p>[1] it bears repeating that Bitcoin’s decentralized protocol can only be justified, from an engineering perspective, if the threat model includes a quasi-worldwide ban on the currency by governments. It’s not nice to say in polite company, but it’s true</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5662771d257" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disincentive to pool mining with Fawke signatures]]></title>
            <link>https://medium.com/@lmgoodman/disincentive-to-pool-mining-with-fawke-signatures-7c7ba2d6a1b?source=rss-870c932ace9------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c7ba2d6a1b</guid>
            <dc:creator><![CDATA[L.M. Goodman]]></dc:creator>
            <pubDate>Fri, 20 Jun 2014 11:17:43 GMT</pubDate>
            <atom:updated>2014-06-20T11:19:21.677Z</atom:updated>
            <content:encoded><![CDATA[<h4>just saying</h4><p>(inspired by improvements from @RKHilbertSpace to my original Lamport scheme)</p><p>It’s not clear that preventing mining pool from forming at all is a good idea to begin with — see “<a href="https://medium.com/@lmgoodman/why-mining-variance-matters-80ef0ff4b183">Why mining variance matters</a>” . That said, if such a goal needed to be achieved, here’s one way to do it relying only on SHA-256 operations.</p><p>First the miner builds a block and hashes the block header, yielding B. He also picks a secret key S. Let H be the SHA-256 digest of a message.</p><p>The miner then looks for a number X for which H(H(S+B+X)+X+B) &lt; difficulty. He cannot outsource this task to other miners without revealing S, nor can he just hold X constant, publish H(S+B+X) and outsource the finding of a block header that solves the equation. If a solution is found, the miner publishes the block (H(S+B+X),B,X)</p><p><strong>After</strong> the block has been accepted, the miner follows a two step process. Fist, he submits a special transaction publishing H(S+B) and an bitcoin address A. Then, at a later time, he publishes S. This proves that he had knowledge of S and the mining reward is payed to address A. The two-stage reveal needs to happen over enough block so that a block chain reorganisation does not allow the coins to be stolen. However, this security requirement already exists for newly mined coins, which are also vulnerable to reorganisations.</p><p>This only adds a few bytes to every block and requires only a trivial change to the protocol.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c7ba2d6a1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why mining variance matters?]]></title>
            <link>https://medium.com/@lmgoodman/why-mining-variance-matters-80ef0ff4b183?source=rss-870c932ace9------2</link>
            <guid isPermaLink="false">https://medium.com/p/80ef0ff4b183</guid>
            <dc:creator><![CDATA[L.M. Goodman]]></dc:creator>
            <pubDate>Thu, 19 Jun 2014 02:50:55 GMT</pubDate>
            <atom:updated>2014-06-19T02:50:55.106Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why not tolerate the risk?</h4><p>In bitcoin, miners join pools for two reasons. One is to avoid the hassle of running a full node — this could be mitigated by requiring miners to include proofs of blockchain retrievability. The other is to reduce the variance of the return in their mining.</p><p>But why is variance so important? After all, statistically it all boils down to the same expection. Are people so risk averse?</p><p>A miner controlling a fraction p of the mining power has a probability p to mine each block. This follows a Bernoulli distribution and the variance is given by p(1-p). Since all blocks are independent, and since in a year there are 365 days of 24 hours of 6 blocks each, the annual variance is 365.24.6.p(1-p) while the expected return is 365.24.6.p</p><p>The relative standard deviation is the square root of the variance divided by the expected return, that is: sqrt[ 365.24.6.p(1-p)] / (365.24.6.p) or</p><p>sqrt[1/p-1] / sqrt[365.24.6] ~ sqrt[1/p-1] / 229.26</p><p>If you control 10% of the hashing power in the network, your annual relative standard deviation is 1.3%, control only 1% and it climbs to 4.3%, control a measly 0.1% and it’s 13.8%… for a tiny miner representing 0.01% of the pool (mind you, that is still a miner averaging 11 bitcoin of monthly revenues) the variance is a whooping 43.6%</p><p>But so what? Why not take the risk?</p><p>The reason of course is that mining costs are fixed. A miner must thus compare the relative standard deviation of this revenue and his expected revenue. A miner projecting to obtain an expected return on investment of 10% and controlling 0.19% of the hashing power would have about a 16% chance of losing money by the end of the year.</p><p>One can form the ratio of these two numbers, this is known as a Sharpe ratio (interest rates should figure in there, but they’re near 0 anyway).</p><p>If the Sharpe ratio falls, the risk-reward ratio becomes less attractive. At one point, it becomes better for the miner to just invest in the stock market rather than to attempt mining.</p><p>The largest miners benefit from higher Sharpe ratio than their competitors. Thus, they are encouraged to invest more in mining, pushing the margins down and squeezing competitors out of the market.</p><p>Does it mean that the mining landscape is doomed to be dominated by a monopoly? Not necessarily. The solution is for miners to outsource the risk taking, not the mining. This is what P2P mining achieves. P2P mining acts as a distributed insurer which offer miners a swap between between their expected returns and their actual returns.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80ef0ff4b183" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preventing mining pool concentration with Lamport signatures]]></title>
            <link>https://medium.com/@lmgoodman/preventing-mining-pool-concentration-with-lamport-signatures-e7601c474343?source=rss-870c932ace9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7601c474343</guid>
            <dc:creator><![CDATA[L.M. Goodman]]></dc:creator>
            <pubDate>Thu, 19 Jun 2014 00:37:44 GMT</pubDate>
            <atom:updated>2014-06-20T11:18:48.634Z</atom:updated>
            <content:encoded><![CDATA[<h4>a simple hack</h4><p>edit: here’s a far more efficient way to do this <a href="https://medium.com/@lmgoodman/7c7ba2d6a1b">https://medium.com/@lmgoodman/7c7ba2d6a1b</a> (inspired by a post from @RKHilbertSpace)</p><p>It occurs to me that there is a simple hack which could prevent the concentration of bitcoin mining pools. It only requires a minimal change to the bitcoin protocol and, quite importantly, it does not penalize the existing investments in ASICs.</p><p>Instead of having the miner attempt to produce a block hash matching the difficulty, we have the miner generate <a href="http://en.wikipedia.org/wiki/Lamport_signature">Lamport signatures</a>.</p><p>First, the miner forms a pair of public/private Lamport keys.</p><p>The miner then hashes the block header along with the signature and signs this hash, the hash of this signature must then meet the difficulty target.</p><ul><li>Lamport keys are S (secret) and P (public)</li><li>B is the usual bitcoin block header (timestamp, merkle hash of transactions, etc)</li><li>Sha is the SHA-256 hashing function</li><li>Sign(S,Sha(M)) is the Lamport signature of the digest of message M using secret key S</li><li>+ is the xor function</li></ul><p>We are computing</p><p>x = Sha(Sign(S, Sha(Sha(B)+Sha(P)))))))</p><p>x is the the block hash and is the number that must meet the difficulty target.<br>The miner can collect his reward at a later time, using the same key. Since the security parameter of a Lamport key halves after each signature on average, we use a signature of 512 x 256 bit hashes.</p><p>Some key properties</p><ol><li>The miner cannot change the content of the block after he’s found a solution — this, of course, is essential.</li><li>The miner cannot safely outsource the computation to a pool he does not control, not even the cloud: finding a solution involves knowledge of the private key.</li><li>All the work consists in repeated applications of the SHA-256 function. Thus, this can be performed entirely using the existing ASICs (perhaps with very minor tweaks) and thus respects the value of the existing mining investment.</li><li>No fancy mathematics (SNARKs, etc)</li><li>The chain difficulty is still readable from the headers by a SVC</li><li>The main downside is the size of the Lamport signatures, adding an average 64kb to each block (which is 6.25% of the maximum block size)</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7601c474343" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dispelling some myths about Bitcoin, from a Bitcoin fan]]></title>
            <link>https://medium.com/@lmgoodman/dispelling-some-myths-about-bitcoin-from-a-bitcoin-fan-5b64f3850550?source=rss-870c932ace9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b64f3850550</guid>
            <dc:creator><![CDATA[L.M. Goodman]]></dc:creator>
            <pubDate>Mon, 16 Jun 2014 11:31:41 GMT</pubDate>
            <atom:updated>2015-02-27T13:50:23.044Z</atom:updated>
            <content:encoded><![CDATA[<p>Many people who don’t know much about Bitcoin, or who have a poor grasp on economics, have severe misconceptions about Bitcoin. I do not attempt to dispel those myths here because many others have already done so. Rather, I’d like to dispel a few myths that are pervasive in many people who are generally knowledgeable about Bitcoin.</p><p>While some of you may find that more than a few of these myths are “obvious”, they have all been included because I’ve encountered several otherwise intelligent people who believed them. If they do not enlighten you, at least let them be a reminder to dispel those misconceptions when you encounter them around you.</p><p><strong>Myth #1: Satoshi solved the Byzantine Generals problem which was thought impossible to solve!</strong></p><p><strong>Fact: The consensus problem isn’t <em>that</em> difficult, it’s about who’s allowed to take part in it.</strong></p><p>There is a wealth of literature on the Byzantine Generals problem, and many solutions have been proposed. The solutions to this problem are indeed often quite complex — unless they are synchronous and use public key cryptography. With the use of public key cryptography (such as the elliptic curve signatures used in Bitcoin but also SSL and countless applications) and synchronicity the problem is considered trivial: it boils down to a majority vote<a href="http://research.microsoft.com/en-us/um/people/lamport/pubs/byz.pdf">[1]</a>. As Ben Laurie points out<a href="http://www.links.org/files/decentralised-currencies.pdf">[2]</a>, the problem that the block chain attempts to solve isn’t <em>how</em> a consensus should obtained but <em>who</em> should be a part of that consensus. If, say, IP addresses, were used as the consensus group, an attacker could control the chain by controlling a large swath of IP addresses, an attack known as the Sybil attack. The consensus group for Bitcoin is hashing power, a scarce resource.</p><p><strong>Myth #2: The proof-of-work system is great because it incentivizes miners to upgrade their equipment, thus a lot of computing power is powering Bitcoin.</strong></p><p><strong>Fact: These upgrades do nothing to increase the transaction processing capacity of the Bitcoin network.</strong></p><p>Let’s start with what upgrades do accomplish. The race to build more hashing power (by developing ASICs for instance) means that the cost to pull off a 51% attack on the network increases. In this respect, the network is more secure. Note however that the amount of money spent on mining and mining equipment must be approximately equal, in the long run, to the amount of bitcoin paid in transaction fees or created through mining. Given off chain transactions, this could dwindle to very low levels in the future. However, the processing power itself doesn’t matter. The only thing that matters is that something expensive is being irreversibly spent, to make it hard to attack the network. Spending money on computing power has the nice property that you can easily prove it online, but the computations themselves are deliberately done on worthless problems. Emphatically, this computational power is <em>not</em> used to validate transactions, an operation which only takes a modest amount of computing power. More hashing power does not mean that the Bitcoin network can process more transactions per second or process them faster.</p><p><strong>Myth #3: Bitcoin is a math-based currency / is backed by math.</strong></p><p><strong>Fact: Bitcoin is based on a clever set of incentives.</strong></p><p>Part of Bitcoin is indeed math based: its cryptography. Cryptography makes computational guarantees based on widely believed (but not yet proven) mathematical conjectures. For instance, Bitcoin payments rely on signatures which are computed using exponentiation (or multiplication, depending on how you think about it) in an abelian group. Faking those signatures would require solving the discrete logarithm problem in elliptic curve groups, a problem that the mathematical, computer science and cryptographic community considers very unlikely to be solvable efficiently on a classical (non quantum) computer. In this context, “not efficient” does not mean “too costly” or “impractical”, it means that the amount of computing power needed to solve those problems reaches literally astronomical proportions.</p><p>However, the cryptography in Bitcoin is the easy part. The safety of the Bitcoin protocol strongly relies on the impracticality of forking the block chain. The assumption made is that miners are incentivized to behave honestly with pecuniary rewards. This makes it costly to attack the system, and even gives a would be attacker an incentive to still behave honestly. This set of incentives is carefully balanced to maintain honesty in the system and avoid conflicts of interests. This really is the heart of the block chain, and it relies on <em>game-theory</em> not mathematics. Yes, game theory is a branch of mathematics, but to call Bitcoin a “math-based currency” because of its reliance on game theory would be like calling plumbing “biology based” since plumbers happen to be biological organisms. There are no mathematical or even computational guarantees, only a set of incentives. This isn’t to say that the design of incentives in Bitcoin isn’t clever or even artful, but to call the currency math-based, or worse math-backed, is either dishonest or ignorant.</p><p><strong>Myth #4: The proof-of-work system is completely decentralized</strong></p><p><strong>Fact: Trust is still involved in the system</strong></p><p>One idea behind the block chain is that anyone downloading Bitcoin for the first time can identify the real block chain from its forks by simply looking at the chain starting from the genesis hash and totaling the most hashing power. This means you do not need to extend trust to anyone… once you have downloaded the Bitcoin client. But where should you download the Bitcoin client? How do you know bitcoin.org isn’t controlled by malicious attackers? Well perhaps you could look at the developer’s signature of the binary or at the source code. But how do you know who the official developers even are? You could Google that information and find that many reputable news organization all seem to agree that a certain “Gavin Andresen” is one such developer. But then again, perhaps the Wall Street Journal, the New York Times, Bloomberg, the Financial Times, Al Jazeera, Xinhua, the Guardian, Pravda, Google, Yahoo, Bing, Duckduckgo, etc are <em>all</em> conspiring to trick people into downloading a version of the Bitcoin software with the wrong genesis hash and perhaps a different proof of work function. They could succeed provided that you don’t notice that this network has no Bitpay, no Coinbase, no Bitstamp, etc.</p><p>Obviously, I am not trying to argue that you cannot reliably download the “real” Bitcoin client, such a conspiracy is ridiculously unlikely. But this operation isn’t decentralized, it relies on a distributed consensus among reputable peers — something that seems anathema to the ethos of Bitcoin. One could argue that Bitcoin minimizes the reliance on this consensus, by making it a one time thing… but this consensus is required every single time a new client joins the network.</p><p>Perhaps the right answer is that the reputation based, distributed trust mechanism works reliably at low frequencies (on the scale of months to years) while the proof-of-work mechanism works best at high frequency (10 minutes for Bitcoin). While I have a lot of sympathy for Ripple’s distributed ledger (which is similar to the mintlets described by Ben Laurie <a href="http://www.links.org/files/distributed-currency.pdf">[3]</a>. No, I’m not referring to the network of credit line that ripple maintains, but to the consensus system, which is totally orthogonal to it), I think the right answer is probably a mix of technologies. Bitcoin’s checkpoints for instance, while inelegant, make use of the low frequency trust mechanism to complement the safety of the proof of work system. But this also means that much of the first-principle type of objections to proof-of-stake mechanisms, are too theoretical.</p><p><strong>Myth #5: A decentralized system is safe</strong></p><p><strong>Fact: not necessarily</strong></p><p>Decentralization implies that you do not need to trust anyone <em>a priori</em>, but you may have to trust someone <em>a posteriori</em>. Indeed, the bitcoin ecosystem has degenerated into a distribution of hashing power where ghash.io holds nearly 50% (and recently as much as 51%) of the hashing power. They could collude with any another pool manager (or be forced to collude by an attacker, such as a government) to obtain a majority of the hashing power and launch a 51% attack on the chain. This does not seem particularly safer than explicitly choosing a set of reputable organizations. Is a group such as the Wikimedia foundation, the Swedish Pirate party, Wikileaks, and, say, the University of Hong-Kong more or less likely to collude than the current pool operators? If we are to believe developper Gavin Andresen, this is not such a big deal because ghash’s incentives are to behave honestly. In this case, why bother at all with a cumbersome proof of work system? Let us have ghash sign every block and be done with it; the system would be far more efficient, much cheaper and just as safe.</p><p><strong>Myth #6: The Bitcoin ledger is just a technology, it has nothing to do with politics.</strong></p><p><strong>Fact: Proof-of-work crypto-ledgers are primarily designed to withstand attacks by governments. It is the <em>only </em>advantage of a proof-of-work decentralized crypto-ledger over a centralized or polycentric one.</strong></p><p>A distributed ledger signed by a hundred reputable organisations throughout the world, or a decentralized variant based on stake ownership would be far more efficient than a decentralized one using proof of work. What exactly is the threat model against such a system?<br>If you think governments essentially are nefarious institutions, and that the Bitcoin proof-of-work ledger could be a powerful tool in liberating the economy from their grip, you may be right. But if you think (as a famous VC does — or at least claims to) that they are a fantastic invention that is much bigger than envisioned by their cooky, fringe, libertarian makers, then you are simply not understanding the technology.</p><p>Donate: 1NuwqDmpawh8pWi3RxZVvZw7VimpqWJPc9<br>[1] <a href="http://research.microsoft.com/en-us/um/people/lamport/pubs/byz.pdf">http://research.microsoft.com/en-us/um/people/lamport/pubs/byz.pdf</a><br>[2] <a href="http://www.links.org/files/decentralised-currencies.pdf">http://www.links.org/files/decentralised-currencies.pdf</a><br>[3] <a href="http://www.links.org/files/distributed-currency.pdf">http://www.links.org/files/distributed-currency.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b64f3850550" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>