forked from apezord/ord-dogecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
1,662 additions
and
1,886 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
version=1.14.6 | ||
|
||
wget \ | ||
-O dogecoin.tar.gz \ | ||
https://github.com/dogecoin/dogecoin/releases/download/v$version/dogecoin-$version-x86_64-linux-gnu.tar.gz | ||
|
||
tar \ | ||
-xzvf dogecoin.tar.gz \ | ||
-C /usr/local/bin \ | ||
--strip-components 1 \ | ||
dogecoin-$version/bin/{dogecoin-cli,dogecoind} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
datadir=/var/lib/dogecoind | ||
maxmempool=1024 | ||
txindex=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[Unit] | ||
After=network-online.target | ||
Description=Dogecoin daemon | ||
Documentation=https://github.com/dogecoin/dogecoin/blob/master/doc/init.md | ||
Wants=network-online.target | ||
|
||
[Service] | ||
ConfigurationDirectory=dogecoin | ||
ConfigurationDirectoryMode=0710 | ||
ExecStart=/usr/local/bin/dogecoind \ | ||
-conf=/etc/dogecoin/dogecoin.conf \ | ||
-chain=${CHAIN} | ||
ExecStartPre=/bin/chgrp dogecoin /etc/dogecoin | ||
Group=dogecoin | ||
MemoryDenyWriteExecute=true | ||
NoNewPrivileges=true | ||
PermissionsStartOnly=true | ||
PrivateDevices=true | ||
PrivateTmp=true | ||
ProtectHome=true | ||
ProtectSystem=full | ||
Restart=on-failure | ||
RuntimeDirectory=dogecoind | ||
RuntimeDirectoryMode=0710 | ||
StateDirectory=dogecoind | ||
StateDirectoryMode=0710 | ||
TimeoutStartSec=infinity | ||
TimeoutStopSec=600 | ||
Type=simple | ||
User=dogecoin | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,13 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE | |
Environment=RUST_BACKTRACE=1 | ||
Environment=RUST_LOG=info | ||
ExecStart=/usr/local/bin/ord \ | ||
--bitcoin-data-dir /var/lib/bitcoind \ | ||
--dogecoin-data-dir /var/lib/dogecoind \ | ||
--data-dir /var/lib/ord \ | ||
--config-dir /var/lib/ord \ | ||
--chain ${CHAIN} \ | ||
--index-sats \ | ||
server \ | ||
--acme-contact mailto:[email protected] \ | ||
--acme-contact mailto:[email protected] \ | ||
--http \ | ||
--https | ||
Group=ord | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ publish revision='master': | |
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
rm -rf tmp/release | ||
git clone [email protected]:casey/ord.git tmp/release | ||
git clone [email protected]:apezord/ord-dogecoin.git tmp/release | ||
cd tmp/release | ||
git checkout {{ revision }} | ||
VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.