Class PrivateRoute


  • public class PrivateRoute
    extends Object
    Private routing information # Invariants The encoded route has to be <1024 5bit characters long (<=639 bytes or <=12 hops)
    • Method Detail

      • eq

        public boolean eq​(PrivateRoute b)
        Checks if two PrivateRoutes contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • into_inner

        public RouteHint into_inner()
        Returns the underlying list of hops