Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: decred/decred-release
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0-rc2
Choose a base ref
...
head repository: decred/decred-release
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 4, 2020

  1. Add manifests file (#195)

    dajohi authored Nov 4, 2020
    Copy the full SHA
    83e1333 View commit details
  2. Replace latest symlink with file contents directly

    Github will not follow the symlink when viewing the raw content over
    https, so to avoid rebuilding dcrinstall v1.6.0-rc2, we can make the
    manifests download work properly by copying the content to the same
    latest file.
    jrick committed Nov 4, 2020
    Copy the full SHA
    ccd9b4a View commit details
  3. Copy the full SHA
    e9402b3 View commit details

Commits on Nov 9, 2020

  1. Don't download archives that have been extracted before (#198)

    Don't download archives that have been extracted before.
    marcopeereboom authored Nov 9, 2020
    Copy the full SHA
    c592e15 View commit details

Commits on Nov 13, 2020

  1. Only self-check version in release builds

    This commit disables the comparison of dcrinstall's own embedded
    version against the version discovered in the 'latest' file unless the
    version is embedded using a linker flag by the release builder.
    Normal development builds of dcrinstall will no longer self-check, and
    the release builder should never produce a dcrinstall executable which
    is incompatible with the manifests it creates.
    
    While here, also update the fallback manifest URLs for the decred and
    dexc distributions for the v1.6.0-rc3 release.
    jrick committed Nov 13, 2020
    Copy the full SHA
    d689904 View commit details

Commits on Nov 15, 2020

  1. Copy the full SHA
    f3c407f View commit details

Commits on Nov 16, 2020

  1. Copy site directory and do not try to see if it is running (#202)

    Somehow during rebase the copy of the dexc `site` directory was lost. Add it back in and make sure it is removed prior to installation. Also, do not try to see is directory types are running.
    marcopeereboom authored Nov 16, 2020
    Copy the full SHA
    e24a869 View commit details
  2. Self-check version using filename

    It should not matter where the file is hosted to determine if an
    upgrade is necessary, but only the filename of the dcrinstall
    manifest.  This is because the filename contains the release version.
    
    Relaxing this rule allows for better testing, as faked 'latest' files
    with file:// urls won't trip the version self check.
    jrick committed Nov 16, 2020
    Copy the full SHA
    533911c View commit details

Commits on Nov 23, 2020

  1. fix Bitcoin conf path, seenBefore bug, and typos (#204)

    Fix typos and TrimRight.
    chappjc authored Nov 23, 2020
    Copy the full SHA
    b30afe0 View commit details
  2. Use config filename as hint for target directory. (#205)

    Bitcoin differs from all other daemons where the daemon name does not
    match the configuration and target directory name. Instead of relying on
    the daemon name use the configuration name instead to determine what the
    target directory is. This change was made over all 3 components that are
    being installed.
    marcopeereboom authored Nov 23, 2020
    Copy the full SHA
    1a550ba View commit details

Commits on Dec 1, 2020

  1. Copy the full SHA
    80e496b View commit details

Commits on Jan 15, 2021

  1. Copy the full SHA
    c9033d3 View commit details

Commits on Jan 25, 2021

  1. Copy the full SHA
    44decee View commit details
  2. Remove stale files

    Building releases of and manifests for dcrinstall, as well as signing
    and notarizing a dcrinstall installer for macOS, have been superseded
    by the build process and scripts in the github.com/decred/release
    repository.
    jrick committed Jan 25, 2021
    Copy the full SHA
    d2a678b View commit details

Commits on Feb 18, 2021

  1. Copy the full SHA
    1583055 View commit details

Commits on Feb 23, 2021

  1. Copy the full SHA
    fbc3797 View commit details

Commits on Apr 8, 2021

  1. Copy the full SHA
    38deba0 View commit details

Commits on Apr 16, 2021

  1. Update dcrinstall latest manifest

    This v1.6.2 manifest commits to the resigned Bitcoin Core release.
    There is no change to any Decred software.
    jrick committed Apr 16, 2021
    Copy the full SHA
    0daac36 View commit details

Commits on May 12, 2021

  1. Copy the full SHA
    790cc90 View commit details

Commits on Jan 3, 2022

  1. Update dcrinstall to download Bitcoin Core 0.21.2

    Also update the decred versions while here for 1.7.0-rc1, although
    these are usually set by the linker during release builds anyways.
    jrick committed Jan 3, 2022
    Copy the full SHA
    476574a View commit details

Commits on Jan 5, 2022

  1. Copy the full SHA
    ea6cb17 View commit details

Commits on Jan 12, 2022

  1. Copy the full SHA
    efd19dd View commit details

Commits on Jan 19, 2022

  1. Copy the full SHA
    7a78dc7 View commit details

Commits on Jan 24, 2022

  1. Copy the full SHA
    4eb0097 View commit details

Commits on Feb 17, 2022

  1. Copy the full SHA
    ea3f4ce View commit details

Commits on May 11, 2022

  1. Copy the full SHA
    a76d66f View commit details

Commits on Sep 6, 2022

  1. always install dex, never download/install bitcoin

    This updates dcrinstall so that it always installs dex, deprecating
    the --dcrdex flag.
    
    This also removes all bitcoin download and install actions, which
    aren't needed or recommended.
    
    Update CI to use latest Go versions and linter.
    
    Add the --allowrunning switch to not fail if a running process with
    the name of one of the binaries is found. There's nothing in the
    ps output to suggest it's the same process, and it doesn't really
    make a difference if it is.
    chappjc committed Sep 6, 2022
    Copy the full SHA
    c1c7ff7 View commit details

Commits on Oct 13, 2022

  1. Copy the full SHA
    783fbc4 View commit details

Commits on Nov 16, 2022

  1. Update dcrinstall manifests for rebuilt 1.7.5

    1.7.5 was rebuilt from the same dcrd and dcrwallet tags, but changes
    to the build process were made to fix an issue discovered on Windows.
    
    This rebuild also includes updates to dcrdex and dcrlnd.
    
    While here, remove a stray manifest file from the repo.
    jrick committed Nov 16, 2022
    Copy the full SHA
    eb33977 View commit details

Commits on Mar 30, 2023

  1. Update golang.org/x/sys

    This allows dcrinstall to be built for windows/arm64.
    jrick committed Mar 30, 2023
    Copy the full SHA
    b2c2506 View commit details

Commits on Apr 17, 2023

  1. Copy the full SHA
    1b9642c View commit details

Commits on Jun 13, 2023

  1. Copy the full SHA
    461a985 View commit details

Commits on Oct 9, 2023

  1. Copy the full SHA
    869ecf8 View commit details

Commits on May 21, 2024

  1. Copy the full SHA
    5a325b8 View commit details

Commits on May 29, 2024

  1. Copy the full SHA
    83d373e View commit details

Commits on Jun 5, 2024

  1. Copy the full SHA
    e85c4e0 View commit details

Commits on Jun 20, 2024

  1. Copy the full SHA
    2fb115c View commit details

Commits on Aug 30, 2024

  1. Copy the full SHA
    abac517 View commit details

Commits on Sep 3, 2024

  1. Copy the full SHA
    b23c146 View commit details

Commits on Nov 14, 2024

  1. Copy the full SHA
    f73008c View commit details

Commits on Mar 4, 2025

  1. Copy the full SHA
    54cc01f View commit details
Showing with 847 additions and 1,569 deletions.
  1. +4 −4 .github/workflows/go.yml
  2. +1 −1 LICENSE
  3. +25 −19 cmd/dcrinstall/README.md
  4. +0 −410 cmd/dcrinstall/bitcoin.go
  5. +0 −184 cmd/dcrinstall/bitcoin_config.go
  6. +1 −1 cmd/dcrinstall/config.go
  7. +40 −34 cmd/dcrinstall/dcrdex.go
  8. +66 −87 cmd/dcrinstall/dcrinstall.go
  9. +43 −30 cmd/dcrinstall/decred.go
  10. +2 −1 cmd/dcrinstall/isrunning_unix.go
  11. +1 −0 cmd/dcrinstall/isrunning_windows.go
  12. +1 −503 cmd/dcrinstall/pubkey.go
  13. +52 −10 cmd/dcrinstall/util.go
  14. +0 −71 compile_manifest.sh
  15. +0 −6 dcrinstall_manifest_urls.txt
  16. +19 −7 go.mod
  17. +29 −40 go.sum
  18. +22 −0 latest
  19. +23 −0 manifests/dcrinstall-v1.6.0-manifests.txt.asc
  20. +23 −0 manifests/dcrinstall-v1.6.0-rc2-manifests.txt.asc
  21. +23 −0 manifests/dcrinstall-v1.6.0-rc3-manifests.txt.asc
  22. +23 −0 manifests/dcrinstall-v1.6.0-rc4-manifests.txt.asc
  23. +23 −0 manifests/dcrinstall-v1.6.0-rc5-manifests.txt.asc
  24. +23 −0 manifests/dcrinstall-v1.6.1-manifests.txt.asc
  25. +23 −0 manifests/dcrinstall-v1.6.2-manifests.txt.asc
  26. +23 −0 manifests/dcrinstall-v1.6.3-manifests.txt.asc
  27. +23 −0 manifests/dcrinstall-v1.7.0-rc1-manifests.txt.asc
  28. +23 −0 manifests/dcrinstall-v1.7.0-rc2-manifests.txt.asc
  29. +23 −0 manifests/dcrinstall-v1.7.0-rc3-manifests.txt.asc
  30. +23 −0 manifests/dcrinstall-v1.7.1-manifests.txt.asc
  31. +23 −0 manifests/dcrinstall-v1.7.2-manifests.txt.asc
  32. +22 −0 manifests/dcrinstall-v1.7.5-manifests.txt.asc
  33. +22 −0 manifests/dcrinstall-v1.7.7-manifests.txt.asc
  34. +22 −0 manifests/dcrinstall-v1.8.0-manifests.txt.asc
  35. +22 −0 manifests/dcrinstall-v1.8.1-manifests.txt.asc
  36. +22 −0 manifests/dcrinstall-v2.0.0-manifests.txt.asc
  37. +22 −0 manifests/dcrinstall-v2.0.1-manifests.txt.asc
  38. +22 −0 manifests/dcrinstall-v2.0.2-manifests.txt.asc
  39. +22 −0 manifests/dcrinstall-v2.0.3-manifests.txt.asc
  40. +22 −0 manifests/dcrinstall-v2.0.4-manifests.txt.asc
  41. +22 −0 manifests/dcrinstall-v2.0.5-manifests.txt.asc
  42. +22 −0 manifests/dcrinstall-v2.0.6-manifests.txt.asc
  43. +0 −108 package.sh
  44. +0 −53 release.sh
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -6,16 +6,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14, 1.15]
go: [1.18, 1.19]
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Linters
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0"
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.48.0"
- name: Build
env:
GO111MODULE: "on"
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016-2020 The Decred developers
Copyright (c) 2016-2022 The Decred developers

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
44 changes: 25 additions & 19 deletions cmd/dcrinstall/README.md
Original file line number Diff line number Diff line change
@@ -12,9 +12,6 @@ and platform, installs them, sets up the config files, and creates a
wallet for you. In upgrade mode, dcrinstall replaces your binaries
with the latest copies but makes no changes to your configs.

Additionally, when the `--dcrdex` flag is set the tool will attempt to install
the Decred DEX and bitcoin daemon.

## Upgrading an existing installation

The following steps are required to upgrade a system with decred that
@@ -33,6 +30,23 @@ mode. Upgrade mode only overwrites the binaries in %HOMEPATH%\decred (or
The dcrinstall tool records all actions in %HOMEPATH%\decred\dcrinstall.log
(or ~/decred/dcrinstall.log on a UNIX type OS).

## Using a proxy

To provide additional privacy `dcrinstall` has proxy and tor support.
Simply set the `HTTP_PROXY` environment variable to a suitable proxy.

For example using tor over localhost:
```
export HTTP_PROXY='socks5://127.0.0.1:9050'
```

To use an http proxy that requires authentication:
```
export HTTP_PROXY='http://user:password@myproxyserver.com:3128'
```

Then run all `dcrinstall` as described in this document.

### Windows

Configuration files:
@@ -42,7 +56,6 @@ Configuration files:
%LOCALAPPDATA%\Dcrwallet\dcrwallet.conf
%LOCALAPPDATA%\Dexc\dexc.conf
%LOCALAPPDATA%\Dexcctl\dexcctl.conf
%ROAMINGAPPDATA%\Bitcoind\bitcoin.conf
```

Binaries directory:
@@ -59,7 +72,6 @@ Configuration files:
~/Library/Application Support/Dcrwallet/dcrwallet.conf
~/Library/Application Support/Dexc/dexc.conf
~/Library/Application Support/Dexcctl/dexcctl.conf
~/Library/Application Support/Bitcoind/bitcoin.conf
```

Binaries directory:
@@ -76,7 +88,6 @@ Configuration files:
~/.dcrwallet/dcrwallet.conf
~/.dexc/dexc.conf
~/.dexcctl/dexcctl.conf
~/.bitcoind/bitcoin.conf
```

Binaries directory:
@@ -99,20 +110,15 @@ dcrinstall.exe
```

For OSX and UNIX you will also need to make the file executable before
runnning it:
running it:

```
cd Downloads/
chmod u+x dcrinstall
./dcrinstall
```
and you installation will be upgraded to the latest released version.

To install the optional DCRDEX software add the `--dcrdex` flag. For example:
```
cd %HOMEPATH%\Download
dcrinstall.exe --dcrdex
```
and you installation will be upgraded to the latest released version.

## Clean install

@@ -121,6 +127,7 @@ files) you can just run dcrinstall and it will setup and configure all
the binaries:

For Windows open a cmd.exe window and:

```
cd %HOMEPATH%\Download
dcrinstall.exe
@@ -143,16 +150,16 @@ which you may examine if you need more information. On Windows the
file is located at:

```
%HOMEPATH%\decred\dcrinstaller.log
%HOMEPATH%\decred\dcrinstall.log
```

On OSX and UNIX the file is located at:

```
~/decred/dcrinstaller.log
~/decred/dcrinstall.log
```

## Running decred programs
## Running Decred programs

On Windows open cmd.exe

@@ -168,7 +175,7 @@ cd decred/
```

Alternatively you can add the directory to your path. For windows see
http://www.computerhope.com/issues/ch000549.htm For OSX and UNIX
<http://www.computerhope.com/issues/ch000549.htm>. For OSX and UNIX
refer to the documentation for your shell.

## Build from source
@@ -191,7 +198,7 @@ The file
[cmd/dcrinstall/pubkey.go](https://github.com/decred/decred-release/blob/master/cmd/dcrinstall/pubkey.go)
contains the decred public key which is used to check the signed
manifest in the release. You can compare the contents of this file to
what you get from a keyserver to confirm that dcrinstaller is using
what you get from a keyserver to confirm that dcrinstall is using
the proper key.

## Notes
@@ -207,4 +214,3 @@ OpenBSD, Fedora, Ubuntu, and Raspbian.

dcrinstall is licensed under the [copyfree](http://copyfree.org) ISC
License.

Loading