You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should already verify the pubkey before calling handleNewConnection and it should pass that in as an argument instead of having it there. We should try to isolate stuff interacting with lndc to probably just listen.go and move the "connecting to peers" code to like connect.go.
Really we should just move listening setup code to just pass in an already-ready net.Listener into the lnp2p.NewPeerManager function. Really just do more work to make lnp2p more separated from the rest of the network code.
This would be necessary for having BOLT 8 (transport) and BOLT 1 (messaging) support.
The text was updated successfully, but these errors were encountered:
We should already verify the pubkey before calling
handleNewConnection
and it should pass that in as an argument instead of having it there. We should try to isolate stuff interacting withlndc
to probably justlisten.go
and move the "connecting to peers" code to likeconnect.go
.Really we should just move listening setup code to just pass in an already-ready
net.Listener
into thelnp2p.NewPeerManager
function. Really just do more work to make lnp2p more separated from the rest of the network code.This would be necessary for having BOLT 8 (transport) and BOLT 1 (messaging) support.
The text was updated successfully, but these errors were encountered: