From 1cae37348a7ed21c92fee075b2cf380457b92280 Mon Sep 17 00:00:00 2001 From: wowario Date: Wed, 25 Jan 2023 19:27:45 +0300 Subject: [PATCH] gitian: copy config file --- contrib/gitian/gitian-android.yml | 4 +- contrib/gitian/gitian-freebsd.yml | 4 +- contrib/gitian/gitian-linux.yml | 4 +- contrib/gitian/gitian-osx.yml | 4 +- contrib/gitian/gitian-win.yml | 2 +- utils/conf/wow.conf | 69 +++++++++++++++++++++++++++++++ 6 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 utils/conf/wow.conf diff --git a/contrib/gitian/gitian-android.yml b/contrib/gitian/gitian-android.yml index 7e9ca8178..7b2c840f5 100644 --- a/contrib/gitian/gitian-android.yml +++ b/contrib/gitian/gitian-android.yml @@ -120,8 +120,8 @@ script: | cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake -DCMAKE_BUILD_TYPE=Release make ${MAKEOPTS} chmod 755 bin/* - cp ../LICENSE ../README.md ../docs/ANONYMITY_NETWORKS.md bin - chmod 644 bin/LICENSE bin/*.md + cp ../utils/conf/wow.conf bin + chmod 644 bin/wow.conf DISTNAME=monero-${i}-${version} mv bin ${DISTNAME} find ${DISTNAME}/ | sort | tar --no-recursion --owner=0 --group=0 -c -T - | bzip2 -9 > ${OUTDIR}/${DISTNAME}.tar.bz2 diff --git a/contrib/gitian/gitian-freebsd.yml b/contrib/gitian/gitian-freebsd.yml index 7a17f0750..cbc99b39f 100644 --- a/contrib/gitian/gitian-freebsd.yml +++ b/contrib/gitian/gitian-freebsd.yml @@ -117,8 +117,8 @@ script: | cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON make ${MAKEOPTS} chmod 755 bin/* - cp ../LICENSE ../README.md ../docs/ANONYMITY_NETWORKS.md bin - chmod 644 bin/LICENSE bin/*.md + cp ../utils/conf/wow.conf bin + chmod 644 bin/wow.conf DISTNAME=monero-${i}-${version} mv bin ${DISTNAME} find ${DISTNAME}/ | sort | tar --no-recursion --owner=0 --group=0 -c -T - | bzip2 -9 > ${OUTDIR}/${DISTNAME}.tar.bz2 diff --git a/contrib/gitian/gitian-linux.yml b/contrib/gitian/gitian-linux.yml index 41915deb9..8c53a15b8 100644 --- a/contrib/gitian/gitian-linux.yml +++ b/contrib/gitian/gitian-linux.yml @@ -169,8 +169,8 @@ script: | cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake -DBACKCOMPAT=${BACKCOMPAT_OPTION} -DCMAKE_SKIP_RPATH=ON make ${MAKEOPTS} chmod 755 bin/* - cp ../LICENSE ../README.md ../docs/ANONYMITY_NETWORKS.md bin - chmod 644 bin/LICENSE bin/*.md + cp ../utils/conf/wow.conf bin + chmod 644 bin/wow.conf DISTNAME=monero-${i}-${version} mv bin ${DISTNAME} find ${DISTNAME}/ | sort | tar --no-recursion --owner=0 --group=0 -c -T - | bzip2 -9 > ${OUTDIR}/${DISTNAME}.tar.bz2 diff --git a/contrib/gitian/gitian-osx.yml b/contrib/gitian/gitian-osx.yml index 648688bcd..365742d9e 100644 --- a/contrib/gitian/gitian-osx.yml +++ b/contrib/gitian/gitian-osx.yml @@ -108,8 +108,8 @@ script: | cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake make ${MAKEOPTS} chmod 755 bin/* - cp ../LICENSE ../README.md ../docs/ANONYMITY_NETWORKS.md bin - chmod 644 bin/LICENSE bin/*.md + cp ../utils/conf/wow.conf bin + chmod 644 bin/wow.conf DISTNAME=monero-${i}-${version} mv bin ${DISTNAME} find ${DISTNAME}/ | sort | tar --no-recursion --owner=0 --group=0 -c -T - | bzip2 -9 > ${OUTDIR}/${DISTNAME}.tar.bz2 diff --git a/contrib/gitian/gitian-win.yml b/contrib/gitian/gitian-win.yml index 4c607898e..37f55380c 100644 --- a/contrib/gitian/gitian-win.yml +++ b/contrib/gitian/gitian-win.yml @@ -127,7 +127,7 @@ script: | mkdir build && cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake make ${MAKEOPTS} - cp ../LICENSE ../README.md ../docs/ANONYMITY_NETWORKS.md bin + cp ../utils/conf/wow.conf bin DISTNAME=monero-${i}-${version} mv bin ${DISTNAME} find ${DISTNAME}/ | sort | zip -X@ ${OUTDIR}/${DISTNAME}.zip diff --git a/utils/conf/wow.conf b/utils/conf/wow.conf new file mode 100644 index 000000000..3151d17f5 --- /dev/null +++ b/utils/conf/wow.conf @@ -0,0 +1,69 @@ +## To use these setting, run: ./wownerod --config-file wow.conf +## For information about daemon options check out +## https://monerodocs.org/interacting/monerod-reference/ +## Directions for setting up Tor and I2P nodes +## https://forum.wownero.com/t/how-to-setup-a-full-node-with-tor-i2p/588 + +##### wownerod settings ##### +data-dir=~/.local/share/wownero +check-updates=disabled +log-level=0 +no-igd=1 +p2p-bind-ip=0.0.0.0 +p2p-bind-port=34567 +db-sync-mode=safe +out-peers=64 +in-peers=64 +max-connections-per-ip=64 +limit-rate-up=1048576 +limit-rate-down=1048576 +max-concurrency=1 +prep-blocks-threads=2 +block-sync-size=10 +fast-block-sync=1 +disable-dns-checkpoints=1 +pad-transactions=1 +add-priority-node=158.69.60.225:34567 +add-priority-node=159.65.91.59:34567 +add-priority-node=167.114.196.241:34567 +add-priority-node=142.93.144.79:34567 +add-priority-node=51.75.76.161:34567 +add-priority-node=145.239.93.75:34567 +add-priority-node=88.198.199.23:34567 +add-priority-node=167.114.119.46:34567 +add-priority-node=143.198.195.132:34567 +add-priority-node=134.122.53.193:34567 +add-priority-node=204.48.28.218:34567 + +##### Public RPC ##### +rpc-bind-ip=0.0.0.0 +rpc-bind-port=34568 +zmq-rpc-bind-port=34572 +restricted-rpc=1 +public-node=1 +confirm-external-bind=1 +disable-rpc-ban=1 + +##### Solo Mining ##### +#start-mining=YOUR_MAIN_WALLET_ADDRESS +## Specify number of mining threads +#mining-threads=1 + +##### Web Compatible (CORS) ##### +#rpc-ssl=autodetect +#rpc-ssl-allow-any-cert=1 +#rpc-ssl-private-key=/etc/letsencrypt/live/DOMAIN.com/privkey.pem +#rpc-ssl-certificate=/etc/letsencrypt/live/DOMAIN.com/fullchain.pem +#rpc-ssl-allow-chained=1 +#rpc-access-control-origins=* + +##### Tor & I2P settings ##### +#anonymous-inbound=YOUR_ONION_ADDRESS:34566,127.0.0.1:34566,64 +#anonymous-inbound=YOUR_I2P_ADDRESS:34565,127.0.0.1:34565,64 +#tx-proxy=tor,127.0.0.1:9050,23 +#tx-proxy=i2p,127.0.0.1:4447,23 +#add-priority-node=77uase4p6y6jsjdf6z2kdgpxgh7nkvywagvhurzphbm7vrkyj2d2gdid.onion:34566 +#add-priority-node=v2admi6gbeprxnk6i2oscizhgy4v5ixu6iezkhj5udiwbfjjs2w7dnid.onion:34566 +#add-priority-node=iorkdy6t4gdtwzn3iblnhy76nu7lhyz2qcvpj4wrspfxyvdrul7u22qd.onion:34566 +#add-priority-node=ttc6kxud3fikyaypn5voknyyvqje7j3wnoevsb7rfjerolynnisurkqd.onion:34566 +#add-priority-node=5enbij6tz3n2hw5ixzezfayd5gvckyg4xlktz74gj4l6u7olq7ovr3id.onion:34566