2018-06-04 00:08:23
in general moving everything to /[src|test] format. Also, moving test suite definitions to AllTests classes in each library instead of inside bazel build files.
GitHub
2018-06-04 00:09:55
FYI, here is what my IDE tree looks like with this change:
Tyler Boone
2018-06-04 00:32:30
Can I still build all test all and make deploy files from top level?
Fireduck
2018-06-04 00:32:37
Via command line
Fireduck
2018-06-04 00:39:37
Also, everyone on Earth goes to trader Joe's at 17:00
Fireduck
2018-06-04 00:43:30
the tests don't run from there... let me see what I can do
Tyler Boone
2018-06-04 00:43:46
I just got the deploy files to build and work
Tyler Boone
2018-06-04 00:45:16
bazel test //...
Tyler Boone
2018-06-04 00:45:29
that works, but not "bazel test :all"
Tyler Boone
2018-06-04 00:46:32
I can with that live
Fireduck
2018-06-04 00:46:52
I'll see if I can fix that later
Tyler Boone
2018-06-04 00:47:08
also, I accidentally renamed "snowblossom.lib" package to "lib.src"
Tyler Boone
2018-06-04 00:47:13
As long as the deploy files work, that is in docs
Fireduck
2018-06-04 00:47:15
I'll fix that later too if that's OK
Tyler Boone
2018-06-04 00:47:22
Sure
Fireduck
2018-06-04 00:47:49
trying to remember java and learn intellij and bazel
Tyler Boone
2018-06-04 00:49:08
do you have a strong preference for or against squash?
Tyler Boone
2018-06-04 00:49:28
I usually squash, but I don't have a strong preference.
Tyler Boone
2018-06-04 00:51:29
I don't even know what that is
Fireduck
2018-06-04 00:53:50
[snowblossomcoin/snowblossom] #49 Tster/rejigger projects
GitHub
2018-06-04 00:53:50
*https://github.com/snowblossomcoin/snowblossom/compare/daf904adb2b1...4f3adc071456*
https://github.com/snowblossomcoin/snowblossom/commit/4f3adc071456f2c5bbcc0367f7a9aa88c0ad0e22 - Tster/rejigger projects (#49)
GitHub
2018-06-04 00:54:07
squash = pull request goes into master as a single commit
Tyler Boone
2018-06-04 00:54:53
merge = pull request goes into master as individual commits, just like they were originally done on master
Tyler Boone
2018-06-04 01:34:49
smash
Fireduck
2018-06-04 01:34:54
absolutely smash in
Fireduck
2018-06-04 02:11:30
heh, 13,695 ++ 13,298 --
Fireduck
2018-06-04 03:06:53
@Fireduck Interesting how experience formulates into exponential results.
Clueless
2018-06-04 05:22:06
*https://github.com/snowblossomcoin/snowblossom/compare/4f3adc071456...a97d95ac1fa3*
https://github.com/snowblossomcoin/snowblossom/commit/a97d95ac1fa37d150279ed1c6730bafd8bfaac8d - Rename src.lib to snowblossom.lib
GitHub
2018-06-04 05:25:27
*https://github.com/snowblossomcoin/snowblossom/compare/a97d95ac1fa3...813981a9fe01*
https://github.com/snowblossomcoin/snowblossom/commit/dcef3a3d5555a07b6b255a95d29b50b8567b0c21 - format miner
https://github.com/snowblossomcoin/snowblossom/commit/4a82e51402234d2c5c41428093594a3f624d3136 - adding some intellij stuff to gitignore
https://github.com/snowblossomcoin/snowblossom/commit/63309e09d52063f3551fb1781117f77c5033ee3c - add stacktrace in client if there was an error
https://github.com/snowblossomcoin/snowblossom/commit/813981a9fe014dc964f403160bc981ee312f2258
GitHub
2018-06-04 05:25:45
oh god, you are still up?
Fireduck
2018-06-04 05:25:52
it's 10:30
Tyler Boone
2018-06-04 05:26:10
sure, just two people doing major refactors is a recipe for "fun"
Fireduck
2018-06-04 05:26:23
I'm not refactoring anymore
Tyler Boone
2018-06-04 05:26:40
cool. I am moving node stuff into node and out of lib
Fireduck
2018-06-04 05:26:48
nice
Tyler Boone
2018-06-04 05:27:09
I'm thinking about making a GUI client
Tyler Boone
2018-06-04 05:27:28
that would be fantastic
Fireduck
2018-06-04 05:54:52
*https://github.com/snowblossomcoin/snowblossom/compare/813981a9fe01...9f333a916fe3*
https://github.com/snowblossomcoin/snowblossom/commit/0ef1a3ee3950585cb6ce7284d3d5dd727bf4dbfd - Moving node stuff into node
https://github.com/snowblossomcoin/snowblossom/commit/9f333a916fe385e220df95a2e39d195417b60249
GitHub
2018-06-04 05:59:29
*https://github.com/snowblossomcoin/snowblossom/compare/9f333a916fe3...767d28d25398*
https://github.com/snowblossomcoin/snowblossom/commit/767d28d25398fe9e990700eaf3b938d72817488d - cehck in empty test
GitHub
2018-06-04 06:00:08
*https://github.com/snowblossomcoin/snowblossom/compare/767d28d25398...2827ce95dd40*
https://github.com/snowblossomcoin/snowblossom/commit/2827ce95dd40a79a4ff2ddbd06679e8d47089fcc - cehck in empty test
GitHub
2018-06-04 06:06:22
can you throw me some snowballs? snowtest:2e24gaw78ktsldkefsclxt7pe9wc3a82g5cynuty
Tyler Boone
2018-06-04 06:06:39
my laptop sucks at mining
Tyler Boone
2018-06-04 06:08:44
sure
Fireduck
2018-06-04 06:09:40
done
Fireduck
2018-06-04 06:10:15
One downside of these test suites is that I don't know which tests in particular are taking so long any more:
//lib:lib.test (cached) PASSED in 99.9s
Fireduck
2018-06-04 06:12:45
I'll look into that
Tyler Boone
2018-06-04 06:13:07
can I open issues from here?
Tyler Boone
2018-06-04 06:13:18
@GitHub help
Tyler Boone
2018-06-04 06:14:27
each test should get it's own line.
GitHub
2018-06-04 06:15:16
I do dig not having to add 10 lines to the BUILD for each test class, so that is cool
Fireduck
2018-06-04 06:16:01
using intelliJ you get a nice tree of tests :neutral_face:
Tyler Boone
2018-06-04 06:16:08
looks like you mined one block at least: http://snowblossom.1209k.com:8080/
Fireduck
2018-06-04 06:16:13
woot
Tyler Boone
2018-06-04 06:16:17
neat
Fireduck
2018-06-04 06:16:30
hmmm, client isn't showing anything
Tyler Boone
2018-06-04 06:17:34
are you connected to my testnet?
Fireduck
2018-06-04 06:17:43
I am only seeing two nodes
Fireduck
2018-06-04 06:17:47
which are mine
Fireduck
2018-06-04 06:18:39
C:\Users\tboone\source\repos\snowblossom>type C:\snowblossom\node.conf
db_type=rocksdb
db_path=snowdb
service_port=2338
node_port=2338
network=teapot
peer_count=8
Tyler Boone
2018-06-04 06:19:29
those ports should be 2339
Fireduck
2018-06-04 06:19:29
C:\Users\tboone\source\repos\snowblossom>type C:\snowblossom\client.conf
network=teapot
node_host=localhost
wallet_path=testwallet
node_port=2338
Tyler Boone
2018-06-04 06:19:33
but doesn't really matter
Fireduck
2018-06-04 06:19:47
which block height do you have?
Fireduck
2018-06-04 06:20:04
1184
Tyler Boone
2018-06-04 06:20:25
block_height: 2724
Fireduck
2018-06-04 06:20:29
you are behind
Fireduck
2018-06-04 06:20:40
testnet is currently a bear, it has about 1.6 million transactions
Fireduck
2018-06-04 06:20:48
OK, it is going up
Tyler Boone
2018-06-04 06:20:53
but it's slow as fuck
Tyler Boone
2018-06-04 06:21:29
yeah, there is room for syncing improvment especially over slower links (ie, not on my local lan)
Fireduck
2018-06-04 06:21:39
it requests and processes one block at a time
Fireduck
2018-06-04 06:21:42
did you do some kind of load testing back there?
Tyler Boone
2018-06-04 06:21:47
yeah
Fireduck
2018-06-04 06:21:52
it suddenly started going faster
Tyler Boone
2018-06-04 06:21:53
OK
Tyler Boone
2018-06-04 06:22:11
yeah, there are occasional clusters of big blocks
Fireduck
2018-06-04 06:23:26
depending on what you are doing, you can test just fine on mainnet :wink:
Fireduck
2018-06-04 06:31:46
I'll mark documentation
Clueless
2018-06-04 06:35:08
*https://github.com/snowblossomcoin/snowblossom/compare/2827ce95dd40...ccf0ad924b29*
https://github.com/snowblossomcoin/snowblossom/commit/ccf0ad924b29e5bacf22ae379a0060d39ee799c5 - Fix peerage count version problem
GitHub
2018-06-04 08:07:52
[snowblossomcoin/snowblossom] Issue opened by tster123
GitHub
2018-06-04 18:02:38
do you have a design in mind for how to checkpoint nodes?
Tyler Boone
2018-06-04 18:02:58
Yes
Fireduck
2018-06-04 18:04:05
GetUTXONodeRequest can be used to request for an address
Fireduck
2018-06-04 18:04:14
or the entire damn database
Fireduck
2018-06-04 18:04:32
and can also specify a specific utxo hash to use
Fireduck
2018-06-04 18:04:57
so if a node wanting to quick start has a block in mind, it can get the block summary and then start downloading the utxo from any other node
Fireduck
2018-06-04 18:05:07
Once it has those it can go from there, minus a few details
Fireduck
2018-06-04 21:24:17
Can you going to recycle HHTT Mining Pool code for this?
Tyler Boone
2018-06-04 21:25:27
for making a mining pool?
Fireduck
2018-06-04 21:26:06
a great deal of that code was to deal with strangeness of bitcoin so a mining pool on this would be pretty easy to write (at least for me, lol)
Fireduck