Skip to content

Commit 9865810

Browse files
author
cevap
committed
rename all occurencies to ion
1 parent 76696bb commit 9865810

File tree

392 files changed

+2052
-2052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

392 files changed

+2052
-2052
lines changed

Diff for: .github/ISSUE_TEMPLATE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!--- Remove sections that do not apply -->
22

3-
This issue tracker is only for technical issues related to Dash Core.
3+
This issue tracker is only for technical issues related to Ion Core.
44

5-
General Dash questions and/or support requests and are best directed to the [Dashpay Reddit](https://www.reddit.com/r/dashpay/).
5+
General Ion questions and/or support requests and are best directed to the [Ionpay Reddit](https://www.reddit.com/r/ionpay/).
66

7-
To report critical security issues, email infosec@dash.org and/or see the DASH bug bounty program on [Bugcrowd](https://bugcrowd.com/dashdigitalcash) instead of creating Github issues.
7+
To report critical security issues, email infosec@ion.org and/or see the ION bug bounty program on [Bugcrowd](https://bugcrowd.com/iondigitalcash) instead of creating Github issues.
88

99
### Describe the issue
1010

@@ -23,7 +23,7 @@ Tell us what happens instead
2323
### Screenshots.
2424
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
2525

26-
### What version of Dash Core are you using?
26+
### What version of Ion Core are you using?
2727
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.
2828

2929
### Machine specs:

Diff for: .gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ stages:
7272
- echo PULL_REQUEST=$PULL_REQUEST COMMIT_RANGE=$COMMIT_RANGE HOST_SRC_DIR=$HOST_SRC_DIR CACHE_DIR=$CACHE_DIR
7373
- echo "Commit log:" && git log --format=fuller -1
7474

75-
# Build dash_hash
76-
- git clone https://github.com/dashpay/dash_hash
77-
- cd dash_hash && python3 setup.py install
75+
# Build ion_hash
76+
- git clone https://github.com/ionpay/ion_hash
77+
- cd ion_hash && python3 setup.py install
7878

7979
# Install build target specific packages
8080
- echo PACKAGES=$PACKAGES

Diff for: .travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ builddocker: &builddocker
5454
stage: build docker
5555
script:
5656
# no need to run tests again here
57-
- if [ "$DOCKER_BUILD" = "true" ]; then $DOCKER_RUN_IN_BUILDER ./ci/build_depends.sh && $DOCKER_RUN_IN_BUILDER ./ci/build_src.sh && BUILD_DIR=build-ci/dashcore-$BUILD_TARGET ./docker/build-docker.sh; fi
57+
- if [ "$DOCKER_BUILD" = "true" ]; then $DOCKER_RUN_IN_BUILDER ./ci/build_depends.sh && $DOCKER_RUN_IN_BUILDER ./ci/build_src.sh && BUILD_DIR=build-ci/ioncore-$BUILD_TARGET ./docker/build-docker.sh; fi
5858

5959
jobs:
6060
include:
@@ -111,7 +111,7 @@ jobs:
111111

112112
before_cache:
113113
# Save builder image
114-
- docker save dash-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER $(docker history -q dash-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER | grep -v \<missing\>) | gzip -2 > $HOME/cache/docker/dash-builder-$BUILD_TARGET.tar.gz
114+
- docker save ion-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER $(docker history -q ion-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER | grep -v \<missing\>) | gzip -2 > $HOME/cache/docker/ion-builder-$BUILD_TARGET.tar.gz
115115

116116
before_install:
117117
- travis_retry travis_apt_get_update
@@ -131,15 +131,15 @@ install:
131131
# Keep this as it makes caching related debugging easier
132132
- ls -lah $HOST_CACHE_DIR && ls -lah $HOST_CACHE_DIR/depends && ls -lah $HOST_CACHE_DIR/ccache && ls -lah $HOST_CACHE_DIR/docker
133133
# Load cached builder image
134-
- if [ -f $HOST_CACHE_DIR/docker/dash-builder-$BUILD_TARGET.tar.gz ]; then zcat $HOST_CACHE_DIR/docker/dash-builder-$BUILD_TARGET.tar.gz | docker load || true; fi
134+
- if [ -f $HOST_CACHE_DIR/docker/ion-builder-$BUILD_TARGET.tar.gz ]; then zcat $HOST_CACHE_DIR/docker/ion-builder-$BUILD_TARGET.tar.gz | docker load || true; fi
135135
- travis_retry docker pull ubuntu:bionic
136136
- travis_retry docker build -t $BUILDER_IMAGE_NAME --build-arg=USER_ID=$UID --build-arg=GROUP_ID=$UID --build-arg=BUILD_TARGET=$BUILD_TARGET -f ci/Dockerfile.builder ci
137137
before_script:
138138
# Make sure stdout is in blocking mode. Otherwise builds will fail due to large writes to stdout
139139
# See https://github.com/travis-ci/travis-ci/issues/4704. If this gets fixed, this line can also be removed.
140140
- python3 -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
141141
# Build docker image only for develop branch of the main repo
142-
- if [ "$TRAVIS_REPO_SLUG" != "dashpay/dash" -o "$TRAVIS_BRANCH" != "develop" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then export DOCKER_BUILD="false"; echo DOCKER_BUILD=$DOCKER_BUILD; fi
142+
- if [ "$TRAVIS_REPO_SLUG" != "ionpay/ion" -o "$TRAVIS_BRANCH" != "develop" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then export DOCKER_BUILD="false"; echo DOCKER_BUILD=$DOCKER_BUILD; fi
143143
after_script:
144144
- echo $TRAVIS_COMMIT_RANGE
145145
- echo $TRAVIS_COMMIT_LOG

Diff for: .tx/config

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[main]
22
host = https://www.transifex.com
33

4-
[dash.qt-translation-012x]
5-
file_filter = src/qt/locale/dash_<lang>.ts
6-
source_file = src/qt/locale/dash_en.ts
4+
[ion.qt-translation-012x]
5+
file_filter = src/qt/locale/ion_<lang>.ts
6+
source_file = src/qt/locale/ion_en.ts
77
source_lang = en

Diff for: CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# You'll also have to manually change the executable in the configuration to the correct path of the already built executable
77

88
cmake_minimum_required(VERSION 3.7)
9-
project(dash)
9+
project(ion)
1010

1111
set(CMAKE_CXX_STANDARD 14)
1212

@@ -87,4 +87,4 @@ file(GLOB SOURCE_FILES
8787
src/zmq/*.h
8888
)
8989

90-
add_executable(dash ${SOURCE_FILES})
90+
add_executable(ion ${SOURCE_FILES})

Diff for: CONTRIBUTING.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Contributing to Dash Core
1+
Contributing to Ion Core
22
============================
33

4-
The Dash Core project operates an open contributor model where anyone is
4+
The Ion Core project operates an open contributor model where anyone is
55
welcome to contribute towards development in the form of peer review, testing
66
and patches. This document explains the practical process and guidelines for
77
contributing.
@@ -157,11 +157,11 @@ where possible keep them short, uncomplex and easy to verify.
157157
"Decision Making" Process
158158
-------------------------
159159

160-
The following applies to code changes to the Dash Core project (and related
161-
projects such as libsecp256k1), and is not to be confused with overall Dash
160+
The following applies to code changes to the Ion Core project (and related
161+
projects such as libsecp256k1), and is not to be confused with overall Ion
162162
Network Protocol consensus changes.
163163

164-
Whether a pull request is merged into Dash Core rests with the project merge
164+
Whether a pull request is merged into Ion Core rests with the project merge
165165
maintainers and ultimately the project lead.
166166

167167
Maintainers will take into consideration if a patch is in line with the general
@@ -179,7 +179,7 @@ In general, all pull requests must:
179179
- Where bugs are fixed, where possible, there should be unit tests
180180
demonstrating the bug and also proving the fix. This helps prevent regression.
181181

182-
Patches that change Dash consensus rules are considerably more involved than
182+
Patches that change Ion consensus rules are considerably more involved than
183183
normal because they affect the entire ecosystem and so must be preceded by
184184
extensive mailing list discussions and have a numbered BIP. While each case will
185185
be different, one should be prepared to expend more time and effort than for
@@ -220,14 +220,14 @@ higher in terms of discussion and peer review requirements, keeping in mind that
220220
mistakes could be very costly to the wider community. This includes refactoring
221221
of consensus critical code.
222222

223-
Where a patch set proposes to change the Dash consensus, it must have been
223+
Where a patch set proposes to change the Ion consensus, it must have been
224224
discussed extensively on the mailing list and IRC, be accompanied by a widely
225225
discussed BIP and have a generally widely perceived technical consensus of being
226226
a worthwhile change based on the judgement of the maintainers.
227227

228228
### Finding Reviewers
229229

230-
The review process is normally fairly responsive on the Dash Core repository, however
230+
The review process is normally fairly responsive on the Ion Core repository, however
231231
this might not always be the case. If you find that you've been waiting
232232
for a pull request to be given attention for several months, there may be a number
233233
of reasons for this, some of which you can do something about:
@@ -259,7 +259,7 @@ of reasons for this, some of which you can do something about:
259259
Release Policy
260260
--------------
261261

262-
The project leader is the release manager for each Dash Core release.
262+
The project leader is the release manager for each Ion Core release.
263263

264264
Copyright
265265
---------

Diff for: INSTALL.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Building Dash
1+
Building Ion
22
=============
33

44
See doc/build-*.md for instructions on building the various
5-
elements of the Dash Core reference implementation of Dash.
5+
elements of the Ion Core reference implementation of Ion.

Diff for: Jenkinsfile

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// It's very important to not execute any scripts outside of the builder container, as it's our protection against
33
// external developers bringing in harmful code into Jenkins.
44
// Jenkins will only run the build if this Jenkinsfile was not modified in an external pull request. Only branches
5-
// which are part of the Dash repo will allow modification to the Jenkinsfile.
5+
// which are part of the Ion repo will allow modification to the Jenkinsfile.
66

77
def targets = [
88
'win32',
@@ -34,7 +34,7 @@ for(int i = 0; i < targets.size(); i++) {
3434
"JOB_NUMBER=${BUILD_NUMBER}",
3535
]
3636
withEnv(env) {
37-
def builderImageName="dash-builder-${target}"
37+
def builderImageName="ion-builder-${target}"
3838

3939
def builderImage
4040
stage("${target}/builder-image") {
@@ -44,49 +44,49 @@ for(int i = 0; i < targets.size(); i++) {
4444
builderImage.inside("-t") {
4545
// copy source into fixed path
4646
// we must build under the same path everytime as otherwise caches won't work properly
47-
sh "cp -ra ${pwd}/. /dash-src/"
47+
sh "cp -ra ${pwd}/. /ion-src/"
4848

4949
// restore cache
5050
def hasCache = false
5151
try {
52-
copyArtifacts(projectName: "dashpay-dash/${BRANCH_NAME}", optional: true, selector: lastSuccessful(), filter: "ci-cache-${target}.tar.gz")
52+
copyArtifacts(projectName: "ionpay-ion/${BRANCH_NAME}", optional: true, selector: lastSuccessful(), filter: "ci-cache-${target}.tar.gz")
5353
} catch (Exception e) {
5454
}
5555
if (fileExists("ci-cache-${target}.tar.gz")) {
5656
hasCache = true
57-
echo "Using cache from dashpay-dash/${BRANCH_NAME}"
57+
echo "Using cache from ionpay-ion/${BRANCH_NAME}"
5858
} else {
5959
try {
60-
copyArtifacts(projectName: 'dashpay-dash/develop', optional: true, selector: lastSuccessful(), filter: "ci-cache-${target}.tar.gz");
60+
copyArtifacts(projectName: 'ionpay-ion/develop', optional: true, selector: lastSuccessful(), filter: "ci-cache-${target}.tar.gz");
6161
} catch (Exception e) {
6262
}
6363
if (fileExists("ci-cache-${target}.tar.gz")) {
6464
hasCache = true
65-
echo "Using cache from dashpay-dash/develop"
65+
echo "Using cache from ionpay-ion/develop"
6666
}
6767
}
6868

6969
if (hasCache) {
70-
sh "cd /dash-src && tar xzf ${pwd}/ci-cache-${target}.tar.gz"
70+
sh "cd /ion-src && tar xzf ${pwd}/ci-cache-${target}.tar.gz"
7171
} else {
72-
sh "mkdir -p /dash-src/ci-cache-${target}"
72+
sh "mkdir -p /ion-src/ci-cache-${target}"
7373
}
7474

7575
stage("${target}/depends") {
76-
sh 'cd /dash-src && ./ci/build_depends.sh'
76+
sh 'cd /ion-src && ./ci/build_depends.sh'
7777
}
7878
stage("${target}/build") {
79-
sh 'cd /dash-src && ./ci/build_src.sh'
79+
sh 'cd /ion-src && ./ci/build_src.sh'
8080
}
8181
stage("${target}/test") {
82-
sh 'cd /dash-src && ./ci/test_unittests.sh'
82+
sh 'cd /ion-src && ./ci/test_unittests.sh'
8383
}
8484
stage("${target}/test") {
85-
sh 'cd /dash-src && ./ci/test_integrationtests.sh'
85+
sh 'cd /ion-src && ./ci/test_integrationtests.sh'
8686
}
8787

8888
// archive cache and copy it into the jenkins workspace
89-
sh "cd /dash-src && tar czfv ci-cache-${target}.tar.gz ci-cache-${target} && cp ci-cache-${target}.tar.gz ${pwd}/"
89+
sh "cd /ion-src && tar czfv ci-cache-${target}.tar.gz ci-cache-${target} && cp ci-cache-${target}.tar.gz ${pwd}/"
9090
}
9191

9292
// upload cache

Diff for: Jenkinsfile.gitian

+15-15
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def OSX_SDK='10.11'
1111
def proc = 4
1212
def mem = 2000
1313

14-
def repositoryUrl = "https://github.com/dashpay/dash.git"
14+
def repositoryUrl = "https://github.com/ionpay/ion.git"
1515

1616
def tasks = [:]
1717
for(int i = 0; i < targets.size(); i++) {
@@ -30,14 +30,14 @@ for(int i = 0; i < targets.size(); i++) {
3030
def gitianDescriptor
3131

3232
stage("${target}/prepare") {
33-
dir('dash') {
33+
dir('ion') {
3434
checkout scm
3535
gitianDescriptor = readYaml file: "contrib/gitian-descriptors/gitian-${target}.yml"
3636
}
3737
dir('gitian-builder') {
38-
git url: 'https://github.com/dashpay/gitian-builder.git'
38+
git url: 'https://github.com/ionpay/gitian-builder.git'
3939
}
40-
sh "mkdir -p dashcore-binaries"
40+
sh "mkdir -p ioncore-binaries"
4141
if (target == "osx") {
4242
dir('gitian-builder') {
4343
sh 'mkdir -p inputs'
@@ -47,28 +47,28 @@ for(int i = 0; i < targets.size(); i++) {
4747

4848
// restore cache
4949
try {
50-
copyArtifacts(projectName: "dashpay-dash-gitian-nightly/${BRANCH_NAME}", optional: true, selector: lastSuccessful(), filter: "cache-${gitianDescriptor.name}.tar.gz")
50+
copyArtifacts(projectName: "ionpay-ion-gitian-nightly/${BRANCH_NAME}", optional: true, selector: lastSuccessful(), filter: "cache-${gitianDescriptor.name}.tar.gz")
5151
} catch (Exception e) {
5252
}
5353
if (fileExists("cache-${gitianDescriptor.name}.tar.gz")) {
5454
hasCache = true
55-
echo "Using cache from dashpay-dash-gitian-nightly/${BRANCH_NAME}"
55+
echo "Using cache from ionpay-ion-gitian-nightly/${BRANCH_NAME}"
5656
} else {
5757
try {
58-
copyArtifacts(projectName: 'dashpay-dash-gitian-nightly/develop', optional: true, selector: lastSuccessful(), filter: "cache-${gitianDescriptor.name}.tar.gz");
58+
copyArtifacts(projectName: 'ionpay-ion-gitian-nightly/develop', optional: true, selector: lastSuccessful(), filter: "cache-${gitianDescriptor.name}.tar.gz");
5959
} catch (Exception e) {
6060
}
6161
if (fileExists("cache-${gitianDescriptor.name}.tar.gz")) {
6262
hasCache = true
63-
echo "Using cache from dashpay-dash-gitian-nightly/develop"
63+
echo "Using cache from ionpay-ion-gitian-nightly/develop"
6464
}
6565
}
6666
}
6767

6868
def gitianImage
6969
stage("${target}/builder-image") {
70-
dir('dash') {
71-
gitianImage = docker.build("dash-gitian:${env.BUILD_ID}", 'ci -f ci/Dockerfile.gitian-builder')
70+
dir('ion') {
71+
gitianImage = docker.build("ion-gitian:${env.BUILD_ID}", 'ci -f ci/Dockerfile.gitian-builder')
7272
}
7373
}
7474

@@ -83,7 +83,7 @@ for(int i = 0; i < targets.size(); i++) {
8383
sh "mkdir -p inputs"
8484
sh "cd inputs && curl -R -O ${osslPatchUrl}"
8585
sh "cd inputs && curl -R -O ${osslTarUrl}"
86-
sh "make -C ../dash/depends download SOURCES_PATH=`pwd`/cache/common"
86+
sh "make -C ../ion/depends download SOURCES_PATH=`pwd`/cache/common"
8787
}
8888
}
8989
stage("${target}/base-vm") {
@@ -101,7 +101,7 @@ for(int i = 0; i < targets.size(); i++) {
101101
sh """
102102
tail -F var/install.log &
103103
tail -F var/build.log &
104-
USE_DOCKER=1 ./bin/gbuild -j ${proc} -m ${mem} --commit dash=${commit} --url dash=${repositoryUrl} ../dash/contrib/gitian-descriptors/gitian-${target}.yml
104+
USE_DOCKER=1 ./bin/gbuild -j ${proc} -m ${mem} --commit ion=${commit} --url ion=${repositoryUrl} ../ion/contrib/gitian-descriptors/gitian-${target}.yml
105105
RET=\$?
106106
# give the above tail calls enough time to print everything on failure
107107
sleep 2s
@@ -111,10 +111,10 @@ for(int i = 0; i < targets.size(); i++) {
111111
// make sure it doesn't run forever
112112
sh "docker rm -fv gitian-target || true"
113113
}
114-
sh "mv build/out/dashcore-* ../dashcore-binaries/"
115-
sh "mv build/out/src/dashcore-* ../dashcore-binaries/"
114+
sh "mv build/out/ioncore-* ../ioncore-binaries/"
115+
sh "mv build/out/src/ioncore-* ../ioncore-binaries/"
116116
}
117-
archiveArtifacts artifacts: 'dashcore-binaries/*', fingerprint: true
117+
archiveArtifacts artifacts: 'ioncore-binaries/*', fingerprint: true
118118
}
119119

120120
// TODO remove this in a few days (only needed to prune the old compressed file from Jenkins caches)

0 commit comments

Comments
 (0)