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

redeemInviteCode

open fun redeemInviteCode(invite: Invite!): AsyncResult<Void!>! (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!:

Return
AsyncResult<Void!>!: