mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update to AEON and the config_entries.
This commit is contained in:
committed by
Alexander Blair
parent
190ad9c530
commit
e0152b8c46
@@ -98,8 +98,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
||||
address: this.address
|
||||
}
|
||||
],
|
||||
fee: 10000000000,
|
||||
unlock_time: 0,
|
||||
fee: global.config.payout.fee,
|
||||
unlock_time: global.config.payout.unlock_time,
|
||||
mixin: global.config.payout.mixIn,
|
||||
payment_id: this.paymentID
|
||||
};
|
||||
@@ -131,8 +131,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
||||
address: this.address
|
||||
}
|
||||
],
|
||||
fee: 10000000000,
|
||||
unlock_time: 0,
|
||||
fee: global.config.payout.fee,
|
||||
unlock_time: global.config.payout.unlock_time,
|
||||
mixin: global.config.payout.mixIn
|
||||
};
|
||||
let identifier = this.id;
|
||||
@@ -211,8 +211,8 @@ function makePayments() {
|
||||
let paymentDetails = {
|
||||
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
|
||||
mixin: global.config.payout.mixIn,
|
||||
fee: 10000000000,
|
||||
unlock_time: 0
|
||||
fee: global.config.payout.fee,
|
||||
unlock_time: global.config.payout.unlock_time
|
||||
};
|
||||
console.log("Paying out: " + paymentDetails.destinations.length + " people");
|
||||
paymentQueue.push(paymentDetails, function (body) { //jshint ignore:line
|
||||
|
||||
@@ -558,5 +558,21 @@
|
||||
"item_value": "0",
|
||||
"item_type": "int",
|
||||
"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."
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user