We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent accc9eb commit 21e484fCopy full SHA for 21e484f
index.js
@@ -969,6 +969,11 @@ class Hypercore extends EventEmitter {
969
return crypto.tree(roots)
970
}
971
972
+ async missingNodes(index) {
973
+ if (this.opened === false) await this.opening
974
+ return await MerkleTree.missingNodes(this.core.state, 2 * index, this.core.state.length)
975
+ }
976
+
977
async proof(opts) {
978
if (this.opened === false) await this.opening
979
const rx = this.state.storage.read()
0 commit comments