code: func WriteBlock(db ethdb.Writer, block *types.Block) {
  	WriteBody(db, block.Hash(), block.NumberU64(), block.Body())
  	WriteHeader(db, block.Header())
  }
docs: // WriteBlock serializes a block into the database, header and body separately.