Bitcoin Forum
May 22, 2024, 10:39:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Idea: embedding client update info in the blockchain  (Read 945 times)
fairglu (OP)
Legendary
*
Offline Offline

Activity: 1100
Merit: 1030


View Profile WWW
February 14, 2014, 08:29:50 AM
 #1

Has probably been discussed before, but here goes, since none of the existing clients (AFAICT) support that:

Embedding client wallet update information into the blockchain

Currently updating the client wallets means manually checking news, downloading a client wallet from some website, trusting that the website hasn't been hacked, trusting that the client is okay, hasn't been tempered with, etc. Even when compiling from source, there is a degree of trust involved (since you can't manually check everything).

So the idea would be that client wallets would check for transactions from a special address in the blockchain (hardcoded into the client for each version), and those transactions would encode in their outputs (either via vanitygen'ed destination addresses and/or special amounts) information about new versions
  • hash of the updated/upgrade binary (so you don't just have to trust a website or a download)
  • basic update info (minor upgrade, compulsory major upgrade, hard fork coming, etc.)

This would allow a safe update notification and a safe signed upgrade mechanisms that doesn't rely on how the update binary is delivered. And only the devs (or rather whoever holds the private key to the special address) would be able to both announce and certify the update.

This wouldn't involve any protocol updates, and other/custom clients would be unaffected by what they would see as regular transaction.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
February 14, 2014, 09:24:19 AM
 #2

Has probably been discussed before, but here goes, since none of the existing clients (AFAICT) support that:

Embedding client wallet update information into the blockchain

Currently updating the client wallets means manually checking news, downloading a client wallet from some website, trusting that the website hasn't been hacked, trusting that the client is okay, hasn't been tempered with, etc. Even when compiling from source, there is a degree of trust involved (since you can't manually check everything).

So the idea would be that client wallets would check for transactions from a special address in the blockchain (hardcoded into the client for each version), and those transactions would encode in their outputs (either via vanitygen'ed destination addresses and/or special amounts) information about new versions
  • hash of the updated/upgrade binary (so you don't just have to trust a website or a download)
  • basic update info (minor upgrade, compulsory major upgrade, hard fork coming, etc.)

This would allow a safe update notification and a safe signed upgrade mechanisms that doesn't rely on how the update binary is delivered. And only the devs (or rather whoever holds the private key to the special address) would be able to both announce and certify the update.

This wouldn't involve any protocol updates, and other/custom clients would be unaffected by what they would see as regular transaction.

We already have an emergency key to deliver such message

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
MWD64
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 15, 2014, 07:05:18 AM
 #3

Did it tonight with Namecoin:

MeowBit - Now with Update Alerts Over the Blockchain
http://meowbit.com/?p=2017

Didn't find this thread until we were about to release it and were searching to see if it had been done.

Check out and use The BipCot NoGov license
fairglu (OP)
Legendary
*
Offline Offline

Activity: 1100
Merit: 1030


View Profile WWW
March 17, 2014, 01:01:06 PM
 #4

Did it tonight with Namecoin:

MeowBit - Now with Update Alerts Over the Blockchain
http://meowbit.com/?p=2017

Didn't find this thread until we were about to release it and were searching to see if it had been done.

Great! I hope others will follow suit.

MWD64
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 17, 2014, 06:32:35 PM
 #5

Did it tonight with Namecoin:

MeowBit - Now with Update Alerts Over the Blockchain
http://meowbit.com/?p=2017

Didn't find this thread until we were about to release it and were searching to see if it had been done.

Great! I hope others will follow suit.

Yup! Our source code is GNU-licensed and on GitHub if people want to examine it/ use it.

Check out and use The BipCot NoGov license
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!