lib/node/spvnode.js
/**
   * Open the node and all its child objects,
   * wait for the database to load.
   * @returns {Promise}
   */
Open the node and all its child objects,
wait for the database to load.
@returns {Promise}
Open the node and all its child objects wait for the database to load . @returns { Promise }
async open() {
    assert(!this.opened, 'SPVNode is already open.');
    this.opened = true;
    await this.handlePreopen();
    await this.chain.open();
    await this.pool.open();
    await this.openPlugins();
    await this.http.open();
    await this.ns.open();
    await this.rs.open();
    await this.handleOpen();
    this.logger.info('Node is loaded.');
  }
async open ( ) { assert ( ! this . opened , 'SPVNode is already open.' ) ; this . opened = true ; await this . handlePreopen ( ) ; await this . chain . open ( ) ; await this . pool . open ( ) ; await this . openPlugins ( ) ; await this . http . open ( ) ; await this . ns . open ( ) ; await this . rs . open ( ) ; await this . handleOpen ( ) ; this . logger . info ( 'Node is loaded.' ) ; }
Open the node and all its child objects,
 wait for the database to load.
Open the node and all its child objects wait for the database to load .