@Fireduck I got read-only access of the plowdb working for the shares, just reading it and parsing the proto.
Just expose RPCs w/ proto. :slightly_smiling_face:
I started looking at adding one for the rates.
@Tyler Boone text-format protos are just as readable as json
Also, the protocol messages do not need to be monolithic... just load the set of messages you need to use.
can do
@Protovist does grpc work for you or want something else?
Yeah, gRPC should be easy to use.
https://grpc.io/docs/tutorials/basic/node.html A high performance, open source, general RPC framework that puts mobile and HTTP/2 first.
simple to use from nodejs even
Everything in snowblossom is grpc
Yeah, I started adding an rpc for the rates but didn't finish finding a way to pull it up from RateReporter.
Feel free to send a pull request to snowblossom or duckutil
Or write up what you want and file an issue
how to mine it?
Check the wiki on github
Hi lads, I'm trying to mine, burt my node's not syncronizing
*but*
Solved the issue
awesome
How do I migrate from 1.0.6 to 1.1.2? Can I copy my config files over or should I reconfigure the new config files? Will copying my wallet work? I heard someone say that copying their wallet to a different SSD to mine gave them new addresses
I don't think that person copied it to the right place
I've copied my wallet to different machines
by comparing the client config files, it looks like i'd better reconfigure the new config files
is "node_host=localhost" no longer required in client.conf?
it's required
shouldn't it be in there by default then?
i just downloaded 1.1.2 and it doesn't contain "node_host=localhost" in the client.conf file
That needs to be fixed
it's totally there
Good
it really isnt. this is what's in mine
# Snowblossom Client Configuration File # the network to use # (snowblossom/mainnet, teapot/testnet, spoon/regtest) network=snowblossom # logging configuration log_config_file=configs/logging.properties # the node your client will query for balances node_host=localhost # defaults: mainnet=2338, testnet=2339 #node_port= # wallet storage location (back this up!) wallet_path=wallet
line 11
totes there
The line endings are all jacked
It is hard to tell in notepad
oh right, yes, i see it
sorry
np
can I "add a public comment to the blocks you mine" even if I mine as part of a pool?
is the hybrid miner in 1.1.2 or is that a separate project?
it's the same miner
I don't believe you can comment currently as a pool miner
shouldnt there be more options than "load snowfield into ram" so you can specify how much ram to use?
the hybrid miner allows you to put however much you want into RAM
@Tyler Boone want to make some notes about the options that exist in the wiki mining tuning page?
especially that awesome max depth one
probably should
I know you are very busy sharing points
oh... looks like max depth isn't in master
that explains why I lost the hashrate!
I guess we forgot to merge it
the competence is strong with us
if i set memfield=true without configuring anything else for memory mining, what happens?
most likely your max heap size won't be large enough and you will get out of memory exceptions
where are the other options? i cant seem then in any of the configuration files nor on https://github.com/snowblossomcoin/snowblossom/wiki/Config-Files
undocumented and secret
apparantely
that doesnt sound fair
are some people using the hybrid miner or is no-one using it?
i benchmark memory and hybrid on various hardware daily
I mean, if people are active enough to build from development branches, I think it's OK they get to use new features before others :slightly_smiling_face:
The world is and always will be more fair to those willing to look at the code. :wink:
(brave enough too)
all miners are created equal. but some are more equal than others.
I'll throw some notes in real quick
thanks
also, I might have the directionality and range of the depth parameter completely wrong
the original default threads value was 32 and now it's 8 but is commented out. if I leave it commented out, is it still 32 by default?
i settled on 40 last time so i guess i'll do the same this time
@Tyler Boone Are you suggesting I should build from development branches and not master? Or is that a joke.
I'm just saying development branches might sometimes contain new stuff.
but I don't guarantee they will work
does anyone see any illegal characters here? Illegal character in hostname at index 6: //pool_host=http://snowday.fun:23380
remove the colon and port
i didnt put them there
# the pool to work with # https://github.com/snowblossomcoin/snowblossom/wiki/Mining-Pools pool_host=pool_host=http://snowday.fun # defaults: mainnet=23380 pool_port=23380
it put them together itself
you have pool host listed twice
pool_host=pool_host=http://snowday.fun
should be
I blame unix style newlines
thanks :relaxed:
i have over 8 gb free RAM so I thought i could have 6 GB in RAM but I get these errors:
[2018-06-21 20:54:06] INFO snowblossom.miner.PoolMiner printStats Shares: 0 (rejected 0) (blocks 0) [2018-06-21 20:54:06] INFO snowblossom.miner.SnowMerkleProof readWord pre-caching snowfield: loaded 0 gb of 6 (0%) [2018-06-21 20:54:06] WARNING snowblossom.miner.PoolMiner$MinerThread run Error: java.lang.OutOfMemoryError: Java heap space [2018-06-21 20:54:06] INFO snowblossom.miner.SnowMerkleProof readWord pre-caching snowfield: loaded 0 gb of 6 (0%) [2018-06-21 20:54:06] WARNING snowblossom.miner.PoolMiner$MinerThread run Error: java.lang.OutOfMemoryError: Java heap space
i have this in pool-miner.conf # load snowfield into ram (windows) memfield=true memfield_precache_gb=6
check system resources to see how much ram your os is using
java -Xmx arg
>8 gb in "stand by" according to resource monitor and <8gb in use
i should try changing @echo offtitle poolminer start /B /LOW java -jar PoolMiner_deploy.jar configs/pool-miner.conf pause to @echo offtitle poolminer start /B /LOW java -Xmx -jar PoolMiner_deploy.jar configs/pool-miner.conf pause ?
java -Xmx8g -jar ...
ok, thanks
I havent tried they hybrid miner yet on my pc, anyone have a rough idea what the hashrate is compared to ssd mining and memory mining alone
Press any key to continue . . . Invalid maximum heap size: -Xmx8g The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. :disappointed:
I will try 6gb
same error
@Shoots Rotonen knows
it rejects 2gb also but with a different error
Press any key to continue . . . Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
you dont have 2gb free
8gb gets mostly used by windows if you are on windows
you don't have a 64-bit jvm
i have 3MB "free"
or that, have you verified that you downloaded 64 bit java
or are you using 32 bit os
64 bit windows 10. will have to investigate java
doesnt say anything about 64bit here so i guess that means 32
java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode, sharing)
thats what it says here https://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-do-i-tell-if-i-have-java-32-bit-or-64-bit/4f13dc66-4fa2-4a86-aa56-08e7186a4309?auth=1 Due to a problem with Java updates I had to uninstall the said program. I downloaded what I thought was a 64 bit version from their site, but now in the control panel beside the Java emblem it reads
pretty sure i followed the link here when i instaleld 1.0.6 though https://github.com/snowblossomcoin/snowblossom/wiki/Quickstart
i gather you can have multiple versions simultaneously
yeah i have the same version that it links to now
am I supposed to click "See all Java downloads." and then choose "Windows Offline (64-bit)" because if that's the case then the Snowblossom Quickstart instructions could be improved a little
yeah sometimes ive found in the past that it will link you to 32 bit by default
have to go to other versions
Protopool node down, hopefully @Protovist can get it back up soon
i installed the 64 bit version but will the miner necessarily be using it?
i'm still get the same errors as before
[2018-06-21 21:34:16] WARNING snowblossom.miner.PoolMiner$MinerThread run Error: java.lang.OutOfMemoryError: Java heap space [2018-06-21 21:34:16] INFO snowblossom.miner.SnowMerkleProof readWord pre-caching snowfield: loaded 0 gb of 1 (0%)
@Shoots in my experimentation i've noted it gains back about 1/8 of the 'lost' performance of ram vs. disk - this seems a bit low, so i'll eventually take a look at what's up there - i'd expect it to gain 1/2 .. 1/4 - perhaps something to do with how exactly the threading works - or perhaps they should have different seek characteristics
interesting, thanks
@Shoots there's a new tweakable incoming from @Tyler Boone and that could help (or should be tieredly settable down the line, or somesuch)
@Shoots i'm dreaming of control systems (PID) which would do the tweaking for you, but have no time to invest at the time - in principle it should be possible to just start and kill threads on the fly and tune things until it stabilizes to the maximum it can get to (bar local maximas)
I used the Java uninstaller to uninstall Java. It said there was only one version. I uninstalled it anyway and the installed again from jre-8u171-windows-x64.exe but i still get the same error attempting to use 1gb
Both node and pool crashed multiple times recently... back up and running, will try to get logs next time.
@Protovist use systemd and `restart=always` or if you're on upstart, it has an equivalent, or SysV init scripts have the respawn option settable in inittab
@Protovist that certainly shouldn't happen, please do send logs if you can get them
Yeah, I forgot to add the restart to systemd... but it's running inside tmux so I would have lost the console output either way.
Solvable problems. :slightly_smiling_face:
journalctl will persist the stdout per default
journalctl -u servicename
@Fireduck `for i in "$name/configs"/*; do sed -i 's/\n$/\n\r$/' "$i"; done` this line in the build.sh for deployments replaces all the configs line endings with dos compatible.
does not seem to work
at least the new lines in 1.1.2 were not correct
@Clueless you really rather don't want to do that yourself, use dos2unix
@Clueless seems fairly trivial, full of gnarly corners
@Rotonen tmux seems to break that
@Protovist any reason why you'd have tmux in the mix in any case there?
I mean, you just replace \n$ with \n\r$
@Protovist and i think then you need to set it up as a forking service as the first thing the tmux session will do is fork a new process and exit?
Mostly habit, some nodes have interactive consoles I want to attach to.
@Clueless what if the file already has \r? Just adding more?
eh, the $ should handle that
but clearly something didn't work right
rather something like `for file in "$(basename -a foo/**/bar/*)"; do unix2dos $file; done`?
@Fireduck if the ile already has \n\r$ it won't match \n$
(also pointing out, in case needed down the line for tooling, the extglob there is a settable shell option and requires a relatively new bash as well)
I could be wrong, but I tested it on my windows machine.
I'll test again
open up the release zip and see what is in it
there's always the chance I screwed something up, committed something wrong, I'll test again. Either way it's silly it's requiring so much time. xD
I'll dock your pay
not the chocolate milk!
Sorry lads, how do i get the hybrid working? I followed THX11384EB's steps, but i don't know, where i should paste the line "echo offtitle poolminer start /B /LOW java -Xmx8g -jar PoolMiner_deploy.jar configs/pool-miner.conf". Thanks for the help
@Columna Cripto pool-miner.bat
following my footsteps is generally a bad position to be in :disappointed:
thanks and don't worry pal, you can't be worse than me. Absolute beginnner
is it working for you? i couldn't get it to work
Xmx8gb (.bat)/memfield_precache_gb=8 (.conf) didn't work. Xmx8gb (.bat)/memfield_precache_gb=6 (.conf) works. Just doesn't sound healthy at all!
Need a bit if head room for jvm
So Xmx arg needs to be a few gb higher than pre cache
Makes sense. Will play a bit more around with it tomorrow. Thanks and evening everyone.