I went down the rabbit hole last night
[snowblossomcoin/snowblossom] #70 fix newlines
[snowblossomcoin/snowblossom] #70 fix newlines
@Fireduck, for the DB table of address-keyed data, do you plan on storing that for partial nodes as well?
And if so, I assume the plan would be to prune as blocks move out of the node's window
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.
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
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
I don't see that intersecting with a pruned node at all
and yeah, almost always wise to keep block headers even if discarding the transactions
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
the entire chain is pretty small
@Fireduck It will only be of use in the future.
(mobile) Client tools will absolutely rely on it.
A client could get address balances (from utxo trie) without having the address data table.
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)
hm, the other method a user might differentiate payments is by using multiple addresses
Basically, I don't want laymen to have to run a node at home to connect to for privacy.
I'm under the impression trie would inform the node of your address? giving up privacy
@ez8 has joined the channel
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.
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
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.
@Fireduck mr plow seems very light on the cpu so far, well done
Yeah, it does very little
the base loop of too many software has a larger idle overhead than mr plow in actual use
Ha, yeah
interrupts are a forgotten art, but i suppose java helps with getting evented stuff like networking right on the base level
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.
Snowday's hashrates seem to fluctuate wildly
209652.304/sec 419325.569
It is a 20 second average, aka complete nonsense
Ah. I even tried to average the last 10 values for the website to display, smooth it out
it's fine though
the logging could be a lot less verbose
Yeah
I just started a new job so not hacking on snowblossom all day
@Rotonen I'll see if I can fix that
java isn't my language so I've been letting that issue hang
i log via systemd journald anyway so the timestamp is redundant (and it's anyway a multi-line log format or so?)
@Rotonen exactly
Java by default prints context, then it prints the log message
i'd not invest much effort into log formatting at this point
voting, whoopsie catching via voting, variable diff