2013-08-05 15:30:42 +02:00
PyBitmessage AUTO-UPDATE WHITEPAPER
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
============
Auto update in PyBitmessage - how we can do this
1) Subscribe ALL users to chan user auto-update (BM adress)
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
2) Hide this service subscription
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
3) When update release - compile it and make .torrent file, then HASH them
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
4) Push to auto-update chan MAGNET link to .torrent, OS Prefix and hash sum
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
5) When Pybitmessage get message it start download using opensource bittorrent client (rtorrent maby) after download it check hash sum (i know that bittorent do that but that way - more secure way)
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
6) Show popup for user that bitmessage have update
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
7) remove old client and unpack new
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
8) start new bitmessage
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
9) seed bitmessage with (maby rtorrent) for 1 week or 1GB seeded info.
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
10) make menu in option with infinite seed checkbox
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
11) send info to update chanel every 3 days
_____
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
Example
To: [chan] oficial-client-update
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
From: BM-Some-long-address
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
Subject: [Windows-7] Pybitmessage-1.0-DATE-05.08.2013
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
magnet:?xt=urn:btih:some_hashAD3E662E69В 13898A4DС 9853BEC4D31568E0D643& dn=PyBitmessage& tr=http://some.open.torrent.tracker.com/
hash_sum = some_different_hashAD3E662E69В 13898A4DС 9853BEC4D31568E0D643
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
____
And make chanels:
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
Stable
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
Beta
2013-08-05 15:32:18 +02:00
2013-08-05 15:30:42 +02:00
Dev
2013-08-05 15:32:18 +02:00