]> git.bitcoin.ninja Git - rust-lightning/commit
Avoid reentrancy of send_data from PeerHandler::read_bytes. 2018-10-msg-resp-overhaul
authorMatt Corallo <git@bluematt.me>
Sat, 20 Oct 2018 22:17:19 +0000 (18:17 -0400)
committerMatt Corallo <git@bluematt.me>
Sat, 27 Oct 2018 13:42:04 +0000 (09:42 -0400)
commit294ad325233557c2f2faf8e631737e7d7a696cab
treecd35b7c770ce3e9ca8b0d42d781f84376447c720
parent249aa7755038172279781caf47f681c01843dc73
Avoid reentrancy of send_data from PeerHandler::read_bytes.

This greatly simplifies clients of PeerHandler, and because almost
all response messages have already been moved to process_events
this doesn't change much effeciency-wise.
src/ln/peer_handler.rs