rust-lightning/lightning
Viktor Tigerström 8dca0b4779 Add option to accept or reject inbound channels
Add a new config flag `UserConfig::manually_accept_inbound_channels`,
which when set to true allows the node operator to accept or reject new
channel requests.

When set to true, `Event::OpenChannelRequest` will be triggered once a
request to open a new inbound channel is received. When accepting the
request, `ChannelManager::accept_inbound_channel` should be called.
Rejecting the request is done through
`ChannelManager::force_close_channel`.
2022-02-13 21:04:19 +01:00
..
src Add option to accept or reject inbound channels 2022-02-13 21:04:19 +01:00
Cargo.toml Update hex requirement from 0.3 to 0.4 2022-01-18 22:05:49 +00:00