Comparing changes
Open a pull request
base repository: rustyrussell/pettycoin
base: ed62a32f985a
head repository: rustyrussell/pettycoin
compare: d9a5640ee0e1
- 13 commits
- 76 files changed
- 1 contributor
Commits on Aug 27, 2014
-
We need to ignore ccan/Makefile. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8bee460 - Browse repository at this point
Copy the full SHA 8bee460View commit details
Commits on Aug 29, 2014
-
In particular, I saw an assert() in ccan/io. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for b4c4bce - Browse repository at this point
Copy the full SHA b4c4bceView commit details -
We we only need it within welcome_received(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for c81e2aa - Browse repository at this point
Copy the full SHA c81e2aaView commit details -
protocol: remove block_find().
An old relic, unused. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for cc95605 - Browse repository at this point
Copy the full SHA cc95605View commit details -
test/easygenesis.c: generate automatically.
We can generate it, so we should. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for dd588b3 - Browse repository at this point
Copy the full SHA dd588b3View commit details -
protocol: clean up header comments.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 6315dcc - Browse repository at this point
Copy the full SHA 6315dccView commit details -
cleanup: make an explicit protocol_block_id and protocol_tx_id types.
They're just normal double SHAs, but it's a bit more typesafe. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for e18ec40 - Browse repository at this point
Copy the full SHA e18ec40View commit details -
json, logging, packet: add helpers for protocol_block_id/protocol_tx_id
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 6b56723 - Browse repository at this point
Copy the full SHA 6b56723View commit details -
protocol: use the protocol_block_id type.
No changes on the wire. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 4aec084 - Browse repository at this point
Copy the full SHA 4aec084View commit details -
check_block: make sure difficulty value is valid.
This becomes more important as we start keeping blocks where we don't know all the ancestors, hence don't immediately validate difficulty. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 72ff829 - Browse repository at this point
Copy the full SHA 72ff829View commit details -
peer: don't log connection until after we've checked for dups.
This happens a lot during testing, and it's confusing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for cef65d5 - Browse repository at this point
Copy the full SHA cef65d5View commit details -
log: don't call strlen on LOG_IO buffers.
As found by valgrind. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 2a6a111 - Browse repository at this point
Copy the full SHA 2a6a111View commit details -
pettycoin-generate: quit as soon as stdin closes.
I noticed that I was getting: pettycoin-generate: ''I'm not trying to cause a b-big s-s-sensation'': Broken pipe Which can happen if pettycoin-generate is supposed to close *just* as it is writing the solution, but should be extremely rare. In practice, it was ignoring the zero reads from stdin, which it shouldn't; it should ignore EWOULDBLOCK. I renamed the function and didn't use it where unnecessary, for increased clarity. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for d9a5640 - Browse repository at this point
Copy the full SHA d9a5640View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ed62a32f985a...d9a5640ee0e1