trusted_daemon is now a config var upstream in the wallet, not in the other systems.

This commit is contained in:
Alexander Blair
2017-02-25 08:13:32 -08:00
parent 527d0965db
commit 8ab38b4d79
4 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ The pool is designed to have a dual-wallet design, one which is a fee wallet, on
2. Make sure to save your regeneration stuff!
3. For the pool wallet, store the password in a file, the suggestion is `~/wallet_pass`
4. Change the mode of the file with chmod to 0400: `chmod 0400 ~/wallet_pass`
5. Start the wallet using PM2: `pm2 start /usr/local/src/monero/build/release/bin/monero-wallet-rpc -- --rpc-bind-port 18082 --password-file ~/wallet_pass --wallet-file <Your wallet name here> --disable-rpc-login`
5. Start the wallet using PM2: `pm2 start /usr/local/src/monero/build/release/bin/monero-wallet-rpc -- --rpc-bind-port 18082 --password-file ~/wallet_pass --wallet-file <Your wallet name here> --disable-rpc-login --trusted-daemon`
6. If you don't use PM2, then throw the wallet into a screen and have fun.
Manual Setup
+1 -1
View File
@@ -29,7 +29,7 @@ sudo systemctl enable ntp
cd /usr/local/src
sudo git clone https://github.com/monero-project/monero.git
cd monero
sudo git checkout 1e7f783f6901dc46e90da13926c725d477f4f443
sudo git checkout 0.10.2.1
sudo make -j$(nproc)
sudo cp ~/nodejs-pool/deployment/monero.service /lib/systemd/system/
sudo useradd -m monerodaemon -d /home/monerodaemon
+1 -1
View File
@@ -25,7 +25,7 @@ sudo systemctl enable ntp
cd /usr/local/src
sudo git clone https://github.com/monero-project/monero.git
cd monero
sudo git checkout 1e7f783f6901dc46e90da13926c725d477f4f443
sudo git checkout 0.10.2.1
sudo make -j$(nproc)
sudo cp ~/nodejs-pool/deployment/monero.service /lib/systemd/system/
sudo useradd -m monerodaemon -d /home/monerodaemon
+5 -10
View File
@@ -105,8 +105,7 @@ let shapeshiftQueue = async.queue(function (task, callback) {
}
],
mixin: global.config.payout.mixIn,
payment_id: shapeshiftTxnData.deposit,
trusted_daemon: true
payment_id: shapeshiftTxnData.deposit
};
debug("Payment Details: " + JSON.stringify(paymentDetails));
paymentQueue.push(paymentDetails, function (body) {
@@ -256,8 +255,7 @@ let xmrToQueue = async.queue(function (task, callback) {
}
],
mixin: global.config.payout.mixIn,
payment_id: orderStatus.xmr_required_payment_id,
trusted_daemon: true
payment_id: orderStatus.xmr_required_payment_id
};
debug("Payment Details: " + JSON.stringify(paymentDetails));
paymentQueue.push(paymentDetails, function (body) {
@@ -500,8 +498,7 @@ function Payee(amount, address, paymentID, bitcoin) {
}
],
mixin: global.config.payout.mixIn,
payment_id: this.paymentID,
trusted_daemon: true
payment_id: this.paymentID
};
let identifier = this.id;
let amount = this.amount;
@@ -531,8 +528,7 @@ function Payee(amount, address, paymentID, bitcoin) {
address: this.address
}
],
mixin: global.config.payout.mixIn,
trusted_daemon: true
mixin: global.config.payout.mixIn
};
let identifier = this.id;
let amount = this.amount;
@@ -639,8 +635,7 @@ function makePayments() {
while (paymentDestinations.length > 0) {
let paymentDetails = {
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
mixin: global.config.payout.mixIn,
trusted_daemon: true
mixin: global.config.payout.mixIn
};
console.log("Paying out: " + paymentDetails.destinations.length + " people");
paymentQueue.push(paymentDetails, function (body) {