1.2 KiB
1.2 KiB
PyBitmessage AUTO-UPDATE WHITEPAPER
Auto update in PyBitmessage - how we can do this
- Subscribe ALL users to chan user auto-update (BM adress)
- Hide this service subscription
- When update release - compile it and make .torrent file, then HASH them
- Push to auto-update chan MAGNET link to .torrent, OS Prefix and hash sum
- 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)
- Show popup for user that bitmessage have update
- remove old client and unpack new
- start new bitmessage
- seed bitmessage with (maby rtorrent) for 1 week or 1GB seeded info.
- make menu in option with infinite seed checkbox
- send info to update chanel every 3 days
Example
To: [chan] oficial-client-update From: BM-Some-long-address Subject: [Windows-7] Pybitmessage-1.0-DATE-05.08.2013 magnet:?xt=urn:btih:some_hashAD3E662E69В13898A4DС9853BEC4D31568E0D643&dn=PyBitmessage&tr=http://some.open.torrent.tracker.com/
hash_sum = some_different_hashAD3E662E69В13898A4DС9853BEC4D31568E0D643
And make chanels: Stable Beta Dev