Saturday, September 17, 2022

Ethereum: “proof-of-work” (PoW) => “proof-of-stake” (PoS)

 The Merge, merged - by a16z crypto - web3 weekly

"Transitioning Ethereum to “proof-of-stake” (PoS) from “proof-of-work” (PoW) – two very different methods for reaching consensus on blocks of transactions – was an insane feat: The update involved hot-swapping the most important component of Ethereum’s architecture, its consensus mechanism, *while it was running*. [One core dev described this as “changing the engine on a moving car”.] All this occurred while maintaining perfect uptime for millions of users, thousands of decentralized applications (dapps), and hundreds of billions of dollars secured."

Node.js Streams


Node.js Streams

Streams are one of the fundamental concepts that power Node.js applications.

They are a way to handle reading/writing files, network communications, or any kind of end-to-end information exchange in an efficient way.

Streams are not a concept unique to Node.js. They were introduced in the Unix operating system decades ago, and programs can interact with each other passing streams through the pipe operator (|).