Skip to content

Commit

Permalink
Merge pull request #137 from gandrewstone/master
Browse files Browse the repository at this point in the history
Add BUcash download page and point to new release
  • Loading branch information
gandrewstone authored Jul 28, 2017
2 parents 0156d5a + fb608c5 commit c91de00
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,19 @@
"title": "Download",
"subtitle": "The Bitcoin Unlimited project maintains an enhanced version of the Bitcoin Core \"Satoshi\" client.",
"latest": {
"title": "Latest Release",
"title": "Latest Official Release",
"download": "Download the latest standard release of Bitcoin Unlimited",
"version": "v1.0.3.0",
"date": "July 18, 2017",
"notes": "this is a standard release, a new one that will implement the UAHF/BUIP055 specification (Bitcoin Cash) will be provided in the next few days",
},
"bitcoincash": {
"title": "Bitcoin Cash Release",
"download": "Download the latest Bitcoin Cash compatible release of Bitcoin Unlimited",
"version": "v1.1.0.0",
"date": "July 27, 2017",
"notes": "This release implements the UAHF/BUIP055 specification, also called Bitcoin Cash. This release is being offered by the Bitcoin Unlimited Developer 'unofficially' until the BU community has the opportunity to vote on whether Bitcoin Cash should be officially supported.",
},
"windows": "Windows",
"linux": "Linux",
"osx": "Mac OSX",
Expand Down
48 changes: 48 additions & 0 deletions src/public/views/components/download/bitcoincash-release.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
'use strict';

import React from 'react';
import { strings } from '../../../lib/i18n';

import Release from './release.jsx'
import SignaturesBitcoinCash from './signatures_BUcash1-1-0-0.jsx'

class BitcoinCashRelease extends React.Component {
render() {
var latestVersion = "1.1.0.0";
return (
<div className='lh-copy py1'>
<p>{ strings().download.bitcoincash.download } ({latestVersion}, {strings().download.bitcoincash.date})<br /> <i>({ strings().download.bitcoincash.notes }</i>):</p>
<p><a href="https://github.com/BitcoinUnlimited/BitcoinUnlimited/blob/BitcoinCash/doc/release-notes/release-notes-bucash1.1.0.0.md">Release Notes</a></p>
<p><strong>NOTE: This release is for Bitcoin Cash, a FORK of Bitcoin that is happening on Aug 1,2017! If you are new to Bitcoin or do not understand the prior sentence, you do not want this release. Instead choose the "Latest Official Release" (see below).</strong></p>

<Release
osx64={'/downloads/BUcash-' + latestVersion + '-osx64.tar.gz'}
osx64Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-osx64.tar.gz'}
osx32={'/downloads/BUcash-' + latestVersion + '-osx.tar.gz'}
osx32Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-osx.tar.gz'}
osxDmg={'/downloads/BUcash-' + latestVersion + '-osx.dmg'}
osxDmgMirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-osx.dmg'}
windows64Exe={'/downloads/BUcash-' + latestVersion + '-win64-setup.exe'}
windows64Zip={'/downloads/BUcash-' + latestVersion + '-win64.zip'}
windows64Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-win64-setup.exe'}
windows32Exe={'/downloads/BUcash-' + latestVersion + '-win32-setup.exe'}
windows32Zip={'/downloads/BUcash-' + latestVersion + '-win32.zip'}
windows32Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-win32-setup.exe'}
linux64={'/downloads/BUcash-' + latestVersion + '-linux64.tar.gz'}
linux64Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-linux64.tar.gz'}
linux32={'/downloads/BUcash-' + latestVersion + '-linux32.tar.gz'}
linux32Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-linux32.tar.gz'}
arm64={'/downloads/BUcash-' + latestVersion + '-arm64.tar.gz'}
arm64Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-arm64.tar.gz'}
arm32={'/downloads/BUcash-' + latestVersion + '-arm32.tar.gz'}
arm32Mirror={'https://github.com/BitcoinUnlimited/BitcoinUnlimitedWebDownloads/raw/master/BUcash-' + latestVersion + '-arm32.tar.gz'}
source='https://github.com/BitcoinUnlimited/BitcoinUnlimited/tree/BitcoinCash'>

<SignaturesBitcoinCash />
</Release>
</div>
)
}
}

export default BitcoinCashRelease
63 changes: 63 additions & 0 deletions src/public/views/components/download/signatures_BUcash1-1-0-0.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
'use strict';

import React from 'react';
import { strings } from '../../../lib/i18n';

const CHECKSUMS = `{ 'files': { 'BUcash-1.1.0.0-arm32.tar.gz': '850be78650f0ddeeb64e4c56d34940c5fe3e90d7939031510e766ce8ced0c543',
'BUcash-1.1.0.0-arm64.tar.gz': '426ed2aba52f6e9ff73786e0bdee8bae139a7b7e402b04576ccec5ffc160aa4a',
'BUcash-1.1.0.0-linux32.tar.gz': '5b2ee6d21ca0254724964e4c7fc69143395cc745838c8e7e7fa61e1fc9f3b65f',
'BUcash-1.1.0.0-linux64.tar.gz': '0f0375d4e1fc4c66fdd7c5b0fc5c233454ab7c7f9ef2d65236af3975a8ae6189',
'BUcash-1.1.0.0-osx.dmg': 'a60520bf3baf35af06062fd96e4e19d86580f5a12a816dedacd1aab26931f862',
'BUcash-1.1.0.0-osx.tar.gz': '7c9d4f6421d2288ce6556976102542bda94cd44bf346c3076e8cffd00134f958',
'BUcash-1.1.0.0-osx64.tar.gz': '14eabce649730bf8b15dc19051f5d7d0203fd6763c4cdb55dcfa0d6eeae2bb2b',
'BUcash-1.1.0.0-win32-setup.exe': '5ba57eef72635b0d2e593d0c7e92a4db5ab2b95c76ece9589545717fe56a53a6',
'BUcash-1.1.0.0-win32.zip': 'a9ed34624236c1c75b67e5bba7646a2f7afe36ce0a7984c0787d04a91a4da334',
'BUcash-1.1.0.0-win64-setup.exe': 'a5be35e24b32ba5ae943ebb188f04356dd59416492c05399ff801a8550702b79',
'BUcash-1.1.0.0-win64.zip': 'faae8c5839eefe048d9d3e9fc8dd227ed235428e965fe68b4b9b691bbda058a6'},
'program': 'BitcoinUnlimitedCash',
'version': '1.1.0.0'}`;

class SignaturesBitcoinCash extends React.Component {
render() {
return (
<div className='pt2'>
<div>
{strings().download.signatures.signatures}
<br /><br />
<div>
{strings().download.signatures.helpOne}
{' '}
{strings().download.signatures.helpTwo}
{' '}
{strings().download.signatures.helpThree}
{' '}
{strings().download.signatures.helpFour}
{' '}
{strings().download.signatures.helpFive}
{' '}
<a className='link--underline dim black' href='http://www.bitco.in/forum'>{strings().download.signatures.forum}</a>.<br/>
</div>

<br />
{strings().download.signatures.statement}:<br /><br />
<pre>{CHECKSUMS}</pre>
<br />
{strings().download.signatures.tip}
<br/>
<br />
{strings().download.signatures.andrew} (1zerg12nRXZ41Pw4tfCTqgtdiJx6D1We3)<br/>
{strings().download.signatures.signature}:<br />HIkrIDsmHW+sor8PRDTUYBwMCdqR0zGtcoiDDuoVY5GaK91PzuXQ2+jxUlzEabP5vo1I3yDj6B/fEGraPkrkTMY=
<br/><br/>
{strings().download.signatures.sickpig} (1LwvkQTWmotqTosgBcK8kFPCKzW2BPiE1G)<br/>
{strings().download.signatures.signature}:<br />H7VQRhvSd35P44VZqH2jMPtjIfv0snYu7R8j776WikAbOToBXuwUffGo5wYkV70cBhOLjsrYHAa5HQWW9HtKxjQ=
<br/><br/>
{strings().download.signatures.freetrader} (1Libre7MGkCXr7pUAEbwihCR9X4quYAyQ4)<br/>
{strings().download.signatures.signature}:<br />G7DagaNVPmR3Pxf/cYPGu6uBPsczg6MM7dTTyEh18qKu0xbnxVhR3sT4JteWGvsZnuXjTGW0BhTLYiIDJRoftAI= <a href="https://ftrader.github.io/posts/bitcoin_unlimited/20170728-bitcoin-unlimited-0001-1.html">(note)</a>
<br/>
</div>
</div>
);
}
};

export default SignaturesBitcoinCash
7 changes: 6 additions & 1 deletion src/public/views/pages/download.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import React from 'react';
import { strings } from '../../lib/i18n';

import OfficialRelease from '../components/download/official-release.jsx';
import BitcoinCashRelease from '../components/download/bitcoincash-release.jsx';
import InstallInstructions from '../components/download/install-instructions.jsx';
import Signatures1011 from '../components/download/signatures_1-0-1-1.jsx';
import ReleaseNotes from '../components/download/releaseNotes.jsx';
import OlderReleases from '../components/download/olderReleases.jsx';

Expand All @@ -29,6 +29,11 @@ class Download extends React.Component {
title={ strings().download.title }
subtitle={ strings().download.subtitle }>

<Section
key='bitcoincash'
expanded={ this.state.selectedSection === 'bitcoincash'}
title={ strings().download.bitcoincash.title }
body={ <BitcoinCashRelease /> } />
<Section
key='latest'
expanded={ this.state.selectedSection === 'latest'}
Expand Down

0 comments on commit c91de00

Please sign in to comment.