code: function PartialTree(root, matches, indexes, map) {
    this.root = root ? root.toString('hex') : encoding.NULL_HASH;
    this.matches = matches || [];
    this.indexes = indexes || [];
    this.map = map || new Map();
  }
docs: /*
  Helpers