archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Add a new flag to P2P.list_nodes()

Open bchamagne opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

Network transactions are stored on all nodes. So when validating a transaction, the validations nodes ping all the node to determine the replication tree. But it is possible that some nodes are completely unavailable as described by issue #1323. It is not necessary to ping these nodes

Describe the solution you'd like

P2P.list_nodes() and P2P.authorized_nodes could have a new option flag to filter the nodes that are completely unavailable.

Additional context

It will need to add a new field to the Node struct and modifying the p2p mem table

Epic

No response

bchamagne avatar Nov 14 '23 16:11 bchamagne