Files
tendermint/p2p
Anton Kaliaev d12e55c494 node: Respond always to OS interrupts (#2479)
* stop node upon receiving SIGTERM or CTRL-Ceven during genesis sleep by setting up interrupt before starting a node

Closes #2434

* call Start, not OnStart when starting a component to avoid:

```
E[09-24|10:13:15.805] Not stopping PubSub -- have not been started yet module=pubsub impl=PubSub
```

being printed on exit
2018-09-25 12:24:18 +02:00
..
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-07-01 22:36:49 -04:00
2018-07-01 22:36:49 -04:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00
2018-09-18 22:26:43 +02:00

p2p

The p2p package provides an abstraction around peer-to-peer communication.

Docs:

  • Connection for details on how connections and multiplexing work
  • Peer for details on peer ID, handshakes, and peer exchange
  • Node for details about different types of nodes and how they should work
  • Pex for details on peer discovery and exchange
  • Config for details on some config option