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: cc9b5cb6bfad
Choose a base ref
...
head repository: rustyrussell/pettycoin
compare: 60f0944b0f86
Choose a head ref
  • 9 commits
  • 31 files changed
  • 1 contributor

Commits on Nov 3, 2014

  1. Makefile: force rebuild every time.

    This is a quick fix: one user got crashes due to incomplete rebuild.
    Our project is small enough to do this, instead.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    86123cc View commit details
    Browse the repository at this point in the history
  2. pkt_names.c: allow numbers in packet names.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    1183979 View commit details
    Browse the repository at this point in the history
  3. protocol_net.h: rename unused packet types.

    Don't remove them, as that would break numbering.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    8bc1dea View commit details
    Browse the repository at this point in the history
  4. peer.c: handle PROTOCOL_PKT_PIGGYBACK.

    By ignoring it.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    34e7654 View commit details
    Browse the repository at this point in the history
  5. ccan: update (esp. new timer code).

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    0b74306 View commit details
    Browse the repository at this point in the history
  6. timeout: add timeout functions.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    543a5a4 View commit details
    Browse the repository at this point in the history
  7. peer: add input timeout.

    If we don't get any input for 30 minutes, we should close the peer.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    5c18ea7 View commit details
    Browse the repository at this point in the history
  8. peer: add keepalive timer.

    Every 10 minutes, send the latest block.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    0b21af0 View commit details
    Browse the repository at this point in the history
  9. peer: get fresh list of peers if no new peers for 30 minutes.

    We always ask a new peer for their peers, but ask every peer every
    30 minutes as well.  We only start this once we've reached a peer,
    and push it back every time we reach a new one.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    60f0944 View commit details
    Browse the repository at this point in the history