public Builder withShouldWorldStateUpdateHead(final boolean shouldWorldStateUpdateHead) {
      this.shouldWorldStateUpdateHead = shouldWorldStateUpdateHead;
      return this;
    }
Sets whether the world state should update the node head.

@param shouldWorldStateUpdateHead true if the world state should update the node head, false
    otherwise
@return the builder
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie/pathbased/common/provider/WorldStateQueryParams.java