Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: rad node connect - attempt without explicit address
Merged did:key:z6MkgFWv...1Lu7 opened 10 months ago

In many cases the radicle node is already aware of the publicly advertised addresses for each node. This PR attempts to offer connection by nid alone, ommiting the @addr part.

rad node connect z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7 now works by finding an advertised public url to attempt the connection with. Tor and local addresses are not in scope.

did:key:z6MkgFWv...1Lu7 opened with revision 5065edc0 on base 76e00a34 +29 -3 10 months ago

In many cases the radicle node is already aware of the publicly advertised addresses for each node. This PR attempts to offer connection by nid alone, ommiting the @addr part.

rad node connect z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7 now works by finding an advertised public url to attempt the connection with. Tor and local addresses are not in scope.

did:key:z6MkgFWv...1Lu7 pushed revision 2 89944a78 on base 76e00a34 +28 -3 10 months ago

remove todo comment

did:key:z6MkgFWv...1Lu7 pushed revision 3 2a07f877 on base 76e00a34 +42 -4 10 months ago

Add example tests for rad node connect

fintohaps pushed revision 4 1d0fedbb on base 84427a56 +72 -9 10 months ago

See commit for reviewed changes

fintohaps pushed revision 5 7f1bfbc2 on base 76e00a34 +126 -7 10 months ago

Changes:

  • Clean up commits
  • Attempt to connect to all addresses, where it stops at the first success, via new function connect_many
  • Adds a new test rad_node_connect_without_address
did:key:z6MkgFq6...nBGz merged revision 7f1bfbc2 at 895ca5d0 10 months ago