Closed 77656233 closed 6 years ago
Hi, you must send keyIndex depend on how much you have already transaction done on seed.
If you get error about balance-time, it takes to much longe so you have bad setting for keyIndex or slow iota node.
Yes page dosent load until you get connection with iota iri node.
Hey, so when i send 1 transaction into the seed to fill it i have to set all to 1? And what is the correct start command for the nodejs app? Could you please send an example here for both questions so i understand and can get started?
Do i need to set automatic withdrawals to on? What is it for and the external compute does it work and if so how?
outputsInBundle: 10,
reattachAfterMinutes: 10,
automaticWithdrawal: false,
skipWithdrawal: false,
skipAfterMinutes: 60,
spamming: true,
externalCompute: false,
Else please join me 5 minutes on skype ^^ please all is up and can get started so it wont take long ;)
Greetings, Chris
I did now a local call to the api and the balance query works well with keyIndex 0 on all addresses:
Object { appName: "IRI", appVersion: "1.4.1.2", jreAvailableProcessors: 4, jreFreeMemory: 919097032, jreVersion: "1.8.0_151", jreMaxMemory: 6681526272, jreTotalMemory: 3232235520, latestMilestone: "DLARD9KUCLVSXEMBEGFNUGXSBHSWHCT9BFKZKOSKNHJBTTXLUJBU9FCHPYLSKFWFJTLAQELEURDVA9999", latestMilestoneIndex: 297981, latestSolidSubtangleMilestone: "DLARD9KUCLVSXEMBEGFNUGXSBHSWHCT9BFKZKOSKNHJBTTXLUJBU9FCHPYLSKFWFJTLAQELEURDVA9999", … } index.html:18:17 Object { inputs: […], totalBalance: 1000000 } index.html:39:17 RESULT=1000000
So it just not works on the app?
If you use pm2 than call bin/www, if pure node.js call app.js KeyIndex is 0 when only receive, once you send iota index is plus for every transasction
thanks jan :) its running! hope to see you later online there are still some open questions :)
This is on my console all the time. And i needed to add the seeds to the cache to get it running is that normal?
0|www | Thread Hashing...
0|www | I: Starting search threads.
0|www | I: Found threads. Returning.
0|www | Getting platforms...
0|www | Cannot get the number of OpenCL platforms available. E:-1
0|www | Thread Hashing...
0|www | I: Starting search threads.
0|www | I: Found threads. Returning.
0|www | Getting platforms...
0|www | Cannot get the number of OpenCL platforms available. E:-1
0|www | Thread Hashing...
0|www | I: Starting search threads.
0|www | I: Found threads. Returning.
0|www | 2017-12-07T19:14:27.200Z Error: spammerWorker
0|www | { error: 1, data: {} }
I set spammer to false but still getting this when it try to make payouts? Is it normal?
0|www | Getting platforms... │2017/12/08 00:13:07 [error] 30096#30096: *10638 connect() failed (111: Connection refused) while con
0|www | Cannot get the number of OpenCL platforms available. E:-1 │necting to upstream, client: 108.162.237.71, server: iota-faucet.com, request: "GET /socket.io/?EIO=
0|www | Thread Hashing... │3&transport=polling&t=M0pT_Iy HTTP/1.1", upstream: "http://127.0.0.1:6868/socket.io/?EIO=3&transport
0|www | I: Starting search threads.
Also automated withdrawals are disabled on my config. Does it mean that i need to do them manual? If so how do i do it the right way?
after that this happens
So the server try to create the bundle transaction? I was thinking the node server where i send it to does the generation? So what happened to the requested payouts now? are they gone from the users or do i double spend now?
Would be nice to have a table with created bulde addresses and the stuatus of them and the hash so the users would be able to reattach them again.
Also this error came up :/
And maybe this can help to solve some problems? Let me know please.
Hey Jan,
i have my seeds filled now with value and added them to the config.
Do i need to count the keyIndex up in the array on config or is it 0 for each enty?
Also when i start the page with: NODE_ENV=production node bin/www i get this in return: (node:30108) Warning: No such label 'balance-time' for console.timeEnd() the page loads and the faucet is up but it does not have any balance.
When i just start it with node app.js i get this return: 2017-12-07T09:56:52.265Z Checking if node is synced: isReattachable 2017-12-07T09:57:28.079Z miotaToBtc: 0.00024638iotaUSD: 0.0000036228 2017-12-07T09:57:28.081Z xmrToBtc: 0.0193565 2017-12-07T09:57:28.120Z getTotalIotaPerSecond: NaN 2017-12-07T09:57:28.120Z hashIotaRatio: NaN 2017-12-07T09:57:28.122Z payoutPer1MHashes: undefined
Problem is that the page is not reachable after i start it with that command.
Hope to hear from you soon so i can start đź‘Ť
Greetings, Chris