Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rustyrussell/pettycoin
base: 9b73e8a417c8
Choose a base ref
...
head repository: rustyrussell/pettycoin
compare: 4f503293b3a3
Choose a head ref
  • 13 commits
  • 81 files changed
  • 1 contributor

Commits on Aug 5, 2014

  1. tools/update-ccan.sh: Fixes, and make it a bit friendlier.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    a04c810 View commit details
    Browse the repository at this point in the history
  2. ccan: update (esp. ccan/io fixes).

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    c0fd932 View commit details
    Browse the repository at this point in the history
  3. pending: remove unused prev_txhashes field.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    61e3e98 View commit details
    Browse the repository at this point in the history
  4. blockfile: load with an io_loop.

    More natural, requires less intrusion into io_packet_read.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    7d262b5 View commit details
    Browse the repository at this point in the history
  5. log_io: preserve errno.

    This is generally a good thing in logging functions.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    4127884 View commit details
    Browse the repository at this point in the history
  6. peer: make alloc_peer set up peer->log and peer->you.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    1e3b600 View commit details
    Browse the repository at this point in the history
  7. packet_io: use fd -> log map.

    Doesn't require us seeing inside struct io_plan, which is going away.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    be09000 View commit details
    Browse the repository at this point in the history
  8. json_rpc: process multiple inputs where available.

    0f45401 said we would overwrite output,
    but we don't.  So partial revert.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    35d3ce9 View commit details
    Browse the repository at this point in the history
  9. dns: hand address we're connecting to through to init.

    This means we record the address we called connect() on, not where we
    ended up (with localhost IPv6 and IPv4, may be different).
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    31a1615 View commit details
    Browse the repository at this point in the history
  10. peer: simplify setup code.

    Don't create a peer until we're actually connected; use a peer_connecting
    structure until then.  This puts peer creation and initialization into
    a single place.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    7bef352 View commit details
    Browse the repository at this point in the history
  11. ccan: update to latest ccan (ccan/io rewrite).

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    6c1a23c View commit details
    Browse the repository at this point in the history
  12. Update to match new ccan/io version.

    Particular changes:
    1) io_* now take the conn as first arg.
    2) io_plan * is returned intead of io_plan.
    3) io_new_conn needs a callback, rather than an inline call.
    4) io_break() is a separate function, you still need a plan.
    5) io_duplex() just creates two plans, not two conns.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    81294e0 View commit details
    Browse the repository at this point in the history
  13. protocol_net: actually pad protocol_pkt_welcome to 32 bits.

    There was 2 bytes of undocumented padding.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    4f50329 View commit details
    Browse the repository at this point in the history