Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update branch #1

Merged
merged 33 commits into from
Jun 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1dbf5a0
Fix transaction/block versions for devnet genesis blocks (#2056)
codablock May 13, 2018
ff93dd6
Check devnet genesis block (#2057)
UdjinM6 May 13, 2018
41680f4
small cleanup in a few places (#2058)
nmarley May 13, 2018
1264a55
Fix spork signature check for new nodes after SPORK_6_NEW_SIGS is swi…
UdjinM6 May 13, 2018
febdc21
Fix `nl` locale alias (#2061)
UdjinM6 May 13, 2018
ef85d51
Comment updates - InstantSend (#2062)
thephez May 13, 2018
cf71f57
Fix potential DoS vector for masternode payments (#2071)
UdjinM6 May 26, 2018
5d057cf
Add string_cast benchmark (#2073)
UdjinM6 May 26, 2018
0260821
fix SelectCoinsByDenominations (#2074)
UdjinM6 May 26, 2018
7ac4b97
Require all participants to submit equal number of inputs (#2075)
UdjinM6 May 26, 2018
c60079b
ThreadOpenMasternodeConnections should process only one mn at a time …
UdjinM6 May 26, 2018
ab96a6a
Update gitian keys, script and doc (#2082)
codablock May 26, 2018
82805a6
swap out old logo for T&C logo in Qt GUI (#2081)
nmarley May 29, 2018
6a1456e
Update gitian key for codablock (#2085)
codablock May 29, 2018
2129ee4
Add docker support when doing Gitian builds (#2084)
codablock May 30, 2018
cc59361
Bump copyright year to 2018 (#2087)
codablock May 30, 2018
faeb448
Update manpages with ./contrib/devtools/gen-manpages.sh (#2088)
codablock May 30, 2018
ca2eae6
12.3 release notes draft (#2045)
UdjinM6 May 30, 2018
7b43720
Fix copying of final binaries into dashcore-binaries (#2090)
codablock May 31, 2018
dbbedc0
Fix JoinExistingQueue bug (#2100)
UdjinM6 Jun 6, 2018
9299a84
Bump few consts (#2096)
UdjinM6 Jun 6, 2018
6079b86
Drop trigger objects when triggers are deleted or failed to be create…
UdjinM6 Jun 6, 2018
6c79c34
Drop "MAY, 2018" clause for proposal validation on mainnet (#2101)
UdjinM6 Jun 6, 2018
23ba94b
Bump remaining min protocols (#2097)
UdjinM6 Jun 6, 2018
fcac40a
RPC: fix wallet lock check in `privatesend start` (#2102)
UdjinM6 Jun 11, 2018
0de79d7
Do not create oversized transactions (bad-txns-oversize) (#2103)
UdjinM6 Jun 11, 2018
0a71c69
Remove explicit wallet lock in MasternodeList::StartAll() (#2106)
SemenMartynov Jun 11, 2018
8c2d16f
Limit IS quorums by updated MNs only (#2107)
UdjinM6 Jun 11, 2018
8e12987
Partially revert 1922 (#2108)
UdjinM6 Jun 11, 2018
8d8fdb4
sendrawtransaction no longer bypasses transaction policy limits by de…
UdjinM6 Jun 12, 2018
836e104
Bump proto to 70210 (#2109)
UdjinM6 Jun 12, 2018
806d7f0
Fix rpc tests broken by 2110 (#2118)
UdjinM6 Jun 12, 2018
d076ad4
Update release notes and staging tree in README (#2116)
UdjinM6 Jun 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dash Core staging tree 0.12.2
Dash Core staging tree 0.12.3
===============================

`master:` [![Build Status](https://travis-ci.org/dashpay/dash.svg?branch=master)](https://travis-ci.org/dashpay/dash) `develop:` [![Build Status](https://travis-ci.org/dashpay/dash.svg?branch=develop)](https://travis-ci.org/dashpay/dash/branches)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ define(_CLIENT_VERSION_MINOR, 12)
define(_CLIENT_VERSION_REVISION, 3)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, false)
define(_COPYRIGHT_YEAR, 2017)
define(_COPYRIGHT_YEAR, 2018)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Dash Core]])
AC_INIT([Dash Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/dashpay/dash/issues],[dashcore],[https://dash.org/])
Expand Down
71 changes: 46 additions & 25 deletions contrib/gitian-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ url=https://github.com/dashpay/dash
proc=2
mem=2000
lxc=true
docker=false
osslTarUrl=http://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz
osslPatchUrl=https://bitcoincore.org/cfields/osslsigncode-Backports-to-1.7.1.patch
scriptName=$(basename -- "$0")
Expand All @@ -47,8 +48,10 @@ Options:
-o|--os Specify which Operating Systems the build is for. Default is lwx. l for linux, w for windows, x for osx
-j Number of processes to use. Default 2
-m Memory to allocate in MiB. Default 2000
--kvm Use KVM instead of LXC
--setup Setup the gitian building environment. Uses KVM. If you want to use lxc, use the --lxc option. Only works on Debian-based systems (Ubuntu, Debian)
--kvm Use KVM
--lxc Use LXC
--docker Use Docker
--setup Setup the gitian building environment. Uses KVM. If you want to use lxc, use the --lxc option. If you want to use Docker, use --docker. Only works on Debian-based systems (Ubuntu, Debian)
--detach-sign Create the assert file for detached signing. Will not commit anything.
--no-commit Do not commit anything to git
-h|--help Print this help message
Expand Down Expand Up @@ -78,7 +81,7 @@ while :; do
-S|--signer)
if [ -n "$2" ]
then
SIGNER=$2
SIGNER="$2"
shift
else
echo 'Error: "--signer" requires a non-empty argument.'
Expand Down Expand Up @@ -153,8 +156,19 @@ while :; do
fi
;;
# kvm
--lxc)
lxc=true
docker=false
;;
# kvm
--kvm)
lxc=false
docker=false
;;
# docker
--docker)
lxc=false
docker=true
;;
# Detach sign
--detach-sign)
Expand All @@ -180,7 +194,10 @@ if [[ $lxc = true ]]
then
export USE_LXC=1
export LXC_BRIDGE=lxcbr0
sudo ifconfig lxcbr0 up 10.0.2.2
sudo ifconfig lxcbr0 up 10.0.3.2
elif [[ $docker = true ]]
then
export USE_DOCKER=1
fi

# Check for OSX SDK
Expand All @@ -193,7 +210,7 @@ fi
# Get signer
if [[ -n"$1" ]]
then
SIGNER=$1
SIGNER="$1"
shift
fi

Expand All @@ -206,7 +223,7 @@ then
fi

# Check that a signer is specified
if [[ $SIGNER == "" ]]
if [[ "$SIGNER" == "" ]]
then
echo "$scriptName: Missing signer."
echo "Try $scriptName --help for more information"
Expand Down Expand Up @@ -240,6 +257,10 @@ then
then
sudo apt-get install lxc
bin/make-base-vm --suite trusty --arch amd64 --lxc
elif [[ -n "$USE_DOCKER" ]]
then
sudo apt-get install docker-ce
bin/make-base-vm --suite trusty --arch amd64 --docker
else
bin/make-base-vm --suite trusty --arch amd64
fi
Expand All @@ -256,7 +277,7 @@ popd
if [[ $build = true ]]
then
# Make output folder
mkdir -p ./dash-binaries/${VERSION}
mkdir -p ./dashcore-binaries/${VERSION}

# Build Dependencies
echo ""
Expand All @@ -275,8 +296,8 @@ then
echo "Compiling ${VERSION} Linux"
echo ""
./bin/gbuild -j ${proc} -m ${mem} --commit dash=${COMMIT} --url dash=${url} ../dash/contrib/gitian-descriptors/gitian-linux.yml
./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
mv build/out/dash-*.tar.gz build/out/src/dash-*.tar.gz ../dash-binaries/${VERSION}
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
mv build/out/dashcore-*.tar.gz build/out/src/dashcore-*.tar.gz ../dashcore-binaries/${VERSION}
fi
# Windows
if [[ $windows = true ]]
Expand All @@ -285,9 +306,9 @@ then
echo "Compiling ${VERSION} Windows"
echo ""
./bin/gbuild -j ${proc} -m ${mem} --commit dash=${COMMIT} --url dash=${url} ../dash/contrib/gitian-descriptors/gitian-win.yml
./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
mv build/out/dash-*-win-unsigned.tar.gz inputs/dash-win-unsigned.tar.gz
mv build/out/dash-*.zip build/out/dash-*.exe ../dash-binaries/${VERSION}
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
mv build/out/dashcore-*-win-unsigned.tar.gz inputs/dashcore-win-unsigned.tar.gz
mv build/out/dashcore-*.zip build/out/dashcore-*.exe ../dashcore-binaries/${VERSION}
fi
# Mac OSX
if [[ $osx = true ]]
Expand All @@ -296,9 +317,9 @@ then
echo "Compiling ${VERSION} Mac OSX"
echo ""
./bin/gbuild -j ${proc} -m ${mem} --commit dash=${COMMIT} --url dash=${url} ../dash/contrib/gitian-descriptors/gitian-osx.yml
./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
mv build/out/dash-*-osx-unsigned.tar.gz inputs/dash-osx-unsigned.tar.gz
mv build/out/dash-*.tar.gz build/out/dash-*.dmg ../dash-binaries/${VERSION}
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
mv build/out/dashcore-*-osx-unsigned.tar.gz inputs/dashcore-osx-unsigned.tar.gz
mv build/out/dashcore-*.tar.gz build/out/dashcore-*.dmg ../dashcore-binaries/${VERSION}
fi
popd

Expand All @@ -309,9 +330,9 @@ then
echo "Committing ${VERSION} Unsigned Sigs"
echo ""
pushd gitian.sigs
git add ${VERSION}-linux/${SIGNER}
git add ${VERSION}-win-unsigned/${SIGNER}
git add ${VERSION}-osx-unsigned/${SIGNER}
git add ${VERSION}-linux/"${SIGNER}"
git add ${VERSION}-win-unsigned/"${SIGNER}"
git add ${VERSION}-osx-unsigned/"${SIGNER}"
git commit -a -m "Add ${VERSION} unsigned sigs for ${SIGNER}"
popd
fi
Expand Down Expand Up @@ -361,9 +382,9 @@ then
echo "Signing ${VERSION} Windows"
echo ""
./bin/gbuild -i --commit signature=${COMMIT} ../dash/contrib/gitian-descriptors/gitian-win-signer.yml
./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-signed --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win-signer.yml
mv build/out/dash-*win64-setup.exe ../dash-binaries/${VERSION}
mv build/out/dash-*win32-setup.exe ../dash-binaries/${VERSION}
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION}-win-signed --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win-signer.yml
mv build/out/dashcore-*win64-setup.exe ../dashcore-binaries/${VERSION}
mv build/out/dashcore-*win32-setup.exe ../dashcore-binaries/${VERSION}
fi
# Sign Mac OSX
if [[ $osx = true ]]
Expand All @@ -372,8 +393,8 @@ then
echo "Signing ${VERSION} Mac OSX"
echo ""
./bin/gbuild -i --commit signature=${COMMIT} ../dash/contrib/gitian-descriptors/gitian-osx-signer.yml
./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx-signer.yml
mv build/out/dash-osx-signed.dmg ../dash-binaries/${VERSION}/dash-${VERSION}-osx.dmg
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION}-osx-signed --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx-signer.yml
mv build/out/dashcore-osx-signed.dmg ../dashcore-binaries/${VERSION}/dashcore-${VERSION}-osx.dmg
fi
popd

Expand All @@ -384,8 +405,8 @@ then
echo ""
echo "Committing ${VERSION} Signed Sigs"
echo ""
git add ${VERSION}-win-signed/${SIGNER}
git add ${VERSION}-osx-signed/${SIGNER}
git add ${VERSION}-win-signed/"${SIGNER}"
git add ${VERSION}-osx-signed/"${SIGNER}"
git commit -a -m "Add ${VERSION} signed binary sigs for ${SIGNER}"
popd
fi
Expand Down
6 changes: 3 additions & 3 deletions contrib/gitian-descriptors/gitian-osx-signer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ remotes:
- "url": "https://github.com/dashpay/dash-detached-sigs.git"
"dir": "signature"
files:
- "dash-osx-unsigned.tar.gz"
- "dashcore-osx-unsigned.tar.gz"
script: |
WRAP_DIR=$HOME/wrapped
mkdir -p ${WRAP_DIR}
Expand All @@ -27,8 +27,8 @@ script: |
chmod +x ${WRAP_DIR}/${prog}
done

UNSIGNED=dash-osx-unsigned.tar.gz
SIGNED=dash-osx-signed.dmg
UNSIGNED=dashcore-osx-unsigned.tar.gz
SIGNED=dashcore-osx-signed.dmg

tar -xf ${UNSIGNED}
OSX_VOLNAME="$(cat osx_volname)"
Expand Down
6 changes: 3 additions & 3 deletions contrib/gitian-descriptors/gitian-win-signer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "bitcoin-win-signer"
name: "dash-win-signer"
suites:
- "trusty"
architectures:
Expand All @@ -13,7 +13,7 @@ remotes:
files:
- "osslsigncode-1.7.1.tar.gz"
- "osslsigncode-Backports-to-1.7.1.patch"
- "bitcoin-win-unsigned.tar.gz"
- "dashcore-win-unsigned.tar.gz"
script: |
BUILD_DIR=`pwd`
SIGDIR=${BUILD_DIR}/signature/win
Expand All @@ -23,7 +23,7 @@ script: |
echo "a8c4e9cafba922f89de0df1f2152e7be286aba73f78505169bc351a7938dd911 osslsigncode-Backports-to-1.7.1.patch" | sha256sum -c

mkdir -p ${UNSIGNED_DIR}
tar -C ${UNSIGNED_DIR} -xf bitcoin-win-unsigned.tar.gz
tar -C ${UNSIGNED_DIR} -xf dashcore-win-unsigned.tar.gz

tar xf osslsigncode-1.7.1.tar.gz
cd osslsigncode-1.7.1
Expand Down
Binary file removed contrib/gitian-keys/aschildbach-key.pgp
Binary file not shown.
Binary file removed contrib/gitian-keys/bluematt-key.pgp
Binary file not shown.
142 changes: 0 additions & 142 deletions contrib/gitian-keys/btcdrak-key.pgp

This file was deleted.

Binary file removed contrib/gitian-keys/cdecker-key.pgp
Binary file not shown.
Loading