romanz/electrs

Feature: support p2p reconnections

Open

#570 aperta il 18 ott 2021

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Rust (551 fork)github user discovery
enhancementgood first issuep2p

Metriche repository

Star
 (1366 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Is your feature request related to a problem? Please describe. https://github.com/romanz/electrs/issues/531#issuecomment-945502410

For P2P connections to bitcoind, it would be important that there is no timeout at all. It can take hours, or even days, to get a free P2P slot to a given bitcoind node. Or, your connection could be dropped by bitcoind for whatever reason, then you'll need to retry to connect again.

Describe the solution you'd like We should probably try to reconnect a few times / for short period of time before failing electrs.

Describe alternatives you've considered Currently, we just fail on the first p2p connection error: https://github.com/romanz/electrs/issues/531

Guida contributor