2018-06-12 01:41:34
I went down the rabbit hole last night
Clueless
2018-06-12 01:45:28
@Fireduck
I rewrote: https://github.com/snowblossomcoin/snowblossom/wiki/6.-Quickstart
You okay with deleting: https://github.com/snowblossomcoin/snowblossom/wiki/Quickstart-from-Source
?
Information is now redundant.
Clueless
2018-06-12 05:47:45
[snowblossomcoin/snowblossom] #70 fix newlines
GitHub
2018-06-12 05:47:54
*https://github.com/snowblossomcoin/snowblossom/compare/366f80af7197...1aad72b9ee20*
https://github.com/snowblossomcoin/snowblossom/commit/1aad72b9ee2044be349ca5b618f4787f6ba7b95f - fix newlines (#70)
GitHub
2018-06-12 05:47:54
[snowblossomcoin/snowblossom] #70 fix newlines
GitHub
2018-06-12 05:49:04
@Fireduck, for the DB table of address-keyed data, do you plan on storing that for partial nodes as well?
Tyler Boone
2018-06-12 05:50:02
And if so, I assume the plan would be to prune as blocks move out of the node's window
Tyler Boone
2018-06-12 05:51:36
I was thinking having a design where you store the height and hash of all the blocks of data you have in the table. in another table.
Tyler Boone
2018-06-12 05:52:23
that way you can know how much to prune, and you can tell if the current longest chain is the same as the chain for which you have the data stored
Tyler Boone
2018-06-12 05:55:40
ok, so the address data would only be for a certain class of full nodes that is interested in being good to light clients and being able to give them full history
Fireduck
2018-06-12 05:55:50
I don't see that intersecting with a pruned node at all
Fireduck
2018-06-12 05:56:31
and yeah, almost always wise to keep block headers even if discarding the transactions
Fireduck
2018-06-12 05:56:59
however, as excited as Zac is about the idea of checkpointing or pruned nodes, that is really not of much use to anyone right now
Fireduck
2018-06-12 05:57:08
the entire chain is pretty small
Fireduck
2018-06-12 06:20:56
@Fireduck It will only be of use in the future.
Clueless
2018-06-12 06:21:01
(mobile) Client tools will absolutely rely on it.
Clueless
2018-06-12 06:52:23
A client could get address balances (from utxo trie) without having the address data table.
Tyler Boone
2018-06-12 06:53:30
If a client wants to display transaction history, that is different. And it would be easy to generate a "recent transaction" list by just scanning the known blocks (which should be a small set)
Tyler Boone
2018-06-12 06:56:13
hm, the other method a user might differentiate payments is by using multiple addresses
Clueless
2018-06-12 06:57:14
Basically, I don't want laymen to have to run a node at home to connect to for privacy.
Clueless
2018-06-12 06:57:33
I'm under the impression trie would inform the node of your address? giving up privacy
Clueless
@ez8 has joined the channel
2018-06-12 12:28:57
if someone wants privacy they can run a full node. Basically nobody actually cares about privacy (see: Facebook). For the rare person who does care, he can run a full node.
Tyler Boone
2018-06-12 19:53:41
When pool miner submits a share add a counter to how many shares have been accepted or rejected.
1253/1253 or 1222/1253.
This way we can get a running time on how many shares have been accepted over time.
It's a bit difficult to see stats
GitHub
2018-06-12 21:30:06
Currently when the .bat files are run the resulting CMD window has C:\Windows\System32\cmd.exe in the titlebar which is useless for indentification when you have multiple CMD windows open (I have three windows open pertaining to Snowblossom and two unrelated ones). This would be easy to address by putting something like:
TITLE Snowblossom node
and
TITLE Snowblossom client
at the very top of the existing node.bat and client.bat etc etc. I've edited my own .bat files so that the windows are easier to identify but it would be nicer for end users if the ones downloaded from Github were like this.
GitHub
2018-06-12 22:17:04
@Fireduck mr plow seems very light on the cpu so far, well done
Rotonen
2018-06-12 22:29:52
Yeah, it does very little
Fireduck
2018-06-12 22:32:03
the base loop of too many software has a larger idle overhead than mr plow in actual use
Rotonen
2018-06-12 22:33:30
Ha, yeah
Fireduck
2018-06-12 22:34:22
interrupts are a forgotten art, but i suppose java helps with getting evented stuff like networking right on the base level
Rotonen
2018-06-12 22:45:55
A lot of mining programs will tell the user what the hashrate is measured at an instant and also what the hashrate is when averaging values over the last 5, 10 or 15 minutes. These averaged values don't vary as much as the immediate measurements and make it easier to optimise configurations.
GitHub
2018-06-12 23:41:58
Snowday's hashrates seem to fluctuate wildly
Clueless
2018-06-12 23:42:18
209652.304/sec
419325.569
Clueless
2018-06-12 23:42:31
It is a 20 second average, aka complete nonsense
Fireduck
2018-06-12 23:42:54
Ah. I even tried to average the last 10 values for the website to display, smooth it out
Clueless
2018-06-12 23:42:59
it's fine though
Clueless
2018-06-12 23:45:00
the logging could be a lot less verbose
Rotonen
2018-06-12 23:45:06
Yeah
Fireduck
2018-06-12 23:45:29
I just started a new job so not hacking on snowblossom all day
Fireduck
2018-06-12 23:45:51
@Rotonen I'll see if I can fix that
Clueless
2018-06-12 23:46:07
java isn't my language so I've been letting that issue hang
Clueless
2018-06-12 23:46:53
i log via systemd journald anyway so the timestamp is redundant (and it's anyway a multi-line log format or so?)
Rotonen
2018-06-12 23:47:10
@Rotonen exactly
Clueless
2018-06-12 23:47:24
Java by default prints context, then it prints the log message
Clueless
2018-06-12 23:48:19
i'd not invest much effort into log formatting at this point
Rotonen
2018-06-12 23:49:02
voting, whoopsie catching via voting, variable diff
Rotonen