Update to AEON and the config_entries.

master
Alexander Blair 7 years ago committed by Alexander Blair
parent 190ad9c530
commit e0152b8c46

@ -98,8 +98,8 @@ function Payee(amount, address, paymentID, bitcoin) {
address: this.address address: this.address
} }
], ],
fee: 10000000000, fee: global.config.payout.fee,
unlock_time: 0, unlock_time: global.config.payout.unlock_time,
mixin: global.config.payout.mixIn, mixin: global.config.payout.mixIn,
payment_id: this.paymentID payment_id: this.paymentID
}; };
@ -131,8 +131,8 @@ function Payee(amount, address, paymentID, bitcoin) {
address: this.address address: this.address
} }
], ],
fee: 10000000000, fee: global.config.payout.fee,
unlock_time: 0, unlock_time: global.config.payout.unlock_time,
mixin: global.config.payout.mixIn mixin: global.config.payout.mixIn
}; };
let identifier = this.id; let identifier = this.id;
@ -211,8 +211,8 @@ function makePayments() {
let paymentDetails = { let paymentDetails = {
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns), destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
mixin: global.config.payout.mixIn, mixin: global.config.payout.mixIn,
fee: 10000000000, fee: global.config.payout.fee,
unlock_time: 0 unlock_time: global.config.payout.unlock_time
}; };
console.log("Paying out: " + paymentDetails.destinations.length + " people"); console.log("Paying out: " + paymentDetails.destinations.length + " people");
paymentQueue.push(paymentDetails, function (body) { //jshint ignore:line paymentQueue.push(paymentDetails, function (body) { //jshint ignore:line

@ -558,5 +558,21 @@
"item_value": "0", "item_value": "0",
"item_type": "int", "item_type": "int",
"Item_desc": "Payout priority setting. 0 = use default (4x fee); 1 = low prio (1x fee)" "Item_desc": "Payout priority setting. 0 = use default (4x fee); 1 = low prio (1x fee)"
},
{
"id": 76,
"module": "payout",
"item": "fee",
"item_value": "10000000000",
"item_type": "int",
"Item_desc": "Atomic units of coin to use ass a fee"
},
{
"id": 77,
"module": "payout",
"item": "unlock_time",
"item_value": "0",
"item_type": "int",
"Item_desc": "Number of blocks assumed before the payout unlocks."
} }
] ]

Loading…
Cancel
Save