BarTeam
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 02, 2015, 03:31:14 PM |
|
Any ideas for simple BNs monitoring ?
nagios.. shell script.. a bit of python... and I would say, that's it. =) #!/usr/bin/python
import sys, os, urllib, time, urllib2, re
def felch(): print 'Felching Banknode balances...'
now = time.strftime("%c") print now
total = 0 m = 'mybanknodes.txt' with open(m, mode="r") as f: a = [line.strip() for line in f] for line in a: address = line[0:34] ######################################################### need to fool cloudflare! site = ("http://chainz.cryptoid.info/bcr/api.dws?q=getbalance&a=" + address) hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} ######################################################### cloudflare hoodwinked! req = urllib2.Request(site, headers=hdr) try: page = urllib2.urlopen(req) except urllib2.HTTPError, e: print e.fp.read() data = page.read() print(address + '\t Balance: ' + data) b = float(re.sub("[^0-9.]", " ", (data))) total = total + b print "Total: " + str(total) + " BCR"
sys.exit()
felch()
Save as mybanknodes.py in same directory as your mybanknodes.txt and run with 'python mybanknodes.py' Anyone with rudimentary java experience should be able to knock up an android version in minutes. edit: actually this works fine on android if you have python installed, but you have to specify the full path to mybanknodes.txt, eg. change m = 'mybanknodes.txt' to m = '/storage/sdcard0/mybanknodes.txt' if you've stuck it in the root dir of your onboard memory. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs21.postimg.org%2F3sjtcs63r%2FScreenshot_2015_07_02_15_22_59.png&t=665&c=p0r7WsS2QuG7DQ) Dog almighty I'd forgotten how easy everything is in python. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) sh...tt.. just make it happen! Great job!... I would make windows better just with python.... but... i don't wana be as much as successfully as them in multi-platform... so.. I am giving up it all on you! =) LOL RA!
|
|
|
|
starblocks
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 09:50:13 AM Last edit: July 03, 2015, 10:23:05 AM by starblocks |
|
Still wondering how to get multiple BN's working in Windows
Once you create more than 1 inside the QT then close and re-open it only the last one created displays not however many you create
Run the daemons (bitcreditd) separately under different users, or with different datadirs and confdirs set for each instance, and appropriate bitcredit.conf files for each user/instance, ie. your port/rpcport and banknodeprivkeys need to be different in each bitcredit.conf file. Until I or someone else gets around to writing a BCR-specific guide, use one of the many DASH Masternode guides, same thing, just replace dashd with bitcreditd, and you need bitcredit-cli to issue commands to the daemon, eg. 'bitcredit-cli banknode start,' not 'bitcreditd banknode start.' BCR is a version of Bitcoin Core ahead of them currently. I got it to work with the QT just one node The deamon didn't seem to do anything I'll fire up the others shortly so AU is back online Edit: Multiple user accounts doesn't work - only 2 can run else windows detects and doesn't allow the 3rd or more
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 10:30:15 AM |
|
I got it to work with the QT just one node
The deamon didn't seem to do anything
I'll fire up the others shortly so AU is back online
Edit: Multiple user accounts doesn't work - only 2 can run else windows detects and doesn't allow the 3rd or more
Really, the simplest solution to to rent a *buntu 14.04 / 14.10 VPS for a few dollars a month. You can easily fit 5 BNs on a 1GB server, 10 on a 2GB RAM server... etc. Cutting and pasting a few commands into a terminal window is surely easier than buggering about with Windows...
|
|
|
|
alganonim
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 10:35:01 AM |
|
Any ideas for simple BNs monitoring ?
nagios.. shell script.. a bit of python... and I would say, that's it. =) #!/usr/bin/python
import sys, os, urllib, time, urllib2, re
def felch(): print 'Felching Banknode balances...'
now = time.strftime("%c") print now
total = 0 m = 'mybanknodes.txt' with open(m, mode="r") as f: a = [line.strip() for line in f] for line in a: address = line[0:34] ######################################################### need to fool cloudflare! site = ("http://chainz.cryptoid.info/bcr/api.dws?q=getbalance&a=" + address) hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} ######################################################### cloudflare hoodwinked! req = urllib2.Request(site, headers=hdr) try: page = urllib2.urlopen(req) except urllib2.HTTPError, e: print e.fp.read() data = page.read() print(address + '\t Balance: ' + data) b = float(re.sub("[^0-9.]", " ", (data))) total = total + b print "Total: " + str(total) + " BCR"
sys.exit()
felch()
Save as mybanknodes.py in same directory as your mybanknodes.txt and run with 'python mybanknodes.py' Anyone with rudimentary java experience should be able to knock up an android version in minutes. edit: actually this works fine on android if you have python installed, but you have to specify the full path to mybanknodes.txt, eg. change m = 'mybanknodes.txt' to m = '/storage/sdcard0/mybanknodes.txt' if you've stuck it in the root dir of your onboard memory. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs21.postimg.org%2F3sjtcs63r%2FScreenshot_2015_07_02_15_22_59.png&t=665&c=p0r7WsS2QuG7DQ) Dog almighty I'd forgotten how easy everything is in python. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I might jazz it up a bit to give you the delta since you last checked. I was thinking rather about any already available app that can be used to track any other coins wallet too, but this script is great and working good enough for me , thanks a lot ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) To got it working I had to install Qpython or Qpython3 and change '/storage/sdcard0/mybanknodes.txt' to '/storage/emulated/0/mybanknodes.txt' I'm on Sammy Note4 Android 5.0.1 and what i read sdcard/emulated/0/ must be used in any android 4.2 => versions.
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 10:46:20 AM Last edit: July 03, 2015, 11:00:10 AM by thelonecrouton |
|
Upgraded BCR address checker script a little: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs22.postimg.org%2F8i83i82jl%2FScreenshot_2015_07_03_11_45_24.png&t=665&c=wviGyB34RgEVmw) Now stores the results of your last check and gives you any delta. Will post script later when I'm finished sunbathing. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Still uses the chainz API though, which lags the blockchain by hours, I could grab realtime balances with a bit of html parsing but doing that's a lot slower. Will continue noodling when I can. Not sure the microsecond precision is needed...
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 11:59:09 AM |
|
To got it working I had to install Qpython or Qpython3 and change '/storage/sdcard0/mybanknodes.txt' to '/storage/emulated/0/mybanknodes.txt'
I'm on Sammy Note4 Android 5.0.1 and what i read sdcard/emulated/0/ must be used in any android 4.2 => versions.
I'm still using my old Galaxy S2. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) New version checks for stuff in current working directory, it should tell you where to put your mybanknodes.txt if it doesn't find it: #!/usr/bin/python
import sys, os, urllib, time, datetime, urllib2, re
def felch():
#set up paths cwd = os.getcwd() logpath = os.path.join(cwd, "mybanknodes.log") mybanknodespath = os.path.join(cwd, "mybanknodes.txt")
#check if mybanknodes.txt exists, if not abort if not os.path.isfile("mybanknodes.txt"): print 'No mybanknodes.txt file found!' print 'Please create one here: ' + mybanknodespath print 'Place one BCR address on each line.' sys.exit() #check if mybanknodes.log exists, if not create it and stick a timestamp in it if not os.path.isfile("mybanknodes.log"): nowtime = datetime.datetime.now() with open(logpath, "w") as myfile: myfile.write(str(nowtime) + "\n")
#build list of previous balances prevbalancelist = [] floatlistold = [] with open(logpath, mode="r") as f: #skip 1st line, instead store it as timestamp so we can compute the temporal delta - sounds fancy, eh? timestampold = f.readline().rstrip('\n') try: thentime = datetime.datetime.strptime(timestampold, "%Y-%m-%d %H:%M:%S.%f") #print 'Timestamp in mybanknodes.log: ' + str(thentime) except: print "Couldn't parse timestamp in mybanknodes.log!" #carry on a = [line.strip() for line in f] for line in a: #strip off 1st 17 chars, should leave us with just the numbers prevbalancelist.append(line[17:])
#convert prevbalancelist to floats floatlistold = [float(i) for i in prevbalancelist]
#get time for mybanknodes.log timestamp nowtime = datetime.datetime.now() print nowtime #write timestamp to mybanknodes.log in writemode, incidentally erases previous file contents, making life simpler and preventing logfileaphantitis with open(logpath, "w") as myfile: myfile.write(str(nowtime) + "\n") #open mybanknknodes file print 'Felching Banknode balances...' print 'Querying ' + mybanknodespath #loop through lines in file and query chainz for each address with open(mybanknodespath, mode="r") as f: a = [line.strip() for line in f] itemindex = 0 delta = "0" floatdelta = 0 deltatotal = 0 total = 0 print 'Address:\tBalance:\tChange:' for line in a: address = line[0:34] ######################################################### need to fool cloudflare! site = ("http://chainz.cryptoid.info/bcr/api.dws?q=getbalance&a=" + address) hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} ######################################################### cloudflare hoodwinked! req = urllib2.Request(site, headers=hdr) try: page = urllib2.urlopen(req) except urllib2.HTTPError, e: print e.fp.read() data = page.read() #compare data (balance we just felched) with previous balance stored in floatlistold floatdata = float(data) try: old = floatlistold[itemindex] floatdelta = floatdata - old delta = str(floatdelta) #print ("prevbal: " + str(old) + " - currentbal: " + str(floatdata) + " - delta: " + delta) except IndexError: print "Note: empty logfile as 1st run, can't compare past results."
#truncate address string to save space and print result of our little exercise print(address[:3] + ' ... ' + address[-3:] + '\t' + data + "\t(+ " + delta + ")")
#append result for each line to mybanknodes.log with open(logpath, "a") as myfile: myfile.write(address[:3] + ' ... ' + address[-3:] + '\t Bal: ' + data + "\n") #update running total b = float(re.sub("[^0-9.]", " ", (data))) total = total + b #sync list item with file line itemindex = itemindex + 1 deltatotal = deltatotal + floatdelta #compute temporal delta! try: thentime = datetime.datetime.strptime(timestampold, "%Y-%m-%d %H:%M:%S.%f") except: print "Couldn't parse timestamp in mybanknodes.log!"
try: delta = nowtime - thentime #print 'Your Banknodes have earned ' + str(deltatotal) + ' BCR in ' + str(delta) print 'Your have earned ' + str(deltatotal) + ' BCR since' print 'last check @ ' + timestampold print '(' + str(delta) + ' ago.)' except: print "Couldn't compute temporal delta!"
#print total print "Total: " + str(total) + " BCR"
#exit sys.exit()
#shindig! felch()
|
|
|
|
Bagdar13
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 115
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 01:29:24 PM |
|
Still wondering how to get multiple BN's working in Windows
Once you create more than 1 inside the QT then close and re-open it only the last one created displays not however many you create
Run the daemons (bitcreditd) separately under different users, or with different datadirs and confdirs set for each instance, and appropriate bitcredit.conf files for each user/instance, ie. your port/rpcport and banknodeprivkeys need to be different in each bitcredit.conf file. Until I or someone else gets around to writing a BCR-specific guide, use one of the many DASH Masternode guides, same thing, just replace dashd with bitcreditd, and you need bitcredit-cli to issue commands to the daemon, eg. 'bitcredit-cli banknode start,' not 'bitcreditd banknode start.' BCR is a version of Bitcoin Core ahead of them currently. I got it to work with the QT just one node The deamon didn't seem to do anything I'll fire up the others shortly so AU is back online Edit: Multiple user accounts doesn't work - only 2 can run else windows detects and doesn't allow the 3rd or more For what its worth I got 6-7 of them working on one windows box (I used the QT...which i realize was sub-optimal but did work). I just made different directories and different configs changing ports for rpc and outward. Then I just made a script to bring them all online assuming a reboot is needed so I dont manually need to start them. Downside is I have 7 copies of the blockchain, which is fine for now but will be an issue if a few years. In a few years I am not worried though because everything will have evolved by then.
|
|
|
|
alganonim
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2015, 05:07:49 PM |
|
To got it working I had to install Qpython or Qpython3 and change '/storage/sdcard0/mybanknodes.txt' to '/storage/emulated/0/mybanknodes.txt'
I'm on Sammy Note4 Android 5.0.1 and what i read sdcard/emulated/0/ must be used in any android 4.2 => versions.
I'm still using my old Galaxy S2. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) New version checks for stuff in current working directory, it should tell you where to put your mybanknodes.txt if it doesn't find it: #!/usr/bin/python
import sys, os, urllib, time, datetime, urllib2, re
def felch():
#set up paths cwd = os.getcwd() logpath = os.path.join(cwd, "mybanknodes.log") mybanknodespath = os.path.join(cwd, "mybanknodes.txt")
#check if mybanknodes.txt exists, if not abort if not os.path.isfile("mybanknodes.txt"): print 'No mybanknodes.txt file found!' print 'Please create one here: ' + mybanknodespath print 'Place one BCR address on each line.' sys.exit() #check if mybanknodes.log exists, if not create it and stick a timestamp in it if not os.path.isfile("mybanknodes.log"): nowtime = datetime.datetime.now() with open(logpath, "w") as myfile: myfile.write(str(nowtime) + "\n")
#build list of previous balances prevbalancelist = [] floatlistold = [] with open(logpath, mode="r") as f: #skip 1st line, instead store it as timestamp so we can compute the temporal delta - sounds fancy, eh? timestampold = f.readline().rstrip('\n') try: thentime = datetime.datetime.strptime(timestampold, "%Y-%m-%d %H:%M:%S.%f") #print 'Timestamp in mybanknodes.log: ' + str(thentime) except: print "Couldn't parse timestamp in mybanknodes.log!" #carry on a = [line.strip() for line in f] for line in a: #strip off 1st 17 chars, should leave us with just the numbers prevbalancelist.append(line[17:])
#convert prevbalancelist to floats floatlistold = [float(i) for i in prevbalancelist]
#get time for mybanknodes.log timestamp nowtime = datetime.datetime.now() print nowtime #write timestamp to mybanknodes.log in writemode, incidentally erases previous file contents, making life simpler and preventing logfileaphantitis with open(logpath, "w") as myfile: myfile.write(str(nowtime) + "\n") #open mybanknknodes file print 'Felching Banknode balances...' print 'Querying ' + mybanknodespath #loop through lines in file and query chainz for each address with open(mybanknodespath, mode="r") as f: a = [line.strip() for line in f] itemindex = 0 delta = "0" floatdelta = 0 deltatotal = 0 total = 0 print 'Address:\tBalance:\tChange:' for line in a: address = line[0:34] ######################################################### need to fool cloudflare! site = ("http://chainz.cryptoid.info/bcr/api.dws?q=getbalance&a=" + address) hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'} ######################################################### cloudflare hoodwinked! req = urllib2.Request(site, headers=hdr) try: page = urllib2.urlopen(req) except urllib2.HTTPError, e: print e.fp.read() data = page.read() #compare data (balance we just felched) with previous balance stored in floatlistold floatdata = float(data) try: old = floatlistold[itemindex] floatdelta = floatdata - old delta = str(floatdelta) #print ("prevbal: " + str(old) + " - currentbal: " + str(floatdata) + " - delta: " + delta) except IndexError: print "Note: empty logfile as 1st run, can't compare past results."
#truncate address string to save space and print result of our little exercise print(address[:3] + ' ... ' + address[-3:] + '\t' + data + "\t(+ " + delta + ")")
#append result for each line to mybanknodes.log with open(logpath, "a") as myfile: myfile.write(address[:3] + ' ... ' + address[-3:] + '\t Bal: ' + data + "\n") #update running total b = float(re.sub("[^0-9.]", " ", (data))) total = total + b #sync list item with file line itemindex = itemindex + 1 deltatotal = deltatotal + floatdelta #compute temporal delta! try: thentime = datetime.datetime.strptime(timestampold, "%Y-%m-%d %H:%M:%S.%f") except: print "Couldn't parse timestamp in mybanknodes.log!"
try: delta = nowtime - thentime #print 'Your Banknodes have earned ' + str(deltatotal) + ' BCR in ' + str(delta) print 'Your have earned ' + str(deltatotal) + ' BCR since' print 'last check @ ' + timestampold print '(' + str(delta) + ' ago.)' except: print "Couldn't compute temporal delta!"
#print total print "Total: " + str(total) + " BCR"
#exit sys.exit()
#shindig! felch()
Thanx, but new script didn't worked for me, in fact after that even old script stopped to work, it didn't found banknodes.txt file, it must be something with qpython and that it sees only scripts that are in its default path com.hipipal.qpython/scripts/ maybe I did something wrong. Doesn't matter, so far first script work and I'm all day long outside house enjoying summer time ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) so not much time on mobile to tests...
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 12:36:08 PM Last edit: July 04, 2015, 03:52:13 PM by thelonecrouton |
|
I have added android development to the long list of things I do badly. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs11.postimg.org%2Fmo9df5mc3%2FScreenshot_2015_07_04_13_12_07.png&t=665&c=xZrcwsSJrzmlIw) Needs a bit of polish but works on my GS2. There's an apk here if anyone wants to test it: http://s000.tinyupload.com/?file_id=94269125168536291897Remember, you get what you pay for. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
alganonim
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 02:39:51 PM |
|
Looks great, but still file not found, I also have made mybanknodes folder previously to have some order in files, even copied it to both sdcard and extsdcard.
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 03:51:52 PM Last edit: July 04, 2015, 04:20:43 PM by thelonecrouton |
|
Looks great, but still file not found, I also have made mybanknodes folder previously to have some order in files, even copied it to both sdcard and extsdcard.
Bugger. /sdcard, /sdcard0, /sdcard/0, /sdcard/emulated/0 should all just symlink to /sdcard. Try this, you enter the location yourself of wherever you put it: http://s000.tinyupload.com/?file_id=94269125168536291897Android doesn't have a built in GUI file selector dialog, you have to write one yourself or use someone elses. I'll try and incorporate one into the next build if I don't find a simpler solution.
|
|
|
|
antonio8
Legendary
Offline
Activity: 1400
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 04:42:50 PM |
|
Looks great, but still file not found, I also have made mybanknodes folder previously to have some order in files, even copied it to both sdcard and extsdcard.
Bugger. /sdcard, /sdcard0, /sdcard/0, /sdcard/emulated/0 should all just symlink to /sdcard. Try this, you enter the location yourself of wherever you put it: http://s000.tinyupload.com/?file_id=94269125168536291897Android doesn't have a built in GUI file selector dialog, you have to write one yourself or use someone elses. I'll try and incorporate one into the next build if I don't find a simpler solution. Do you have a quick run through on setting this up? Where do I get the "mybanknodes.txt" file from? Appdata foldr?
|
If you are going to leave your BTC on an exchange please send it to this address instead 1GH3ub3UUHbU5qDJW5u3E9jZ96ZEmzaXtG, I will at least use the money better than someone who steals it from the exchange. Thanks ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 05:24:07 PM |
|
Where do I get the "mybanknodes.txt" file from? Appdata foldr?
Make it! It's just a text file with whatever BCR addresses you want in it, one on each line. The app just reads the file line by line and queries the chainz block explorer for a balance for that address. Right now it polls the chainz API, and that database is only updated every couple of hours. I could pull the live web page for the up-to-the-last-block address balance but that needs a bit more code added to parse the crapload of html that gets returned, and it's a much slower process. Might add the option in the next version, time permitting.
|
|
|
|
alganonim
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 06:12:13 PM |
|
Looks great, but still file not found, I also have made mybanknodes folder previously to have some order in files, even copied it to both sdcard and extsdcard.
Bugger. /sdcard, /sdcard0, /sdcard/0, /sdcard/emulated/0 should all just symlink to /sdcard. Try this, you enter the location yourself of wherever you put it: http://s000.tinyupload.com/?file_id=94269125168536291897Android doesn't have a built in GUI file selector dialog, you have to write one yourself or use someone elses. I'll try and incorporate one into the next build if I don't find a simpler solution. I have made a mistake few posts before, it should be storage/emulated/0 and your last app finds this path and recognises few others too, like :storage/sdcard0 but after that all I see is :Found Mybanknodes.txt! and then nothing happens. I'm on modified Echoerom v7 but this shouldn't change anything.
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 10:21:46 PM |
|
...all I see is :Found Mybanknodes.txt! and then nothing happens. I'm on modified Echoerom v7 but this shouldn't change anything.
Next thing it does is just read the first line of the file and display it on the screen. Then it asynchonously fetches the balance for that address, while reading in and displaying the next line. It should at least get as far as displaying the first address before anything that can go wrong happens. Are you sure there's anything in your mybanknodes.txt file? Shouldn't be any blank lines, just bcraddress bcraddress bcraddress ...
|
|
|
|
|
|
kahir
Legendary
Offline
Activity: 1050
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 09:00:29 PM |
|
again where can i find
Windows binary for Nvidia GPU miner that works with pools
|
|
|
|
antonio8
Legendary
Offline
Activity: 1400
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 12:46:31 AM |
|
again where can i find
Windows binary for Nvidia GPU miner that works with pools
Believe me, you are better off buying the coin than mining with Nvidia miner. Look up the old protoshare Nvidia miner.
|
If you are going to leave your BTC on an exchange please send it to this address instead 1GH3ub3UUHbU5qDJW5u3E9jZ96ZEmzaXtG, I will at least use the money better than someone who steals it from the exchange. Thanks ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
LucD88
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 08:50:45 PM |
|
Thanks! But it still crashes for me on Windows 8.1 x64. 2015-06-22 20:56:47 CheckBlock() : Skipping banknode payment check - nHeight 142853 Hash 000013d38b9b8113d09df32322704331a0a35fbb7e711873b6347fe5e6651912 2015-06-22 20:56:47 No coin database inconsistencies in last 289 blocks (290 transactions) 2015-06-22 20:56:47 block index 777ms 2015-06-22 20:56:47 init message: Portemonnee aan het laden... 2015-06-22 20:56:47 nFileVersion = 301608 2015-06-22 20:56:47 Keys: 2 plaintext, 0 encrypted, 2 w/ metadata, 2 total 2015-06-22 20:56:47 wallet 2ms 2015-06-22 20:56:47 init message: Loading banknode cache... 2015-06-22 20:56:47 ERROR: Read : Failed to open file X:\Encrypted-container\BCRCoinData\mncache.dat 2015-06-22 20:56:47 Missing banknode cache file - mncache.dat, will try to recreate 2015-06-22 20:56:47 Locking Banknodes: 2015-06-22 20:56:47 fLiteMode 0 2015-06-22 20:56:47 nInstantXDepth 5 2015-06-22 20:56:47 Darksend rounds 2 2015-06-22 20:56:47 Anonymize Bitcredit Amount 10000 2015-06-22 20:56:48 RandAddSeedPerfmon: 298608 bytes 2015-06-22 20:56:48 mapBlockIndex.size() = 142853 2015-06-22 20:56:48 nBestHeight = 142852 2015-06-22 20:56:48 setKeyPool.size() = 1 2015-06-22 20:56:48 mapWallet.size() = 0 2015-06-22 20:56:48 mapAddressBook.size() = 1 2015-06-22 20:56:48 init message: Adressen aan het laden... 2015-06-22 20:56:48 Loaded 5 addresses from peers.dat 0ms 2015-06-22 20:56:48 Added connection peer=0 2015-06-22 20:56:48 dnsseed thread start 2015-06-22 20:56:48 net thread start 2015-06-22 20:56:48 addcon thread start 2015-06-22 20:56:48 opencon thread start 2015-06-22 20:56:48 msghand thread start 2015-06-22 20:56:48 init message: Klaar met laden 2015-06-22 20:56:48 dumpaddr thread start 2015-06-22 20:56:48 GUI: initializeResult : Initialization result: 1 2015-06-22 20:56:48 GUI: PaymentServer::LoadRootCAs : Loaded 0 root certificates 2015-06-22 20:56:48 GUI: TransactionTablePriv::refreshWallet 2015-06-22 20:56:50 trying connection 198.52.160.64:8877 lastseen=32.4hrs
delete mncache.dat Deleting the mncache.dat file never worked, wallet keeps crashing for me on Windows 8.1 x64. What's the latest available version of the wallet? The OP is kinda outdated I believe.
|
|
|
|
|