tuweni / org.apache.tuweni.scuttlebutt.lib / NetworkService / redeemInviteCode

redeemInviteCode

open fun redeemInviteCode(invite: Invite!): AsyncCompletion! (source)

Redeems an invite issued by another node. If successful, the node will connect to the other node and each node will befriend each other.

Parameters

invite - Invite!: the invite to redeem

Return
AsyncCompletion!: a completion handle