node-stratum-pool icon indicating copy to clipboard operation
node-stratum-pool copied to clipboard

x15 showing strange error..

Open justinvforvendetta opened this issue 11 years ago • 54 comments

on startup, the new (and only) x15 coin i've added returns this:

error initiating transaction output script for [server wallet address]

then

invalid address length for (fee wallet) 2014-09-09 03:34:41 [Pool] [gryfencoin](Thread 4) Error generating transaction output script for (fee wallet) in rewardRecipients 2014-09-09 03:34:41 [Pool] [gryfencoin](Thread 4) No rewardRecipients have been setup which means no fees will be taken

reward recipient was set up with proper offline fee wallet address then

then when i try to connect my miner, it says stratum authentication failed

2014-09-09 03:30:11 [Pool] [gryfencoin](Thread 4) Unauthorized (mining wallet address):x

any help would be appreciated =]

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

justinvforvendetta avatar Sep 09 '14 03:09 justinvforvendetta

i will offer a bounty of 30k GRYF to anyone that can help me with this =]

lots of good things coming out for the coin soon, just cant seem to see what is wrong. my first guess was conf file or coin.json, but ive kept it simple.. and rpcuser/pwd are accurate.

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

Think there's a problem with your config.. what do you have in your rewardRecipients?

grhohertz avatar Sep 09 '14 04:09 grhohertz

1.0 fee, and my offline wallet fee address

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

Paste the rewardRecipients here.. thinking it's a format error

grhohertz avatar Sep 09 '14 04:09 grhohertz

{ "enabled": true, "coin": "gryfencoin.json",

"address": "server wallet id",

"rewardRecipients": {
    "offline wallet id": 1.0
},

"paymentProcessing": {
    "enabled": true,
    "paymentInterval": 20,
    "minimumPayment": 1,
    "daemon": {
        "host": "127.0.0.1",
        "port": 9820,
        "user": "gryfencoinrpc",
        "password": "correct rpc password, same as coin.conf file"

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

ran gryfencoind dumpprivkey (server wallet id)

and got the priv key, so the server wallet addy is accurate, and ive already used my fee wallet offline many times, so i know that address is accurate as well

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

not sure why nomp would say error initiating transaction output script for the server wallet address...

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

Think the issue is gryf is a hybrid pow/pos. You may have to use pubkey instead of address.

grhohertz avatar Sep 09 '14 04:09 grhohertz

in the .json or to mine with?

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

in the .json im assuming. what command do i give gryfencoind to get pubkey?

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

what does your gryfencoin.json look like?

grhohertz avatar Sep 09 '14 04:09 grhohertz

in coins or pool_configs?

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

coins

grhohertz avatar Sep 09 '14 04:09 grhohertz

{ "name": "GryfenCoin", "symbol": "GRYF", "algorithm": "x15" }

justinvforvendetta avatar Sep 09 '14 04:09 justinvforvendetta

Sec, testing

grhohertz avatar Sep 09 '14 05:09 grhohertz

much appreciated

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

im guessing you are having similar issues?

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

Just finished compiling..it's working fine here, with standard coin address (ie "GZ4KLGMz7vgDQT2Mp2ZuSVJ14NVqGrJgJq"

grhohertz avatar Sep 09 '14 05:09 grhohertz

Your pool config looks similar to this?

{ "enabled": true, "coin": "gryfencoin.json", // Make sure this file is available in the coins directory "address": "GZ4KLGMz7vgDQT2Mp2ZuSVJ14NVqGrJgJq", // Payout address of the primary coin "rewardRecipients": { // For pool operator fees "GZ4KLGMz7vgDQT2Mp2ZuSVJ14NVqGrJgJq": 1.0 }, ....

grhohertz avatar Sep 09 '14 05:09 grhohertz

yes identical, minus the "auxes". what is your .conf file look like?

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

rpcuser=gryfencoinrpc rpcpassword=password that matches pool_config gryfencoin.json file server=1 daemon=1 rpcport=9820 addnode=107.170.247.27 addnode=162.243.250.152

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

Same

grhohertz avatar Sep 09 '14 05:09 grhohertz

daemon is synced with blockchain as well

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

"invalid address length for (fee wallet)" — try a different address

jacobnollette avatar Sep 09 '14 05:09 jacobnollette

in fact you could probably try grhonhertz reward address

jacobnollette avatar Sep 09 '14 05:09 jacobnollette

Check for spaces, other characters, in your rewardRecipients address fyi, just tested with a remote wallet and it worked as well.

grhohertz avatar Sep 09 '14 05:09 grhohertz

i just got it to work. so what happened was, the daemon initially gave me a wallet address that was, in fact, too long.. i guess for redis db to handle? i changed both addresses and my new ones were 2 characters less, and nomp fired up right away. jnollette, since you had the solution, but grhohertz spent alot of time troubleshooting, i will send 25k to grh, and 10 to you. is that fair? gr, the reward wallet id you posted is accurate for gryf?

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta

Ya, that address works for me - thx.

grhohertz avatar Sep 09 '14 05:09 grhohertz

sure i appreciate that

jacobnollette avatar Sep 09 '14 05:09 jacobnollette

jnollete, please drop me a gryf address when you get a moment. sending gr's now. thanks for the help both of you. ill close the issue now =]

justinvforvendetta avatar Sep 09 '14 05:09 justinvforvendetta