2018-06-21 00:03:34
@Fireduck I got read-only access of the plowdb working for the shares, just reading it and parsing the proto.
Protovist
2018-06-21 00:04:00
Just expose RPCs w/ proto. :slightly_smiling_face:
Protovist
2018-06-21 00:04:11
I started looking at adding one for the rates.
Protovist
2018-06-21 00:04:32
@Tyler Boone text-format protos are just as readable as json
Protovist
2018-06-21 00:10:02
Also, the protocol messages do not need to be monolithic... just load the set of messages you need to use.
Protovist
2018-06-21 00:13:05
can do
Fireduck
2018-06-21 00:43:15
@Protovist does grpc work for you or want something else?
Fireduck
2018-06-21 00:43:44
Yeah, gRPC should be easy to use.
Protovist
2018-06-21 00:44:00
https://grpc.io/docs/tutorials/basic/node.html A high performance, open source, general RPC framework that puts mobile and HTTP/2 first.
Protovist
2018-06-21 00:44:12
simple to use from nodejs even
Protovist
2018-06-21 00:45:07
Everything in snowblossom is grpc
Fireduck
2018-06-21 00:47:14
Yeah, I started adding an rpc for the rates but didn't finish finding a way to pull it up from RateReporter.
Protovist
2018-06-21 00:48:33
Feel free to send a pull request to snowblossom or duckutil
Fireduck
2018-06-21 00:48:59
Or write up what you want and file an issue
Fireduck
2018-06-21 06:55:34
how to mine it?
gtoto
2018-06-21 08:16:40
Check the wiki on github
Joko
2018-06-21 14:00:56
Hi lads, I'm trying to mine, burt my node's not syncronizing
Columna Cripto
2018-06-21 14:01:04
*but*
Columna Cripto
2018-06-21 14:07:19
Solved the issue
Columna Cripto
2018-06-21 14:56:52
awesome
Fireduck
2018-06-21 16:29:43
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
THX 1138 4EB
2018-06-21 16:30:09
I don't think that person copied it to the right place
Tyler Boone
2018-06-21 16:30:16
I've copied my wallet to different machines
Tyler Boone
2018-06-21 16:35:00
by comparing the client config files, it looks like i'd better reconfigure the new config files
THX 1138 4EB
2018-06-21 16:37:38
is "node_host=localhost" no longer required in client.conf?
THX 1138 4EB
2018-06-21 16:38:14
it's required
Tyler Boone
2018-06-21 16:38:56
shouldn't it be in there by default then?
THX 1138 4EB
2018-06-21 16:39:14
i just downloaded 1.1.2 and it doesn't contain "node_host=localhost" in the client.conf file
THX 1138 4EB
2018-06-21 16:39:54
That needs to be fixed
Fireduck
2018-06-21 16:40:19
it's totally there
Tyler Boone
2018-06-21 16:40:45
Good
Fireduck
2018-06-21 16:40:46
it really isnt. this is what's in mine
THX 1138 4EB
2018-06-21 16:40:47
# 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
THX 1138 4EB
2018-06-21 16:40:55
line 11
Tyler Boone
2018-06-21 16:41:12
totes there
Tyler Boone
2018-06-21 16:41:26
The line endings are all jacked
Fireduck
2018-06-21 16:41:35
It is hard to tell in notepad
Fireduck
2018-06-21 16:42:06
oh right, yes, i see it
THX 1138 4EB
2018-06-21 16:42:16
sorry
THX 1138 4EB
2018-06-21 16:42:20
np
Tyler Boone
2018-06-21 16:45:13
can I "add a public comment to the blocks you mine" even if I mine as part of a pool?
THX 1138 4EB
2018-06-21 17:01:13
is the hybrid miner in 1.1.2 or is that a separate project?
THX 1138 4EB
2018-06-21 17:09:18
it's the same miner
Tyler Boone
2018-06-21 17:09:36
I don't believe you can comment currently as a pool miner
Tyler Boone
2018-06-21 17:22:47
shouldnt there be more options than "load snowfield into ram" so you can specify how much ram to use?
THX 1138 4EB
2018-06-21 17:23:55
the hybrid miner allows you to put however much you want into RAM
Tyler Boone
2018-06-21 17:27:11
@Tyler Boone want to make some notes about the options that exist in the wiki mining tuning page?
Fireduck
2018-06-21 17:27:29
especially that awesome max depth one
Fireduck
2018-06-21 17:27:49
probably should
Tyler Boone
2018-06-21 17:28:28
I know you are very busy sharing points
Fireduck
2018-06-21 17:32:01
oh... looks like max depth isn't in master
Tyler Boone
2018-06-21 17:32:10
that explains why I lost the hashrate!
Tyler Boone
2018-06-21 17:32:42
I guess we forgot to merge it
Tyler Boone
2018-06-21 17:32:54
the competence is strong with us
Tyler Boone
2018-06-21 17:33:24
if i set memfield=true without configuring anything else for memory mining, what happens?
THX 1138 4EB
2018-06-21 17:34:01
most likely your max heap size won't be large enough and you will get out of memory exceptions
Tyler Boone
2018-06-21 17:40:20
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
THX 1138 4EB
2018-06-21 17:41:04
undocumented and secret
Fireduck
2018-06-21 17:41:07
apparantely
Fireduck
2018-06-21 17:41:20
that doesnt sound fair
THX 1138 4EB
2018-06-21 17:42:16
are some people using the hybrid miner or is no-one using it?
THX 1138 4EB
2018-06-21 17:43:04
i benchmark memory and hybrid on various hardware daily
Rotonen
2018-06-21 17:44:32
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:
Tyler Boone
2018-06-21 17:44:49
The world is and always will be more fair to those willing to look at the code. :wink:
Fireduck
2018-06-21 17:44:49
(brave enough too)
Tyler Boone
2018-06-21 17:45:16
all miners are created equal. but some are more equal than others.
Tyler Boone
2018-06-21 17:55:04
I'll throw some notes in real quick
Fireduck
2018-06-21 17:59:42
mangled notes in: https://github.com/snowblossomcoin/snowblossom/wiki/Mining-Tuning
Fireduck
2018-06-21 18:02:55
thanks
THX 1138 4EB
2018-06-21 18:05:17
also, I might have the directionality and range of the depth parameter completely wrong
Fireduck
2018-06-21 18:07:23
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?
THX 1138 4EB
2018-06-21 18:11:33
i settled on 40 last time so i guess i'll do the same this time
THX 1138 4EB
2018-06-21 18:21:47
@Tyler Boone Are you suggesting I should build from development branches and not master? Or is that a joke.
quantumblockz
2018-06-21 18:22:58
I'm just saying development branches might sometimes contain new stuff.
Tyler Boone
2018-06-21 18:23:13
but I don't guarantee they will work
Tyler Boone
2018-06-21 19:46:54
does anyone see any illegal characters here? Illegal character in hostname at index 6: //pool_host=http://snowday.fun:23380
THX 1138 4EB
2018-06-21 19:47:20
remove the colon and port
Fireduck
2018-06-21 19:47:39
i didnt put them there
THX 1138 4EB
2018-06-21 19:47:44
# 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
THX 1138 4EB
2018-06-21 19:47:59
it put them together itself
THX 1138 4EB
2018-06-21 19:50:32
you have pool host listed twice
Shoots
2018-06-21 19:50:38
pool_host=pool_host=http://snowday.fun
Shoots
2018-06-21 19:50:40
should be
Shoots
2018-06-21 19:50:43
pool_host=http://snowday.fun
Shoots
2018-06-21 19:51:26
I blame unix style newlines
Fireduck
2018-06-21 19:51:43
thanks :relaxed:
THX 1138 4EB
2018-06-21 19:55:42
i have over 8 gb free RAM so I thought i could have 6 GB in RAM but I get these errors:
THX 1138 4EB
2018-06-21 19:55:44
[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
THX 1138 4EB
2018-06-21 19:56:06
i have this in pool-miner.conf # load snowfield into ram (windows)
memfield=true
memfield_precache_gb=6
THX 1138 4EB
2018-06-21 19:58:01
check system resources to see how much ram your os is using
Shoots
2018-06-21 19:58:31
java -Xmx arg
Fireduck
2018-06-21 19:59:27
>8 gb in "stand by" according to resource monitor and <8gb in use
THX 1138 4EB
2018-06-21 20:03:51
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
?
THX 1138 4EB
2018-06-21 20:04:47
java -Xmx8g -jar ...
Fireduck
2018-06-21 20:05:15
ok, thanks
THX 1138 4EB
2018-06-21 20:06:04
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
Shoots
2018-06-21 20:06:16
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:
THX 1138 4EB
2018-06-21 20:06:23
I will try 6gb
THX 1138 4EB
2018-06-21 20:06:48
same error
THX 1138 4EB
2018-06-21 20:07:39
@Shoots Rotonen knows
THX 1138 4EB
2018-06-21 20:08:57
it rejects 2gb also but with a different error
THX 1138 4EB
2018-06-21 20:09:04
Press any key to continue . . . Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
THX 1138 4EB
2018-06-21 20:09:28
you dont have 2gb free
Shoots
2018-06-21 20:09:37
8gb gets mostly used by windows if you are on windows
Shoots
2018-06-21 20:09:43
you don't have a 64-bit jvm
Fireduck
2018-06-21 20:09:47
i have 3MB "free"
THX 1138 4EB
2018-06-21 20:10:14
or that, have you verified that you downloaded 64 bit java
Shoots
2018-06-21 20:10:24
or are you using 32 bit os
Shoots
2018-06-21 20:10:26
?
Shoots
2018-06-21 20:10:42
64 bit windows 10. will have to investigate java
THX 1138 4EB
2018-06-21 20:15:17
doesnt say anything about 64bit here so i guess that means 32
THX 1138 4EB
2018-06-21 20:15:17
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)
THX 1138 4EB
2018-06-21 20:15:26
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
THX 1138 4EB
2018-06-21 20:19:05
pretty sure i followed the link here when i instaleld 1.0.6 though https://github.com/snowblossomcoin/snowblossom/wiki/Quickstart
THX 1138 4EB
2018-06-21 20:19:25
i gather you can have multiple versions simultaneously
THX 1138 4EB
2018-06-21 20:20:56
yeah i have the same version that it links to now
THX 1138 4EB
2018-06-21 20:22:44
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
THX 1138 4EB
2018-06-21 20:29:11
yeah sometimes ive found in the past that it will link you to 32 bit by default
Shoots
2018-06-21 20:29:18
have to go to other versions
Shoots
2018-06-21 20:32:47
Protopool node down, hopefully @Protovist can get it back up soon
Shoots
2018-06-21 20:34:06
i installed the 64 bit version but will the miner necessarily be using it?
THX 1138 4EB
2018-06-21 20:34:16
i'm still get the same errors as before
THX 1138 4EB
2018-06-21 20:34:41
[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%)
THX 1138 4EB
2018-06-21 20:39:33
@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
Rotonen
2018-06-21 20:40:14
interesting, thanks
Shoots
2018-06-21 20:40:56
@Shoots there's a new tweakable incoming from @Tyler Boone and that could help (or should be tieredly settable down the line, or somesuch)
Rotonen
2018-06-21 20:41:58
@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)
Rotonen
2018-06-21 20:44:12
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
THX 1138 4EB
2018-06-21 20:44:43
Both node and pool crashed multiple times recently... back up and running, will try to get logs next time.
Protovist
2018-06-21 20:45:37
@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
Rotonen
2018-06-21 20:46:16
@Protovist that certainly shouldn't happen, please do send logs if you can get them
Fireduck
2018-06-21 20:46:21
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.
Protovist
2018-06-21 20:46:53
Solvable problems. :slightly_smiling_face:
Protovist
2018-06-21 20:46:58
journalctl will persist the stdout per default
Rotonen
2018-06-21 20:47:23
journalctl -u servicename
Rotonen
2018-06-21 20:49:15
@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.
Clueless
2018-06-21 20:49:34
does not seem to work
Fireduck
2018-06-21 20:49:41
at least the new lines in 1.1.2 were not correct
Fireduck
2018-06-21 20:49:50
@Clueless you really rather don't want to do that yourself, use dos2unix
Rotonen
2018-06-21 20:49:59
@Clueless seems fairly trivial, full of gnarly corners
Rotonen
2018-06-21 20:50:10
@Rotonen tmux seems to break that
Protovist
2018-06-21 20:50:25
@Protovist any reason why you'd have tmux in the mix in any case there?
Rotonen
2018-06-21 20:50:40
I mean, you just replace \n$ with \n\r$
Clueless
2018-06-21 20:50:47
@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?
Rotonen
2018-06-21 20:51:09
Mostly habit, some nodes have interactive consoles I want to attach to.
Protovist
2018-06-21 20:51:24
@Clueless what if the file already has \r? Just adding more?
Fireduck
2018-06-21 20:51:50
eh, the $ should handle that
Fireduck
2018-06-21 20:51:57
but clearly something didn't work right
Fireduck
2018-06-21 20:53:25
rather something like `for file in "$(basename -a foo/**/bar/*)"; do unix2dos $file; done`?
Rotonen
2018-06-21 20:54:10
@Fireduck if the ile already has \n\r$ it won't match \n$
Clueless
2018-06-21 20:54:13
(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)
Rotonen
2018-06-21 20:54:30
I could be wrong, but I tested it on my windows machine.
Clueless
2018-06-21 20:54:34
I'll test again
Clueless
2018-06-21 20:54:47
open up the release zip and see what is in it
Fireduck
2018-06-21 20:55:07
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
Clueless
2018-06-21 20:56:30
I'll dock your pay
Fireduck
2018-06-21 20:56:46
not the chocolate milk!
Clueless
2018-06-21 22:58:02
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
2018-06-21 22:59:27
@Columna Cripto pool-miner.bat
THX 1138 4EB
2018-06-21 23:00:26
following my footsteps is generally a bad position to be in :disappointed:
THX 1138 4EB
2018-06-21 23:02:14
thanks and don't worry pal, you can't be worse than me. Absolute beginnner
Columna Cripto
2018-06-21 23:07:43
is it working for you? i couldn't get it to work
THX 1138 4EB
2018-06-21 23:15:09
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!
Columna Cripto
2018-06-21 23:18:18
Need a bit if head room for jvm
Fireduck
2018-06-21 23:18:37
So Xmx arg needs to be a few gb higher than pre cache
Fireduck
2018-06-21 23:27:24
Makes sense. Will play a bit more around with it tomorrow. Thanks and evening everyone.
Columna Cripto