• Issue GraphQL requests and eth_getBlockByNumber requests to determine if any existing Network resources are ancestor or descendant of the connected Network.

    Iteratively, this queries all possibly-related Networks for known historic block. For each possibly-related Network, issue a corresponding web3 request to determine if the known historic block is, in fact, the connected blockchain's record of the block at that historic height.

    This queries @truffle/db for possibly-related Networks in batches, keeping track of new candidates vs. what has already been tried.

    Parameters

    • options: {
          disableIndex?: boolean;
          exclude?: Resources.IdObject<"networks">[];
          network: Resources.IdObject<"networks">;
          relationship: "ancestor" | "descendant";
      }

    Returns Process<Resources.Resource<"networks"> | undefined>

Generated using TypeDoc