Preparing data for you could take a moment.
Thank you for your patience.
It is worth the wait.
We frequently make our website faster.
Gloria Zhao And Brink Are Set To Give Bitcoin Mempools An Upgrade

Gloria Zhao And Brink Are Set To Give Bitcoin Mempools An Upgrade

Brink, the new nonprofit founded by John Newbery and Mike Schmidt to train and support Bitcoin developers, today announced Gloria Zhao as its first fellow. After graduating from Berkeley with a degree in computer science this month, Zhao will familiarize herself with contributing to Bitcoin Core and related open-source projects under mentorship of Newbery. Her year-long fellowship is funded by donations from Square Crypto and the Human Rights Foundation.

“I want to be a serious and long-term Bitcoin Core developer, which I don’t imagine is an extremely rare interest or anything, but there are a ton of technical and psychological barriers to overcome,” Zhao told Bitcoin Magazine. “Having a supportive community has been extremely important in my personal journey and, in general, John’s demonstrated a strong interest and ability to foster new contributors into long-term contributors. My main reason for joining the Brink fellowship instead of grants is the mentorship he’s offering.”

Zhao will in particular focus on package relay, a proposed upgrade to Bitcoin’s handling of unconfirmed transactions which could improve Bitcoin’s user experience, optimize fee market dynamics, and — perhaps most importantly — make Layer 2 protocols like the Lightning Network more robust.

Package Relay

A Bitcoin node’s mempool (memory pool) is the collection of transactions it has received but that have not yet been confirmed in a block. Nodes forward transactions from their mempool to peers on the network, and miners select transactions from their mempool to include in a new block.

Mempools have a size limit. This limit can be configured for each node (the default for Bitcoin Core nodes is 300 megabytes) but when it is full, some transactions must be dropped from the mempool before new transactions can be added. Currently, this selection is based on fees: transactions that include the lowest fees are dropped from mempools in favor of transactions that include higher fees.

This may seem like the obvious solution, because miners normally apply the same policy when selecting which transactions they include in blocks: the transactions that pay them the most fees. Yet, there is a subtle — but important — difference. To maximize their income, miners don’t just select on the basis of fees included in individual transactions, they also select based on the combined fees of transactions that depend on each other.

If, in technical terms, the “parent” transaction sends coins from address A to address B, and the “child” transaction sends the coins from address B to address C, the child can’t confirm if the parent doesn’t also confirm. So, a miner might choose to include a parent in a block even if it includes a very low fee, as long as the child includes a high enough fee to compensate.

It sometimes comes in handy that miners base their selection on clusters of transactions instead of just individual transactions. If a transaction with a low fee which is taking long to confirm, the recipient can opt to spend the coins from the unconfirmed transaction to themselves in a new transaction with a high fee to get both confirmed. This trick is called Child Pays For Parent (CPFP).

CPFP can be especially important in scenarios where a transaction requires a confirmation before a time-lock expires. The most obvious example is a “justice transaction” (also known as a “penalty transaction”), which is key to the security of the Lightning Network. These transactions require timely confirmation to prevent a malicious Lightning channel partner from claiming more funds than they have the right to.

While CPFP can be used to prevent such scenarios, it doesn’t always work.

“The danger comes when, in a CPFP scenario, the child is fine, but the parent doesn’t meet the mempool minimum policy,” Zhao explained. “Say the mempool is so full that the parent’s fee is lower than the lowest-fee transaction in the mempool. Then, your hands are tied. As of right now, the validation logic doesn’t consider CPFP for such a transaction.”

In other words, if nodes drop the parent transaction from the mempool because it doesn’t have enough fees, they won’t accept the child transaction either: it spends coins that the nodes aren’t aware of. In the context of Lightning, this means the justice transaction wouldn’t confirm in time, and the malicious channel partner gets away with their theft.

Package relay would solve this problem by introducing a change to a node’s mempool and transaction relay policies that lets it apply CPFP-type logic. Although implementation details are yet to be worked out, it would essentially allow for the bundling of dependent transactions. Bitcoin nodes would accept and relay transaction packages, protecting transactions that don’t meet mempool policy individually.

Zhao:

See Also

Brink, a nonprofit founded by John Newbery and Mike Schmidt, will offer fellowship and support to Bitcoin and Bitcoin-adjacent developers.

“Package Relay will strengthen Bitcoin’s base-layer security guarantees, enabling Bitcoin’s ecosystem to safely expand in functionality and usability through protocols like the Lightning Network.”

The Fellowship

Brink’s year-long fellowship program, which is unique in the Bitcoin industry, will help more developers contribute to Bitcoin projects. Fellowships will be funded by donations, with Zhao’s program to be funded by gifts from Square Crypto ($100,000) and the Human Rights Foundation’s Bitcoin Development Fund ($50,000).

Square Crypto is the Bitcoin development arm of Square, the payments company founded and run by Jack Dorsey (also the co-founder and CEO of Twitter). Besides employing a small team of Bitcoin developers, whose main focus is the Lightning Development Kit, Square Crypto has so far issued 19 grants to different Bitcoin projects and developers. Zhao’s Brink fellowship will be the 20th.

“Brink is creating the first bitcoin mentorship program of its kind, and we want to support it,” Square Crypto lead Steve Lee told Bitcoin Magazine. “We are thrilled Gloria was chosen as the first fellowship recipient, and we are happy our funding will go to her. The package relay project is very valuable for bitcoin, crucial for security and very aligned with Square Crypto’s goals.”

The Human Rights Foundation (HFR) is a New York-based nonprofit that promotes and protects human rights globally. Earlier this year, the foundation launched its Bitcoin Development Fund, a donation-based fund to support Bitcoin developers who make the Bitcoin network more private, decentralized and resilient. Zhao’s fellowship represents the fourth grant awarded by the Human Rights Foundation.

”HRF is delighted to support Gloria through our Bitcoin Development Fund,” said HFR Chief Strategy Officer Alex Gladstein. “The focus of her work is on critical infrastructure that paves the way for Bitcoin to become more private at scale, and is very much aligned with our mission.” 

He added: “This gift will be amplified by the fact that it is helping support Gloria’s fellowship at Brink, where she will receive world-class mentorship and guidance, making her work as effective and efficient as possible.”

Ever thought about contributing to Bitcoin Magazine?

Bitcoin Magazine is currently seeking submissions for articles about Bitcoin’s unforgettable 2020, as well as what’s in store for Bitcoin in 2021. If you have ideas for articles and want to contribute, contact [email protected].

Source

John Newbery’s New Nonprofit Brink Will Train And Support Bitcoin Developers

John Newbery’s New Nonprofit Brink Will Train And Support Bitcoin Developers

How do we fund Bitcoin developers, and how do we ensure there are enough of them in the first place? 

Former Chaincode Labs developer John Newbery and Blockstream alumnus Mike Schmidt are launching a nonprofit to help answer both of these questions.

The new organization is called Brink (a nod to the newspaper headline embedded in Bitcoin’s genesis block), a new London-based, independent nonprofit to support open-source development for Bitcoin and related technologies. Through Brink, Newbery and Schmidt — who also collaborate on the Bitcoin Optech project — will issue developer grants and mentor new contributors.

“We believe that Brink’s unique model of funding, grant awards and focus on mentoring will further decentralize Bitcoin’s protocol development and strengthen the Bitcoin network and developer ecosystem,” Newbery told Bitcoin Magazine.

Brink’s most distinctive activity will perhaps be its new fellowship program. Over the course of a year, talented developers will, under the mentorship of Newbery, get the opportunity to learn the ropes of contributing to Bitcoin projects like Bitcoin Core or one of the Lightning projects. Newbery and Schmidt hope this will help more developers get started contributing to Bitcoin projects.

“The fellowship is pretty unique,” Newbery told Bitcoin Magazine. “Other than the Chaincode Residency [a shorter trainee program for Bitcoin developers that Newbery went through himself and later helped organize], it’s hard to establish yourself as a Bitcoin Core dev. There’s a steep learning curve, I hope to help move the needle on that with Brink.”

Besides the fellowship program, Brink will also issue funding to existing Bitcoin developers. Newbery and Schmidt’s company will in this sense act as an intermediary between individuals and organizations that would like to sponsor Bitcoin development (but that don’t have the time and/or expertise to select worthy recipients) and developers working on open-source projects that add value to the Bitcoin ecosystem.

“Individuals can sponsor developers,” Newbery said. “We’ve already seen some GitHub sponsorships, but this is a way to scale up funding.”

The Brink team consists of seasoned Bitcoin experts. Besides co-founders Newbery, who will be Brink’s executive director; and Schmidt, who will be the company secretary; Brink’s board of directors will also include Bitcoin Optech newsletter writer Dave Harding. Organizational funding has been provided by investor John Pfeffer and Xapo CEO Wences Casares. The Human Rights Foundation, Square Crypto and Gemini are funding Brink’s first two fellows, and Kraken is sponsoring its first grantee.

Brink has applied to be a 501(c)(3) in the United States. If granted, this designation would let U.S. citizens make tax-exempt donations to the organization. Brink would then be the only organization exclusively devoted to Bitcoin development that takes direct donations from the public in this way.

For more information about Brink, visit its website at brink.dev. If you’d like to contribute to Brink, contact [email protected] More information about Brink’s grant and fellowship programs can be found at brink.dev/programs.

Source