whole_func_string: function runBlock (cb) {
        self.runBlock({
          block: block,
          root: parentState
        }, function (err, results) {
          if (err) {
            // remove invalid block
            blockchain.delBlock(block.header.hash(), function () {
              cb(err)
            })
          } else {
            // set as new head block
            headBlock = block
            cb()
          }
        })
      }
func_code_string: function runBlock (cb) {
        self.runBlock({
          block: block,
          root: parentState
        }, function (err, results) {
          if (err) {
            // remove invalid block
            blockchain.delBlock(block.header.hash(), function () {
              cb(err)
            })
          } else {
            // set as new head block
            headBlock = block
            cb()
          }
        })
      }
func_documentation_string: run block, update head if valid