Meet the Developer Who Added Schnorr Signatures to Bcash

Meet the Developer Who Added Schnorr Signatures to Bcash
фото показано с : news.bitcoin.com

2019-6-14 18:20

This week news.Bitcoin.com spoke with Jonathan Gonzalez, the blockchain developer who is currently maintaining the Bcash project, a Bitcoin Cash full node written in node.js. Gonzalez explained how he got into Bitcoin Cash development and how he managed to get the Bcash node fully compatible with last May’s fork, which introduced Schnorr signatures to the main chain.

Also read: How to Exchange Your Amazon Gift Cards for Bitcoin Cash

Schnorr Signatures and Bcash

The Bitcoin Cash (BCH) network has a variety of full node implementations that are developed by different programmers. BCH nodes include implementations such as Bitcoin ABC, Unlimited, and Bchd. Last year in May, Purse.io launched an alternative Bitcoin Cash client called Bcash, a BCH protocol node written in node.js. The implementation of the BCH protocol written in node.js can operate as a full node as well as perform Simplified Payment Verification (SPV). Furthermore, it is composed of a wallet backend with BIP44 derivation, a general purpose BCH library, and a mining backend. However, just before the May 2019 upgrade, which added Segwit recovery and Schnorr signatures, Purse announced that they couldn’t maintain the Bcash repository anymore and hoped someone could take over the project.

Bcash was introduced to the BCH community in the spring of 2018 and was initially developed by Purse.io.

So Jonathan Gonzalez did just that and all by himself managed to prepare Bcash so it would be fully compatible with the recent upgrade changes. Gonzalez spoke with news.Bitcoin.com this week about how he got into blockchain development, more specifically why he decided to work with BCH, and why he decided to run with the Bcash project.

News.Bitcoin.com (BC): When did you get into developing and how did that gravitate to the cryptocurrency realm?

Jonathan Gonzalez (JG): Early 2016 is when I actually started to write software in a programming language called Clojure. Oddly enough my attention diverted solely towards Bitcoin by way of the Bcoin codebase. I was inspired by the project in the sense that it was an opportunity to actually learn the protocol or design of the system since it was the only structured implementation of the Bitcoin Protocol that I understood.

Got the entire bcash fullnode ported over for the Schnorr Bitcoin Cash hardfork. Chain syncs, and you can check the commits. Download the Schnorr branch and sync a node.

Great work everyone on the hardforkhttps://t.co/5T6RmoIjSv

— Jonathan Gonzalez (@rojikku1) May 15, 2019

BC: Why did you decide to work on Bitcoin Cash over another chain?

JG: [This occurred] during the time that I was building a foundation for myself in building out infrastructure projects and learning the Bcoin codebase in 2017. I had no idea about the Bitcoin hard fork up until the 3rd of August when I caught word of it while visiting Purse.io at their office. A month had passed since the visit and there was a big demand for an alternative implementation of the BCH protocol since during that time, there was practically none. Then later, companies like Bitpay, Purse started pursuing using BCH in their businesses. Perhaps the overall decision was circumstantial, nevertheless, I was inspired by the ambition to understand the protocol.

Like all new interests I develop over time, regardless if it’s lucrative or not, I try to the best of my ability to materialize them objectively and till now … [it’s] one of the reasons as to why I always find my way back into BCH.

Jonathan Gonzalez is currently maintaining the Bcash repo and has made it compatible with the last upgrade.

BC: You managed to get the Bcash full node implementation up and running after Purse had dropped the project — what made you decide to do that?

JG: I’d accredit that to my pride more than anything. Besides, I use the full node for its API in two services that I utilize daily. I wanted to make sure that if the project were to be disbanded it wouldn’t be due to my lack of interest or efforts.

BC: How did you get the Bcash full node to be compatible with the Schnorr signatures and Segwit recovery upgrade?

JG: The cryptographic library (bcrypto) that Bcash/Bcoin depends on under the hood ported the Schnorr algorithm into the ECDSA/Secp256k1 modules found in the library. Allowing signing and verification functions to be utilized with the Secp256k1 curve. Since there were only modifications to two of the opcodes found in the scripting system (OP_CHECKSIG and OP_CHECKDATASIG), there was no heavy lifting in modifying the stack since there was no change in the transaction portion of the codebase.

The open source Bcash full node code and documentation can be found here on Github.

So from there the only requirements for implementing the changes directly involved adding a few additional helper functions to the scripting system that allows the script to distinguish between DER/Schnorr encoded signatures by checking if the Schnorr flag value is set, along with determining whether or not the signature is 64 bytes, since DER and Schnorr differentiate in signature lengths (usually by 6 – 7 bytes).

Now in regards to Segwit recovery, I’ve added a few rules to the input, output script verification which detects whether a witness program is present. Since it’s simply just a recovery mechanism there are no modifications to the SIG_HASHTYPES. Nothing realistically changed in the signature hash so it simply looks for the redeem script to be a witness program and the regular witness program logic was ported from Bcoin. I’d say [Segwit recovery] was the easiest out of the two things to implement for the hard fork spec.

BC: Why do you think Bcash is a worthy node to build over other implementations?

JG: There are tons of interesting features that come along with the design of the codebase. For instance, the wallet is completely segregated from the full node and lives on its own node port. Something that Bitcoin Core hasn’t accomplished yet. Building APIs around the full node and wallet nodes are very simple to get up and running. The documentation found in the docs section of the project is also very descriptive and since it’s Javascript, running a REPL and testing out the libraries in the project makes it easy to understand and create new data structures for anything general purpose. This includes things such as creating scripts/transactions and running a regtest node in REPL. Features such as Neutrino, address/TX indexing have been backported into the full node library as well.

I’d also like to note that the code style found in the project is very clean and easy to understand. These are some things that off the top of my head I’m able to pitch to any developers out there seeking to build out infrastructure, or simply desiring to learn the protocol.

Maintaining the Bcash Repository, and Possibly Adding Future Enhancements Like Merkelix and Avalanche

BC: Do you aim to keep maintaining the Bcash repo?

JG: I do plan on continuing to maintain the project by adding additional protocol proposals to the codebase, along with porting over future hard fork specifications. I’ve recently taken an interest in adding a Schnorr multi-sig proposal branch to the node as well. I’ve been really interested in proposals such as Merkelix and Avalanche so I plan on finishing these features. Maintaining the full node allows me to experiment freely with actual motivation.

BC: Is anyone helping you?

JG: No, no one is currently helping in maintaining, nor downstreaming patches from Bcoin to the project.

I do plan on being involved in more developer meetups showcasing the codebase by demonstrating how simple and easy it is to use the full node for infrastructure projects or general purposes.

Bcash includes Schnorr signatures compatible with the current BCH network, Libsecp256k1, an advanced API, Compact Blocks, BIP151, BIP150, and a JSON RPC API.

BC: How do you feel about the current state of Bitcoin Cash (BCH) right now as far as the community and development is concerned?

JG: I’m not sure what to think of the community, but from my impression, I believe there’s definitely support in the developer realm, which otherwise would be nonexistent in Bitcoin. Although I’m not entirely familiar with the things that go on throughout social media, forums regarding BCH. I’m a bit of a loner and don’t have an interest in these sorts of things.

But in regard to development, the greatest facet of Bitcoin Cash is the scheduled six-month hard fork activations. It allows for BIPS/features to be considered as long as there exists a motive, a reason behind the proposals which is, in my opinion, is very innovative and worth paying attention to.

What do you think about Jonathan Gonzalez managing to get Bcash compatible with the last upgrade and maintaining the Bcash project? Let us know what you think about this subject in the comments section below.

Image credits: Shutterstock, Bcash logo, Jonathan Gonzalez, Github, and Twitter.

Are you a developer looking to build on Bitcoin Cash? Head over to our Bitcoin Developer page where you can get Bitcoin Cash developer guides and start using the Bitbox, SLP, and Badger Wallet SDKs.

The post Meet the Developer Who Added Schnorr Signatures to Bcash appeared first on Bitcoin News.

Similar to Notcoin - Blum - Airdrops In 2024

origin »

Bitcoin (BTC) на Currencies.ru

$ 69888.27 (+1.45%)
Объем 24H $43.723b
Изменеия 24h: 2.28 %, 7d: -2.60 %
Cегодня L: $66916.68 - H: $70054.19
Капитализация $1382.256b Rank 1
Цена в час новости $ 8675.32 (705.6%)

bcash bitcoin signatures node developer schnorr meet

bcash bitcoin → Результатов: 33


Крейг Райт: «Создатели Bitcoin и BCash содействуют отмыванию денег»

Самопровозглашенный Сатоши Накамото раскритиковал разработчиков криптовалют и рассказал о том, кого он считает конкурентом своего альткоина Bitcoin SV Создатели Bitcoin и Bitcoin Cash специально разрабатывают системы, чтобы содействовать преступности и отмыванию денег, утверждает австралийский ученый Крейг Райт.

2019-6-14 10:18


Bitcoin Cash (BCH) или BCash? Что бы сказал Сатоши? Часть вторая

Наиболее известный имперсонатор Bitcoin — четвертая по величине криптовалюта на рынке, Bitcoin Cash (BCH) или BCash, как утверждают его противники. Роджер Вер, известный как “Биткойн Иисус” за свое раннее начинание в мире криптовалют, совершенно справедливо ненавидит текущее состояние BTC.

2019-5-25 15:01


Cobra в очередной раз раскритиковал Bitcoin Cash

Bitcoin Cash — мертвый и ненужный, считает сооснователь Bitcoin. org и Bitcointalk. org Cobra. Он специально называет пятый по капитализации альткоин «BCash», мешая таким образом ассоциировать с криптовалюту с биткоином и раздражая основного сторонника этого проекта Роджера Вера.

2019-2-7 18:30


Фото:

Go Long Or Go Home: New Margin Trades In EOS, XRP and Bitcoin Cash

Some coins get more than their fair share of hate, but now there’s another way to  make money when they crash.  If you’re one of those hodlers who believes that XRP is another word for “Ripple,” or that “Bcash” is a valid move in Scrabble, then a set of new exchange offerings can make you […] The post Go Long Or Go Home: New Margin Trades In EOS, XRP and Bitcoin Cash appeared first on Crypto Briefing.

2018-12-30 23:04


Bitmain может сократить группу разработчиков Bitcoin Cash

Компания по производству майнингового оборудования Bitmain может ликвидировать команду специалистов, работающих над криптовалютой Bitcoin Cash. О вероятном сокращении написал в Twitter операционный директор блокчейн-компании Blockstream Самсон Моу, ссылаясь в своей публикации на источник из китайских соцсетей.

2018-12-25 18:56


Фото:

В сети Bitcoin Cash состоялся хардфорк. Хэш-война началась

Долгожданный хардфорк прошёл успешно. Блокчейн BCash теперь разделен на две части, отделившиеся блокчейны начали добычу блоков двух монет под названием BCHABC и BCHSV.

2018-11-16 08:41


BCash Hash War Looms With Community at Impasse Ahead Of Today’s Scheduled Upgrade

With an increasingly divided Bitcoin Cash (BCH) community at what appears to be an impasse ahead of today’s planned upgrade, the next few days will certainly be interesting for observers. Two distinct factions appear to have coalesced around the soon-to-be incompatible BitcoinABC and BitcoinSV clients respectively, both of which have planned upgrades that will make […] The post BCash Hash War Looms With Community at Impasse Ahead Of Today’s Scheduled Upgrade appeared first on Coinjournal.

2018-11-15 14:05


Фото:

Джимми Сонг: у Bitcoin Cash нет реальной ценности

В своём последнем интервью разработчик Биткоина коснулся темы текущего состояния крипторынка, в частности, Bitcoin Cash. Сонг рассказал о Роджере Вере, централизации и собственном отношении к форку Биткоина.

2018-10-14 10:30


Фото:

Charlie Lee to Roger Ver: It’s Hypocrite to be Offended by the Term “Bcash” While Using the Term “Bitcoin Core”

While debating with Roger Ver, the creator of Litecoin, Charlie Lee had the opportunity to touch on the “rivalry” between the Bitcoin (BTC) and Bitcoin Cash (BCH) communities. After playing several topics – such as the importance of Lightning Network – Charlie was able to confront Roger about his way of promoting the most popular […] The post Charlie Lee to Roger Ver: It’s Hypocrite to be Offended by the Term “Bcash” While Using the Term “Bitcoin Core” appeared first on Ethereum World News.

2018-10-8 01:24


Цена Bitcoin Cash выросла почти на 20%

Четвертая по капитализации криптовалюта Bitcoin Cash (BCH) за последние 24 часа выросла более чем на 17%. В настоящее время эта криптовалюта торгуется в районе $518; капитализация Bcash превышает $9 млрд.

2018-9-27 12:07


Bitcoin Cash растет на фоне новостей о листинге на Gemini и IPO компании Bitmain

Четвертая по капитализации криптовалюта Bitcoin Cash (BCH) за последние 24 часа выросла более чем на 18%. В настоящее время эта криптовалюта торгуется в районе $520; капитализация Bcash превышает $9,1 млрд.

2018-9-27 11:31


Bitmain могли потерять $500 млн из-за крупной позиции BCH

Крупнейший производитель оборудования для майнинга Bitmain в преддверии IPO подготовил для инвесторов доккмент, отражающий текущее финансовое положение компании. Эту информацию выложил в общий доступ главный стратегический директор блокчейн-компании Blockstream Самсон Моу.

2018-8-13 18:57


Крупная позиция по Bitcoin Cash привела к серьезным убыткам Bitmain

Главный стратегический директор блокчейн-компании Blockstream Самсон Моу обнародовал документацию для потенциальных инвесторов крупнейшего производителя майнингового оборудования Bitmain. Оказалось, что компания продала большую часть биткоинов и серьезно нарастила позиции по Bitcoin Cash.

2018-8-13 15:13


Bitmain терпит существенные убытки из-за крупной позиции по Bitcoin Cash

Главный стратегический директор блокчейн-компании Blockstream Самсон Моу обнародовал документацию для потенциальных инвесторов крупнейшего производителя майнингового оборудования Bitmain. Оказалось, что компания продала большую часть биткоинов и серьезно нарастила позиции по Bitcoin Cash.

2018-8-13 14:33


Активность в GitHub-репозитории Bitcoin Cash снизилась до почти нулевых значений

Согласно сравнительному анализу активности разработчиков в репозиториях Bitcoin Cash и биткоина на GitHub, начиная с апреля работа над протоколом августовского форка практически приостановлена. Difference between $BTC and #bcash #bcrash ???? Well, there you go….

2018-7-18 09:23


Анализ активности разработки Bitcoin Cash заставляет сомневаться в его жизнеспособности

Статистические данные об активности разработки Биткоина (BTC) и Bitcoin Cash (BCH) привели к ярым дебатам в различных соцсетях, пишет Bitcoinist. 15 июля одним из пользователей был опубликован твит, в котором приведена статистика разработки двух сетей: активные действия разработчиков биткоина и низкая, почти нулевая, у Bitcoin Cash.

2018-7-17 15:12


Всего один сервер контролирует 98% нод Bitcoin Cash

Разработчики майнинг-пула BitPico доказали централизацию альткоина BCH в результате стресс-теста сети Bitcoin Cash. Всего в одном серверном шкафу расположены 98% отображаемых нод, как утверждает BitPico.

2018-7-13 11:17


BitPico: 98% нод Bitcoin Cash контролируются одним сервером

Майнинг-пул BitPico, проводивший стресс-тест сети Bitcoin Cash, пришел к интересному выводу: по их словам, 98% нод монеты находятся на одном сервере, то есть добываются одной стороной. Это сенсационное заявление пул сделал в своём Твиттере.

2018-7-12 20:41


BitPico: 98% нод Bitcoin Cash контролирует один сервер

В результате стресс-теста сети Bitcoin Cash (BCH) разработчики майнинг-пула BitPico пришли к доказательству централизации сети этого альткоина. Как утверждается, 98% отображаемых нод расположены в одном серверном шкафу.

2018-7-11 18:41


Майнинговый пул BitPico запускает стресс-тест сети Bitcoin Cash

Разработчики майнинг-пула BitPico объявили, что приступают к попытке провести атаку 51% на сеть Bitcoin Cash (BCH), пообещав, что по ее результатам заставят создателя этой криптовалюты Роджера Вера «рыдать».

2018-6-28 12:24


BitPico намерены провести атаку 51% в сети Bitcoin Cash

Команда BitPico, включающая в себя «разработчиков биткоина, майнеров и китов» заявила о скором начале полномасштабной атаки на сеть Bitcoin Cash. Об этих планах команда написала в своём Твиттере.

2018-6-27 12:41


Фото:

‘Roger Ver Will Now Cry’: Stress Testers Start Attack on Bitcoin Cash

BitPico, a group of “Bitcoin developers, miners and whales” which previously stress-tested the Lightning Network, has begun attacking altcoin Bitcoin Cash (BCH). ‘The Bcash attack has been started’ In a series of tweets beginning June 22, the group, whose members’ identities remains unclear, declared that having tested Lightning’s mainnet implementation for rigidity via a coordinated attack, it would do the same to test the BCH network – this time using a 51% attack.

2018-6-26 20:00


Майнеры-изгои проведут несколько хардфорков и атаку 51% в сети Bitcoin Cash

Малоизвестный майнинговый пул BitPico готовится провести стресс-тест блокчейна Bitcoin Cash.   Сперва майнеры намерены организовать DDoS-атаку на узлы , а в сентябре приступить к полномасштабной 51%-атаке.

2018-6-23 15:17


Фонд «Свобода прессы» начал принимать пожертвования в криптовалюте

Некоммерческая организация «Свобода прессы» (Freedom of the Press Foundation, FPF) отныне принимает пожертвования в нескольких популярных криптовалютах, включая биткоин, Bcash, Ethereum, Litecoin и Zcash.

2018-6-19 13:32