aries / net.globalid.aries.pool / PoolManager / open

open

fun open(poolOptions: PoolOptions): Single<Pool>

Opens a pool using the given PoolOptions. If the pool is already with the given name is already opened, returns it.

Parameters

poolOptions - are options for opening the pool: config name (used by indy when it checks if a pool with this config is already opened), genesis URL (not used here) and genesis file path (if the config is not created yet, it is read by indy-sdk at that path). See createConfig for more details on that.

Return
Single of a Pool, the opened pool.